WO2016187789A1 - Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension - Google Patents

Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension Download PDF

Info

Publication number
WO2016187789A1
WO2016187789A1 PCT/CN2015/079733 CN2015079733W WO2016187789A1 WO 2016187789 A1 WO2016187789 A1 WO 2016187789A1 CN 2015079733 W CN2015079733 W CN 2015079733W WO 2016187789 A1 WO2016187789 A1 WO 2016187789A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
radio frequency
conflict
radio
extension
Prior art date
Application number
PCT/CN2015/079733
Other languages
French (fr)
Chinese (zh)
Inventor
赵晓娜
常新苗
梅敬青
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/079733 priority Critical patent/WO2016187789A1/en
Priority to CN201580039969.2A priority patent/CN106575981A/en
Publication of WO2016187789A1 publication Critical patent/WO2016187789A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for conflict resolution of radio frequency interface extension, DH and NFCC.
  • NFC terminals can implement short-range communication based on Radio Frequency Identification (RFID) technology.
  • RFID Radio Frequency Identification
  • the host controller (DH) of the local NFC terminal can pass through a radio interface (RF Interface) of the NFC terminal, such as Frame RF Interface, ISO-DEP RF Interface, NFC-DEP RF Interface, or NDEF RF Interface, and a corresponding RF protocol such as T1T protocol, T2T protocol, T3T protocol, T5T protocol, ISO-DEP protocol, or NFC-DEP protocol Communication between the peer NFC terminals, and one or more RF Interface Extensions can be run on one RF interface.
  • the RF interface extension can be triggered by the DH through the NCI (NFC Controller Interface) protocol.
  • the NFC Controller (NFC) is turned on to allow the NFCC to implement more functions.
  • the DH In order to enable the NFCC to open a radio interface extension, the DH needs to configure the NFCC to perform the parameters required for the expansion of the radio interface. As the radio interface expansion increases, the possibility of collision between these radio interface extensions is greater. For example, there are conflicts between the parameters corresponding to different RF interface extensions. Therefore, when DH is enabled to open multiple radio interface extensions, it may cause an open failure due to a conflict between them, or a conflict occurs when the corresponding function is executed after being turned on, resulting in a decrease in communication efficiency.
  • the embodiment of the invention provides a method, a device, a DH and an NFCC for conflict resolution of a radio frequency interface extension, which can improve communication efficiency.
  • the embodiment of the present invention adopts the following technical solutions:
  • an embodiment of the present invention provides a method for conflict resolution of a radio frequency interface extension, where the method includes:
  • the master controller DH obtains conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • the DH turns on at least one of the target radio frequency interface extensions according to the conflict information.
  • the DH acquires conflict information, including:
  • the DH receives the radio frequency interface extension information sent by the near field communication controller NFCC, and generates the conflict information, where the radio frequency interface extension information is used to indicate type information of the radio frequency interface extension corresponding to the at least one radio frequency interface;
  • the DH acquires the conflict information of the stored system preset
  • the DH receives an initialization response message sent by the NFCC, and obtains the conflict information from the initialization response message;
  • the DH receives the radio frequency interface activation notification message sent by the NFCC, and obtains the conflict information from the radio frequency interface activation notification message;
  • the DH receives an open response message or an open notification message sent by the NFCC, and obtains the conflict information from the open response message or the open notification message;
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the DH enable at least one of the target radio interface extensions One, including:
  • the target radio interface extension includes at least two radio interface extensions Whether there is a conflict between the at least two target radio interface extensions
  • the DH starts the at least two target radio frequency interface extensions
  • the DH turns on at least one of the at least two target radio frequency interface extensions according to the priority information of the radio frequency interface extension.
  • the DH enable at least one of the target radio interface extensions One, including:
  • All radio frequency interface extensions include the target radio frequency interface extension and the opened radio frequency interface extension;
  • the DH enables all target radio interface extensions
  • the DH turns on at least one of the all target radio interface extensions according to the priority information of the radio interface extension.
  • the DH is extended according to the radio frequency interface corresponding to the activated radio frequency interface according to the conflict information. After the status of the radio interface is extended, whether there is a conflict between all the radio interface extensions, the method further includes:
  • the DH turns off at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
  • an embodiment of the present invention provides a method for conflict resolution of a radio frequency interface extension, where the method includes:
  • the near field communication controller NFCC sends the conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the NFCC sends the conflict information to the DH, including:
  • the NFCC After completing the initialization of the NFCC, the NFCC sends an initialization response message to the DH, where the initialization response message carries the conflict information;
  • the NFCC after activating a radio interface, the NFCC sends a radio frequency interface to the DH. a live notification message, where the radio interface activation notification message carries the conflict information;
  • the NFCC sends an open response message or a start notification message to the DH, where the open response message or the open notification message carries the conflict information.
  • an embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus, where the apparatus includes:
  • An acquiring module configured to obtain conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • a determining module configured to determine at least one unopened radio frequency interface extension from the radio interface extension corresponding to the activated radio interface as the target radio interface extension;
  • an execution module configured to enable at least one of the target radio interface extensions according to the conflict information.
  • the acquiring module is configured to receive the radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information,
  • the radio interface extension information is used to indicate type information of the radio interface extension corresponding to the at least one radio interface;
  • the acquiring module is specifically configured to acquire the conflict information preset by the stored system
  • the acquiring module is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
  • the acquiring module is configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
  • the acquiring module is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
  • radio frequency interface between the main controller DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the executing module is specifically configured to:
  • the target radio interface extension includes at least two radio interface extensions, whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, The at least two target radio frequency interface extensions are enabled; when there is a conflict, at least one of the at least two target radio frequency interface extensions is turned on according to the priority information of the radio frequency interface extension.
  • the executing module is specifically configured to:
  • the extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
  • the executing module is further configured to: when there is a conflict, close the priority information according to the radio frequency interface extension At least one of the opened radio frequency interface extensions.
  • an embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus, where the apparatus includes:
  • a sending module configured to send a conflicting information to the main controller DH, where the conflicting information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the sending module is configured to send an initialization response message to the DH after the initialization of the NFCC is completed, where the initialization response message carries The conflict information;
  • the sending mode is specifically configured to send a radio frequency interface activation notification message to the DH after the activation of a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
  • the sending mode is specifically used to enable an RF corresponding to the activated radio interface.
  • an open response message or a start notification message is sent to the DH, and the open response message or the open notification message carries the conflict information.
  • an embodiment of the present invention provides a main controller DH, including:
  • a communication bus configured to acquire conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • a processor configured to determine at least one unopened radio frequency interface extension as a target radio frequency interface extension from a radio frequency interface extension corresponding to the activated radio frequency interface, and enable the processor to determine according to the conflict information acquired by the receiver At least one of the target radio frequency interface extensions.
  • the communication bus is configured to receive radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information,
  • the radio interface extension information is used to indicate type information of the radio interface extension corresponding to the at least one radio interface;
  • the communication bus is specifically configured to acquire the conflict information preset by the stored system
  • the communication bus is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
  • the communication bus is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
  • the communication bus is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the processor is specifically configured to:
  • the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; In the event of a conflict, at least one of the at least two target radio interface extensions is turned on according to the priority information of the radio interface extension.
  • the processor is specifically configured to:
  • the extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
  • the DH is extended according to the radio frequency interface corresponding to the activated radio frequency interface according to the conflict information.
  • the state of the radio interface is extended, and the processor is further configured to close the radio interface according to the priority information of the radio interface extension when there is a conflict. At least one of the enabled RF interface extensions.
  • an embodiment of the present invention provides a near field communication controller NFCC, including:
  • a memory for storing information including program instructions
  • a communication bus configured to send conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the communication bus is specifically configured to send an initialization response message to the DH after completing initialization of the NFCC, where the initialization response message is Carrying the conflict information;
  • the communication bus is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
  • the communication bus is specifically configured to open a corresponding shot of the activated radio interface After the frequency interface is extended, an open response message or a start notification message is sent to the DH, and the open response message or the open notification message carries the conflict information.
  • the method and device for conflict resolution of the radio frequency interface extension, the DH and the NFCC, and the target radio interface determined by the main controller DH according to the obtained conflict information and the radio frequency interface extension corresponding to the activated radio frequency interface are provided by the embodiment of the present invention.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency.
  • a conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • FIG. 1 is a schematic structural diagram of a specific application scenario according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present disclosure
  • FIG. 5 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method in a specific application scenario according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of another method in a specific application scenario according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a radio frequency interface extended conflict resolution apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another radio frequency interface extended conflict resolution apparatus according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a main controller DH according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a near field communication controller NFCC according to an embodiment of the present invention.
  • the embodiment of the present invention can be used for an NFC terminal.
  • the NFC terminal is provided with a main controller DH and a near field communication controller NFCC.
  • the DH may be responsible for the management of the NFCC, such as: NFCC initialization, configuration, and power management;
  • the NFCC may be responsible for physical data transmission through the radio frequency interface and the antenna;
  • the DH and the NFCC may communicate through the NCI protocol, where The NCI protocol defines a radio frequency interface for communicating with the peer through some RF protocol.
  • the NFC terminal communicates.
  • one radio frequency interface extension can be used for multiple radio frequency interfaces, and one radio frequency interface can also support multiple radio frequency interface extensions.
  • the RF interface extension is a function extension of the RF interface. That is, the DH can trigger a group of tasks or a function on the NFCC through an NCI command (such as the open command RF_INTF_EXT_START_CMD). Of course, the DH can also pass the NCI command (such as the stop command RF_INTF_EXT_STOP_CMD). Stop the NFCC from continuing to perform this set of tasks or this function.
  • the NFC terminal may be any NFC-enabled terminal, such as a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), or a wearable device (Wearable Device).
  • DH is a term used in the NCI specification developed by the NFC Forum, and can correspond to a host controller interface (HCI, Host Controller Interface) developed by the European Telecommunication Standards Institute (ETSI).
  • HCI Host Controller Interface
  • ETSI European Telecommunication Standards Institute
  • the terminal host (Terminal Host) in the specification; in addition, the management entity (ME, Managing Entity) in the specification developed by the Global Platform International Standards Organization (GP) can also be called DH if it is implemented on the Terminal Host.
  • MH Managing Host
  • the above NFCC is a term used in the NCI specification developed by the NFC Forum to correspond to the non-contact front end (CLF, Contactless Front-end) in the HCI specification developed by the European Telecommunication Standards Institute (ETSI).
  • the host controller Host Controller
  • the embodiment of the invention provides a conflict resolution method for the radio frequency interface extension, which is performed by the main controller DH. As shown in FIG. 2, the method includes:
  • the main controller DH acquires conflict information.
  • the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
  • the conflict information may be directly sent by the NFCC, and may also be generated by the DH according to the radio interface extension information sent by the NFCC.
  • the specific manner of obtaining the conflict information may be described in the following embodiments.
  • one RF interface extension conflicts with another RF interface extension.
  • the reason is not specifically limited in the embodiment of the present invention, and may be that the NFCC performs a radio frequency interface extension separately from another radio frequency interface extension, and these parameters cannot be simultaneously configured to the NFCC; or one radio frequency interface extension and another The parameters of a radio interface extension need to be the same, but the values of the parameters are different.
  • the version of the protocol that the NFCC performs when performing a radio interface extension is different from that of another radio interface. For example, an RF interface extension cannot be used.
  • Execution on the current version of NFCC can only be performed on a higher version, while another RF interface extension can be performed on the current version; or one RF interface extension is the same as an attribute type of another RF interface extension, but The specific content of an attribute is different; or any other reason that may cause multiple RF interface extensions to be mutually exclusive and cannot be opened at the same time in NFCC.
  • the conflict information may be represented by a conflicting byte.
  • the conflicting byte is used to indicate conflict information of multiple radio interface extensions corresponding to one radio interface.
  • b0 to b7 are used to represent 8 bits in 1 byte
  • each bit is used to indicate a radio interface extension
  • the value X of a bit is used to indicate whether the radio interface extension corresponding to the bit is
  • X can be 0 or 1.
  • the value X of any two or more bits is 1, it indicates that there is a conflict between the radio interface extensions corresponding to the bits, that is, the NFCC cannot simultaneously perform the functions corresponding to the extension of the radio interface.
  • a radio frequency interface defined in the NCI protocol corresponds to four radio interface extensions e1, e2, e3, and e4, the b0 bit is used to indicate the radio interface extension e1, and the b1 bit is used to indicate the radio interface extension e2, b2. The bit is used to indicate the radio interface extension e3, and the b3 bit is used to indicate the radio interface extension e4.
  • the manner in which the conflict information is displayed is not specifically limited in the embodiment of the present invention.
  • One or more of the conflicting bytes in the embodiment may be used to list one or more sets of radio frequency interface extensions that conflict with each other.
  • other methods may be used to describe whether there is a conflict between the radio interface extensions corresponding to a certain radio interface, for example, one or more non-conflicting bytes are used to list one or more sets of radio interface extensions that do not conflict with each other. Or use other forms to identify the presence or absence of conflicting RF interface extensions.
  • DH can use this information to ensure that it is turned on. There is no conflict between multiple RF interface extensions, or between the enabled RF interface extensions and the enabled RF interface extensions.
  • the description of the conflict information is equally applicable to the following embodiments.
  • the DH determines, as a target radio frequency interface extension, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface.
  • the activated radio frequency interface indicates that the radio interface is currently in an active state, and is one of the at least one radio frequency interface defined in the NCI protocol.
  • the NFCC may send only the conflict information corresponding to the one or more radio frequency interfaces to the DH, as long as the conflict information corresponding to the activated radio frequency interface is included, This is not limited.
  • the NFCC may send the radio interface extension information corresponding to the one or more radio interfaces to the DH, and the DH may generate the activated radio interface corresponding to the radio interface extension information corresponding to the activated radio interface.
  • the conflicting information is not limited in this embodiment of the present invention.
  • the DH starts at least one of the target radio interface extensions according to the conflict information. One.
  • DH can determine whether to enable the NFCC to open one or more radio interface extensions on the activated radio interface by sending an RF_INTF_EXT_START_CMD command to the NFCC based on the service requirements and/or the capabilities of the NFCC.
  • the at least one un-opened radio interface extension can be determined as the target radio interface extension.
  • the radio interface extension corresponding to the activated radio interface can be extended, or even the radio interface.
  • the extended priority case determines whether the target radio interface extension is turned on. For example, if there is no open RF interface extension, the target RF interface can be extended; if there is currently at least one enabled RF interface extension, and the target RF interface is extended and the enabled RF interface is extended. If there is no conflict, the target radio interface can be extended; if there is currently at least one enabled radio interface extension, and there is a conflict between the target radio interface extension and the opened radio interface extension, then Their priority order is further determined to determine whether to extend the target radio interface.
  • the target radio interface When the target radio interface is extended to multiple ports, it is also possible to determine whether to open the target radio interface according to the opening condition of the radio interface extension corresponding to the activated radio interface, or even the priority of the extension of the radio interface. For one or more of the following, refer to the following embodiments for specific processing, and details are not described herein again.
  • the method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention.
  • the main controller DH expands the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency.
  • a conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • the method for obtaining the conflict information in the DH in the step 101 is different.
  • the manner of acquiring the conflict information may be specifically implemented as being obtained from the DH, or The initialization response message sent by the NFCC, the radio frequency interface activation notification message, the opening response message, or the opening notification message is obtained. Therefore, on the basis of the implementation as shown in FIG. 2, the implementation may be implemented as shown in FIG. 3, wherein the main controller DH of step 101 acquires conflict information, which may be specifically implemented as shown in FIG. Any step from step 1011 to step 1015:
  • the DH receives the radio frequency interface extension information sent by the near field communication controller NFCC, and generates the conflict information.
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions; the radio frequency interface extension information is used to indicate that the radio frequency interface corresponding to the at least one radio frequency interface is extended.
  • Type information The radio frequency interface extension information includes type information for indicating the radio frequency interface extension corresponding to the at least one radio frequency interface (refer to the NCI protocol, which is not described in detail herein), and the information may pass the NCI response message defined in the NCI protocol. Or the NCI notification message (such as the initialization response message CORE_INIT_RSP) is obtained, and then the DH can use the information to generate corresponding conflict information for one of the radio frequency interfaces or each radio frequency interface.
  • the DH can be developed according to the manufacturer of the NFC terminal when developing the NCI. Pre-set policies or rules use these received RF interface extensions to generate conflicting information.
  • the DH acquires the conflict information of the stored system preset.
  • the collision information may be pre-configured to the DH by the manufacturer of the NFC terminal when developing the NFC controller interface NCI; of course, the storage may be performed by other means, for example, the DH saves the conflict information corresponding to a certain radio interface for the first time. To a certain storage area, you can directly obtain the conflict information from the storage area.
  • the DH receives an initialization response message sent by the NFCC, and obtains the conflict information from the initialization response message.
  • an initialization response message is sent by the NFCC to the DH for feeding back the result of the NFCC initialization to the DH.
  • the NFCC may report the conflict information to the DH by initializing the response message (such as the CORE_INIT_RSP command sent by the DH to the NFCC as shown in Table 3), and then the DH judges that there is no existence according to the conflict information carried in the received CORE_INIT_RSP command. Whether there is a conflict between the target RF interface extensions when the enabled RF interface is extended, or whether there is an open RF interface extension between the target RF interface extension and all RF interface extensions of the opened RF interface extension. There is a conflict.
  • the initialization response message CORE_INIT_RSP shown in the foregoing Table 3 is defined by the NCI protocol, where the first three fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in the embodiment of the present invention. in. In the above Table 3, only two subfields in the last field (i.e., the combined number field and the conflict list field in which the conflict exists) are set to implement the embodiment of the present invention.
  • each time there is a radio interface extension it takes 1 byte to describe its type (see NCI protocol for details, which is not detailed here); in the conflict list, each conflict The byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above), indicating a set of conflicts, that is, at least two corresponding to the radio interface.
  • the DH receives a radio frequency interface activation notification message sent by the NFCC, and obtains the conflict information from the radio frequency interface activation notification message.
  • the radio frequency interface activation notification message is used to report the result of activating the radio frequency interface to the DH.
  • the radio interface activation notification message may include the type of the activated radio interface and related parameters. For details, refer to the NCI protocol, which is not described here.
  • the conflict information is one or more sets of conflicts that may exist between the radio interface extensions corresponding to the activated radio interface.
  • the NFCC can activate the notification message through the radio interface (for example, as shown in Table 4, the RF_INTF_ACTIVATED_NTF sent by the NFCC to the DH) to report the conflict information to the DH, and then the DH carries the notification message according to the received radio interface activation notification message.
  • the conflict information is used to determine whether there is a conflict between the radio interface extensions to be opened when there is no open RF interface extension; or when the radio interface expansion is enabled, the radio interface to be opened is expanded and opened. Whether there is a conflict between all RF interface extensions formed by the RF interface extension.
  • the radio interface activation notification message RF_INTF_ACTIVATED_NTF shown in Table 4 above is defined by the NCI protocol.
  • the first two fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in this embodiment.
  • only the last two fields i.e., the combined number field and the conflict list field in which the conflict exists
  • the conflict list each conflicting byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, such as Table 1 or Table 2 above) indicates a set of conflicts, that is, There is a conflict between at least two radio interface extensions corresponding to the radio interface.
  • the DH receives an open response message or an open notification message sent by the NFCC, and obtains the conflict information from the open response message or the open notification message.
  • the open response message or the open notification message is an open command sent by the NFCC to the NFCC in response to the DH using an activated radio interface (such as NCI).
  • the RF_INTF_EXT_START_CMD which is defined by the protocol, is used to report to the DH whether the radio interface extension specified in the open command has been successfully enabled.
  • the NFCC may carry the conflict information by using the open response message or the open notification message when receiving the first open command sent by the DH in a radio frequency communication.
  • the conflict information may be one or more sets of conflicts that may exist between the radio interface extensions corresponding to the activated radio interface; or may be the radio frequency specified in the activated radio interface and the first open command.
  • One or more sets of conflicts related to the interface extension When the activated radio interface is used, one or more other radio interface extensions cannot be enabled at the same time when the radio interface extension specified by the first open command is enabled.
  • the NFCC may report the conflict information to the DH by opening a response message (such as the RF_INTF_EXT_START_RSP command sent by the DH to the NFCC in Table 5) or by opening a notification message (as shown in Table 6 for the new RF_INTF_EXT_START_NTF command sent by the DH to the NFCC).
  • the DH determines whether there is a conflict between the target radio interface extensions when there is no open radio interface extension according to the received conflicting information carried in the open response message or the open notification message; or, when there is an enabled radio frequency
  • the interface is extended, there is a conflict between the target RF interface extension and all RF interface extensions that are formed by the extended RF interface extension.
  • the ON response message RF_INTF_EXT_START_RSP shown in Table 5 above is defined by the NCI protocol, where the first three fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in the embodiment of the present invention. in. In the above Table 5, only the last two fields (i.e., the combined number field and the conflict list field in which the conflict exists) are set to implement the embodiment of the present invention.
  • each conflicting byte in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above)
  • a set of conflicts that is, a conflict between at least two radio interface extensions corresponding to the radio interface.
  • the open notification message RF_INTF_EXT_START_NTF and its two fields (ie, the combined number field and conflict list field with conflicts) shown in Table 6 above are set to implement the embodiment of the present invention, and the NFCC can perform the RF interface that is enabled by the DH through RF_INTF_EXT_START_CMD. After the extension, the opening notification message is fed back to the DH.
  • each conflicting byte in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above
  • a set of conflicts that is, a conflict between at least two radio interface extensions corresponding to the radio interface.
  • the method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention.
  • the main controller DH expands the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions. Among them, rushing The burst information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency.
  • a conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on.
  • the manner in which the DH obtains the conflict information includes multiple types.
  • the DH may generate the conflict information according to the radio interface extension information sent by the NFCC.
  • the DH may directly obtain the conflict information preset by the system.
  • the DH may receive the three different receivers respectively. Timing to receive conflict information sent by the NFCC. Therefore, the DH can obtain the conflict information in a plurality of different manners, and when the multiple radio interface extensions are enabled, the probability of conflict between the at least two radio interface extensions that are in the open state after the radio interface expansion is enabled is reduced. , thereby improving communication efficiency.
  • the radio frequency interface expansion when there is no open radio interface extension and target radio frequency, the radio frequency interface expansion does not exist in the implementation of the radio interface.
  • the interface extension includes at least two radio frequency interface extensions
  • the DH in step 103 of FIG. 2 or FIG. 3 starts at least one of the target radio frequency interface extensions according to the conflict information, and may also be specifically implemented as shown in FIG. Steps 1031 to 1033:
  • the DH determines, according to the open state of the radio interface extension corresponding to the activated radio interface, that the radio interface expansion does not exist and the target radio interface extension includes at least two radio interfaces. When expanding, there is a conflict between the at least two target radio interface extensions.
  • the DH starts the at least two target radio frequency interface extensions.
  • the absence of a conflict indicates that each of these target radio interface extensions does not conflict or is mutually exclusive with any of the other.
  • the DH starts at least one of the at least two target radio interface extensions according to the priority information of the radio interface extension.
  • the processing manner for opening at least one radio interface extension from all target radio interface extensions is:
  • the at least one radio interface extension is enabled; and then according to the priority information of the radio interface extension
  • One or more of the RF interface extensions are enabled by selecting the remaining RF interface extensions (each of which is in conflict or mutual exclusion with any other one or more).
  • each of these target RF interface extensions conflicts or is mutually exclusive with one or more other target RF interface extensions, directly select the target RF interface extensions based on the priority information of the RF interface extensions. Thereby opening one or more of the RF interface extensions.
  • the manner in which the DH selects one or more on according to the priority information of the radio interface includes, but is not limited to, the following ones:
  • the priority information according to the radio interface extension Find the highest priority RF interface expansion in this group.
  • each group's internal RF interface expansion is two-two conflicts or mutually exclusive, and multiple groups may not conflict with each other or are mutually exclusive, or may be only one group. If the individual RF interface extension conflicts or is mutually exclusive with the individual or all RF interface extensions in other groups, the highest priority RF interface extension is found in each group according to the priority information of the RF interface extension; then, for each of these groups, look for The highest-priority radio interface extension is used, and the processing manner described in the above 1 or 2 and the determining manner described in (1) or (2) are used; finally, one or more radio interface extensions in the target radio interface extension are enabled. .
  • the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface, when there is no existing
  • the target RF interface extension includes at least two RF interface extensions
  • at least one of the target RF interface extensions is turned on according to the conflict information.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio frequency interface extension is directly enabled by the screening of the RF interface extension.
  • the embodiment of the present invention may be configured by the DH according to the conflict information, when there is no open RF interface extension and the target radio interface extension includes at least When the two RF interfaces are extended, at least one of the target RF interface extensions is enabled, thereby avoiding an open failure caused by a conflict between the RF interface extensions, or a conflict when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • FIG. 2 when there is an extended radio frequency interface extension, FIG. 2 is used to ensure that the radio interface expansion occurs after the radio interface expansion is enabled for different application scenarios.
  • the DH of the step 103 in FIG. 3 is used to enable at least one of the target radio interface extensions according to the conflict information, and may be specifically implemented as step 1034 to step 1036 as shown in FIG. 5:
  • the DH determines, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension.
  • the radio interface extension includes the target radio interface extension and the opened radio interface extension.
  • the DH enables all target radio interface extensions.
  • each of the target radio interface extensions does not conflict or is mutually exclusive with any one of the target radio interface extensions except the one radio interface itself, and is currently Any of the enabled RF interface extensions does not conflict or is not mutually exclusive.
  • the DH starts at least one of all target radio interface extensions according to the priority information of the radio interface extension.
  • At least one of the target radio interface extensions is enabled according to the possible opening of the radio interface extension and the priority of the opened radio interface extension. Or determine which RF interface extensions cannot be turned on, and turn off the open RF interface extensions that need to be turned off. That is, in a manner similar to the processing mode and the determining manner described in the foregoing embodiment, one or more target radio frequency interface extensions are opened from all radio frequency interface extensions including the target radio frequency interface extension and the opened radio frequency interface extension, and You can turn off the turned-on RF interface expansion that needs to be turned off.
  • one or more RF interface extensions that are possible to be opened are initially determined from the target radio frequency interface extension (in this case, at least two radio frequency interface extensions), and then the foregoing implementation is implemented.
  • the RF interface is extended and it is also possible to turn off one or more of the enabled RF interface extensions.
  • the radio interface that conflicts with the target radio frequency interface extension does not exist.
  • the opened RF interface extension can be maintained on.
  • the at least one opened radio interface is expanded, and only after the at least one enabled radio interface extension is turned off, the enabled radio interface expansion can be ensured after the target radio interface expansion is enabled. There is no conflict or mutual exclusion between them.
  • a method for conflict resolution of a radio frequency interface extension is provided by the embodiment of the present invention.
  • the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface.
  • the RF interface is extended and the target RF interface extension includes at least one of the target RF interface extensions according to the conflict information when the at least one RF interface is extended.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • the embodiment of the present invention may be based on the conflict information, and when there is an extended radio frequency interface extension and the target radio frequency interface extension includes at least When one RF interface is extended, at least one of the target RF interface extensions is enabled, thereby avoiding an open failure caused by a conflict between the RF interface extensions, or a conflict when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • step 1034 is performed in FIG. 5
  • the DH determines whether there is a conflict between all the radio interface extensions when there is an open radio interface extension according to the open status of the radio interface extension corresponding to the activated radio interface. At least one of the turned-on RF interface extensions is turned off. Therefore, it can also be implemented as shown in Figure 6:
  • the DH turns off at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
  • step 1035 and step 104 may be performed simultaneously, or after step 104 is performed, step 1035 is performed to reduce the on state after the target radio interface expansion is enabled. There is a probability of collision between at least two radio interface extensions.
  • DH can determine whether to send the RF_INTF_EXT_STOP_CMD instruction to the NFCC according to the service requirement and/or the NFCC capability, to command the NFCC to close the RF interface extension, or directly extend the corresponding RF interface interface.
  • the radio interface performs a deactivation operation to shut down the radio interface, thereby turning off all radio interface extensions running on the radio interface.
  • a method for conflict resolution of a radio frequency interface extension is provided by the embodiment of the present invention.
  • the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface.
  • the RF interface is extended and the target radio interface extension includes at least one of the target radio interface extensions according to the conflict information when at least one radio interface extension is extended, and at least one of the opened radio interface extensions may also be turned off.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • the embodiment of the present invention may be based on the conflict information, and when there is an extended radio frequency interface extension and the target radio frequency interface extension includes at least When one radio interface is extended, at least one of the target radio interface extensions is enabled, and at least one of the opened radio interface extensions may be turned off, thereby avoiding an open failure caused by a conflict between the radio interface extensions, or A conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • the embodiment of the invention provides a method for conflict resolution of radio frequency interface extension, which is performed by a near field communication controller NFCC, and the method includes:
  • the near field communication controller NFCC sends the conflict information to the main controller DH.
  • the conflicting information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface, so that the DH enables the unopened radio frequency interface extension corresponding to the activated radio frequency interface according to the conflict information.
  • the RF interface extension in the middle.
  • the method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention.
  • the near field communication controller NFCC sends the conflict information to the DH, and the main controller DH expands according to the obtained conflict information and the radio frequency interface corresponding to the activated radio interface.
  • the target radio interface extension determined in the middle, and at least one of the target radio interface extensions is turned on.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio interface extension is directly enabled by the screening of the radio interface extension.
  • the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information.
  • the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • the NFCC sends the conflict information to the DH in multiple manners.
  • the NFCC may send the initialization response message to the DH, and send the radio interface activation notification message to the DH to the DH. Send a start response message or a notification message. Therefore, in step 201, the near field communication controller NFCC sends the conflict information to the main controller DH, which can be implemented as any step in step 2011 to step 2013:
  • the NFCC After completing the initialization of the NFCC, the NFCC sends an initialization response message to the DH.
  • the initialization response message carries the conflict information.
  • the NFCC After activating a radio interface, the NFCC sends a radio interface activation notification message to the DH.
  • the radio interface activation notification message carries the conflict information.
  • the NFCC sends an open response message or a start notification message to the DH.
  • the opening response message or the opening notification message carries the conflict information.
  • FIG. 7 is a flowchart of a method for the DH to obtain the conflict information from the initialization response message sent by the NFCC, and to enable at least one of the target radio interface extensions, that is, the step 101 in FIG. 3 is specifically implemented as step 1013.
  • the process flow shown in Figure 3 is as follows:
  • DH resets the NFCC, wherein the reset process can refer to the NCI protocol.
  • the DH sends an initialization command to the NFCC, where the initialization process may refer to the NCI protocol.
  • the DH receives the initialization response information sent by the NFCC, where the initialization response information carries the conflict information related to the radio interface extension that may exist on each radio interface.
  • the DH determines at least one target radio interface extension.
  • the radio frequency discovery process and the activation operation of the radio frequency interface may refer to the NCI protocol, and details are not described herein again.
  • the extended RF interface extension refers to a radio interface extension that the DH has opened through an NCI command (such as the open command RF_INTF_EXT_START_CMD), that is, the NFCC has started or can start to perform its corresponding function.
  • NCI command such as the open command RF_INTF_EXT_START_CMD
  • this step is optional.
  • the DH determines, according to the conflict information, whether there is a conflict between all the radio interface extensions; if yes, step 307 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 310 is performed.
  • the number is not limited, and may be one or multiple.
  • all RF interface extensions include the The open RF interface extension is extended with the at least one target RF interface described above.
  • all the radio frequency interface extensions may include the foregoing at least one target radio frequency interface extension and other radio frequency interface extensions corresponding to the currently activated radio frequency interface.
  • the purpose of step 306 is to determine whether there are other radio frequency interface extensions that conflict with or are mutually exclusive with the at least one target radio interface extension.
  • the purpose of the step is to determine whether the radio interface extension that conflicts with or conflicts with the at least one target radio interface extension has an extended radio interface extension, or is one of the opened radio interface extensions. Or multiple.
  • step 308. Determine whether the priority of the target radio interface extension is higher than the priority of the opened radio interface extension that conflicts with the target radio interface extension; if yes, perform step 309 to step 310; if not, end the execution. process.
  • step 309 may be directly executed without determining the priority order, or the current step may be directly ended. Implementation process.
  • the DH determines that the target radio interface is extended to the radio interface extension to be opened, and commands the NFCC to be closed and the radio interface to be opened to extend the conflicted open radio interface extension.
  • the closed radio interface expansion that is turned off is not necessarily all open radio interface extensions. That is, if only one of the enabled RF interfaces is extended and conflicts with the target radio interface extension, and the priority is lower than the target radio interface extension, the opened radio interface extension is closed; if there are multiple enabled radios The interface is extended, and there are M radio interface extensions that conflict with the target radio interface extension. Further, N (M ⁇ N) radio interface extensions in the M radio interface extensions have lower priority than the target radio interface extension.
  • the N open RF interface extensions are turned off, while others do not conflict or are mutually exclusive with the target RF interface extension, or have priority over the target RF interface extension even if there is a conflict or mutual exclusion.
  • the RF interface extension is still open.
  • the DH commands the NFCC to enable the radio interface extension to be opened.
  • the DH determines, according to the conflict information, whether there is a conflict between the target radio interface extensions; if yes, step 312 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 310 is performed.
  • this step is optional.
  • the step 305 is optional; on the other hand, after the step 305 is determined, and it is determined that there is no open RF interface extension, if the number of the target radio interface expansion is 1, the step is not needed. Judging, if the number is multiple, you can perform this step.
  • step 305 and step 311 are added to reduce the process of determining the target radio interface extension and the processing process when there is no open radio interface extension, so that the execution process of steps 306 to 309 is omitted.
  • the DH selects one radio interface extension with the highest priority and one or more radio interface extensions without conflict between the target radio interface extensions according to the priority of the target radio interface extension.
  • one or more radio frequency interface extensions to be opened are determined from the target radio interface extension according to the processing mode and the determining manner described in the foregoing embodiments.
  • the DH can determine the highest priority radio interface extension in the set of the existing radio interface extensions and the non-existence according to the priority of the radio interface expansion.
  • conflicting RF interface extensions extending these RF interfaces as possible RF interface extensions.
  • the DH can determine the highest priority radio interface extension among the conflicting RF interface extensions according to the priority of the radio interface extension.
  • each group is prioritized.
  • the conflicting RF interface extensions in the highest-level RF interface extension are divided into one or more groups.
  • the DH determines which radio interface extensions are possible to be opened from the radio interface extension after the second packet according to the priority of the radio interface extension participating in the second packet and the conflict condition of the radio interface extension. If there is an open RF interface extension, then according to these possible open RF interface expansion and open The priority of the radio interface is extended to determine which radio interface extensions can be enabled, or which radio interface extensions cannot be enabled, and which radio interface extensions need to be shut down.
  • the conflict information extended according to each radio interface is used.
  • the status of the radio interface is enabled to determine the radio interface extension that can be enabled.
  • the first to the Nth radio interface extensions are selected in the order of the priority of the radio interface extension.
  • the N is less than or equal to M, where M is the number of radio interface extensions corresponding to a single interface, and N is greater than or equal to 2. Integer.
  • M is the number of radio interface extensions corresponding to a single interface
  • N is greater than or equal to 2. Integer.
  • the first radio interface extension it is determined that the first radio interface is extended to the target radio interface extension.
  • the second radio interface extension it is determined whether there is a conflict between the second radio interface extension and the first radio interface extension according to the conflict information; if not, the second radio interface is determined to be the target radio.
  • the interface is extended; if it exists, it is determined that the second radio interface is expanded to be an unopenable radio interface extension.
  • the Nth radio interface extension When the Nth radio interface extension is selected, it is determined whether there is a conflict between the Nth radio interface extension and the target radio interface extension in the first N-1 radio interface extensions according to the conflict information; if not, the Nth is determined.
  • the radio interface is extended to the target radio interface. If yes, the Nth radio interface is expanded to be unreachable. If no radio interface expansion is enabled, all target radio interface extensions are determined as radios to be enabled. Interface expansion; when there is an extended RF interface extension, it is determined according to the conflict information whether each target RF interface extension in the target RF interface extension is equal to the opened RF interface corresponding to the priority of the target RF interface extension. There is a conflict between the extensions; if yes, the target radio interface extension is determined to be unreachable radio interface extension; if not, the target radio interface extension is determined to be the radio interface extension to be enabled.
  • the priority of the radio interface extension and the manner of obtaining the priority of the radio interface extension are not specifically limited in the embodiment of the present invention.
  • the priority of the radio interface extension can be different.
  • the DH can distinguish the priority of the radio interface extension according to the order of the radio interface extension in the conflict information. As shown in Table 2, the conflict byte 1 and The radio interface extension b7-b0 in the collision byte 2 can be arranged in descending order of priority, or from low to high.
  • the priority of the radio interface extension can be obtained in various ways. For example, DH can be stored according to the The priority list of the system presets to obtain the priority of the radio interface extension.
  • the DH can obtain the priority of the radio interface extension by obtaining a separate priority list sent by the NFCC, or the DH can determine the priority of the radio interface extension by obtaining the permutation order of each radio interface extension in the radio interface extension information sent by the NFCC. Or DH may obtain the priority of the radio interface extension according to the order of the radio interface extension in the conflict list in Tables 3 to 6 above.
  • FIG. 8 a flowchart of another method for obtaining the conflict information by the DH from the initialization response information sent by the NFCC, and enabling at least one of the target radio interface extensions, that is, step 101 in FIG. 3 is specifically implemented as steps.
  • Another processing flow shown in Figure 3 at 1014 is as follows:
  • Steps 401 to 403 are the same as steps 301 to 303 shown in FIG. 7, and are not described here.
  • the DH determines n (n ⁇ 1) target radio interface extensions.
  • the radio frequency discovery process and the activation operation of the radio frequency interface may refer to the NCI protocol, and details are not described herein again.
  • n is equal to 1; if yes, execute step 406; if no, perform step 411.
  • Step 406. Determine whether there is an extended radio interface extension. If yes, go to step 407. If no, the target radio interface extension is used as the radio interface extension to be enabled. Step 410 is performed.
  • the DH determines, according to the conflict information, whether there is a conflict between all the radio interface extensions; if yes, step 408 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 410 is performed. 408, determining the target radio frequency Whether the priority of the interface extension is higher than the priority of the opened radio interface extension that conflicts with the target radio interface extension; if yes, step 409 to step 410; if not, the current execution process is terminated.
  • step 409 may be directly executed without determining the priority order, or the current step may be directly ended. Implementation process.
  • the DH determines that the target radio interface is extended to the radio interface extension to be opened, and the NFCC is closed and the radio interface extension to be opened is extended.
  • the target radio frequency interface extension determined as the radio interface extension to be opened in this step is not necessarily all radio interface extensions in the target radio interface extension determined in step 404.
  • the specific operation mode of the embodiment of the present invention is similar to the processing mode and the determining mode described in the foregoing embodiments, and details are not described herein again.
  • the DH commands the NFCC to open the radio interface extension to be opened.
  • the DH determines, according to the conflict information, whether there is a conflict between the target radio interface extensions; if yes, step 412 is performed, or the current execution process is ended; if not, step 406 is performed.
  • the DH selects one of the highest priority radio interface extensions in the conflicting radio interface extension and one or more radio interface extensions that do not conflict between the target radio interface extensions according to the priority of the target radio interface extension.
  • the specific operation mode of selecting the priority of the target radio interface is the same as that of the foregoing embodiment, and is not described here.
  • the DH can obtain the conflict information from the radio interface activation notification message sent by the NFCC, and determine a method flow of the radio interface expansion to be opened in the target radio interface extension, that is, step 101 in FIG. 3 is specifically implemented as step 1015.
  • the specific execution process is similar to the execution process shown in FIG. 7 and FIG. 8. Among them, the timing of the DH acquiring the conflict information sent by the NFCC is different.
  • the DH receives the radio frequency interface activation notification message sent after the NFCC activates a certain radio frequency interface in the radio frequency discovery process, and includes the foregoing conflict information; and the DH uses the conflict information after determining the extension of the at least one target radio frequency interface.
  • the process of selecting one or more of the radio frequency interface extensions to be turned on is the same as step 304 to step 312 in FIG. 7 or the same as step 404 to step 412 in FIG.
  • the DH may also obtain the conflict information from the start response message or the start notification message sent by the NFCC, and determine a method flow of the radio interface expansion to be opened in the target radio interface extension, that is, the step 101 in FIG. 3 is specifically implemented as In step 1015, the processing flow shown in FIG. 3 is similar to the execution process shown in FIG. 7 and FIG. 8. The timing of the DH acquiring the conflict information sent by the NFCC is different.
  • the DH sends an open command to the NFCC during the use of an activated radio interface, for example, in the current radio communication with the NFC terminal of the opposite end, the first open command sent to the NFCC, To enable one or a set of RF interface extensions, And then receiving an open response message or an open notification message returned by the NFCC, where the conflict information is included; and the DH selects one or more of the at least one target radio interface extension by using the conflict information after determining the at least one target radio interface extension again.
  • the process of the radio interface expansion to be opened is the same as step 304 to step 312 in FIG. 7 or the same as step 404 to step 412 in FIG.
  • the method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention.
  • the near field communication controller NFCC sends the conflict information to the DH, and the main controller DH expands according to the obtained conflict information and the radio frequency interface corresponding to the activated radio interface.
  • the target radio interface extension determined in the middle, and at least one of the target radio interface extensions is turned on.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio interface extension is directly enabled by the screening of the radio interface extension.
  • the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information.
  • the manner in which the NFCC sends the conflict information to the DH includes multiple types.
  • the NFCC can send the conflict information to the DH at three different transmission occasions, so that the DH enables the corresponding radio interface corresponding to the DH according to the conflict information.
  • the embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus 50.
  • the apparatus 50 is used to implement the method shown in FIG. 2. As shown in FIG. 9, the apparatus 50 includes:
  • the obtaining module 51 is configured to obtain conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
  • the determining module 52 is configured to determine, as a target radio interface extension, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface.
  • the executing module 53 is configured to enable at least one of the target radio frequency interface extensions according to the conflict information.
  • the device 50 is configured to implement the method shown in FIG. 3, and the acquiring module 51 is specifically configured to receive a shot sent by the near field communication controller NFCC.
  • the frequency interface extends information and generates the conflict information, and the radio frequency interface extension information is used to indicate type information of the radio frequency interface extension corresponding to the at least one radio frequency interface.
  • the obtaining module 51 is specifically configured to acquire the conflict information preset by the stored system.
  • the obtaining module 51 is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message.
  • the obtaining module 51 is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message.
  • the obtaining module 51 is specifically configured to receive an open response message or an open notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message.
  • radio frequency interface between the main controller DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the device 50 is configured to implement the method as shown in FIG.
  • the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion At least one of the target radio interface extensions.
  • the device 50 is configured to implement the method as shown in FIG. 5, and the executing module 53 is specifically configured to:
  • the extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
  • the device 50 is configured to implement the method shown in FIG. 6 , and the execution module 53 is further configured to: according to the priority information extended by the radio frequency interface when there is a conflict, Turning off at least one of the opened radio interface extensions.
  • a conflict resolution apparatus for a radio frequency interface is extended, and the main controller DH opens the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency.
  • a conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • the embodiment of the present invention provides a radio frequency interface extended conflict resolution device 60. As shown in FIG. 10, the device 60 includes:
  • the sending module 61 is configured to send the conflicting information to the main controller DH, where the conflicting information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the sending module 61 is specifically configured to send an initialization response message to the DH after the initialization of the NFCC is completed, where the initialization response message carries the conflict information.
  • the sending mode 61 is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information.
  • the sending mode 61 is specifically configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message is carried There is the conflict information.
  • a radio frequency interface extended conflict resolution device provided by an embodiment of the present invention, near field communication control
  • the controller NFCC sends the conflict information to the DH, and the main controller DH starts at least one of the target radio interface extensions according to the acquired conflict information and the target radio interface extension determined from the radio interface extension corresponding to the activated radio interface.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio interface extension is directly enabled by the screening of the radio interface extension.
  • the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information.
  • the DH 70 may include a memory 71, a communication bus 72, and a processor 73, where
  • the communication bus 72 includes a bus for communication connection between the memory 71 and the processor 73, and includes a DH70 and other devices or communication networks (such as, but not limited to, Ethernet, Radio Access Network (RAN)). , Wireless Local Area Network (WLAN), etc.
  • the bus for communication connection includes a bus for communication connection between the memory 71 and the processor 73, and includes a DH70 and other devices or communication networks (such as, but not limited to, Ethernet, Radio Access Network (RAN)). , Wireless Local Area Network (WLAN), etc.
  • the bus for communication connection such as, but not limited to, Ethernet, Radio Access Network (RAN)).
  • RAN Radio Access Network
  • WLAN Wireless Local Area Network
  • the memory 71 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 71 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 71 and executed by the processor 73 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
  • the processor 73 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • FIG. 11 only shows the memory 71, the communication bus 72, and the processor 73, in the specific implementation process, those skilled in the art should understand that the terminal also needs to implement the normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
  • the memory 71 is configured to store information including program instructions.
  • the communication bus 72 is configured to acquire conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
  • the processor 73 is configured to determine at least one unopened radio frequency interface extension as a target radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface, and start the processing according to the conflict information acquired by the communication bus 72. At least one of the target radio frequency interface extensions determined by the controller 73.
  • the communication bus 72 is specifically configured to receive radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information, where the radio frequency interface extension information is used. And indicating type information of the radio frequency interface extension corresponding to the at least one radio frequency interface.
  • the communication bus 72 is specifically configured to acquire the conflict information of the stored system preset.
  • the communication bus 72 is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message.
  • the communication bus 72 is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message.
  • the communication bus 72 is specifically configured to receive an open response message or an open notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message.
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the processor 73 is specifically configured to:
  • the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion At least one of the target radio interface extensions.
  • the processor 73 is specifically configured to:
  • the extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
  • the DH when the DH is based on the open state of the radio interface expansion corresponding to the activated radio interface, the DH determines that when there is an open radio interface extension, all After the radio interface expansion occurs, the processor 73 is further configured to: when there is a conflict, close at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
  • the main controller DH opens at least one of the target radio frequency interface extensions according to the acquired conflict information and the target radio frequency interface extension determined in the radio frequency interface extension corresponding to the activated radio frequency interface.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension.
  • at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency.
  • a conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
  • the embodiment of the present invention provides a near field communication controller NFCC80, which is used to implement the apparatus shown in FIG. 10.
  • the NFCC 80 may include a memory 81, a communication bus 82, and a processor 83.
  • the communication bus 82 includes a bus for the communication connection between the memory 81 and the processor 83, and includes the NFCC 80 and other devices or communication networks (such as, but not limited to, Ethernet, Radio Access Network, Radio Access Network, RAN), a wireless local area network (WLAN), etc., a bus for communication connection.
  • the memory 81 can be a read only memory (ROM), a static storage device. Standby, dynamic storage device or random access memory (RAM).
  • the memory 81 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 81 and executed by the processor 83.
  • the processor 83 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • FIG. 12 only shows the memory 81, the communication bus 82, and the processor 83, in a specific implementation process, those skilled in the art will understand that the terminal also includes the necessary operations for normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
  • the memory 81 is configured to store information including program instructions.
  • the communication bus 82 is configured to send the conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
  • At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  • the communication bus 82 is specifically configured to send an initialization response message to the DH after completing the initialization of the NFCC, where the initialization response message carries the conflict information.
  • the communication bus 82 is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information.
  • the communication bus 82 is configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message is carried. There is the conflict information.
  • the near field communication controller NFCC provided by the embodiment of the present invention sends conflict information to the DH, and the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface. , turning on at least one of the target RF interface extensions One.
  • the conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface.
  • the at least one radio interface extension is directly enabled by the screening of the radio interface extension.
  • the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention relate to the technical field of communications and allow increased communication efficiency. Disclosed are a method, device, DH, and NFCC for resolving a conflict in radiofrequency interface extension. The method of the embodiments of the present invention comprises: a device host (DH) acquires conflict information, where the conflict information is used for expressing the presence of a conflict between at least two radiofrequency interface extensions corresponding to at least one radiofrequency interface; the DH determines among radiofrequency interface extensions corresponding to activated radiofrequency interfaces at least one unopened radiofrequency interface extension to serve as a target radiofrequency interface extension; and the DH opens at least one of the target radiofrequency interface extensions on the basis of the conflict information. The present invention is applicable in near field communication (NFC) terminals.

Description

一种射频接口扩展的冲突解决方法、装置、DH及NFCCMethod, device, DH and NFCC for conflict resolution of radio frequency interface expansion 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种射频接口扩展的冲突解决方法、装置、DH及NFCC。The present invention relates to the field of communications technologies, and in particular, to a method and device for conflict resolution of radio frequency interface extension, DH and NFCC.
背景技术Background technique
随着通信技术的发展,尤其是近场通信(Near Field Communication,NFC)技术的普及,NFC终端之间可以实现基于射频识别(Radio Frequency Identification,RFID)技术的近距离通信。With the development of communication technologies, especially the popularization of Near Field Communication (NFC) technology, NFC terminals can implement short-range communication based on Radio Frequency Identification (RFID) technology.
在NFC终端之间的近距离通信过程中,本端NFC终端的主控制器(Device Host,DH)可以通过NFC终端的一个射频接口(RF Interface),比如Frame RF Interface、ISO-DEP RF Interface、NFC-DEP RF Interface,或NDEF RF Interface,以及对应的一种射频协议(RF Protocol),比如T1T协议、T2T协议、T3T协议、T5T协议、ISO-DEP协议,或NFC-DEP协议,来实现与对端NFC终端之间的通信,并且在一个射频接口上可以运行一个或多个射频接口扩展(RF Interface Extension),射频接口扩展可以由DH通过NCI(NFC Control Interface,NFC控制器接口)协议触发NFC控制器(NFC Controller,NFCC)开启,以便于NFCC实现更多功能。During the short-range communication between the NFC terminals, the host controller (DH) of the local NFC terminal can pass through a radio interface (RF Interface) of the NFC terminal, such as Frame RF Interface, ISO-DEP RF Interface, NFC-DEP RF Interface, or NDEF RF Interface, and a corresponding RF protocol such as T1T protocol, T2T protocol, T3T protocol, T5T protocol, ISO-DEP protocol, or NFC-DEP protocol Communication between the peer NFC terminals, and one or more RF Interface Extensions can be run on one RF interface. The RF interface extension can be triggered by the DH through the NCI (NFC Controller Interface) protocol. The NFC Controller (NFC) is turned on to allow the NFCC to implement more functions.
在命令NFCC开启一个射频接口扩展的过程中,DH需要向NFCC配置执行这一个射频接口扩展所需的参数,随着射频接口扩展的增多,这些射频接口扩展之间存在冲突的可能性越大,例如:不同射频接口扩展所对应的参数存在冲突。因此,DH在开启多个射频接口扩展时可能因为它们之间存在冲突而导致开启失败,或者,开启后执行相应功能时发生冲突,从而导致通信效率降低。In order to enable the NFCC to open a radio interface extension, the DH needs to configure the NFCC to perform the parameters required for the expansion of the radio interface. As the radio interface expansion increases, the possibility of collision between these radio interface extensions is greater. For example, there are conflicts between the parameters corresponding to different RF interface extensions. Therefore, when DH is enabled to open multiple radio interface extensions, it may cause an open failure due to a conflict between them, or a conflict occurs when the corresponding function is executed after being turned on, resulting in a decrease in communication efficiency.
发明内容Summary of the invention
本发明实施例提供一种射频接口扩展的冲突解决方法、装置、DH及NFCC,能够提高通信效率。The embodiment of the invention provides a method, a device, a DH and an NFCC for conflict resolution of a radio frequency interface extension, which can improve communication efficiency.
为达到上述目的,本发明实施例采用如下技术方案: To achieve the above objective, the embodiment of the present invention adopts the following technical solutions:
第一方面,本发明实施例提供一种射频接口扩展的冲突解决方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for conflict resolution of a radio frequency interface extension, where the method includes:
主控制器DH获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;The master controller DH obtains conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
所述DH从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展;Determining, by the DH, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface as the target radio frequency interface extension;
所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个。The DH turns on at least one of the target radio frequency interface extensions according to the conflict information.
结合第一方面,在第一方面的第一种可能的实现方式中,所述DH获取冲突信息,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the DH acquires conflict information, including:
所述DH接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;The DH receives the radio frequency interface extension information sent by the near field communication controller NFCC, and generates the conflict information, where the radio frequency interface extension information is used to indicate type information of the radio frequency interface extension corresponding to the at least one radio frequency interface;
或者,所述DH获取存储的系统预置的所述冲突信息;Or the DH acquires the conflict information of the stored system preset;
或者,所述DH接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the DH receives an initialization response message sent by the NFCC, and obtains the conflict information from the initialization response message;
或者,所述DH接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the DH receives the radio frequency interface activation notification message sent by the NFCC, and obtains the conflict information from the radio frequency interface activation notification message;
或者,所述DH接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the DH receives an open response message or an open notification message sent by the NFCC, and obtains the conflict information from the open response message or the open notification message;
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第一方面,或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the DH, according to the conflict information, enable at least one of the target radio interface extensions One, including:
所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, the DH, when there is no open radio interface extension, and the target radio interface extension includes at least two radio interface extensions Whether there is a conflict between the at least two target radio interface extensions;
当不存在冲突时,则所述DH开启所述至少两个目标射频接口扩展; When there is no conflict, the DH starts the at least two target radio frequency interface extensions;
当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。When there is a conflict, the DH turns on at least one of the at least two target radio frequency interface extensions according to the priority information of the radio frequency interface extension.
结合第一方面,或第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the DH, according to the conflict information, enable at least one of the target radio interface extensions One, including:
所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;Determining, by the DH, whether there is a conflict between all the radio frequency interface extensions when there is an extended radio frequency interface extension according to the opening status of the radio interface extension corresponding to the activated radio interface, All radio frequency interface extensions include the target radio frequency interface extension and the opened radio frequency interface extension;
当不存在冲突时,则所述DH开启所有目标射频接口扩展;When there is no conflict, the DH enables all target radio interface extensions;
当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。When there is a conflict, the DH turns on at least one of the all target radio interface extensions according to the priority information of the radio interface extension.
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,在所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突之后,所述方法还包括:In conjunction with the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the DH is extended according to the radio frequency interface corresponding to the activated radio frequency interface according to the conflict information. After the status of the radio interface is extended, whether there is a conflict between all the radio interface extensions, the method further includes:
当存在冲突时,则所述DH根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。When there is a conflict, the DH turns off at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
第二方面,本发明实施例提供一种射频接口扩展的冲突解决方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a method for conflict resolution of a radio frequency interface extension, where the method includes:
近场通信控制器NFCC向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;The near field communication controller NFCC sends the conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第二方面,在第二方面的第一种可能的实现方式中,所述NFCC向所述DH发送冲突信息,包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the NFCC sends the conflict information to the DH, including:
在完成所述NFCC的初始化之后,所述NFCC向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;After completing the initialization of the NFCC, the NFCC sends an initialization response message to the DH, where the initialization response message carries the conflict information;
或者,在激活一个射频接口之后,所述NFCC向所述DH发送射频接口激 活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or, after activating a radio interface, the NFCC sends a radio frequency interface to the DH. a live notification message, where the radio interface activation notification message carries the conflict information;
或者,在开启已激活射频接口对应的一个射频接口扩展之后,所述NFCC向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Or, after the radio interface extension corresponding to the activated radio interface is enabled, the NFCC sends an open response message or a start notification message to the DH, where the open response message or the open notification message carries the conflict information.
第三方面,本发明实施例提供一种射频接口扩展的冲突解决装置,所述装置包括:In a third aspect, an embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus, where the apparatus includes:
获取模块,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;An acquiring module, configured to obtain conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
确定模块,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展;a determining module, configured to determine at least one unopened radio frequency interface extension from the radio interface extension corresponding to the activated radio interface as the target radio interface extension;
执行模块,用于根据所述冲突信息开启所述目标射频接口扩展中的至少一个。And an execution module, configured to enable at least one of the target radio interface extensions according to the conflict information.
结合第三方面,在第三方面的第一种可能的实现方式中,所述获取模块,具体用于接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;With reference to the third aspect, in a first possible implementation manner of the third aspect, the acquiring module is configured to receive the radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information, The radio interface extension information is used to indicate type information of the radio interface extension corresponding to the at least one radio interface;
或者,所述获取模块,具体用于获取存储的系统预置的所述冲突信息;Or the acquiring module is specifically configured to acquire the conflict information preset by the stored system;
或者,所述获取模块,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the acquiring module is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
或者,所述获取模块,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the acquiring module is configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
或者,所述获取模块,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the acquiring module is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
其中,主控制器DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。There is at least one radio frequency interface between the main controller DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第三方面,或第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述执行模块,具体用于:With reference to the third aspect, or the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the executing module is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的 开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。Expanding according to the radio frequency interface corresponding to the activated radio frequency interface according to the conflict information If there is no open RF interface extension and the target radio interface extension includes at least two radio interface extensions, whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, The at least two target radio frequency interface extensions are enabled; when there is a conflict, at least one of the at least two target radio frequency interface extensions is turned on according to the priority information of the radio frequency interface extension.
结合第三方面,或第三方面的第一种可能的实现方式,在第三方面的第三种可能的实现方式中,所述执行模块,具体用于:With reference to the third aspect, or the first possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the executing module is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension, where all the radio interfaces are The extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
结合第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述执行模块,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the executing module is further configured to: when there is a conflict, close the priority information according to the radio frequency interface extension At least one of the opened radio frequency interface extensions.
第四方面,本发明实施例提供一种射频接口扩展的冲突解决装置,所述装置包括:In a fourth aspect, an embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus, where the apparatus includes:
发送模块,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;a sending module, configured to send a conflicting information to the main controller DH, where the conflicting information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第四方面,在第四方面的第一种可能的实现方式中,所述发送模块,具体用于在完成NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the sending module is configured to send an initialization response message to the DH after the initialization of the NFCC is completed, where the initialization response message carries The conflict information;
或者,所述发送模,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or the sending mode is specifically configured to send a radio frequency interface activation notification message to the DH after the activation of a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
或者,所述发送模,具体用于在开启已激活射频接口对应的一个射频 接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Or the sending mode is specifically used to enable an RF corresponding to the activated radio interface. After the interface is extended, an open response message or a start notification message is sent to the DH, and the open response message or the open notification message carries the conflict information.
第五方面,本发明实施例提供一种主控制器DH,包括:In a fifth aspect, an embodiment of the present invention provides a main controller DH, including:
通信总线,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;a communication bus, configured to acquire conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
处理器,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展;并根据所述接收器获取的所述冲突信息开启所述处理器确定的所述目标射频接口扩展中的至少一个。a processor, configured to determine at least one unopened radio frequency interface extension as a target radio frequency interface extension from a radio frequency interface extension corresponding to the activated radio frequency interface, and enable the processor to determine according to the conflict information acquired by the receiver At least one of the target radio frequency interface extensions.
结合第五方面,在第五方面的第一种可能的实现方式中,所述通信总线,具体用于接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the communication bus is configured to receive radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information, The radio interface extension information is used to indicate type information of the radio interface extension corresponding to the at least one radio interface;
或者,所述通信总线,具体用于获取存储的系统预置的所述冲突信息;Or the communication bus is specifically configured to acquire the conflict information preset by the stored system;
或者,所述通信总线,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the communication bus is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
或者,所述通信总线,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the communication bus is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
或者,所述通信总线,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the communication bus is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第五方面,或第五方面的第一种可能的实现方式,在第五方面的第二种可能的实现方式中,所述处理器,具体用于:With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the processor is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存 在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。Determining, when the extended radio interface expansion is not present, and the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; In the event of a conflict, at least one of the at least two target radio interface extensions is turned on according to the priority information of the radio interface extension.
结合第五方面,或第五方面的第一种可能的实现方式,在第五方面的第三种可能的实现方式中,所述处理器,具体用于:With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the processor is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension, where all the radio interfaces are The extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
结合第五方面的第三种可能的实现方式,在第五方面的第四种可能的实现方式中,在所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突之后,所述处理器,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。With reference to the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the DH is extended according to the radio frequency interface corresponding to the activated radio frequency interface according to the conflict information. The state of the radio interface is extended, and the processor is further configured to close the radio interface according to the priority information of the radio interface extension when there is a conflict. At least one of the enabled RF interface extensions.
第六方面,本发明实施例提供一种近场通信控制器NFCC,包括:In a sixth aspect, an embodiment of the present invention provides a near field communication controller NFCC, including:
存储器,用于存储包括程序指令的信息;a memory for storing information including program instructions;
通信总线,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;a communication bus, configured to send conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
结合第六方面,在第六方面的第一种可能的实现方式中,所述通信总线,具体用于在完成所述NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the communication bus is specifically configured to send an initialization response message to the DH after completing initialization of the NFCC, where the initialization response message is Carrying the conflict information;
或者,所述通信总线,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or the communication bus is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
或者,所述通信总线,具体用于在开启已激活射频接口对应的一个射 频接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Alternatively, the communication bus is specifically configured to open a corresponding shot of the activated radio interface After the frequency interface is extended, an open response message or a start notification message is sent to the DH, and the open response message or the open notification message carries the conflict information.
本发明实施例提供的一种射频接口扩展的冲突解决方法、装置、DH及NFCC,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method and device for conflict resolution of the radio frequency interface extension, the DH and the NFCC, and the target radio interface determined by the main controller DH according to the obtained conflict information and the radio frequency interface extension corresponding to the activated radio frequency interface are provided by the embodiment of the present invention. Expand to enable at least one of the target RF interface extensions. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. In the embodiment of the present invention, at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency. A conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without any creative work.
图1为本发明实施例提供的一种具体应用场景下的结构示意图;FIG. 1 is a schematic structural diagram of a specific application scenario according to an embodiment of the present disclosure;
图2为本发明实施例提供的一种射频接口扩展的冲突解决方法的流程图;FIG. 2 is a flowchart of a method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention;
图3为本发明实施例提供的另一种射频接口扩展的冲突解决方法的流程图;FIG. 3 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present disclosure;
图4为本发明实施例提供的另一种射频接口扩展的冲突解决方法的流程图;FIG. 4 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present disclosure;
图5为本发明实施例提供的另一种射频接口扩展的冲突解决方法的流程图;FIG. 5 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention;
图6为本发明实施例提供的另一种射频接口扩展的冲突解决方法的流程图; FIG. 6 is a flowchart of another method for conflict resolution of radio frequency interface extension according to an embodiment of the present invention;
图7为本发明实施例提供的一种具体应用场景下的方法的流程图;FIG. 7 is a flowchart of a method in a specific application scenario according to an embodiment of the present disclosure;
图8为本发明实施例提供的另一种具体应用场景下的方法的流程图;FIG. 8 is a flowchart of another method in a specific application scenario according to an embodiment of the present disclosure;
图9为本发明实施例提供的一种射频接口扩展的冲突解决装置的结构示意图;FIG. 9 is a schematic structural diagram of a radio frequency interface extended conflict resolution apparatus according to an embodiment of the present disclosure;
图10为本发明实施例提供的另一种射频接口扩展的冲突解决装置的结构示意图;FIG. 10 is a schematic structural diagram of another radio frequency interface extended conflict resolution apparatus according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种主控制器DH的结构示意图;FIG. 11 is a schematic structural diagram of a main controller DH according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种近场通信控制器NFCC的结构示意图。FIG. 12 is a schematic structural diagram of a near field communication controller NFCC according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括复数形式,除非上下文清楚地表示这类描述形式的其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何,或所有可能的组合。取决于语境,如在此所使用的“当......时”可以被解释成为“响应于确定”或“响应于检测”。类似地,取决于语境,“当确定(陈述的条件或事件)时”可以被解释成为“响应于确定(陈述的条件或事件)”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。The terms used in the embodiments of the present invention are for the purpose of describing particular embodiments only and are not intended to limit the invention. The singular forms "a", "the", "the" and "the" . It should also be understood that the term "and/or" as used herein refers to and encompasses any, or all possible combinations of one or more of the associated listed items. Depending on the context, "when" can be interpreted as "in response to determining" or "in response to detecting" as used herein. Similarly, depending on the context, "when determined (condition or event of presentation)" can be interpreted as "in response to a determination (condition or event of presentation)" or "when detected (condition or event stated)" or "Responding to detection (conditions or events stated)".
本发明实施例可以用于NFC终端,如图1所示,NFC终端设置有主控制器DH和近场通信控制器NFCC。DH与NFCC之间存在至少一个射频接口,其中,一个射频接口对应一个或多个射频接口扩展。在本发明实施例中,DH可以负责NFCC的管理,比如:NFCC初始化、配置和电源管理等;NFCC可以负责通过射频接口和天线进行数据的物理传输;DH和NFCC可以通过NCI协议进行通信,其中,NCI协议定义了射频接口,用于通过某种射频协议与对端 NFC终端进行通信。需要说明的是,根据NCI协议的规定,一个射频接口扩展可以用于多个射频接口,且一个射频接口也可以支持多个射频接口扩展。其中,射频接口扩展是射频接口在功能上的扩展,即DH可以通过NCI命令(如开启命令RF_INTF_EXT_START_CMD)触发在NFCC上执行一组任务或一个功能,当然DH也可以通过NCI命令(如停止命令RF_INTF_EXT_STOP_CMD)停止NFCC继续执行这组任务或这一功能。在本发明实施例中,NFC终端可以是任意一个具有NFC功能的终端,诸如移动电话、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)或可穿戴式设备(Wearable Device)等。The embodiment of the present invention can be used for an NFC terminal. As shown in FIG. 1, the NFC terminal is provided with a main controller DH and a near field communication controller NFCC. There is at least one radio frequency interface between the DH and the NFCC, wherein one radio frequency interface corresponds to one or more radio frequency interface extensions. In the embodiment of the present invention, the DH may be responsible for the management of the NFCC, such as: NFCC initialization, configuration, and power management; the NFCC may be responsible for physical data transmission through the radio frequency interface and the antenna; the DH and the NFCC may communicate through the NCI protocol, where The NCI protocol defines a radio frequency interface for communicating with the peer through some RF protocol. The NFC terminal communicates. It should be noted that, according to the NCI protocol, one radio frequency interface extension can be used for multiple radio frequency interfaces, and one radio frequency interface can also support multiple radio frequency interface extensions. The RF interface extension is a function extension of the RF interface. That is, the DH can trigger a group of tasks or a function on the NFCC through an NCI command (such as the open command RF_INTF_EXT_START_CMD). Of course, the DH can also pass the NCI command (such as the stop command RF_INTF_EXT_STOP_CMD). Stop the NFCC from continuing to perform this set of tasks or this function. In the embodiment of the present invention, the NFC terminal may be any NFC-enabled terminal, such as a mobile phone, a mobile computer, a tablet computer, a personal digital assistant (PDA), or a wearable device (Wearable Device).
需要说明的是,上述DH是在NFC论坛(NFC Forum)制定的NCI规范中使用的术语,可以对应欧洲电信标准协会(ETSI,European Telecommunication Standards Institute)制定的主机控制器接口(HCI,Host Controller Interface)规范中的终端主机(Terminal Host);此外,全球平台国际标准组织(GP,Global Platform)制定的规范中的管理实体(ME,Managing Entity)若实现在Terminal Host上,则也可以将DH称为管理主机(MH,Managing Host)。上述NFCC是在NFC论坛(NFC Forum)制定的NCI规范中使用的术语,它可以对应欧洲电信标准协会(ETSI,European Telecommunication Standards Institute)制定的HCI规范中的非接触前端(CLF,Contactless Front-end),此时,HCI规范中主机控制器(Host Controller)要实现在NFCC上。It should be noted that the above DH is a term used in the NCI specification developed by the NFC Forum, and can correspond to a host controller interface (HCI, Host Controller Interface) developed by the European Telecommunication Standards Institute (ETSI). The terminal host (Terminal Host) in the specification; in addition, the management entity (ME, Managing Entity) in the specification developed by the Global Platform International Standards Organization (GP) can also be called DH if it is implemented on the Terminal Host. To manage the host (MH, Managing Host). The above NFCC is a term used in the NCI specification developed by the NFC Forum to correspond to the non-contact front end (CLF, Contactless Front-end) in the HCI specification developed by the European Telecommunication Standards Institute (ETSI). At this time, the host controller (Host Controller) in the HCI specification is implemented on the NFCC.
本发明实施例提供一种射频接口扩展的冲突解决方法,所述方法均由主控制器DH来执行,如图2所示,所述方法包括:The embodiment of the invention provides a conflict resolution method for the radio frequency interface extension, which is performed by the main controller DH. As shown in FIG. 2, the method includes:
101、主控制器DH获取冲突信息。101. The main controller DH acquires conflict information.
其中,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。The conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
在本发明实施例中,冲突信息可以直接由NFCC发送,还可以由DH根据NFCC发送的射频接口扩展信息生成,冲突信息的具体获取方式会在后面的实施例中说明。In the embodiment of the present invention, the conflict information may be directly sent by the NFCC, and may also be generated by the DH according to the radio interface extension information sent by the NFCC. The specific manner of obtaining the conflict information may be described in the following embodiments.
需要说明的是,一个射频接口扩展与另一个射频接口扩展存在冲突的 原因在本发明实施例中不作具体限定,可以是NFCC执行一个射频接口扩展与另一个射频接口扩展所分别需要的参数不同,而这些参数不能同时配置到NFCC上;或者,一个射频接口扩展和另一个射频接口扩展所分别需要的参数的类型相同,但参数的数值不同;或者,是NFCC执行一个射频接口扩展与另一个射频接口扩展时所需使用的协议版本不同,比如:一个射频接口扩展不能在当前版本的NFCC上执行,只能在较高版本上执行,而另一个射频接口扩展可以在当前版本上执行;或者,一个射频接口扩展与另一个射频接口扩展的某项属性类型相同,但某项属性的具体内容不同;或者,其他任何可能造成多个射频接口扩展之间相互排斥、无法同时在NFCC被开启的原因。It should be noted that one RF interface extension conflicts with another RF interface extension. The reason is not specifically limited in the embodiment of the present invention, and may be that the NFCC performs a radio frequency interface extension separately from another radio frequency interface extension, and these parameters cannot be simultaneously configured to the NFCC; or one radio frequency interface extension and another The parameters of a radio interface extension need to be the same, but the values of the parameters are different. Alternatively, the version of the protocol that the NFCC performs when performing a radio interface extension is different from that of another radio interface. For example, an RF interface extension cannot be used. Execution on the current version of NFCC can only be performed on a higher version, while another RF interface extension can be performed on the current version; or one RF interface extension is the same as an attribute type of another RF interface extension, but The specific content of an attribute is different; or any other reason that may cause multiple RF interface extensions to be mutually exclusive and cannot be opened at the same time in NFCC.
在本发明实施例中,冲突信息可以用冲突字节来表示,如表一所示,该冲突字节用于表示一个射频接口对应的多个射频接口扩展的冲突信息。其中,b0至b7用于表示1个字节中的8个比特位,每一个比特位用于表示一个射频接口扩展,一个比特位的值X,用于表示该比特位对应的射频接口扩展是否与其他比特位对应的射频接口扩展之间存在冲突,X可以为0或1。例如:当任意两个或两个以上比特位的值X为1时,表示这些比特位分别对应的射频接口扩展之间存在冲突,也就是NFCC无法同时执行这些射频接口扩展对应的功能。In the embodiment of the present invention, the conflict information may be represented by a conflicting byte. As shown in Table 1, the conflicting byte is used to indicate conflict information of multiple radio interface extensions corresponding to one radio interface. Where b0 to b7 are used to represent 8 bits in 1 byte, each bit is used to indicate a radio interface extension, and the value X of a bit is used to indicate whether the radio interface extension corresponding to the bit is There is a conflict between the radio interface extensions corresponding to other bits, and X can be 0 or 1. For example, when the value X of any two or more bits is 1, it indicates that there is a conflict between the radio interface extensions corresponding to the bits, that is, the NFCC cannot simultaneously perform the functions corresponding to the extension of the radio interface.
表一Table I
Figure PCTCN2015079733-appb-000001
Figure PCTCN2015079733-appb-000001
示例地,NCI协议中定义的某个射频接口对应e1、e2、e3和e4这4个射频接口扩展,b0比特位用于表示射频接口扩展e1,b1比特位用于表示射频接口扩展e2,b2比特位用于表示射频接口扩展e3,b3比特位用于表示射频接口扩展e4。当NFCC同时执行射频接口扩展e1和射频接口扩展e2对应的功能时会产生冲突,且当NFCC同时执行射频接口扩展e2、射频接口扩展e3和射频接口扩展e4对应的功能时会产生冲突时,如表二所示,冲突信息中 包含两个冲突字节,即冲突字节1和冲突字节2。其中,冲突字节1中b1比特位和b0比特位的值X为1,冲突字节2中b3比特位、b2比特位和b1比特位的值X为1。For example, a radio frequency interface defined in the NCI protocol corresponds to four radio interface extensions e1, e2, e3, and e4, the b0 bit is used to indicate the radio interface extension e1, and the b1 bit is used to indicate the radio interface extension e2, b2. The bit is used to indicate the radio interface extension e3, and the b3 bit is used to indicate the radio interface extension e4. When the NFCC performs the functions corresponding to the radio interface expansion e1 and the radio interface extension e2, a conflict occurs, and when the NFCC performs the functions corresponding to the radio interface extension e2, the radio interface extension e3, and the radio interface extension e4, a conflict occurs. As shown in Table 2, in the conflict information Contains two conflicting bytes, collision byte 1 and collision byte 2. The value X of the b1 bit and the b0 bit in the collision byte 1 is 1, and the value X of the b3 bit, the b2 bit, and the b1 bit in the collision byte 2 is 1.
表二Table II
Figure PCTCN2015079733-appb-000002
Figure PCTCN2015079733-appb-000002
需要说明的是,冲突信息的表示方式在本发明实施例中不作具体限定,可以使用本实施例中的上述一个或多个冲突字节列出一组或多组相互存在冲突的射频接口扩展。当然也可以使用其他方式描述某个射频接口对应的射频接口扩展之间是否存在冲突,例如用一个或多个非冲突字节列出一组或多组相互之间不存在冲突的射频接口扩展,或是用其他形式来标识存在/不存在冲突的射频接口扩展,不论采用哪种方式来描述射频接口对应的射频接口扩展之间存在的冲突或不冲突,DH都可以采用这些信息来确保开启的多个射频接口扩展之间,或者开启的射频接口扩展与已开启的射频接口扩展之间不存在冲突。此外,对该冲突信息的描述同样适用于下面的实施例。It should be noted that the manner in which the conflict information is displayed is not specifically limited in the embodiment of the present invention. One or more of the conflicting bytes in the embodiment may be used to list one or more sets of radio frequency interface extensions that conflict with each other. Of course, other methods may be used to describe whether there is a conflict between the radio interface extensions corresponding to a certain radio interface, for example, one or more non-conflicting bytes are used to list one or more sets of radio interface extensions that do not conflict with each other. Or use other forms to identify the presence or absence of conflicting RF interface extensions. Regardless of the method used to describe the conflict or non-conflict between the RF interface extensions corresponding to the RF interface, DH can use this information to ensure that it is turned on. There is no conflict between multiple RF interface extensions, or between the enabled RF interface extensions and the enabled RF interface extensions. Furthermore, the description of the conflict information is equally applicable to the following embodiments.
102、所述DH从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展。102. The DH determines, as a target radio frequency interface extension, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface.
在本发明实施例中,所述已激活的射频接口表示当前处于激活状态的射频接口,是NCI协议中定义的上述至少一个射频接口中的一个。In the embodiment of the present invention, the activated radio frequency interface indicates that the radio interface is currently in an active state, and is one of the at least one radio frequency interface defined in the NCI protocol.
需要说明的是,在上述步骤101中,NFCC可以只向DH发送一个或多个射频接口对应的冲突信息,只要其中包含所述已激活的射频接口对应的冲突信息即可,本发明实施例对此不进行限定。同样的,NFCC可以向DH发送一个或多个射频接口对应的射频接口扩展信息,只要其中包含所述已激活的射频接口对应的射频接口扩展信息,DH就可以生成所述已激活的射频接口对应的冲突信息,本发明实施例对此也不进行限定。It should be noted that, in the foregoing step 101, the NFCC may send only the conflict information corresponding to the one or more radio frequency interfaces to the DH, as long as the conflict information corresponding to the activated radio frequency interface is included, This is not limited. Similarly, the NFCC may send the radio interface extension information corresponding to the one or more radio interfaces to the DH, and the DH may generate the activated radio interface corresponding to the radio interface extension information corresponding to the activated radio interface. The conflicting information is not limited in this embodiment of the present invention.
103、所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少 一个。103. The DH starts at least one of the target radio interface extensions according to the conflict information. One.
当一个射频接口被激活以后,DH可以根据业务需求和/或NFCC的能力确定是否通过向NFCC发送RF_INTF_EXT_START_CMD指令,以命令NFCC在已激活的射频接口之上开启一个或多个射频接口扩展。When a radio interface is activated, DH can determine whether to enable the NFCC to open one or more radio interface extensions on the activated radio interface by sending an RF_INTF_EXT_START_CMD command to the NFCC based on the service requirements and/or the capabilities of the NFCC.
通过步骤102可以确定至少一个未开启的射频接口扩展作为目标射频接口扩展,当目标射频接口扩展为一个时,还可以根据该已激活的射频接口对应的射频接口扩展的开启情况,甚至这些射频接口扩展的优先级情况判断是否将该目标射频接口扩展开启。例如:若当前不存在已开启的射频接口扩展,则可以将该目标射频接口扩展开启;若当前存在至少一个已开启的射频接口扩展,且该目标射频接口扩展与该已开启的射频接口扩展之间不存在冲突,则可以将该目标射频接口扩展开启;若当前存在至少一个已开启的射频接口扩展,且该目标射频接口扩展与该已开启的射频接口扩展之间存在冲突,则可以再根据它们的优先级顺序进一步判断,从而确定是否将该目标射频接口扩展开启。当目标射频接口扩展为多个时,同样可以根据该已激活的射频接口对应的射频接口扩展的开启情况,甚至这些射频接口扩展的优先级情况判断是否将该目标射频接口扩展开启,或者将其中的一个或多个开启,具体处理过程请参见后面的实施例,这里不再赘述。In step 102, the at least one un-opened radio interface extension can be determined as the target radio interface extension. When the target radio interface is extended to one, the radio interface extension corresponding to the activated radio interface can be extended, or even the radio interface. The extended priority case determines whether the target radio interface extension is turned on. For example, if there is no open RF interface extension, the target RF interface can be extended; if there is currently at least one enabled RF interface extension, and the target RF interface is extended and the enabled RF interface is extended. If there is no conflict, the target radio interface can be extended; if there is currently at least one enabled radio interface extension, and there is a conflict between the target radio interface extension and the opened radio interface extension, then Their priority order is further determined to determine whether to extend the target radio interface. When the target radio interface is extended to multiple ports, it is also possible to determine whether to open the target radio interface according to the opening condition of the radio interface extension corresponding to the activated radio interface, or even the priority of the extension of the radio interface. For one or more of the following, refer to the following embodiments for specific processing, and details are not described herein again.
本发明实施例提供的一种射频接口扩展的冲突解决方法,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention. The main controller DH expands the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. In the embodiment of the present invention, at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency. A conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
步骤101中DH获取冲突信息的方式有多种,在本发明实施例的另一个实现方式中,获取冲突信息的方式可以具体实现为从DH中获取,或者,从 NFCC发送的初始化响应消息、射频接口激活通知消息、开启响应消息或开启通知消息中获取。因此,在如图2所示的实现方式的基础上,还可以实现为如图3所示的实现方式,其中,步骤101主控制器DH获取冲突信息,可以具体实现为如图3所示的步骤1011至步骤1015中的任意一步:The method for obtaining the conflict information in the DH in the step 101 is different. In another implementation manner of the embodiment of the present invention, the manner of acquiring the conflict information may be specifically implemented as being obtained from the DH, or The initialization response message sent by the NFCC, the radio frequency interface activation notification message, the opening response message, or the opening notification message is obtained. Therefore, on the basis of the implementation as shown in FIG. 2, the implementation may be implemented as shown in FIG. 3, wherein the main controller DH of step 101 acquires conflict information, which may be specifically implemented as shown in FIG. Any step from step 1011 to step 1015:
1011、所述DH接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息。1011. The DH receives the radio frequency interface extension information sent by the near field communication controller NFCC, and generates the conflict information.
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展;所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息。所述射频接口扩展信息包括用于表示所述至少一个射频接口对应的射频接口扩展的类型信息(具体请见NCI协议,这里不再详述),该信息可以通过NCI协议中定义的NCI响应消息或NCI通知消息(如初始化响应消息CORE_INIT_RSP)来获取,之后DH可以使用该信息为其中一个射频接口或者每个射频接口生成对应的冲突信息,当然,DH可以根据NFC终端的制造商在开发NCI时预置的策略或规则使用这些接收到的射频接口扩展信息生成冲突信息。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions; the radio frequency interface extension information is used to indicate that the radio frequency interface corresponding to the at least one radio frequency interface is extended. Type information. The radio frequency interface extension information includes type information for indicating the radio frequency interface extension corresponding to the at least one radio frequency interface (refer to the NCI protocol, which is not described in detail herein), and the information may pass the NCI response message defined in the NCI protocol. Or the NCI notification message (such as the initialization response message CORE_INIT_RSP) is obtained, and then the DH can use the information to generate corresponding conflict information for one of the radio frequency interfaces or each radio frequency interface. Of course, the DH can be developed according to the manufacturer of the NFC terminal when developing the NCI. Pre-set policies or rules use these received RF interface extensions to generate conflicting information.
1012、所述DH获取存储的系统预置的所述冲突信息。1012. The DH acquires the conflict information of the stored system preset.
冲突信息可以是NFC终端的制造商在开发NFC控制器接口NCI时预先配置到DH中的;当然也可以通过其他方式进行存储,例如DH在第一次获取某个射频接口对应的冲突信息之后保存到某个存储区域,在后续需要使用该冲突信息时可直接从该存储区域中获取。The collision information may be pre-configured to the DH by the manufacturer of the NFC terminal when developing the NFC controller interface NCI; of course, the storage may be performed by other means, for example, the DH saves the conflict information corresponding to a certain radio interface for the first time. To a certain storage area, you can directly obtain the conflict information from the storage area.
1013、所述DH接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息。1013. The DH receives an initialization response message sent by the NFCC, and obtains the conflict information from the initialization response message.
根据NCI协议,初始化响应消息由NFCC发送给DH,用于向DH反馈NFCC初始化的结果。在初始化阶段,NFCC可以通过初始化响应消息(如表三所示为DH向NFCC发送的CORE_INIT_RSP指令)向DH上报冲突信息,之后DH根据接收到的CORE_INIT_RSP指令中携带的冲突信息,判断当不存在已开启的射频接口扩展时,目标射频接口扩展之间是否存在冲突;或者,当存在已开启的射频接口扩展时,目标射频接口扩展和已开启的射频接口扩展所组成的所有射频接口扩展之间是否存在冲突。 According to the NCI protocol, an initialization response message is sent by the NFCC to the DH for feeding back the result of the NFCC initialization to the DH. In the initialization phase, the NFCC may report the conflict information to the DH by initializing the response message (such as the CORE_INIT_RSP command sent by the DH to the NFCC as shown in Table 3), and then the DH judges that there is no existence according to the conflict information carried in the received CORE_INIT_RSP command. Whether there is a conflict between the target RF interface extensions when the enabled RF interface is extended, or whether there is an open RF interface extension between the target RF interface extension and all RF interface extensions of the opened RF interface extension. There is a conflict.
表三Table 3
Figure PCTCN2015079733-appb-000003
Figure PCTCN2015079733-appb-000003
Figure PCTCN2015079733-appb-000004
Figure PCTCN2015079733-appb-000004
需要说明的是,上述表三所示的初始化响应消息CORE_INIT_RSP是NCI协议定义的,其中前三个字段是NCI协议定义的字段,其他字段表示的参数在本发明实施例中并未体现在该表中。上述表三中,只有最后一个字段中的两个子字段(即存在冲突的组合数量字段与冲突列表字段)是为了实现本发明实施例而设置的。对于上述表三,射频接口扩展的列表中,每存在一个射频接口扩展时,占用1个字节来描述其类型(具体请见NCI协议,这里不再详述);冲突列表中,每个冲突字节(以占1个字节为例,其具体编码方式与上述实施例中所述的冲突字节相同,如上述表一或表二)表示一组冲突,即该射频接口对应的至少两个射频接口扩展之间存在冲突。因此,当射频接口扩展的列表中包括x个射频接口扩展,且冲突列表中包括y个存在冲突的射频接口扩展时,NFCC所支持的第n个射频接口需要占用(x+1+y+1)个字节来描述该射频接口都支持哪些射频接口扩展,以及这些射频接口扩展中都有哪些之间存在冲突。It should be noted that the initialization response message CORE_INIT_RSP shown in the foregoing Table 3 is defined by the NCI protocol, where the first three fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in the embodiment of the present invention. in. In the above Table 3, only two subfields in the last field (i.e., the combined number field and the conflict list field in which the conflict exists) are set to implement the embodiment of the present invention. For the above table 3, in the list of radio interface extensions, each time there is a radio interface extension, it takes 1 byte to describe its type (see NCI protocol for details, which is not detailed here); in the conflict list, each conflict The byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above), indicating a set of conflicts, that is, at least two corresponding to the radio interface. There is a conflict between the RF interface extensions. Therefore, when the list of radio interface extensions includes x radio interface extensions, and the conflict list includes y conflicting radio interface extensions, the nth radio interface supported by the NFCC needs to be occupied (x+1+y+1). ) Bytes to describe which RF interface extensions are supported by the RF interface, and which of these RF interface extensions have conflicts.
1014、所述DH接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息。1014. The DH receives a radio frequency interface activation notification message sent by the NFCC, and obtains the conflict information from the radio frequency interface activation notification message.
在本发明实施例中,射频接口激活通知消息用于向DH上报激活射频接口的结果。其中,射频接口激活通知消息可以包括所激活的射频接口的类型以及相关的参数,具体详见NCI协议,这里不再赘述。那么,上述冲突信息是所述已激活的射频接口对应的射频接口扩展之间可能存在的一组或多组冲突。In the embodiment of the present invention, the radio frequency interface activation notification message is used to report the result of activating the radio frequency interface to the DH. The radio interface activation notification message may include the type of the activated radio interface and related parameters. For details, refer to the NCI protocol, which is not described here. Then, the conflict information is one or more sets of conflicts that may exist between the radio interface extensions corresponding to the activated radio interface.
在射频发现过程中,NFCC可以通过射频接口激活通知消息(比如:如表四所示为NFCC向DH发送的RF_INTF_ACTIVATED_NTF)向DH上报冲突信息,之后DH根据接收到的该射频接口激活通知消息中携带的冲突信息来判断当不存在已开启的射频接口扩展时,待开启的射频接口扩展之间是否存在冲突;或者,当存在已开启的射频接口扩展时,待开启的射频接口扩展和已开启的射频接口扩展所组成的所有射频接口扩展之间是否存在冲突。During the radio frequency discovery process, the NFCC can activate the notification message through the radio interface (for example, as shown in Table 4, the RF_INTF_ACTIVATED_NTF sent by the NFCC to the DH) to report the conflict information to the DH, and then the DH carries the notification message according to the received radio interface activation notification message. The conflict information is used to determine whether there is a conflict between the radio interface extensions to be opened when there is no open RF interface extension; or when the radio interface expansion is enabled, the radio interface to be opened is expanded and opened. Whether there is a conflict between all RF interface extensions formed by the RF interface extension.
表四 Table 4
Figure PCTCN2015079733-appb-000005
Figure PCTCN2015079733-appb-000005
需要说明的是,上述表四所示的射频接口激活通知消息RF_INTF_ACTIVATED_NTF是NCI协议定义的。其中,前两个字段是NCI协议定义的字段,其他字段表示的参数在本实施例中并未体现在该表中。上述表四中,只有后两个字段(即存在冲突的组合数量字段与冲突列表字段)是为了实现本发明实施例而设置的。冲突列表中,每个冲突字节(以占1个字节为例,其具体编码方式与上述实施例中所述的冲突字节相同,如上述表一或表二)表示一组冲突,即该射频接口对应的至少两个射频接口扩展之间存在冲突。It should be noted that the radio interface activation notification message RF_INTF_ACTIVATED_NTF shown in Table 4 above is defined by the NCI protocol. The first two fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in this embodiment. In the above Table 4, only the last two fields (i.e., the combined number field and the conflict list field in which the conflict exists) are set to implement the embodiment of the present invention. In the conflict list, each conflicting byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, such as Table 1 or Table 2 above) indicates a set of conflicts, that is, There is a conflict between at least two radio interface extensions corresponding to the radio interface.
1015、所述DH接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息。1015. The DH receives an open response message or an open notification message sent by the NFCC, and obtains the conflict information from the open response message or the open notification message.
在本发明实施例中,所述开启响应消息或开启通知消息是NFCC为了响应DH在使用一个已激活的射频接口过程中,向NFCC发送的开启命令(如NCI 协议定义的RF_INTF_EXT_START_CMD)而反馈的,用于向DH上报是否已成功开启所述开启命令中指定的射频接口扩展。In the embodiment of the present invention, the open response message or the open notification message is an open command sent by the NFCC to the NFCC in response to the DH using an activated radio interface (such as NCI). The RF_INTF_EXT_START_CMD, which is defined by the protocol, is used to report to the DH whether the radio interface extension specified in the open command has been successfully enabled.
需要说明的是,本发明实施例中,NFCC可以在一次射频通信中当收到DH发送的第一个上述开启命令时,通过所述开启响应消息或者所述开启通知消息携带上述冲突信息。所述冲突信息可以是该已激活的射频接口对应的射频接口扩展之间可能存在的一组或多组冲突;也可以是该已激活的射频接口下与该第一个开启命令中指定的射频接口扩展相关的一组或多组冲突,即在使用该已激活的射频接口后,在开启该第一个开启命令指定的射频接口扩展时,存在一个或多个其他射频接口扩展不能同时开启。It should be noted that, in the embodiment of the present invention, the NFCC may carry the conflict information by using the open response message or the open notification message when receiving the first open command sent by the DH in a radio frequency communication. The conflict information may be one or more sets of conflicts that may exist between the radio interface extensions corresponding to the activated radio interface; or may be the radio frequency specified in the activated radio interface and the first open command. One or more sets of conflicts related to the interface extension. When the activated radio interface is used, one or more other radio interface extensions cannot be enabled at the same time when the radio interface extension specified by the first open command is enabled.
NFCC可以通过开启响应消息(如表五所示为DH向NFCC发送的RF_INTF_EXT_START_RSP指令),或者开启通知消息(如表六所示为DH向NFCC发送的新增的RF_INTF_EXT_START_NTF指令)向DH上报冲突信息,之后DH根据接收到的该开启响应消息或开启通知消息中携带的冲突信息来判断当不存在已开启的射频接口扩展时,目标射频接口扩展之间是否存在冲突;或者,当存在已开启的射频接口扩展时,目标射频接口扩展和已开启的射频接口扩展所组成的所有射频接口扩展之间是否存在冲突。The NFCC may report the conflict information to the DH by opening a response message (such as the RF_INTF_EXT_START_RSP command sent by the DH to the NFCC in Table 5) or by opening a notification message (as shown in Table 6 for the new RF_INTF_EXT_START_NTF command sent by the DH to the NFCC). The DH then determines whether there is a conflict between the target radio interface extensions when there is no open radio interface extension according to the received conflicting information carried in the open response message or the open notification message; or, when there is an enabled radio frequency When the interface is extended, there is a conflict between the target RF interface extension and all RF interface extensions that are formed by the extended RF interface extension.
表五Table 5
Figure PCTCN2015079733-appb-000006
Figure PCTCN2015079733-appb-000006
Figure PCTCN2015079733-appb-000007
Figure PCTCN2015079733-appb-000007
表六Table 6
Figure PCTCN2015079733-appb-000008
Figure PCTCN2015079733-appb-000008
需要说明的是,上述表五所示的开启响应消息RF_INTF_EXT_START_RSP是NCI协议定义的,其中前三个字段是NCI协议定义的字段,其他字段表示的参数在本发明实施例中并未体现在该表中。上述表五中,只有最后两个字段(即存在冲突的组合数量字段与冲突列表字段)是为了实现本发明实施例而设置的。对于上述表五,冲突列表中,每个冲突字节(以占1个字节为例,其具体编码方式与上述实施例中所述的冲突字节相同,如上述表一或表二)表示一组冲突,即该射频接口对应的至少两个射频接口扩展之间存在冲突。It should be noted that the ON response message RF_INTF_EXT_START_RSP shown in Table 5 above is defined by the NCI protocol, where the first three fields are fields defined by the NCI protocol, and the parameters represented by other fields are not reflected in the table in the embodiment of the present invention. in. In the above Table 5, only the last two fields (i.e., the combined number field and the conflict list field in which the conflict exists) are set to implement the embodiment of the present invention. For the above table 5, in the conflict list, each conflicting byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above) A set of conflicts, that is, a conflict between at least two radio interface extensions corresponding to the radio interface.
上述表六所示的开启通知消息RF_INTF_EXT_START_NTF及其两个字段(即存在冲突的组合数量字段与冲突列表字段)是为了实现本发明实施例而设置的,NFCC可以在执行DH通过RF_INTF_EXT_START_CMD开启的射频接口扩展之后向DH反馈该开启通知消息。对于上述表六,冲突列表中,每个冲突字节(以占1个字节为例,其具体编码方式与上述实施例中所述的冲突字节相同,如上述表一或表二)表示一组冲突,即该射频接口对应的至少两个射频接口扩展之间存在冲突。The open notification message RF_INTF_EXT_START_NTF and its two fields (ie, the combined number field and conflict list field with conflicts) shown in Table 6 above are set to implement the embodiment of the present invention, and the NFCC can perform the RF interface that is enabled by the DH through RF_INTF_EXT_START_CMD. After the extension, the opening notification message is fed back to the DH. For the above table 6, in the conflict list, each conflicting byte (in the case of 1 byte, the specific encoding mode is the same as the conflicting byte described in the above embodiment, as shown in Table 1 or Table 2 above) A set of conflicts, that is, a conflict between at least two radio interface extensions corresponding to the radio interface.
本发明实施例提供的一种射频接口扩展的冲突解决方法,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲 突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。其中,DH获取冲突信息的方式包括多种,DH可以根据NFCC发送的射频接口扩展信息生成冲突信息;或者,DH可以直接获取系统预置的冲突信息;或者,DH可以分别在3个不同的接收时机来接收NFCC发送的冲突信息。因此,DH可以通过多种不同的方式来获取冲突信息,并在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention. The main controller DH expands the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions. Among them, rushing The burst information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. In the embodiment of the present invention, at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency. A conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. The manner in which the DH obtains the conflict information includes multiple types. The DH may generate the conflict information according to the radio interface extension information sent by the NFCC. Alternatively, the DH may directly obtain the conflict information preset by the system. Alternatively, the DH may receive the three different receivers respectively. Timing to receive conflict information sent by the NFCC. Therefore, the DH can obtain the conflict information in a plurality of different manners, and when the multiple radio interface extensions are enabled, the probability of conflict between the at least two radio interface extensions that are in the open state after the radio interface expansion is enabled is reduced. , thereby improving communication efficiency.
为了保证针对不同的应用场景,在开启的射频接口扩展时能够避免射频接口扩展在开启之后发生冲突,在本发明实施例的另一个实现方式中,当不存在已开启的射频接口扩展且目标射频接口扩展包括至少两个射频接口扩展时,图2或图3中的步骤103所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,还可以具体实现为如图4所示的步骤1031至步骤1033:In another implementation manner of the embodiment of the present invention, when there is no open radio interface extension and target radio frequency, the radio frequency interface expansion does not exist in the implementation of the radio interface. When the interface extension includes at least two radio frequency interface extensions, the DH in step 103 of FIG. 2 or FIG. 3 starts at least one of the target radio frequency interface extensions according to the conflict information, and may also be specifically implemented as shown in FIG. Steps 1031 to 1033:
1031、所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突。1031. The DH determines, according to the open state of the radio interface extension corresponding to the activated radio interface, that the radio interface expansion does not exist and the target radio interface extension includes at least two radio interfaces. When expanding, there is a conflict between the at least two target radio interface extensions.
1032、当不存在冲突时,则所述DH开启所述至少两个目标射频接口扩展。1032. When there is no conflict, the DH starts the at least two target radio frequency interface extensions.
在本发明实施例中,不存在冲突表示所有这些目标射频接口扩展中的每一个都与其他任何一个不存在冲突或不互斥。In an embodiment of the invention, the absence of a conflict indicates that each of these target radio interface extensions does not conflict or is mutually exclusive with any of the other.
1033、当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。1033. When there is a conflict, the DH starts at least one of the at least two target radio interface extensions according to the priority information of the radio interface extension.
在本发明实施例中,对于从所有目标射频接口扩展中开启至少一个射频接口扩展的处理方式有: In the embodiment of the present invention, the processing manner for opening at least one radio interface extension from all target radio interface extensions is:
1、如果这些目标射频接口扩展中有至少一个都与其他任何一个目标射频接口扩展不存在冲突或不互斥的,则开启该至少一个射频接口扩展;然后再根据射频接口扩展的优先级信息在剩余的射频接口扩展(这些射频接口扩展中的每一个都会与其他的任意一个或多个存在冲突或互斥)中进行选择,从而开启其中的一个或多个射频接口扩展。1. If at least one of the target radio interface extensions does not conflict or is mutually exclusive with any other target radio interface extension, the at least one radio interface extension is enabled; and then according to the priority information of the radio interface extension One or more of the RF interface extensions are enabled by selecting the remaining RF interface extensions (each of which is in conflict or mutual exclusion with any other one or more).
2、如果所有这些目标射频接口扩展中的每一个都与其他一个或多个目标射频接口扩展存在冲突或互斥,则直接根据射频接口扩展的优先级信息在这些目标射频接口扩展中进行选择,从而开启其中的一个或多个射频接口扩展。2. If each of these target RF interface extensions conflicts or is mutually exclusive with one or more other target RF interface extensions, directly select the target RF interface extensions based on the priority information of the RF interface extensions. Thereby opening one or more of the RF interface extensions.
对于上述1和2,这些目标射频接口扩展中存在冲突的,DH根据射频接口的优先级信息选择一个或多个开启的方式包括但不限于以下任一种:For the above 1 and 2, there are conflicts in the extension of the target radio frequency interfaces. The manner in which the DH selects one or more on according to the priority information of the radio interface includes, but is not limited to, the following ones:
(1)若有一组存在冲突,即这些目标射频接口扩展中有至少两个是相互冲突或排斥的,或者有至少三个是两两冲突或互斥的,则根据射频接口扩展的优先级信息在这组中找出优先级最高的射频接口扩展开启。(1) If there is a group conflict, that is, at least two of the target radio interface extensions are conflicting or mutually exclusive, or at least three are two or two conflicts or mutually exclusive, the priority information according to the radio interface extension Find the highest priority RF interface expansion in this group.
(2)若有多组存在冲突,即每组内部的射频接口扩展是两两冲突或互斥的,而多组之间可能是互不冲突或互不排斥的,也可能是一组中只有个别射频接口扩展与其他组中的个别或全部射频接口扩展存在冲突或互斥,则根据射频接口扩展的优先级信息在每组中找到优先级最高的射频接口扩展;然后对于这些从每组找出的优先级最高的射频接口扩展,再使用上述1或2所述的处理方式以及(1)或(2)所述的确定方式;最终开启目标射频接口扩展中的一个或多个射频接口扩展。(2) If there are multiple groups of conflicts, that is, each group's internal RF interface expansion is two-two conflicts or mutually exclusive, and multiple groups may not conflict with each other or are mutually exclusive, or may be only one group. If the individual RF interface extension conflicts or is mutually exclusive with the individual or all RF interface extensions in other groups, the highest priority RF interface extension is found in each group according to the priority information of the RF interface extension; then, for each of these groups, look for The highest-priority radio interface extension is used, and the processing manner described in the above 1 or 2 and the determining manner described in (1) or (2) are used; finally, one or more radio interface extensions in the target radio interface extension are enabled. .
本发明实施例提供的一种射频接口扩展的冲突解决方法,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,当不存在已开启的射频接口扩展且目标射频接口扩展包括至少两个射频接口扩展时,根据冲突信息开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,当不存在已开启的射频接口扩展且目标射频接口扩展包括至少 两个射频接口扩展时,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method for conflict resolution of the radio frequency interface extension provided by the embodiment of the present invention, the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface, when there is no existing When the enabled RF interface is extended and the target RF interface extension includes at least two RF interface extensions, at least one of the target RF interface extensions is turned on according to the conflict information. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio frequency interface extension is directly enabled by the screening of the RF interface extension. The embodiment of the present invention may be configured by the DH according to the conflict information, when there is no open RF interface extension and the target radio interface extension includes at least When the two RF interfaces are extended, at least one of the target RF interface extensions is enabled, thereby avoiding an open failure caused by a conflict between the RF interface extensions, or a conflict when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
为了保证针对不同的应用场景,在开启的射频接口扩展时能够避免射频接口扩展在开启之后发生冲突,在本发明实施例的另一个实现方式中,当存在已开启的射频接口扩展时,图2或图3中的步骤103所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,还可以具体实现为如图5所示的步骤1034至步骤1036:In another implementation manner of the embodiment of the present invention, when there is an extended radio frequency interface extension, FIG. 2 is used to ensure that the radio interface expansion occurs after the radio interface expansion is enabled for different application scenarios. Or the DH of the step 103 in FIG. 3 is used to enable at least one of the target radio interface extensions according to the conflict information, and may be specifically implemented as step 1034 to step 1036 as shown in FIG. 5:
1034、所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突。1034. The DH determines, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension.
其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展。The radio interface extension includes the target radio interface extension and the opened radio interface extension.
1035、当不存在冲突时,则所述DH开启所有目标射频接口扩展。1035. When there is no conflict, the DH enables all target radio interface extensions.
在本发明实施例中,不存在冲突表示所有目标射频接口扩展中的每一个都与所有目标射频接口扩展中除了这一个射频接口本身以外的任何一个不存在冲突或不互斥,且与当前已开启的射频接口扩展中的任何一个不存在冲突或不互斥。In the embodiment of the present invention, there is no conflict indicating that each of the target radio interface extensions does not conflict or is mutually exclusive with any one of the target radio interface extensions except the one radio interface itself, and is currently Any of the enabled RF interface extensions does not conflict or is not mutually exclusive.
1036、当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。1036. When there is a conflict, the DH starts at least one of all target radio interface extensions according to the priority information of the radio interface extension.
在步骤1031至步骤1034的实现基础上,若存在已开启的射频接口扩展,再根据这些可能开启的射频接口扩展和已开启的射频接口扩展的优先级,开启目标射频接口扩展中的至少一个,或确定哪些射频接口扩展不可以开启,以及关闭需要关闭的已开启的射频接口扩展。即采用类似上述实施例中所述的处理方式与确定方式,从包括目标射频接口扩展与已开启的射频接口扩展在内的所有射频接口扩展中,开启一个或多个目标射频接口扩展,同时还可以关闭需要关闭的已开启的射频接口扩展。当然,也可以 采用上述实施例中所述的处理方式与确定方式从目标射频接口扩展(此时,至少包括两个射频接口扩展)中初次确定一个或多个作为可能开启的射频接口扩展,然后再采用上述实施例中所述的处理方式与确定方式,从包括初次确定为可能开启的射频接口扩展与已开启的射频接口扩展在内的所有射频接口扩展中,最终开启目标射频接口扩展中的一个或多个射频接口扩展,同时还可能关闭一个或多个已开启的射频接口扩展。在本发明实施例中,当根据射频接口扩展的优先级开启目标射频接口扩展中的一个或多个射频接口扩展,且已开启的射频接口扩展中不存在与目标射频接口扩展存在冲突的射频接口扩展时,则已开启的射频接口扩展可以维持开启状态。当根据射频接口扩展的优先级开启目标射频接口扩展中的一个或多个射频接口扩展,且已开启的射频接口扩展中存在至少一个与至少一个目标射频接口扩展存在冲突的射频接口扩展时,则关闭该至少一个已开启的射频接口扩,且只有当该至少一个已开启的射频接口扩展被关闭以后,才可以保证目标射频接口扩展被开启之后,与还维持开启状态的已开启的射频接口扩展之间不存在冲突或不互斥。On the basis of the implementation of the steps 1031 to 1034, if there is an extended radio interface extension, at least one of the target radio interface extensions is enabled according to the possible opening of the radio interface extension and the priority of the opened radio interface extension. Or determine which RF interface extensions cannot be turned on, and turn off the open RF interface extensions that need to be turned off. That is, in a manner similar to the processing mode and the determining manner described in the foregoing embodiment, one or more target radio frequency interface extensions are opened from all radio frequency interface extensions including the target radio frequency interface extension and the opened radio frequency interface extension, and You can turn off the turned-on RF interface expansion that needs to be turned off. Of course, you can Using the processing mode and the determining manner described in the foregoing embodiment, one or more RF interface extensions that are possible to be opened are initially determined from the target radio frequency interface extension (in this case, at least two radio frequency interface extensions), and then the foregoing implementation is implemented. The processing mode and the determining manner described in the example, and finally opening one or more of the target radio frequency interface extensions, including all radio frequency interface extensions including the radio interface expansion and the opened radio interface expansion that are initially determined to be possible. The RF interface is extended and it is also possible to turn off one or more of the enabled RF interface extensions. In the embodiment of the present invention, when one or more radio frequency interface extensions in the target radio frequency interface extension are enabled according to the priority of the radio frequency interface extension, and the radio interface expansion in the opened radio frequency interface extension does not exist, the radio interface that conflicts with the target radio frequency interface extension does not exist. When extended, the opened RF interface extension can be maintained on. When one or more radio interface extensions in the target radio interface extension are enabled according to the priority of the radio interface expansion, and at least one radio interface extension that conflicts with the at least one target radio interface extension exists in the opened radio interface extension, The at least one opened radio interface is expanded, and only after the at least one enabled radio interface extension is turned off, the enabled radio interface expansion can be ensured after the target radio interface expansion is enabled. There is no conflict or mutual exclusion between them.
本发明实施例提供的一种射频接口扩展的冲突解决方法,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,当存在已开启的射频接口扩展且目标射频接口扩展包括至少一个射频接口扩展时,根据冲突信息开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,当存在已开启的射频接口扩展且目标射频接口扩展包括至少一个射频接口扩展时,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。A method for conflict resolution of a radio frequency interface extension is provided by the embodiment of the present invention. The main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface. The RF interface is extended and the target RF interface extension includes at least one of the target RF interface extensions according to the conflict information when the at least one RF interface is extended. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. The embodiment of the present invention may be based on the conflict information, and when there is an extended radio frequency interface extension and the target radio frequency interface extension includes at least When one RF interface is extended, at least one of the target RF interface extensions is enabled, thereby avoiding an open failure caused by a conflict between the RF interface extensions, or a conflict when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
在本发明实施例的另一个实现方式中,在图5中执行完毕步骤1034所 述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突之后,可以当存在冲突时,关闭已开启的射频接口扩展中的至少一个。因此,还可以实现为如图6所示的实现方式:In another implementation of the embodiment of the present invention, step 1034 is performed in FIG. 5 The DH determines whether there is a conflict between all the radio interface extensions when there is an open radio interface extension according to the open status of the radio interface extension corresponding to the activated radio interface. At least one of the turned-on RF interface extensions is turned off. Therefore, it can also be implemented as shown in Figure 6:
104、当存在冲突时,则所述DH根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。104. When there is a conflict, the DH turns off at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
需要说明的是,当存在需要关闭的射频接口扩展时,可以同时执行步骤1035和步骤104,或者,执行完毕步骤104之后,执行步骤1035,以降低在开启目标射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率。It should be noted that, when there is a radio interface expansion that needs to be closed, step 1035 and step 104 may be performed simultaneously, or after step 104 is performed, step 1035 is performed to reduce the on state after the target radio interface expansion is enabled. There is a probability of collision between at least two radio interface extensions.
当不需要使用某个射频接口扩展时,DH可以根据业务需求和/或NFCC的能力确定是否通过向NFCC发送RF_INTF_EXT_STOP_CMD指令,以命令NFCC关闭该射频接口扩展,或者直接通过对该射频接口扩展对应的射频接口执行去激活操作来关闭该射频接口,从而关闭该射频接口之上运行的所有射频接口扩展。When it is not necessary to use a certain RF interface extension, DH can determine whether to send the RF_INTF_EXT_STOP_CMD instruction to the NFCC according to the service requirement and/or the NFCC capability, to command the NFCC to close the RF interface extension, or directly extend the corresponding RF interface interface. The radio interface performs a deactivation operation to shut down the radio interface, thereby turning off all radio interface extensions running on the radio interface.
本发明实施例提供的一种射频接口扩展的冲突解决方法,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,当存在已开启的射频接口扩展且目标射频接口扩展包括至少一个射频接口扩展时,根据冲突信息开启目标射频接口扩展中的至少一个,同时,还可能关闭已开启的射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,当存在已开启的射频接口扩展且目标射频接口扩展包括至少一个射频接口扩展时,开启目标射频接口扩展中的至少一个,同时,还可能关闭已开启的射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。 A method for conflict resolution of a radio frequency interface extension is provided by the embodiment of the present invention. The main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface. The RF interface is extended and the target radio interface extension includes at least one of the target radio interface extensions according to the conflict information when at least one radio interface extension is extended, and at least one of the opened radio interface extensions may also be turned off. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. The embodiment of the present invention may be based on the conflict information, and when there is an extended radio frequency interface extension and the target radio frequency interface extension includes at least When one radio interface is extended, at least one of the target radio interface extensions is enabled, and at least one of the opened radio interface extensions may be turned off, thereby avoiding an open failure caused by a conflict between the radio interface extensions, or A conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
本发明实施例提供一种射频接口扩展的冲突解决方法,所述方法均由近场通信控制器NFCC来执行,所述方法包括:The embodiment of the invention provides a method for conflict resolution of radio frequency interface extension, which is performed by a near field communication controller NFCC, and the method includes:
201、近场通信控制器NFCC向主控制器DH发送冲突信息。201. The near field communication controller NFCC sends the conflict information to the main controller DH.
其中,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。The conflicting information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface, so that the DH enables the unopened radio frequency interface extension corresponding to the activated radio frequency interface according to the conflict information. The RF interface extension in the middle.
本发明实施例提供的一种射频接口扩展的冲突解决方法,近场通信控制器NFCC向DH发送冲突信息,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由NFCC向DH发送冲突信息,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention. The near field communication controller NFCC sends the conflict information to the DH, and the main controller DH expands according to the obtained conflict information and the radio frequency interface corresponding to the activated radio interface. The target radio interface extension determined in the middle, and at least one of the target radio interface extensions is turned on. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio interface extension is directly enabled by the screening of the radio interface extension. In this embodiment, the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information. The RF interface expansion in the unopened RF interface extension corresponding to the RF interface. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
步骤201中NFCC向DH发送冲突信息的方式有多种,在本发明实施例的另一个实现方式中,可以具体实现为NFCC向DH发送初始化响应消息、向DH发送射频接口激活通知消息、向DH发送开启响应消息或开启通知消息。因此,步骤201近场通信控制器NFCC向主控制器DH发送冲突信息,可以具体实现为步骤2011至步骤2013中的任意一步:In the step 201, the NFCC sends the conflict information to the DH in multiple manners. In another implementation manner of the embodiment of the present invention, the NFCC may send the initialization response message to the DH, and send the radio interface activation notification message to the DH to the DH. Send a start response message or a notification message. Therefore, in step 201, the near field communication controller NFCC sends the conflict information to the main controller DH, which can be implemented as any step in step 2011 to step 2013:
2011、在完成所述NFCC的初始化之后,所述NFCC向所述DH发送初始化响应消息。2011. After completing the initialization of the NFCC, the NFCC sends an initialization response message to the DH.
其中,所述初始化响应消息携带有所述冲突信息。The initialization response message carries the conflict information.
2012、在激活一个射频接口之后,所述NFCC向所述DH发送射频接口激活通知消息。2012. After activating a radio interface, the NFCC sends a radio interface activation notification message to the DH.
其中,所述射频接口激活通知消息携带有所述冲突信息。The radio interface activation notification message carries the conflict information.
2013、在开启已激活射频接口对应的一个射频接口扩展之后,所述 NFCC向所述DH发送开启响应消息或开启通知消息。2013, after opening a radio interface extension corresponding to the activated radio interface, The NFCC sends an open response message or a start notification message to the DH.
其中,所述开启响应消息或所述开启通知消息携带有所述冲突信息。The opening response message or the opening notification message carries the conflict information.
在本发明实施例中,对上述NFCC初始化、射频接口激活和射频接口扩展的开启的理解,请详见NCI协议,这里不再赘述。In the embodiment of the present invention, for the understanding of the above-mentioned NFCC initialization, radio frequency interface activation, and radio interface extension opening, please refer to the NCI protocol, and details are not described herein again.
例如:如图7所示为DH从NFCC发送的初始化响应消息中获取冲突信息,并开启目标射频接口扩展中的至少一个的一种方法流程图,即图3中步骤101具体实现为步骤1013时图3所示的处理流程,具体执行过程如下:For example, as shown in FIG. 7 is a flowchart of a method for the DH to obtain the conflict information from the initialization response message sent by the NFCC, and to enable at least one of the target radio interface extensions, that is, the step 101 in FIG. 3 is specifically implemented as step 1013. The process flow shown in Figure 3 is as follows:
301、DH重置NFCC,其中,重置过程可以参考NCI协议。301, DH resets the NFCC, wherein the reset process can refer to the NCI protocol.
302、DH向NFCC发送初始化命令,其中,初始化过程可以参考NCI协议。302. The DH sends an initialization command to the NFCC, where the initialization process may refer to the NCI protocol.
303、DH接收到NFCC发送的初始化响应信息,其中,该初始化响应信息中携带有每个射频接口上可能存在的射频接口扩展相关的冲突信息。303. The DH receives the initialization response information sent by the NFCC, where the initialization response information carries the conflict information related to the radio interface extension that may exist on each radio interface.
其中,该冲突信息与上述实施例所述的冲突信息相同,这里不再重复描述与解释。The conflict information is the same as the conflict information described in the foregoing embodiment, and the description and explanation are not repeated here.
304、经过射频发现过程,激活一个射频接口之后,DH确定至少一个目标射频接口扩展。304. After the radio frequency discovery process activates a radio interface, the DH determines at least one target radio interface extension.
其中,所述射频发现过程以及射频接口的激活操作可以参考NCI协议,这里不再赘述。The radio frequency discovery process and the activation operation of the radio frequency interface may refer to the NCI protocol, and details are not described herein again.
305、判断当前是否存在已开启的射频接口扩展;如果是,则执行步骤306;如果否,则执行步骤311。305. Determine whether there is an open radio interface extension currently; if yes, go to step 306; if no, go to step 311.
本发明实施例中,所述已开启的射频接口扩展,是指DH已经通过NCI命令(如开启命令RF_INTF_EXT_START_CMD)开启的射频接口扩展,即NFCC已经开始或可以开始执行其相应功能。当然,本发明实施例中对已开启的射频接口扩展的描述与解释同样适用于后面的实施例。需要说明的是,本发明实施例中,本步骤是可选的。In the embodiment of the present invention, the extended RF interface extension refers to a radio interface extension that the DH has opened through an NCI command (such as the open command RF_INTF_EXT_START_CMD), that is, the NFCC has started or can start to perform its corresponding function. Of course, the description and explanation of the extended RF interface extension in the embodiment of the present invention are equally applicable to the following embodiments. It should be noted that, in the embodiment of the present invention, this step is optional.
306、DH根据冲突信息判断所有射频接口扩展之间是否存在冲突;如果是,则执行步骤307;如果否,则目标射频接口扩展作为待开启的射频接口扩展,执行步骤310。306. The DH determines, according to the conflict information, whether there is a conflict between all the radio interface extensions; if yes, step 307 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 310 is performed.
本发明实施例中,如果存在已开启的射频接口扩展,则不对其数量进行限制,可以是一个,也可以是多个。此时,所有射频接口扩展包括该已 开启的射频接口扩展与上述至少一个目标射频接口扩展。In the embodiment of the present invention, if there is an open radio interface extension, the number is not limited, and may be one or multiple. At this point, all RF interface extensions include the The open RF interface extension is extended with the at least one target RF interface described above.
需要说明的是,如果不执行步骤305,则该所有射频接口扩展可能包括上述至少一个目标射频接口扩展与当前已激活的射频接口对应的其他射频接口扩展。此时,步骤306的目的是判断有没有与上述至少一个目标射频接口扩展存在冲突或者相互排斥的其他射频接口扩展。It should be noted that, if step 305 is not performed, all the radio frequency interface extensions may include the foregoing at least one target radio frequency interface extension and other radio frequency interface extensions corresponding to the currently activated radio frequency interface. At this time, the purpose of step 306 is to determine whether there are other radio frequency interface extensions that conflict with or are mutually exclusive with the at least one target radio interface extension.
307、判断存在冲突的射频接口扩展中是否存在已开启的射频接口扩展;如果是,则执行步骤308;如果否,则执行步骤312。307. Determine whether there is an open radio interface extension in the conflicting radio interface extension; if yes, go to step 308; if no, go to step 312.
本发明实施例中,本步骤的目的是,判断与至少一个目标射频接口扩展存在冲突或者相互排斥的射频接口扩展是否有已开启的射频接口扩展,或者是否为已开启的射频接口扩展中的一个或多个。In the embodiment of the present invention, the purpose of the step is to determine whether the radio interface extension that conflicts with or conflicts with the at least one target radio interface extension has an extended radio interface extension, or is one of the opened radio interface extensions. Or multiple.
308、判断目标射频接口扩展的优先级是否高于和目标射频接口扩展存在冲突的已开启的射频接口扩展的优先级;如果是,则执行步骤309至步骤310;如果否,则结束本次执行过程。308. Determine whether the priority of the target radio interface extension is higher than the priority of the opened radio interface extension that conflicts with the target radio interface extension; if yes, perform step 309 to step 310; if not, end the execution. process.
需要说明的是,本发明实施例中,本步骤是可选的,即在步骤307的判断结果为是时,可以不经优先级顺序的判断而直接执行步骤309,或者,可以直接结束本次执行过程。It should be noted that, in the embodiment of the present invention, this step is optional. When the determination result in step 307 is YES, step 309 may be directly executed without determining the priority order, or the current step may be directly ended. Implementation process.
309、DH确定目标射频接口扩展为待开启的射频接口扩展,并命令NFCC关闭和待开启的射频接口扩展存在冲突的已开启的射频接口扩展。309. The DH determines that the target radio interface is extended to the radio interface extension to be opened, and commands the NFCC to be closed and the radio interface to be opened to extend the conflicted open radio interface extension.
本发明实施例中,由于不对已开启的射频接口扩展的数量进行限制,因此,所关闭的已开启的射频接口扩展不一定是所有已开启的射频接口扩展。即,如果只有一个已开启的射频接口扩展,且与目标射频接口扩展存在冲突,且优先级低于该目标射频接口扩展,则关闭该已开启的射频接口扩展;如果有多个已开启的射频接口扩展,且其中有M个射频接口扩展与目标射频接口扩展存在冲突,进一步地,这M个射频接口扩展中又有N个(M≥N)射频接口扩展的优先级低于目标射频接口扩展的优先级,那么,就关闭这N个已开启的射频接口扩展,而其他与目标射频接口扩展不存在冲突或不互斥的,或者即使存在冲突或互斥但优先级高于目标射频接口扩展的射频接口扩展,则还保持开启状态。In the embodiment of the present invention, since the number of open radio interface extensions is not limited, the closed radio interface expansion that is turned off is not necessarily all open radio interface extensions. That is, if only one of the enabled RF interfaces is extended and conflicts with the target radio interface extension, and the priority is lower than the target radio interface extension, the opened radio interface extension is closed; if there are multiple enabled radios The interface is extended, and there are M radio interface extensions that conflict with the target radio interface extension. Further, N (M≥N) radio interface extensions in the M radio interface extensions have lower priority than the target radio interface extension. Priority, then, the N open RF interface extensions are turned off, while others do not conflict or are mutually exclusive with the target RF interface extension, or have priority over the target RF interface extension even if there is a conflict or mutual exclusion. The RF interface extension is still open.
310、DH命令NFCC开启待开启的射频接口扩展。 310. The DH commands the NFCC to enable the radio interface extension to be opened.
311、DH根据冲突信息判断目标射频接口扩展之间是否存在冲突;如果是,则执行步骤312;如果否,则目标射频接口扩展作为待开启的射频接口扩展,执行步骤310。311. The DH determines, according to the conflict information, whether there is a conflict between the target radio interface extensions; if yes, step 312 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 310 is performed.
需要说明的是,本步骤是可选的。一方面是由于步骤305是可选的;另一方面是在执行步骤305的判断,并确定不存在已开启的射频接口扩展后,若目标射频接口扩展的数量为1,则也无需本步骤的判断,若其数量为多个,则可以执行本步骤。It should be noted that this step is optional. On the one hand, the step 305 is optional; on the other hand, after the step 305 is determined, and it is determined that there is no open RF interface extension, if the number of the target radio interface expansion is 1, the step is not needed. Judging, if the number is multiple, you can perform this step.
此外,当本步骤的执行结果为是时,也可以直接结束本次执行过程。In addition, when the execution result of this step is YES, the execution process can also be directly ended.
在本发明实施例中,增加步骤305和步骤311,可以在不存在已开启的射频接口扩展时,减少对目标射频接口扩展的判断过程和处理过程,从而省略步骤306至步骤309的执行过程。In the embodiment of the present invention, step 305 and step 311 are added to reduce the process of determining the target radio interface extension and the processing process when there is no open radio interface extension, so that the execution process of steps 306 to 309 is omitted.
312、DH根据目标射频接口扩展的优先级,在存在冲突的射频接口扩展中选择优先级最高的一个射频接口扩展,以及目标射频接口扩展之间不存在冲突的一个或多个射频接口扩展。312. The DH selects one radio interface extension with the highest priority and one or more radio interface extensions without conflict between the target radio interface extensions according to the priority of the target radio interface extension.
在本发明实施例中,可以采用类似上述实施例中所述的处理方式与确定方式从目标射频接口扩展中确定一个或多个作为待开启的射频接口扩展。具体地,存在冲突的射频接口扩展可以存在一组或多组。经过第一次分组,当存在一组存在冲突的射频接口扩展时,DH可以根据射频接口扩展的优先级,确定这一组存在冲的射频接口扩展中优先级最高的射频接口扩展,以及不存在冲突的射频接口扩展,将这些射频接口扩展作为可能开启的射频接口扩展。经过第一次分组,当存在多组存在冲突的射频接口扩展时,DH可以根据射频接口扩展的优先级,分别确定每组存在冲突的射频接口扩展中优先级最高的射频接口扩展。将每组优先级最高的射频接口扩展中不存在冲突的射频接口扩展确定为可能开启的射频接口扩展,且当每组优先级最高的射频接口扩展之间存在冲突时,则再将每组优先级最高的射频接口扩展中存在冲突的射频接口扩展划分为一组或多组。DH再根据参与第二次分组的射频接口扩展的优先级以及射频接口扩展的冲突情况,从第二次分组后的射频接口扩展确定哪些为可能开启的射频接口扩展。若存在已开启的射频接口扩展,再根据这些可能开启的射频接口扩展和已开启的 射频接口扩展的优先级,确定哪些射频接口扩展可以开启,或哪些射频接口扩展不可以开启,以及哪些射频接口扩展需要关闭。In the embodiment of the present invention, one or more radio frequency interface extensions to be opened are determined from the target radio interface extension according to the processing mode and the determining manner described in the foregoing embodiments. Specifically, there may be one or more groups of radio frequency interface extensions that have conflicts. After the first grouping, when there is a set of conflicting RF interface extensions, the DH can determine the highest priority radio interface extension in the set of the existing radio interface extensions and the non-existence according to the priority of the radio interface expansion. Conflicting RF interface extensions, extending these RF interfaces as possible RF interface extensions. After the first grouping, when there are multiple sets of conflicting RF interface extensions, the DH can determine the highest priority radio interface extension among the conflicting RF interface extensions according to the priority of the radio interface extension. Determining the RF interface expansion without conflicts in each of the highest priority RF interface extensions as a possible RF interface extension, and when there is a conflict between each of the highest priority RF interface extensions, then each group is prioritized. The conflicting RF interface extensions in the highest-level RF interface extension are divided into one or more groups. The DH then determines which radio interface extensions are possible to be opened from the radio interface extension after the second packet according to the priority of the radio interface extension participating in the second packet and the conflict condition of the radio interface extension. If there is an open RF interface extension, then according to these possible open RF interface expansion and open The priority of the radio interface is extended to determine which radio interface extensions can be enabled, or which radio interface extensions cannot be enabled, and which radio interface extensions need to be shut down.
在本发明实施例中,示例地,还可以通过将一个已激活的射频接口上可以开启的多个射频接口扩展按照优先级由高到低的顺序排列之后,根据各个射频接口扩展的冲突信息和开启状态来确定可以待开启的射频接口扩展,具体的执行过程如下:In the embodiment of the present invention, by way of example, after the multiple radio interface extensions that can be enabled on an activated radio interface are arranged in descending order of priority, the conflict information extended according to each radio interface is used. The status of the radio interface is enabled to determine the radio interface extension that can be enabled. The specific implementation process is as follows:
按照射频接口扩展的优先级由高到低的顺序依次选择第1个至第N个射频接口扩展,其中,N小于等于M,M为单个接口对应的射频接口扩展数量,N为大于等于2的整数。当选择第1个射频接口扩展时,则确定第1个射频接口扩展为目标射频接口扩展。当选择第2个射频接口扩展时,则根据冲突信息,判断第2个射频接口扩展是否和第1个射频接口扩展之间存在冲突;若不存在,则确定第2个射频接口扩展为目标射频接口扩展;若存在,则确定第2个射频接口扩展为不可开启射频接口扩展。当选择第N个射频接口扩展时,则根据冲突信息,判断第N个射频接口扩展是否和前N-1个射频接口扩展中的目标射频接口扩展之间存在冲突;若不存在,确定第N个射频接口扩展为目标射频接口扩展;若存在,确定第N个射频接口扩展为不可开启射频接口扩展;当不存在已开启的射频接口扩展时,将所有目标射频接口扩展确定为待开启的射频接口扩展;当存在已开启的射频接口扩展时,则根据冲突信息,分别判断目标射频接口扩展中的每个目标射频接口扩展是否和已开启的且优先级高于目标射频接口扩展对应的射频接口扩展之间存在冲突;若存在,则将目标射频接口扩展确定为不可开启射频接口扩展;若不存在,则将目标射频接口扩展确定为待开启的射频接口扩展。The first to the Nth radio interface extensions are selected in the order of the priority of the radio interface extension. The N is less than or equal to M, where M is the number of radio interface extensions corresponding to a single interface, and N is greater than or equal to 2. Integer. When the first radio interface extension is selected, it is determined that the first radio interface is extended to the target radio interface extension. When the second radio interface extension is selected, it is determined whether there is a conflict between the second radio interface extension and the first radio interface extension according to the conflict information; if not, the second radio interface is determined to be the target radio. The interface is extended; if it exists, it is determined that the second radio interface is expanded to be an unopenable radio interface extension. When the Nth radio interface extension is selected, it is determined whether there is a conflict between the Nth radio interface extension and the target radio interface extension in the first N-1 radio interface extensions according to the conflict information; if not, the Nth is determined. The radio interface is extended to the target radio interface. If yes, the Nth radio interface is expanded to be unreachable. If no radio interface expansion is enabled, all target radio interface extensions are determined as radios to be enabled. Interface expansion; when there is an extended RF interface extension, it is determined according to the conflict information whether each target RF interface extension in the target RF interface extension is equal to the opened RF interface corresponding to the priority of the target RF interface extension. There is a conflict between the extensions; if yes, the target radio interface extension is determined to be unreachable radio interface extension; if not, the target radio interface extension is determined to be the radio interface extension to be enabled.
需要说明的是,射频接口扩展的优先级的表现形式和射频接口扩展的优先级的获取方式,在本发明实施例中不作具体限定。其中,射频接口扩展的优先级的表现形式可以有多种,比如:DH可以根据冲突信息中射频接口扩展的排列顺序来区分射频接口扩展的优先级,如表二所示,冲突字节1和冲突字节2中射频接口扩展b7-b0可以按照优先级由高到低,或者由低到高的顺序排列;射频接口扩展的优先级的获取方式可以有多种,比如:DH可以根据存储的系统预置的优先级列表来获取射频接口扩展的优先级, 或者DH可以通过获取NFCC发送的单独的优先级列表来获取射频接口扩展的优先级,或者DH可以通过获取NFCC发送的射频接口扩展信息中每个射频接口扩展的排列顺序确定射频接口扩展的优先级,或者DH可以根据上述表三至表六的冲突列表中射频接口扩展的顺序来获取射频接口扩展的优先级。It should be noted that the priority of the radio interface extension and the manner of obtaining the priority of the radio interface extension are not specifically limited in the embodiment of the present invention. The priority of the radio interface extension can be different. For example, the DH can distinguish the priority of the radio interface extension according to the order of the radio interface extension in the conflict information. As shown in Table 2, the conflict byte 1 and The radio interface extension b7-b0 in the collision byte 2 can be arranged in descending order of priority, or from low to high. The priority of the radio interface extension can be obtained in various ways. For example, DH can be stored according to the The priority list of the system presets to obtain the priority of the radio interface extension. Or the DH can obtain the priority of the radio interface extension by obtaining a separate priority list sent by the NFCC, or the DH can determine the priority of the radio interface extension by obtaining the permutation order of each radio interface extension in the radio interface extension information sent by the NFCC. Or DH may obtain the priority of the radio interface extension according to the order of the radio interface extension in the conflict list in Tables 3 to 6 above.
再例如:如图8所示为DH从NFCC发送的初始化响应信息中获取冲突信息,并开启目标射频接口扩展中的至少一个的另一种方法流程图,即图3中步骤101具体实现为步骤1014时图3所示的另一种处理流程,具体执行过程如下:For another example, as shown in FIG. 8 , a flowchart of another method for obtaining the conflict information by the DH from the initialization response information sent by the NFCC, and enabling at least one of the target radio interface extensions, that is, step 101 in FIG. 3 is specifically implemented as steps. Another processing flow shown in Figure 3 at 1014 is as follows:
步骤401至步骤403和图7所示的步骤301至步骤303相同,在此不做赘述. Steps 401 to 403 are the same as steps 301 to 303 shown in FIG. 7, and are not described here.
404、经过射频发现过程,激活一个射频接口之后,DH确定n(n≥1)个目标射频接口扩展。404. After the radio frequency discovery process is activated, the DH determines n (n≥1) target radio interface extensions.
其中,所述射频发现过程以及射频接口的激活操作可以参考NCI协议,这里不再赘述。The radio frequency discovery process and the activation operation of the radio frequency interface may refer to the NCI protocol, and details are not described herein again.
405、判断n是否等于1;如果是,则执行步骤406;如果否,则执行步骤411。405. Determine whether n is equal to 1; if yes, execute step 406; if no, perform step 411.
406、判断是否存在已开启的射频接口扩展;如果是,则执行步骤407;如果否,则目标射频接口扩展作为待开启的射频接口扩展,执行步骤410。406. Determine whether there is an extended radio interface extension. If yes, go to step 407. If no, the target radio interface extension is used as the radio interface extension to be enabled. Step 410 is performed.
407、DH根据冲突信息判断所有射频接口扩展之间是否存在冲突;如果是,则执行步骤408;如果否,则目标射频接口扩展作为待开启的射频接口扩展,执行步骤410。408、判断目标射频接口扩展的优先级是否高于和目标射频接口扩展存在冲突的已开启的射频接口扩展的优先级;如果是,则执行步骤409至步骤410;如果否,则结束本次执行过程。407. The DH determines, according to the conflict information, whether there is a conflict between all the radio interface extensions; if yes, step 408 is performed; if not, the target radio interface extension is used as the radio interface extension to be opened, and step 410 is performed. 408, determining the target radio frequency Whether the priority of the interface extension is higher than the priority of the opened radio interface extension that conflicts with the target radio interface extension; if yes, step 409 to step 410; if not, the current execution process is terminated.
需要说明的是,本发明实施例中,本步骤是可选的,即在步骤407的判断结果为是时,可以不经优先级顺序的判断而直接执行步骤409,或者,可以直接结束本次执行过程。It should be noted that, in this embodiment of the present invention, this step is optional. When the determination result in step 407 is YES, step 409 may be directly executed without determining the priority order, or the current step may be directly ended. Implementation process.
409、DH确定目标射频接口扩展为待开启的射频接口扩展,并命令NFCC关闭和待开启的射频接口扩展存在冲突的已开启的射频接口扩展。 409. The DH determines that the target radio interface is extended to the radio interface extension to be opened, and the NFCC is closed and the radio interface extension to be opened is extended.
需要说明的是,本步骤所述的被确定为待开启的射频接口扩展的目标射频接口扩展不一定是步骤404中确定的目标射频接口扩展中所有的射频接口扩展。本发明实施例的具体操作方式,与前面实施例所述的处理方式和确定方式类似,这里不再赘述。It should be noted that the target radio frequency interface extension determined as the radio interface extension to be opened in this step is not necessarily all radio interface extensions in the target radio interface extension determined in step 404. The specific operation mode of the embodiment of the present invention is similar to the processing mode and the determining mode described in the foregoing embodiments, and details are not described herein again.
410、DH命令NFCC开启待开启的射频接口扩展。410. The DH commands the NFCC to open the radio interface extension to be opened.
411、DH根据冲突信息判断目标射频接口扩展之间是否存在冲突;如果是,则执行步骤412,或者,结束本次执行过程;如果否,则执行步骤406。411. The DH determines, according to the conflict information, whether there is a conflict between the target radio interface extensions; if yes, step 412 is performed, or the current execution process is ended; if not, step 406 is performed.
412、DH根据目标射频接口扩展的优先级,在存在冲突的射频接口扩展中选择优先级最高的一个射频接口扩展,以及目标射频接口扩展之间不存在冲突的一个或多个射频接口扩展。本步骤中,根据目标射频接口扩展的优先级进行选择的具体操作方式,与上述实施例所述的处理方式和确定方式相同,这里不再赘述。412. The DH selects one of the highest priority radio interface extensions in the conflicting radio interface extension and one or more radio interface extensions that do not conflict between the target radio interface extensions according to the priority of the target radio interface extension. In this step, the specific operation mode of selecting the priority of the target radio interface is the same as that of the foregoing embodiment, and is not described here.
再例如:DH可以从NFCC发送的射频接口激活通知消息中获取冲突信息,并确定目标射频接口扩展中的待开启的射频接口扩展的一种方法流程,即图3中步骤101具体实现为步骤1015时图3所示的处理流程,具体执行过程和图7、图8所示的执行过程类似。其中,DH获取NFCC发送的冲突信息的时机有所不同。本发明实施例中,DH在射频发现过程中接收NFCC激活某个射频接口之后发送的射频接口激活通知消息,其中包括上述冲突信息;而DH在确定至少一个目标射频接口扩展之后利用该冲突信息从中选择一个或多个作为待开启的射频接口扩展的处理过程,与图7中的步骤304至步骤312相同,或与图9中的步骤404至步骤412相同。For example, the DH can obtain the conflict information from the radio interface activation notification message sent by the NFCC, and determine a method flow of the radio interface expansion to be opened in the target radio interface extension, that is, step 101 in FIG. 3 is specifically implemented as step 1015. At the time of the processing flow shown in FIG. 3, the specific execution process is similar to the execution process shown in FIG. 7 and FIG. 8. Among them, the timing of the DH acquiring the conflict information sent by the NFCC is different. In the embodiment of the present invention, the DH receives the radio frequency interface activation notification message sent after the NFCC activates a certain radio frequency interface in the radio frequency discovery process, and includes the foregoing conflict information; and the DH uses the conflict information after determining the extension of the at least one target radio frequency interface. The process of selecting one or more of the radio frequency interface extensions to be turned on is the same as step 304 to step 312 in FIG. 7 or the same as step 404 to step 412 in FIG.
或者,DH还可以从NFCC发送的开启响应消息或开启通知消息中获取冲突信息,并确定目标射频接口扩展中的待开启的射频接口扩展的一种方法流程,即图3中步骤101具体实现为步骤1015时图3所示的处理流程,具体执行过程和图7、图8所示的执行过程类似,也是DH获取NFCC发送的冲突信息的时机有所不同。本发明实施例中,DH在使用某个已激活的射频接口过程中,向NFCC发送开启命令,例如在与对端的NFC终端进行的本次射频通信中,向NFCC第一次发送的开启命令,以开启一个或一组射频接口扩展, 然后接收NFCC返回的开启响应消息或开启通知消息,其中包括上述冲突信息;而DH在再次确定至少一个目标射频接口扩展之后利用该冲突信息,从至少一个目标射频接口扩展中选择一个或多个作为待开启的射频接口扩展的处理过程,与图7中的步骤304至步骤312相同,或与图8中的步骤404至步骤412相同。Alternatively, the DH may also obtain the conflict information from the start response message or the start notification message sent by the NFCC, and determine a method flow of the radio interface expansion to be opened in the target radio interface extension, that is, the step 101 in FIG. 3 is specifically implemented as In step 1015, the processing flow shown in FIG. 3 is similar to the execution process shown in FIG. 7 and FIG. 8. The timing of the DH acquiring the conflict information sent by the NFCC is different. In the embodiment of the present invention, the DH sends an open command to the NFCC during the use of an activated radio interface, for example, in the current radio communication with the NFC terminal of the opposite end, the first open command sent to the NFCC, To enable one or a set of RF interface extensions, And then receiving an open response message or an open notification message returned by the NFCC, where the conflict information is included; and the DH selects one or more of the at least one target radio interface extension by using the conflict information after determining the at least one target radio interface extension again. The process of the radio interface expansion to be opened is the same as step 304 to step 312 in FIG. 7 or the same as step 404 to step 412 in FIG.
本发明实施例提供的一种射频接口扩展的冲突解决方法,近场通信控制器NFCC向DH发送冲突信息,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由NFCC向DH发送冲突信息,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。其中,NFCC向DH发送冲突信息的方式包括多种,NFCC可以分别在3个不同的发送时机来向DH发送冲突信息,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。因此,NFCC可以通过多种不同的方式向DH发送冲突信息,并在DH开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The method for conflict resolution of the radio frequency interface extension is provided by the embodiment of the present invention. The near field communication controller NFCC sends the conflict information to the DH, and the main controller DH expands according to the obtained conflict information and the radio frequency interface corresponding to the activated radio interface. The target radio interface extension determined in the middle, and at least one of the target radio interface extensions is turned on. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio interface extension is directly enabled by the screening of the radio interface extension. In this embodiment, the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information. The RF interface expansion in the unopened RF interface extension corresponding to the RF interface. The manner in which the NFCC sends the conflict information to the DH includes multiple types. The NFCC can send the conflict information to the DH at three different transmission occasions, so that the DH enables the corresponding radio interface corresponding to the DH according to the conflict information. The RF interface extension in the open RF interface extension. Therefore, the NFCC can send the conflict information to the DH in a plurality of different manners, and when the multiple radio interface extensions are enabled in the DH, the conflict between the at least two radio interface extensions that are in the open state after the radio interface expansion is enabled is reduced. The probability of increasing communication efficiency.
本发明实施例提供一种射频接口扩展的冲突解决装置50,所述装置50用于实现如图2所示的方法,如图9所示,所述装置50包括:The embodiment of the present invention provides a radio frequency interface extended conflict resolution apparatus 50. The apparatus 50 is used to implement the method shown in FIG. 2. As shown in FIG. 9, the apparatus 50 includes:
获取模块51,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。The obtaining module 51 is configured to obtain conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
确定模块52,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展。The determining module 52 is configured to determine, as a target radio interface extension, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface.
执行模块53,用于根据所述冲突信息开启所述目标射频接口扩展中的至少一个。The executing module 53 is configured to enable at least one of the target radio frequency interface extensions according to the conflict information.
在本发明实施例的另一个实现方式中,所述装置50用于实现如图3所示的方法,所述获取模块51,具体用于接收近场通信控制器NFCC发送的射 频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息。In another implementation manner of the embodiment of the present invention, the device 50 is configured to implement the method shown in FIG. 3, and the acquiring module 51 is specifically configured to receive a shot sent by the near field communication controller NFCC. The frequency interface extends information and generates the conflict information, and the radio frequency interface extension information is used to indicate type information of the radio frequency interface extension corresponding to the at least one radio frequency interface.
或者,所述获取模块51,具体用于获取存储的系统预置的所述冲突信息。Alternatively, the obtaining module 51 is specifically configured to acquire the conflict information preset by the stored system.
或者,所述获取模块51,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息。Alternatively, the obtaining module 51 is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message.
或者,所述获取模块51,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息。Alternatively, the obtaining module 51 is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message.
或者,所述获取模块51,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息。Alternatively, the obtaining module 51 is specifically configured to receive an open response message or an open notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message.
其中,主控制器DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。There is at least one radio frequency interface between the main controller DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
在本发明实施例的另一个实现方式中,所述装置50用于实现如图4所示的方法,所述执行模块53,具体用于:In another implementation manner of the embodiment of the present invention, the device 50 is configured to implement the method as shown in FIG.
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。Determining, when the extended radio interface expansion is not present, and the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion At least one of the target radio interface extensions.
在本发明实施例的另一个实现方式中,所述装置50用于实现如图5所示的方法,所述执行模块53,具体用于:In another implementation manner of the embodiment of the present invention, the device 50 is configured to implement the method as shown in FIG. 5, and the executing module 53 is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。 Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension, where all the radio interfaces are The extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
在本发明实施例的另一个实现方式中,所述装置50用于实现如图6所示的方法,所述执行模块53,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。In another implementation manner of the embodiment of the present invention, the device 50 is configured to implement the method shown in FIG. 6 , and the execution module 53 is further configured to: according to the priority information extended by the radio frequency interface when there is a conflict, Turning off at least one of the opened radio interface extensions.
本发明实施例提供的一种射频接口扩展的冲突解决装置,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。According to an embodiment of the present invention, a conflict resolution apparatus for a radio frequency interface is extended, and the main controller DH opens the target radio frequency interface according to the acquired conflict information and the target radio frequency interface extension determined from the radio interface extension corresponding to the activated radio interface. At least one of the extensions. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. In the embodiment of the present invention, at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency. A conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
本发明实施例提供一种射频接口扩展的冲突解决装置60,如图10所示,所述装置60包括:The embodiment of the present invention provides a radio frequency interface extended conflict resolution device 60. As shown in FIG. 10, the device 60 includes:
发送模块61,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。The sending module 61 is configured to send the conflicting information to the main controller DH, where the conflicting information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
在本发明实施例的另一个实现方式中,所述发送模块61,具体用于在完成NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息。In another implementation manner of the embodiment of the present invention, the sending module 61 is specifically configured to send an initialization response message to the DH after the initialization of the NFCC is completed, where the initialization response message carries the conflict information.
或者,所述发送模61,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息。Alternatively, the sending mode 61 is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information.
或者,所述发送模61,具体用于在开启已激活射频接口对应的一个射频接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Or the sending mode 61 is specifically configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message is carried There is the conflict information.
本发明实施例提供的一种射频接口扩展的冲突解决装置,近场通信控 制器NFCC向DH发送冲突信息,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由NFCC向DH发送冲突信息,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。A radio frequency interface extended conflict resolution device provided by an embodiment of the present invention, near field communication control The controller NFCC sends the conflict information to the DH, and the main controller DH starts at least one of the target radio interface extensions according to the acquired conflict information and the target radio interface extension determined from the radio interface extension corresponding to the activated radio interface. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio interface extension is directly enabled by the screening of the radio interface extension. In this embodiment, the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information. The RF interface expansion in the unopened RF interface extension corresponding to the RF interface. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
本发明实施例提供一种主控制器DH70,所述DH70用于实现如图9所示的装置,如图11所示,所述DH70可包括存储器71、通信总线72和处理器73,其中,通信总线72包括用于存储器71和处理器73进行通信连接的总线,还包括用于所述DH70和其他设备或通信网络(例如但不限于以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local Area Network,WLAN)等)进行通信连接的总线。The embodiment of the present invention provides a main controller DH70, which is used to implement the apparatus shown in FIG. 9. As shown in FIG. 11, the DH 70 may include a memory 71, a communication bus 72, and a processor 73, where The communication bus 72 includes a bus for communication connection between the memory 71 and the processor 73, and includes a DH70 and other devices or communication networks (such as, but not limited to, Ethernet, Radio Access Network (RAN)). , Wireless Local Area Network (WLAN), etc. The bus for communication connection.
存储器71可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器71可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器71中,并由处理器73来执行。The memory 71 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 71 can store an operating system and other applications. The program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 71 and executed by the processor 73 when the technical solution provided by the embodiment of the present invention is implemented by software or firmware.
处理器73可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 73 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
应注意,尽管图11所示的硬件仅仅示出了存储器71、通信总线72和处理器73,但是在具体实现过程中,本领域的技术人员应当明白,该终端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。 It should be noted that although the hardware shown in FIG. 11 only shows the memory 71, the communication bus 72, and the processor 73, in the specific implementation process, those skilled in the art should understand that the terminal also needs to implement the normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
存储器71,用于存储包括程序指令的信息。The memory 71 is configured to store information including program instructions.
通信总线72,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。The communication bus 72 is configured to acquire conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
处理器73,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展,并根据所述通信总线72获取的所述冲突信息开启所述处理器73确定的所述目标射频接口扩展中的至少一个。The processor 73 is configured to determine at least one unopened radio frequency interface extension as a target radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface, and start the processing according to the conflict information acquired by the communication bus 72. At least one of the target radio frequency interface extensions determined by the controller 73.
在本发明实施例的另一个实现方式中,所述通信总线72,具体用于接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息。In another implementation manner of the embodiment of the present invention, the communication bus 72 is specifically configured to receive radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information, where the radio frequency interface extension information is used. And indicating type information of the radio frequency interface extension corresponding to the at least one radio frequency interface.
或者,所述通信总线72,具体用于获取存储的系统预置的所述冲突信息。Alternatively, the communication bus 72 is specifically configured to acquire the conflict information of the stored system preset.
或者,所述通信总线72,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息。Alternatively, the communication bus 72 is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message.
或者,所述通信总线72,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息。Alternatively, the communication bus 72 is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message.
或者,所述通信总线72,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息。Alternatively, the communication bus 72 is specifically configured to receive an open response message or an open notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message.
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
在本发明实施例的另一个实现方式中,所述处理器73,具体用于:In another implementation manner of the embodiment of the present invention, the processor 73 is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。 Determining, when the extended radio interface expansion is not present, and the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion At least one of the target radio interface extensions.
在本发明实施例的另一个实现方式中,所述处理器73,具体用于:In another implementation manner of the embodiment of the present invention, the processor 73 is specifically configured to:
根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension, where all the radio interfaces are The extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
在本发明实施例的另一个实现方式中,在所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突之后,所述处理器73,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。In another implementation manner of the embodiment of the present invention, when the DH is based on the open state of the radio interface expansion corresponding to the activated radio interface, the DH determines that when there is an open radio interface extension, all After the radio interface expansion occurs, the processor 73 is further configured to: when there is a conflict, close at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
本发明实施例提供的一种主控制器DH,根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由DH根据冲突信息,开启目标射频接口扩展中的至少一个,从而避免了因射频接口扩展之间存在冲突而导致的开启失败,或者开启后执行相应功能时发生冲突。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The main controller DH according to the embodiment of the present invention opens at least one of the target radio frequency interface extensions according to the acquired conflict information and the target radio frequency interface extension determined in the radio frequency interface extension corresponding to the activated radio frequency interface. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, at least one radio frequency interface extension is directly enabled by the screening of the radio frequency interface extension. In the embodiment of the present invention, at least one of the target radio frequency interface extensions can be enabled by the DH according to the conflict information, thereby avoiding the radio frequency. A conflict occurs when there is a conflict between interface extensions, or a conflict occurs when the corresponding function is executed after being turned on. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
本发明实施例提供一种近场通信控制器NFCC80,所述NFCC80用于实现如图10所示的装置,如图12所示,所述NFCC80可包括存储器81、通信总线82和处理器83,其中,通信总线82包括用于存储器81和处理器83进行通信连接的总线,还包括用于所述NFCC80和其他设备或通信网络(例如但不限于以太网,无线接入网(Radio Access Network,RAN),无线局域网(Wireless Local Area Network,WLAN)等)进行通信连接的总线。The embodiment of the present invention provides a near field communication controller NFCC80, which is used to implement the apparatus shown in FIG. 10. As shown in FIG. 12, the NFCC 80 may include a memory 81, a communication bus 82, and a processor 83. The communication bus 82 includes a bus for the communication connection between the memory 81 and the processor 83, and includes the NFCC 80 and other devices or communication networks (such as, but not limited to, Ethernet, Radio Access Network, Radio Access Network, RAN), a wireless local area network (WLAN), etc., a bus for communication connection.
存储器81可以是只读存储器(Read Only Memory,ROM),静态存储设 备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器81可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器81中,并由处理器83来执行。The memory 81 can be a read only memory (ROM), a static storage device. Standby, dynamic storage device or random access memory (RAM). The memory 81 can store an operating system and other applications. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 81 and executed by the processor 83.
处理器83可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 83 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
应注意,尽管图12所示的硬件仅仅示出了存储器81、通信总线82和处理器83,但是在具体实现过程中,本领域的技术人员应当明白,该终端还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。It should be noted that although the hardware shown in FIG. 12 only shows the memory 81, the communication bus 82, and the processor 83, in a specific implementation process, those skilled in the art will understand that the terminal also includes the necessary operations for normal operation. Other devices. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
存储器81,用于存储包括程序指令的信息。The memory 81 is configured to store information including program instructions.
通信总线82,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。The communication bus 82 is configured to send the conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface.
其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
在本发明实施例的另一个实现方式中,所述通信总线82,具体用于在完成所述NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息。In another implementation manner of the embodiment of the present invention, the communication bus 82 is specifically configured to send an initialization response message to the DH after completing the initialization of the NFCC, where the initialization response message carries the conflict information. .
或者,所述通信总线82,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息。Alternatively, the communication bus 82 is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information.
或者,所述通信总线82,具体用于在开启已激活射频接口对应的一个射频接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Or the communication bus 82 is configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message is carried. There is the conflict information.
本发明实施例提供的一种近场通信控制器NFCC,向DH发送冲突信息,主控制器DH根据获取的冲突信息,以及从已激活的射频接口对应的射频接口扩展中确定的目标射频接口扩展,开启目标射频接口扩展中的至少一 个。其中,冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突。相比较于现有技术中,不经过射频接口扩展的筛选,直接开启至少一个射频接口扩展,本发明实施例可以由NFCC向DH发送冲突信息,以便于所述DH根据所述冲突信息开启已激活的射频接口对应的未开启的射频接口扩展中的射频接口扩展。因此,DH在开启多个射频接口扩展时,降低了在开启射频接口扩展之后,处于开启状态的至少两个射频接口扩展之间存在冲突的概率,进而提高了通信效率。The near field communication controller NFCC provided by the embodiment of the present invention sends conflict information to the DH, and the main controller DH expands according to the acquired conflict information and the target radio frequency interface determined from the radio interface extension corresponding to the activated radio interface. , turning on at least one of the target RF interface extensions One. The conflict information is used to indicate that there is a conflict between at least two radio interface extensions corresponding to the at least one radio interface. Compared with the prior art, the at least one radio interface extension is directly enabled by the screening of the radio interface extension. In this embodiment, the NFCC may send the conflict information to the DH, so that the DH is activated according to the conflict information. The RF interface expansion in the unopened RF interface extension corresponding to the RF interface. Therefore, when multiple radio interface extensions are enabled, the DH reduces the probability of collision between at least two radio interface extensions that are in the on state after the radio interface expansion is enabled, thereby improving communication efficiency.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (21)

  1. 一种射频接口扩展的冲突解决方法,其特征在于,所述方法包括:A method for conflict resolution of radio frequency interface extension, characterized in that the method comprises:
    主控制器DH获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;The master controller DH obtains conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    所述DH从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展;Determining, by the DH, at least one unopened radio frequency interface extension from the radio frequency interface extension corresponding to the activated radio frequency interface as the target radio frequency interface extension;
    所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个。The DH turns on at least one of the target radio frequency interface extensions according to the conflict information.
  2. 根据权利要求1所述的方法,其特征在于,所述DH获取冲突信息,包括:The method according to claim 1, wherein the DH acquires conflict information, including:
    所述DH接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;The DH receives the radio frequency interface extension information sent by the near field communication controller NFCC, and generates the conflict information, where the radio frequency interface extension information is used to indicate type information of the radio frequency interface extension corresponding to the at least one radio frequency interface;
    或者,所述DH获取存储的系统预置的所述冲突信息;Or the DH acquires the conflict information of the stored system preset;
    或者,所述DH接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the DH receives an initialization response message sent by the NFCC, and obtains the conflict information from the initialization response message;
    或者,所述DH接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the DH receives the radio frequency interface activation notification message sent by the NFCC, and obtains the conflict information from the radio frequency interface activation notification message;
    或者,所述DH接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the DH receives an open response message or an open notification message sent by the NFCC, and obtains the conflict information from the open response message or the open notification message;
    其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  3. 根据权利要求1或2所述的方法,其特征在于,所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,包括:The method according to claim 1 or 2, wherein the DH starts at least one of the target radio interface extension according to the conflict information, including:
    所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, the DH, when there is no open radio interface extension, and the target radio interface extension includes at least two radio interface extensions Whether there is a conflict between the at least two target radio interface extensions;
    当不存在冲突时,则所述DH开启所述至少两个目标射频接口扩展;When there is no conflict, the DH starts the at least two target radio frequency interface extensions;
    当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述 至少两个目标射频接口扩展中的至少一个。When there is a conflict, the DH turns on the priority information according to the radio interface extension. At least one of at least two target radio interface extensions.
  4. 根据权利要求1或2所述的方法,其特征在于,所述DH根据所述冲突信息开启所述目标射频接口扩展中的至少一个,包括:The method according to claim 1 or 2, wherein the DH starts at least one of the target radio interface extension according to the conflict information, including:
    所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;Determining, by the DH, whether there is a conflict between all the radio frequency interface extensions when there is an extended radio frequency interface extension according to the opening status of the radio interface extension corresponding to the activated radio interface, All radio frequency interface extensions include the target radio frequency interface extension and the opened radio frequency interface extension;
    当不存在冲突时,则所述DH开启所有目标射频接口扩展;When there is no conflict, the DH enables all target radio interface extensions;
    当存在冲突时,则所述DH根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。When there is a conflict, the DH turns on at least one of the all target radio interface extensions according to the priority information of the radio interface extension.
  5. 根据权利要求4所述的方法,其特征在于,在所述DH根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突之后,所述方法还包括:The method according to claim 4, wherein when the DH is based on the open state of the radio interface extension corresponding to the activated radio interface, the DH determines that when there is an open radio interface extension, After there is a conflict between all radio interface extensions, the method further includes:
    当存在冲突时,则所述DH根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。When there is a conflict, the DH turns off at least one of the opened radio interface extensions according to the priority information of the radio interface extension.
  6. 一种射频接口扩展的冲突解决方法,其特征在于,所述方法包括:A method for conflict resolution of radio frequency interface extension, characterized in that the method comprises:
    近场通信控制器NFCC向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;The near field communication controller NFCC sends the conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between the at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  7. 根据权利要求6所述的方法,其特征在于,所述NFCC向所述DH发送冲突信息,包括:The method according to claim 6, wherein the NFCC sends conflict information to the DH, including:
    在完成所述NFCC的初始化之后,所述NFCC向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;After completing the initialization of the NFCC, the NFCC sends an initialization response message to the DH, where the initialization response message carries the conflict information;
    或者,在激活一个射频接口之后,所述NFCC向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or, after activating a radio interface, the NFCC sends a radio interface activation notification message to the DH, where the radio interface activation notification message carries the conflict information;
    或者,在开启已激活射频接口对应的一个射频接口扩展之后,所述NFCC向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开 启通知消息携带有所述冲突信息。Or, after the radio interface extension corresponding to the activated radio interface is enabled, the NFCC sends an open response message or a start notification message to the DH, where the open response message or the open The notification message carries the conflict information.
  8. 一种射频接口扩展的冲突解决装置,其特征在于,所述装置包括:A radio frequency interface extended conflict resolution device, characterized in that the device comprises:
    获取模块,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;An acquiring module, configured to obtain conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    确定模块,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展;a determining module, configured to determine at least one unopened radio frequency interface extension from the radio interface extension corresponding to the activated radio interface as the target radio interface extension;
    执行模块,用于根据所述冲突信息开启所述目标射频接口扩展中的至少一个。And an execution module, configured to enable at least one of the target radio interface extensions according to the conflict information.
  9. 根据权利要求8所述的装置,其特征在于,所述获取模块,具体用于接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;The apparatus according to claim 8, wherein the acquiring module is configured to receive radio frequency interface extension information sent by the near field communication controller NFCC, and generate the conflict information, where the radio frequency interface extension information is used. Indicates type information of the radio interface extension corresponding to the at least one radio interface;
    或者,所述获取模块,具体用于获取存储的系统预置的所述冲突信息;Or the acquiring module is specifically configured to acquire the conflict information preset by the stored system;
    或者,所述获取模块,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the acquiring module is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
    或者,所述获取模块,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the acquiring module is configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
    或者,所述获取模块,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the acquiring module is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
    其中,主控制器DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。There is at least one radio frequency interface between the main controller DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  10. 根据权利要求8或9所述的装置,其特征在于,所述执行模块,具体用于:The device according to claim 8 or 9, wherein the execution module is specifically configured to:
    根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接 口扩展中的至少一个。Determining, when the extended radio interface expansion is not present, and the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion Target RF connection At least one of the port extensions.
  11. 根据权利要求8或9所述的装置,其特征在于,所述执行模块,具体用于:The device according to claim 8 or 9, wherein the execution module is specifically configured to:
    根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。Determining, according to the open state of the radio interface extension corresponding to the activated radio interface, whether there is a conflict between all radio interface extensions when there is an extended radio interface extension, where all the radio interfaces are The extension includes the target radio interface extension and the opened radio interface extension; when there is no conflict, all target radio interface extensions are enabled; when there is a conflict, all the targets are opened according to the priority information of the radio interface extension At least one of the RF interface extensions.
  12. 根据权利要求11所述的装置,其特征在于,所述执行模块,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。The apparatus according to claim 11, wherein the execution module is further configured to close at least one of the opened radio frequency interface extensions according to priority information of the radio frequency interface extension when there is a conflict.
  13. 一种射频接口扩展的冲突解决装置,其特征在于,所述装置包括:A radio frequency interface extended conflict resolution device, characterized in that the device comprises:
    发送模块,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;a sending module, configured to send a conflicting information to the main controller DH, where the conflicting information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  14. 根据权利要求13所述的装置,其特征在于,所述发送模块,具体用于在完成NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;The apparatus according to claim 13, wherein the sending module is configured to: after completing initialization of the NFCC, send an initialization response message to the DH, where the initialization response message carries the conflict information;
    或者,所述发送模,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or the sending mode is specifically configured to send a radio frequency interface activation notification message to the DH after the activation of a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
    或者,所述发送模,具体用于在开启已激活射频接口对应的一个射频接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。Or the sending mode is specifically configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message carries The conflict information.
  15. 一种主控制器DH,其特征在于,包括:A main controller DH, comprising:
    通信总线,用于获取冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突; a communication bus, configured to acquire conflict information, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    处理器,用于从已激活的射频接口对应的射频接口扩展中确定至少一个未开启的射频接口扩展作为目标射频接口扩展,并根据所述接收器获取的所述冲突信息开启所述处理器确定的所述目标射频接口扩展中的至少一个。a processor, configured to determine at least one unopened radio frequency interface extension as a target radio frequency interface extension from a radio frequency interface extension corresponding to the activated radio frequency interface, and enable the processor to determine according to the conflict information acquired by the receiver At least one of the target radio frequency interface extensions.
  16. 根据权利要求15所述的DH,其特征在于,所述通信总线,具体用于接收近场通信控制器NFCC发送的射频接口扩展信息,并生成所述冲突信息,所述射频接口扩展信息用于表示所述至少一个射频接口对应的射频接口扩展的类型信息;The DH according to claim 15, wherein the communication bus is specifically configured to receive radio frequency interface extension information sent by a near field communication controller NFCC, and generate the conflict information, where the radio frequency interface extension information is used. Indicates type information of the radio interface extension corresponding to the at least one radio interface;
    或者,所述通信总线,具体用于获取存储的系统预置的所述冲突信息;Or the communication bus is specifically configured to acquire the conflict information preset by the stored system;
    或者,所述通信总线,具体用于接收所述NFCC发送的初始化响应消息,并从所述初始化响应消息中获取所述冲突信息;Or the communication bus is specifically configured to receive an initialization response message sent by the NFCC, and obtain the conflict information from the initialization response message;
    或者,所述通信总线,具体用于接收所述NFCC发送的射频接口激活通知消息,并从所述射频接口激活通知消息中获取所述冲突信息;Or the communication bus is specifically configured to receive a radio frequency interface activation notification message sent by the NFCC, and obtain the conflict information from the radio frequency interface activation notification message;
    或者,所述通信总线,具体用于接收所述NFCC发送的开启响应消息或开启通知消息,并从所述开启响应消息或所述开启通知消息中获取所述冲突信息;Or the communication bus is specifically configured to receive an open response message or a start notification message sent by the NFCC, and obtain the conflict information from the open response message or the open notification message;
    其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  17. 根据权利要求15或16所述的DH,其特征在于,所述处理器,具体用于:The DH according to claim 15 or 16, wherein the processor is specifically configured to:
    根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开启状况,判断当不存在已开启的射频接口扩展且所述目标射频接口扩展包括至少两个射频接口扩展时,所述至少两个目标射频接口扩展之间是否存在冲突;当不存在冲突时,开启所述至少两个目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述至少两个目标射频接口扩展中的至少一个。Determining, when the extended radio interface expansion is not present, and the target radio interface extension includes at least two radio frequency interface extensions, according to the open state of the radio interface extension corresponding to the activated radio interface, Whether there is a conflict between the at least two target radio interface extensions; when there is no conflict, the at least two target radio interface extensions are enabled; when there is a conflict, the at least two are enabled according to the priority information of the radio interface expansion At least one of the target radio interface extensions.
  18. 根据权利要求15或16所述的DH,其特征在于,所述处理器,具体用于:The DH according to claim 15 or 16, wherein the processor is specifically configured to:
    根据所述冲突信息与所述已激活的射频接口对应的射频接口扩展的开 启状况,判断当存在已开启的射频接口扩展时,所有射频接口扩展之间是否存在冲突,其中,所述所有射频接口扩展包括所述目标射频接口扩展与所述已开启的射频接口扩展;当不存在冲突时,开启所有目标射频接口扩展;当存在冲突时,根据射频接口扩展的优先级信息,开启所述所有目标射频接口扩展中的至少一个。Opening the radio frequency interface extension corresponding to the activated radio frequency interface according to the conflict information And determining whether there is a conflict between all the radio frequency interface extensions when there is an extended radio frequency interface extension, where all the radio frequency interface extensions include the target radio frequency interface extension and the opened radio frequency interface extension; When there is no conflict, all target radio interface extensions are enabled; when there is a conflict, at least one of the target radio interface extensions is turned on according to the priority information of the radio interface extension.
  19. 根据权利要求18所述的DH,其特征在于,所述处理器,还用于当存在冲突时,根据射频接口扩展的优先级信息,关闭所述已开启的射频接口扩展中的至少一个。The DH according to claim 18, wherein the processor is further configured to: when there is a conflict, turn off at least one of the opened radio interface extensions according to priority information of the radio interface extension.
  20. 一种近场通信控制器NFCC,其特征在于,包括:A near field communication controller NFCC, comprising:
    通信总线,用于向主控制器DH发送冲突信息,所述冲突信息用于表示至少一个射频接口对应的至少两个射频接口扩展之间存在冲突;a communication bus, configured to send conflict information to the main controller DH, where the conflict information is used to indicate that there is a conflict between at least two radio frequency interface extensions corresponding to the at least one radio frequency interface;
    其中,所述DH与所述NFCC之间存在至少一个射频接口,一个射频接口对应一个或多个射频接口扩展。At least one radio frequency interface exists between the DH and the NFCC, and one radio frequency interface corresponds to one or more radio frequency interface extensions.
  21. 根据权利要求20所述的NFCC,其特征在于,所述通信总线,具体用于在完成所述NFCC的初始化之后,向所述DH发送初始化响应消息,所述初始化响应消息携带有所述冲突信息;The NFCC according to claim 20, wherein the communication bus is specifically configured to send an initialization response message to the DH after completing initialization of the NFCC, where the initialization response message carries the conflict information ;
    或者,所述通信总线,具体用于在激活一个射频接口之后,向所述DH发送射频接口激活通知消息,所述射频接口激活通知消息携带有所述冲突信息;Or the communication bus is specifically configured to send a radio frequency interface activation notification message to the DH after activating a radio frequency interface, where the radio frequency interface activation notification message carries the conflict information;
    或者,所述通信总线,具体用于在开启已激活射频接口对应的一个射频接口扩展之后,向所述DH发送开启响应消息或开启通知消息,所述开启响应消息或所述开启通知消息携带有所述冲突信息。 Or the communication bus is specifically configured to send an open response message or a start notification message to the DH after the radio interface extension corresponding to the activated radio interface is enabled, where the open response message or the open notification message carries The conflict information.
PCT/CN2015/079733 2015-05-25 2015-05-25 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension WO2016187789A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2015/079733 WO2016187789A1 (en) 2015-05-25 2015-05-25 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension
CN201580039969.2A CN106575981A (en) 2015-05-25 2015-05-25 Method, device, DH, and NFCC for resolving conflict in radiofrequency interface extension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/079733 WO2016187789A1 (en) 2015-05-25 2015-05-25 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension

Publications (1)

Publication Number Publication Date
WO2016187789A1 true WO2016187789A1 (en) 2016-12-01

Family

ID=57392368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079733 WO2016187789A1 (en) 2015-05-25 2015-05-25 Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension

Country Status (2)

Country Link
CN (1) CN106575981A (en)
WO (1) WO2016187789A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501581A (en) * 2022-01-18 2022-05-13 无锡融卡科技有限公司 Processing method and device for reducing DH frequent operation NFCC

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1839373A (en) * 2002-12-30 2006-09-27 英特尔公司 Sharing a radio frequency interface resource
US20110275316A1 (en) * 2010-05-10 2011-11-10 Nokia Corporation Device to device connection setup using near-field communication
CN103503323A (en) * 2013-03-05 2014-01-08 华为终端有限公司 Radio frequency communication method, device, and terminal equipment for near field communication
CN103765791A (en) * 2013-01-24 2014-04-30 华为终端有限公司 Near field communication radio frequency discovery control method, device and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014146229A1 (en) * 2013-03-18 2014-09-25 华为终端有限公司 Communication method and apparatus for nfc device, and nfc device
US10397276B2 (en) * 2014-04-01 2019-08-27 Huawei Device Co., Ltd. Secure element management method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1839373A (en) * 2002-12-30 2006-09-27 英特尔公司 Sharing a radio frequency interface resource
US20110275316A1 (en) * 2010-05-10 2011-11-10 Nokia Corporation Device to device connection setup using near-field communication
CN103765791A (en) * 2013-01-24 2014-04-30 华为终端有限公司 Near field communication radio frequency discovery control method, device and terminal device
CN103503323A (en) * 2013-03-05 2014-01-08 华为终端有限公司 Radio frequency communication method, device, and terminal equipment for near field communication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501581A (en) * 2022-01-18 2022-05-13 无锡融卡科技有限公司 Processing method and device for reducing DH frequent operation NFCC

Also Published As

Publication number Publication date
CN106575981A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
EP3002962B1 (en) Wireless proximity pairing of user-interface devices
US10568150B2 (en) Techniques for automatically establishing a long-lasting connection across computing devices configured for short-range wireless communication
US20170359786A1 (en) Broadcasting, and scanning for wireless communication
JP5976978B2 (en) Automatic selection of adjustment functions in hybrid communication networks
KR102081760B1 (en) Routing method, near field communication controller, device host, and terminal
US11082856B2 (en) Method and device for connecting device in short-range wireless communication system
US9736878B2 (en) NFC radio frequency communication control method, apparatus, and system
US20130165047A1 (en) Wireless communication device and wireless communication method
US9351101B2 (en) Communication method and apparatus for NFC device and NFC device
US20150133052A1 (en) Device selection
CN105636161A (en) Wireless network access method and device, communication terminal and wireless network access point
JP6858200B2 (en) Methods for routing data frames, near field communication controllers, and terminals
WO2016187789A1 (en) Method, device, dh, and nfcc for resolving conflict in radiofrequency interface extension
US10635606B2 (en) Method and apparatus for maintaining continuity of on-going session over wired or wireless interface
WO2017201682A1 (en) Routing configuration method and apparatus for non-contact application
WO2017000244A1 (en) Radio frequency finding method, chip and device
JP7219300B2 (en) Continuous short-range wireless detection of user devices using background applications
CN112235842A (en) Communication method and device of Internet of things equipment
US10033625B2 (en) Loop avoidance in repeater networks
US8351343B1 (en) Efficient change recognition algorithm
US20130252555A1 (en) Apparatus and method for link setup using electric field
JP2020535733A (en) Data generation method, logical channel setting method, terminal equipment and chip
US10080127B2 (en) Network communication method
WO2018090381A1 (en) Connecting device between accessing terminals and radio communication device
CN102955923A (en) Method and device for preventing communication conflict

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15892870

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15892870

Country of ref document: EP

Kind code of ref document: A1