CN104822167A - Selecting method for switching NFC carriers, device and system thereof - Google Patents

Selecting method for switching NFC carriers, device and system thereof Download PDF

Info

Publication number
CN104822167A
CN104822167A CN201510176287.8A CN201510176287A CN104822167A CN 104822167 A CN104822167 A CN 104822167A CN 201510176287 A CN201510176287 A CN 201510176287A CN 104822167 A CN104822167 A CN 104822167A
Authority
CN
China
Prior art keywords
carrier wave
carrier
state information
optional
idle condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510176287.8A
Other languages
Chinese (zh)
Other versions
CN104822167B (en
Inventor
张子敬
路雄博
张晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201510176287.8A priority Critical patent/CN104822167B/en
Publication of CN104822167A publication Critical patent/CN104822167A/en
Application granted granted Critical
Publication of CN104822167B publication Critical patent/CN104822167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a selecting method for switching NFC carriers, a device and a system thereof. The system comprises the components of a carrier switching requesting party which is used for detecting the current use state information of each selective carrier that is supported by the requesting part, adding the use state information into switching requesting information which is generated according to a protocol, and transmitting to a carrier switching selecting party; and the carrier switching selecting party which is used for receiving the switching requesting information, extracting the current use state information of each selective carrier which is supported by the carrier switching requesting party, wherein the current use state information is carried in the switching requesting information, selecting a carrier based on the current use state information of each selective carrier which is supported by the carrier switching selecting party and the carrier switching requesting party according to a principle of establishing carrier communication in a highest speed, and transmitting the carrier to the carrier switching requesting party. According to the selecting method, the device and the system, negotiation for the current use state of the selective carrier is added in NFC carrier negotiation. According to the combined condition of the use states of the selective carrier of the two parties in communication, an optimal selective carrier is selected for data transmission, thereby improving data transmission efficiency.

Description

A kind of system of selection of NFC carrier switch, device and system
Technical field
The present invention relates to communication technical field, particularly relate to the system of selection of a kind of NFC (Near Field Communication, close range wireless communication) carrier switch, device and system.
Background technology
Define in NFC agreement and support that two mobile terminals of NFC function can realize optional carrier wave by NFC communication and consult, final establishment transmits the required ZAP used of data.
Particularly, NFC Forum defines Connection Handover specification, namely connects and switches specification.This connection switches the connection handover negotiation optimization process of normalized definition as shown in Figure 1.Handover request direction switches selecting party and sends handover request message.Comprise the quantity, type etc. of the optional carrier wave that handover request side supports in this message, also comprise the relevant configuration information of these carrier waves.For Wi-Fi, these configuration informations comprise the SSID (Service Set Identifier, service set) and password etc. of AP (Access Point, access point).After switching selecting party receives handover request message, the communication carrier technology relatively oneself supported also returns switching selection message to handover request side, if the communication carrier technology that both sides support cannot be mated, then switch selecting party and select message by returning a switching not comprising any optional ZAP.
The optional carrier list that we can see in handover request message from Fig. 1 be Wi-Fi and Bluetooth, Wi-Fi front, it is generally acknowledged that priority in front is higher than back.Therefore the switching switching selecting party transmission in upper figure selects the carrier wave in message to be Wi-Fi.Do not support Wi-Fi as switched selecting party, it just can consider to use Bluetooth.
Visible, specification only defines between two NFC device, to be consulted and activate other wireless communication technologys (as Wi-Fi, bluetooth etc.) by NFC technique workflow and corresponding message format.But for there being the situation of plurality of optional carrier wave not illustrate in specification, the mode of default priority generally can be used to specify preferred ZAP, but for the inapplicable this default priority strategy of a lot of scene, cause data cannot transmit rapidly or efficiency of transmission extreme difference, such as: acquiescence uses bluetooth to be preferred carrier wave, but when two NFC terminal carry out carrier wave negotiation, certain station terminal may carry out Bluetooth data transfer with other-end, if so now Bluetooth transmission file will be used, that must wait for before transfer of data complete after just can, under this sight, reduce efficiency of transmission, and Consumer's Experience is very poor.
Summary of the invention
The invention provides a kind of system of selection of NFC carrier switch, device and system, connect handover negotiation optimization flow process do not consider Carrier State in order to solve in prior art, affect the problem of data transmission efficiency.
According to one aspect of the present invention, a kind of system of selection of NFC carrier switch is provided, comprises:
The using state information that each optional carrier wave that carrier switch request side detection one's own side supports is current, and added in the handover request message by protocol generation;
Described handover request message is sent to carrier switch selecting party by carrier switch request side.
Alternatively, in the method for the invention, described using state information current for each optional carrier wave to be added in the handover request message by protocol generation, comprises further:
Using the using state information of carrier wave as carrier wave priority setting model, reset in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
Alternatively, in the method for the invention:
The using state information that described each optional carrier wave is current, comprising: using state or idle condition;
Described using the using state information of carrier wave as carrier wave priority setting model, comprising: the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model.
Alternatively, in the method for the invention, when carrier wave is in using state, the current using state information of corresponding carrier wave also comprises: the use remaining time of the carrier wave estimated;
Described using the using state information of carrier wave as carrier wave priority setting model, also comprise: be all the carrier wave under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
According to another aspect of the present invention, a kind of system of selection of NFC carrier switch is also provided, comprises:
Carrier switch selecting party receives handover request message, and the using state information that each optional carrier wave extracting carrier switch request side's support of carrying in described handover request message is current;
The using state information that each optional carrier wave supported based on one's own side and carrier switch request side of carrier switch selecting party is current, can set up carrier communication the soonest for principle, selects a carrier wave, and sends it to carrier switch request side.
Alternatively, in the method for the invention:
The current using state information of described each optional carrier wave comprises: using state or idle condition;
Described so that carrier communication can be set up the soonest for principle, select a carrier wave, comprising:
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if exist, then select a carrier wave according to priority orders in described common factor carrier wave;
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then according to preset configuration, in the carrier wave that both sides all support, is the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority.
Alternatively, in the method for the invention:
The current using state information of described each optional carrier wave comprises: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Described so that carrier communication can be set up the soonest for principle, select a carrier wave, comprising:
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if exist, then select a carrier wave according to priority orders in described common factor carrier wave;
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then for each carrier wave, more described carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
According to the 3rd aspect of the present invention, a kind of choice device of NFC carrier switch is provided, comprises:
Carrier switch request module, for when described device is carrier switch request side, detect the using state information that each optional carrier wave of described device support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party;
Carrier switch selects module, for when described device is carrier switch selecting party, the handover request message that reception carrier handover request side sends, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side.
Alternatively, in device of the present invention, described carrier switch request module, be further used for using state information current for each optional carrier wave being added to after in the handover request message by protocol generation, using the using state information of carrier wave as carrier wave priority setting model, reset in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
Alternatively, in device of the present invention:
The using state information that described each optional carrier wave is current, comprising: using state or idle condition;
Described carrier switch request module, specifically for the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model;
Or the using state information that described each optional carrier wave is current, comprising: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Described carrier switch request module, specifically for the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model, and the carrier wave be all under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
Alternatively, in device of the present invention:
When the using state information that each optional carrier wave is current comprises using state or idle condition information, described carrier switch selects module, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then according to preset configuration, in the carrier wave that both sides all support, is the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority;
When the using state information that each optional carrier wave is current comprises using state or idle condition information, and when being in using state, during use information remaining time of the carrier wave estimated, described carrier switch selects module, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then for each carrier wave, relatively carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
According to the 4th aspect of the present invention, a kind of selective system of NFC carrier switch is provided, comprises: carrier switch request side and carrier switch selecting party;
Described carrier switch request side, the using state information that each optional carrier wave for detecting support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party;
Described carrier switch selecting party, for receiving handover request message, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side.
Beneficial effect of the present invention is as follows:
Methods, devices and systems of the present invention, the negotiation to the current using state of optional carrier wave is increased when NFC carrier wave is consulted, according to the combined situation of the optional carrier wave using state of communicating pair, select optimum optional carrier wave and carry out transfer of data, improve data transmission efficiency, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is that in prior art, NFC forum consults switching flow figure;
The flow chart of the system of selection of a kind of NFC carrier switch that Fig. 2 provides for the embodiment of the present invention one;
The flow chart of the system of selection of a kind of NFC carrier switch that Fig. 3 provides for the embodiment of the present invention two;
The structured flowchart of the choice device of a kind of NFC carrier switch that Fig. 4 provides for the embodiment of the present invention three;
The Organization Chart of the selective system of a kind of NFC carrier switch that Fig. 5 provides for the embodiment of the present invention four;
Fig. 6 is the handover negotiation optimization flow chart of carrier switch request side in the embodiment of the present invention five;
Fig. 7 is the handover negotiation optimization flow chart of carrier switch selecting party in the embodiment of the present invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
The embodiment of the present invention provides a kind of system of selection of NFC carrier switch, and the method is set forth from side, carrier switch request side carrier selection process, and as shown in Figure 2, described method specifically comprises:
Step S201, the using state information that each optional carrier wave that carrier switch request side detection one's own side supports is current, and added in the handover request message by protocol generation;
Step S202, handover request message is sent to carrier switch selecting party by carrier switch request side.
To sum up, known carrier switch request side is when carrying out handover negotiation optimization, and the using state information of each carrier wave just self supported is added in negotiation information, can choose the carrier wave that realization communicates the soonest provide support for carrier switch selecting party.
Set forth based on above-mentioned principle, provide several concrete and preferred implementation below, in order to refinement and the function optimizing the method for the invention, to make the enforcement of the present invention program more convenient, accurately.Concrete:
In certain embodiments, using state information current for each optional carrier wave is added in the handover request message by protocol generation by carrier switch request side, comprises further:
Carrier switch request side, using the using state information of carrier wave as carrier wave priority setting model, resets in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
That is, the using state of carrier wave takes into account by the present invention, the priority orders of carrier wave each in optional carrier list is readjusted, so just can avoid also being chosen as negotiation carrier wave in the occupied situation of the carrier wave of high priority as far as possible, affect the problem of efficiency of transmission.
In certain embodiments, the using state information that each optional carrier wave is current, comprising: using state or idle condition;
Now, using the using state information of carrier wave as carrier wave priority setting model, comprising: the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model.
More preferably, in certain embodiments, the using state information that each optional carrier wave is current, comprising: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Now, using the using state information of carrier wave as carrier wave priority setting model, comprise: the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model, and the carrier wave be all under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
This optimal way, the use of carrier wave under using state is estimated remaining time, and by this estimated time, prioritization is carried out to carrier wave, for carrier switch selecting party can select the carrier wave entering idle condition the earliest to provide support, to improve data transmission efficiency as much as possible.
Embodiment two
The embodiment of the present invention provides a kind of system of selection of NFC carrier switch, and the method is set forth from carrier switch selecting party side carrier selection process, and as shown in Figure 3, described method specifically comprises:
Step S301, carrier switch selecting party receives handover request message, and the using state information that each optional carrier wave extracting carrier switch request side's support of carrying in described handover request message is current;
Step S302, the using state information that each optional carrier wave supported based on one's own side and carrier switch request side of carrier switch selecting party is current, can set up carrier communication the soonest for principle, selects a carrier wave, and sends it to carrier switch request side.
To sum up, known carrier switch selecting party, according to the combined situation of the optional carrier wave using state of communicating pair, is selected optimum optional carrier wave and is carried out transfer of data, improve data transmission efficiency, improve Consumer's Experience.
Set forth based on above-mentioned principle, provide several concrete and preferred implementation below, in order to refinement and the function optimizing the method for the invention, to make the enforcement of the present invention program more convenient, accurately.Concrete:
In certain embodiments, the using state information that described each optional carrier wave is current comprises: using state or idle condition.
Now, carrier switch selecting party, can set up carrier communication the soonest for principle, is selected a carrier wave, being comprised:
If carrier switch selecting party exists the common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition, then in described common factor carrier wave, select a carrier wave according to priority orders;
If carrier switch selecting party does not exist the common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition, then according to preset configuration, in the carrier wave that both sides all support, be the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority.
In certain embodiments, the current using state information of described each optional carrier wave comprises: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Now, carrier switch selecting party, can set up carrier communication the soonest for principle, is selected a carrier wave, being comprised:
If carrier switch selecting party exists the common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition, then in described common factor carrier wave, select a carrier wave according to priority orders;
If there is not the common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition in carrier switch selecting party, then for each carrier wave, based on the use remaining time of carrier wave, relatively carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
For example, suppose that the carrier wave of carrier switch request side and the support of carrier switch selecting party is WiFi, bluetooth and infrared.
In side, carrier switch request side, carrier wave WiFi is in using state, and the use remaining time estimated is 5min; CW bluetooth is in idle condition; Carrier wave is infrared is in using state, and the use remaining time estimated is 2min.
In carrier switch selecting party side, carrier wave WiFi is in idle condition; CW bluetooth is in using state, and the use remaining time estimated is 3min; Carrier wave is infrared is in using state, and the use remaining time estimated is 6min.
Now, for carrier wave WiFi, being 5min in the time of requesting party's lateral extent idle condition, is 0min in the time of selecting party lateral extent idle condition; So carrier wave WiFi distance both sides are all in the time of idle condition is then 5min.
For CW bluetooth, being 0min in the time of requesting party's lateral extent idle condition, is 3min in the time of selecting party lateral extent idle condition; So CW bluetooth distance both sides are all in the time of idle condition is then 3min.
Infrared for carrier wave, being 2min in the time of requesting party's lateral extent idle condition, is 6min in the time of selecting party lateral extent idle condition; So carrier wave infrared distance both sides are all in the time of idle condition is then 6min.
Through above-mentioned comparison, the idle remaining time that known carrier wave WiFi is all in idle condition both sides is 5min, the idle remaining time that CW bluetooth is all in idle condition both sides is 3min, and carrier wave infrared idle remaining time being all in idle condition both sides is 6min.Now, then select bluetooth as the carrier wave selected.
Under this selection mode, under carrier switch selecting party does not have the common factor carrier case of idle condition for both sides, choose the carrier wave that can enter idle condition as early as possible as the carrier wave consulted, achieve and carry out carrier communication as early as possible, improve carrier communication efficiency to a certain extent.
Embodiment three
The embodiment of the present invention provides a kind of choice device of NFC carrier switch, and as shown in Figure 4, described device comprises:
Carrier switch request module 410, for when described device is carrier switch request side, detect the using state information that each optional carrier wave of described device support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party;
Carrier switch selects module 420, for when described device is carrier switch selecting party, the handover request message that reception carrier handover request side sends, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side.
Device described in the present embodiment, increase the negotiation to the current using state of optional carrier wave when NFC carrier wave is consulted, according to the combined situation of the optional carrier wave using state of communicating pair, select optimum optional carrier wave and carry out transfer of data, improve data transmission efficiency, improve Consumer's Experience.
Based on said structure framework and enforcement principle, provide several concrete and preferred implementation under the above constitution below, in order to refinement and the function optimizing device of the present invention, to make the enforcement of the present invention program more convenient, accurately.Be specifically related to following content:
In certain embodiments, carrier switch request module 410, be further used for using state information current for each optional carrier wave being added to after in the handover request message by protocol generation, using the using state information of carrier wave as carrier wave priority setting model, reset in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
That is, the using state of carrier wave takes into account by the present invention, the priority orders of carrier wave each in optional carrier list is readjusted, so just can avoid also being chosen as negotiation carrier wave in the occupied situation of the carrier wave of high priority as far as possible, affect the problem of efficiency of transmission.
In certain embodiments, the using state information that described each optional carrier wave is current, comprising: using state or idle condition;
Now, carrier switch request module 410, the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model.
In certain embodiments, the using state information that described each optional carrier wave is current, comprising: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Now, carrier switch request module 410, carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model, and the carrier wave be all under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
In certain embodiments, when the using state information that each optional carrier wave is current comprises using state or idle condition information, carrier switch selects module 420, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then according to preset configuration, in the carrier wave that both sides all support, is the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority;
In certain embodiments, when the using state information that each optional carrier wave is current comprises using state or idle condition information, and when being in using state, during use information remaining time of the carrier wave estimated, described carrier switch selects module 420, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then for each carrier wave, relatively carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
Under this selection mode, under carrier switch selects module 420 both sides not to be had to the common factor carrier case of idle condition, choose the carrier wave that can enter idle condition as early as possible as the carrier wave consulted, achieve and carry out carrier communication as early as possible, improve carrier communication efficiency to a certain extent.
Embodiment four
The embodiment of the present invention provides a kind of selective system of NFC carrier switch, and as shown in Figure 5, described system comprises: carrier switch request side 510 and carrier switch selecting party 520;
Carrier switch request side 510, the using state information that each optional carrier wave for detecting support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party 520;
Carrier switch selecting party 520, for receiving handover request message, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side 510.
Set forth in embodiment one for the further implementation detail in carrier switch request side 510, the present embodiment does not repeat.In embodiment two, have also already been elaboration for the further implementation detail of carrier switch selecting party 520, the present embodiment does not also repeat.
In a word, system described in the present embodiment increases the negotiation to the current using state of optional carrier wave when NFC carrier wave is consulted, according to the combined situation of the optional carrier wave using state of communicating pair, select optimum optional carrier wave and carry out transfer of data, improve data transmission efficiency, improve Consumer's Experience.
Embodiment five
The present embodiment provides a kind of system of selection of NFC carrier switch, and the method, by disclosing more ins and outs, can illustrate the specific implementation process of the methods, devices and systems described in the embodiment of the present invention one, two, three, four better.Certainly, the ins and outs disclosed by the present embodiment uniquely limit the present invention in order to explain the present invention but to be not used in.
Method described in the embodiment of the present invention consults existing the reciprocal process adding the optional carrier wave current state of communicating pair in the process switched.Carrier switch request side not only sends its quantity of optional carrier wave supported, type and relevant configuration information when sending handover request, also need to send the current using state of optional carrier wave, using to carry out transfer of data or the free time is not used, remaining time is used for also needing to calculate at the carrier wave used, namely also need how long be in idle condition, this value is covered in handover request message in the lump.After carrier switch selecting party receives handover request message, compare the communication carrier oneself supported and return to carrier switch request side to switch and select message, switch and select to comprise final negotiation carrier wave in message.The determination of final negotiation carrier wave is determined mainly through the using state that each optional carrier wave of communicating pair is current.The negotiation switching flow of the present invention program is described below.
The realization flow of the unmodified NFC Forum of method described in the embodiment of the present invention and message format, the connection of complete compatible NFC Forum switches specification.The negotiations process focusing on optional carrier wave of method described in the embodiment of the present invention, finally determines to consult carrier wave.The handling process of the main handling process from carrier switch request side and carrier switch selecting party is described and concrete realizes details below.
(1) the handover negotiation optimization process of carrier switch request side;
The handover negotiation optimization process of carrier switch request side mainly sends handover request message to carrier switch selecting party, carry optional carrier list in message, in this table, store all wireless carriers of handover request side's support, the relevant configuration information of carrier wave and current using state information.The present invention, when determining the order of each carrier wave in optional carrier list, for the carrier wave of idle condition, has higher priority, is placed on front.For the optional carrier wave be under using state, need the use remaining time calculating each optional carrier wave, namely also need how long this carrier wave is in idle condition, according to the size using remaining time, adjust the order of optional carrier list, use less more forward remaining time, priority is higher.Specific implementation flow process as shown in Figure 6, comprises the steps:
Step S601, starts;
Step S602, detects the using state that optional carrier wave is current;
Step S603, judges whether optional carrier wave is all in using state, if so, then performs step S604; Otherwise, perform step S605;
Step S604, calculates the use remaining time of each optional carrier wave, and adjusts the carrier wave priority orders of optional carrier list according to the use remaining time of order from short to long, goes to step S607;
Wherein, the mode calculating use remaining time of each optional carrier wave belongs to the technology of comparative maturity; as: when utilizing wifi to transmit data, usually have the prompting in transmission speed and transmission time, the present invention can using the transmission time as the use remaining time calculated.
Step S605, judges whether optional carrier wave is all in idle condition, does not if so, then adjust the carrier wave priority orders of optional carrier list, goes to step S607; Otherwise, perform step S606;
Step S606, calculate the use remaining time being in each carrier wave of using state, and with the carrier wave priority of idle condition higher than the carrier wave priority of using state, the carrier wave be all under using state, the carrier wave priority using remaining time short is higher than the mode of the carrier wave priority using remaining time long, adjust the carrier wave priority orders of optional carrier list, go to step S607;
Wherein, multiple carrier wave is in the situation of idle condition, the priority orders of each idle intercarrier sorts according to original order.
Step S607, sends handover request message to carrier switch selecting party;
Step S608, monitors and message is selected in the switching that reception carrier switches selecting party feedback;
Step S609, resolves to switch and selects message, obtain and consult carrier wave specific configuration information, sends concrete carrier wave set up request to carrier switch selecting party;
The present embodiment, when receiving the switching selection message that carrier switch selecting party sends, obtain the negotiation carrier configuration information switching and select in message, the connection setup process of carrier wave of holding consultation, belongs to prior art, and the present invention does not do too much elaboration.
Step S610, terminates.
(2) the handover negotiation optimization process of carrier switch selecting party;
The handover negotiation optimization process of carrier switch selecting party mainly receives and resolves handover request message, obtain each optional Carrier State in handover request message, in conjunction with self current alternative Carrier State, calculate optimum carrier wave as negotiation carrier wave, finally negotiation carrier wave is encapsulated into switch and selects to send to carrier switch request side in message.
This process emphasis is consulting the deterministic process of carrier wave, and mainly contain three kinds of processing modes: A mode: when the optional carrier wave of carrier switch selecting party is all in idle condition, final negotiation carrier wave is determined by the optional carrier list in handover request message.In optional carrier wave selective listing, first carrier wave is for consulting carrier wave, and carrier wave is consulted in the conduct that namely list medium priority is the highest; B mode: when the optional carrier wave of carrier switch request side is all idle, and carrier switch selecting party only has the optional carrier wave of part in a situation of use where, the idle carrier wave all supported in handover request side and switching selecting party, as negotiation carrier wave, is selected according to the preferred sequence of carrier list optional in handover request message; C mode: obtain each optional carrier wave of carrier switch selecting party and carrier switch request side and use remaining time, calculate the earliest idle carrier wave as negotiation carrier wave by comparing, which is applied to other application scenarioss except the application scenarios of A mode and B mode.Wherein, in other application scenarioss except the application scenarios of A mode and B mode, there is a kind of situation namely: the carrier wave of carrier switch request side and carrier switch selecting party is part situation about using all, now, preferably, first judge whether to exist at all idle carrier wave of both sides, if exist, then directly to select from the carrier wave of free time, otherwise, then adopt C way selection.
Following table describes carrier switch selecting party under the carrier wave of one's own side and carrier switch request side is in different conditions situation, switches the processing mode corresponding relation that selection course needs to take.
Set forth based on above-mentioned principle, below the idiographic flow that carrier switch selecting party carries out carrier wave selection is described, as shown in Figure 7, comprises the steps:
Step S701, starts;
Step S702, monitors and receives handover request message;
Step S703, resolves handover request message and obtains each optional carrier wave current state in carrier switch request side, obtains carrier switch selecting party current alternative Carrier State simultaneously;
Step S704, judges that the optional carrier wave of carrier switch selecting party is current and whether is all in idle condition, if so, performs step S705; Otherwise, perform step S706;
Step S705, using first carrier wave in carrier list optional in handover request message as negotiation carrier wave, goes to step S709;
Step S706, judges carrier switch request can select whether carrier wave is current is all in idle condition and carrier switch selecting party only has the optional carrier wave of part to be in using state, if so, performs step S707; Otherwise, perform step S708;
Step S707, compares idle carrier wave that carrier switch request side and carrier switch selecting party all support as negotiation carrier wave, selects, go to step S709 according to the priority orders of carrier list optional in handover request message;
Step S708, obtains the use remaining time of carrier switch selecting party and each optional carrier wave in carrier switch request side, calculates idle carrier wave the earliest and, as negotiation carrier wave, goes to step S709 by comparing;
Illustrate: suppose that handover request side supports Wi-Fi and Bluetooth two kinds of ZAP, use be respectively 13 seconds and 15 seconds remaining time; Switch selecting party and support Wi-Fi and Bluetooth too, use be respectively 10 seconds and 20 seconds remaining time.Compare calculating by both sides, both sides Wi-Fi just all can be in idle condition in 13 seconds the earliest, and Bluetooth needs 20 seconds just can enter idle condition the earliest, then the idle remaining time of Wi-Fi is 13 seconds, and the idle remaining time of Bluetooth is 20 seconds.Therefore compare the two, selection Wi-Fi can be higher as negotiation carrier wave efficiency.Therefore finally select Wi-Fi as final negotiation carrier wave in this example.
Step S709, is encapsulated into final negotiation carrier wave to switch and selects to send to carrier switch request side in message.
Step S710, terminates.
In sum, method described in the present embodiment increases the negotiation to the current using state of optional carrier wave when NFC carrier wave is consulted, according to the combined situation of the optional carrier wave using state of communicating pair, select optimum optional carrier wave and carry out transfer of data, improve data transmission efficiency, improve Consumer's Experience.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as the following claims reflect, all features of inventive aspect disclosed single embodiment before being to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
In addition, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. a system of selection for close range wireless communication carrier switch, is characterized in that, comprising:
The using state information that each optional carrier wave that carrier switch request side detection one's own side supports is current, and added in the handover request message by protocol generation; Described handover request message is sent to carrier switch selecting party by carrier switch request side.
2. the method for claim 1, is characterized in that, using state information current for each optional carrier wave is added in the handover request message by protocol generation, comprises further:
Using the using state information of carrier wave as carrier wave priority setting model, reset in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
3. method as claimed in claim 2, is characterized in that,
The using state information that described each optional carrier wave is current, comprising: using state or idle condition;
Described using the using state information of carrier wave as carrier wave priority setting model, comprising: the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model.
4. method as claimed in claim 3, is characterized in that,
When carrier wave is in using state, the current using state information of corresponding carrier wave also comprises: the use remaining time of the carrier wave estimated;
Described using the using state information of carrier wave as carrier wave priority setting model, also comprise: be all the carrier wave under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
5. a system of selection for close range wireless communication carrier switch, is characterized in that, comprising:
Carrier switch selecting party receives handover request message, and the using state information that each optional carrier wave extracting carrier switch request side's support of carrying in described handover request message is current;
The using state information that each optional carrier wave supported based on one's own side and carrier switch request side of carrier switch selecting party is current, can set up carrier communication the soonest for principle, selects a carrier wave, and sends it to carrier switch request side.
6. method as claimed in claim 5, is characterized in that,
The current using state information of described each optional carrier wave comprises: using state or idle condition;
Described so that carrier communication can be set up the soonest for principle, select a carrier wave, comprising:
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if exist, then select a carrier wave according to priority orders in described common factor carrier wave;
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then according to preset configuration, in the carrier wave that both sides all support, is the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority.
7. method as claimed in claim 5, is characterized in that,
The current using state information of described each optional carrier wave comprises: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Described so that carrier communication can be set up the soonest for principle, select a carrier wave, comprising:
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if exist, then select a carrier wave according to priority orders in described common factor carrier wave;
The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then for each carrier wave, more described carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
8. a choice device for close range wireless communication carrier switch, is characterized in that, comprising:
Carrier switch request module, for when described device is carrier switch request side, detect the using state information that each optional carrier wave of described device support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party;
Carrier switch selects module, for when described device is carrier switch selecting party, the handover request message that reception carrier handover request side sends, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side.
9. device as claimed in claim 8, it is characterized in that, described carrier switch request module, be further used for using state information current for each optional carrier wave being added to after in the handover request message by protocol generation, using the using state information of carrier wave as carrier wave priority setting model, reset in handover request message the priority orders of each carrier wave in the optional carrier list comprised.
10. device as claimed in claim 9, is characterized in that,
The using state information that described each optional carrier wave is current, comprising: using state or idle condition;
Described carrier switch request module, specifically for the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model;
Or the using state information that described each optional carrier wave is current, comprising: using state or idle condition, and when being in using state, the use remaining time of the carrier wave estimated;
Described carrier switch request module, specifically for the carrier wave priority orders under idle condition higher than the carrier wave priority orders under using state as carrier wave priority setting model, and the carrier wave be all under using state, using the use remaining time estimated short carrier wave priority orders higher than the use remaining time estimated long carrier wave priority orders as carrier wave priority setting model.
11. devices as claimed in claim 10, is characterized in that,
When the using state information that each optional carrier wave is current comprises using state or idle condition information, described carrier switch selects module, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then according to preset configuration, in the carrier wave that both sides all support, is the carrier wave selected with one's own side or the highest carrier wave of carrier switch request side's priority;
When the using state information that each optional carrier wave is current comprises using state or idle condition information, and when being in using state, during use information remaining time of the carrier wave estimated, described carrier switch selects module, if be in the common factor carrier wave of idle condition specifically for there is one's own side and carrier switch request Fang Zhongjun, then in described common factor carrier wave, select a carrier wave according to priority orders; The common factor carrier wave that one's own side and carrier switch request Fang Zhongjun are in idle condition if do not exist, then for each carrier wave, relatively carrier wave is in the time of both sides' distance idle condition, getting the wherein longer time is the idle remaining time that both sides are all in idle condition, the idle remaining time of more each carrier wave, with the carrier wave of carrier wave for selecting that idle remaining time is the shortest.
The selective system of 12. 1 kinds of close range wireless communication carrier switch, is characterized in that, comprising: carrier switch request side and carrier switch selecting party;
Described carrier switch request side, the using state information that each optional carrier wave for detecting support is current, and added to after in the handover request message by protocol generation, be sent to carrier switch selecting party;
Described carrier switch selecting party, for receiving handover request message, extract the using state information that each optional carrier wave of carrier switch request side's support of carrying in described handover request message is current, and the using state information that each optional carrier wave supported based on one's own side and carrier switch request side is current, so that carrier communication can be set up the soonest for principle, select a carrier wave, and send it to carrier switch request side.
CN201510176287.8A 2015-04-15 2015-04-15 A kind of selection method, the device and system of NFC carrier switch Active CN104822167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510176287.8A CN104822167B (en) 2015-04-15 2015-04-15 A kind of selection method, the device and system of NFC carrier switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510176287.8A CN104822167B (en) 2015-04-15 2015-04-15 A kind of selection method, the device and system of NFC carrier switch

Publications (2)

Publication Number Publication Date
CN104822167A true CN104822167A (en) 2015-08-05
CN104822167B CN104822167B (en) 2018-11-06

Family

ID=53732302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510176287.8A Active CN104822167B (en) 2015-04-15 2015-04-15 A kind of selection method, the device and system of NFC carrier switch

Country Status (1)

Country Link
CN (1) CN104822167B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973358A (en) * 2017-02-28 2017-07-21 宇龙计算机通信科技(深圳)有限公司 A kind of communication connecting method and terminal
CN109152088A (en) * 2017-06-19 2019-01-04 通用汽车环球科技运作有限责任公司 wireless device connection management
CN110474728A (en) * 2018-05-11 2019-11-19 电信科学技术研究院有限公司 A kind of synchronization message sends the selection method and terminal of carrier wave
CN111131934A (en) * 2019-12-27 2020-05-08 武汉长光科技有限公司 Extended wavelength allocation method based on PON system
CN112205013A (en) * 2018-05-31 2021-01-08 皇家飞利浦有限公司 Apparatus for wireless communication handover

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457849A (en) * 2010-10-20 2012-05-16 诺基亚公司 Wireless docking with out-of-band initiation
CN102771064A (en) * 2010-02-26 2012-11-07 Lg电子株式会社 Electronic device and method for operating an electronic device
CN104066135A (en) * 2013-03-18 2014-09-24 华为终端有限公司 Connection switching method based on near field communication and corresponding device
CN104254980A (en) * 2012-06-08 2014-12-31 惠普发展公司,有限责任合伙企业 Secure wireless peer-peer connection using near-field communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102771064A (en) * 2010-02-26 2012-11-07 Lg电子株式会社 Electronic device and method for operating an electronic device
CN102457849A (en) * 2010-10-20 2012-05-16 诺基亚公司 Wireless docking with out-of-band initiation
CN104254980A (en) * 2012-06-08 2014-12-31 惠普发展公司,有限责任合伙企业 Secure wireless peer-peer connection using near-field communication
CN104066135A (en) * 2013-03-18 2014-09-24 华为终端有限公司 Connection switching method based on near field communication and corresponding device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973358A (en) * 2017-02-28 2017-07-21 宇龙计算机通信科技(深圳)有限公司 A kind of communication connecting method and terminal
CN109152088A (en) * 2017-06-19 2019-01-04 通用汽车环球科技运作有限责任公司 wireless device connection management
CN109152088B (en) * 2017-06-19 2022-07-15 通用汽车环球科技运作有限责任公司 Wireless device connection management method
CN110474728A (en) * 2018-05-11 2019-11-19 电信科学技术研究院有限公司 A kind of synchronization message sends the selection method and terminal of carrier wave
CN112205013A (en) * 2018-05-31 2021-01-08 皇家飞利浦有限公司 Apparatus for wireless communication handover
CN112205013B (en) * 2018-05-31 2022-12-27 皇家飞利浦有限公司 Apparatus for wireless communication handover
CN111131934A (en) * 2019-12-27 2020-05-08 武汉长光科技有限公司 Extended wavelength allocation method based on PON system

Also Published As

Publication number Publication date
CN104822167B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
USRE48986E1 (en) Method and terminal for establishing a communication connection
EP3425881B1 (en) Method for data transmission and mobile terminal
CN104822167A (en) Selecting method for switching NFC carriers, device and system thereof
CN103220822B (en) Data transmission method, device and mobile terminal
EP2966932B1 (en) Wireless fidelity wi-fi access method for user equipment and wi-fi access node
US10716043B2 (en) Access point handover method and device
JP2008017302A (en) Short-range radio communication terminal and transmission power control method
CN103857014A (en) Service establishment method and device and system for multimode user equipment
CN110177384B (en) Access method, device, wireless access point and readable storage medium
CN104936258A (en) Network access method, terminal and system
CN103929755A (en) Communication method and device
CN105451274A (en) Network convergence preprocessing method, device and system
US10708775B2 (en) Method for establishing network connection by using WPS, and mobile Wi-Fi device
US9883545B2 (en) Apparatus and method for selecting channel in wireless communication system
CN112449305B (en) WiFi connection method, control method, mobile terminal, equipment and server
CN109525469B (en) Networking method of intelligent household equipment and intelligent household equipment
CN104717688A (en) Method and device for controlling wireless router
EP3065445B1 (en) Method, cse, and system for transmitting m2m application request
US20130089028A1 (en) Wireless communication system and method using directional communication
CN104717706A (en) Wireless local area network (WLAN) smooth roaming method and system, access points and access controller
CN106102050A (en) Wireless network configuration method, wireless router and smart machine
CN113448744A (en) Application program selection method and device
JP2009188536A (en) Wireless terminal and wireless communication method
KR100679404B1 (en) Terminal for data communication and communication method thereof
CN104104816A (en) Communication apparatus and control method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant