[go: up one dir, main page]

CN106973358B - Communication connection method and terminal - Google Patents

Communication connection method and terminal Download PDF

Info

Publication number
CN106973358B
CN106973358B CN201710112373.1A CN201710112373A CN106973358B CN 106973358 B CN106973358 B CN 106973358B CN 201710112373 A CN201710112373 A CN 201710112373A CN 106973358 B CN106973358 B CN 106973358B
Authority
CN
China
Prior art keywords
carrier
radio frequency
frequency field
field direction
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710112373.1A
Other languages
Chinese (zh)
Other versions
CN106973358A (en
Inventor
张子敬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xinjiang Hanghan Technology Co ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710112373.1A priority Critical patent/CN106973358B/en
Publication of CN106973358A publication Critical patent/CN106973358A/en
Application granted granted Critical
Publication of CN106973358B publication Critical patent/CN106973358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Landscapes

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

Abstract

本发明公开了一种通信连接方法及终端,其中通信连接方法,用于第一终端,包括:检测当前射频场方向;在预先建立的射频场方向与载波策略的对应关系中,查找当前射频场方向对应的当前载波策略;将当前载波策略加入切换请求中,基于载波切换请求与第二终端建立通信连接。本发明根据检测当前通信的射频场方向,在预先根据不同应用场景灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,满足用户的指定需求,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。

The invention discloses a communication connection method and a terminal, wherein the communication connection method is used for the first terminal, including: detecting the current radio frequency field direction; searching the current radio frequency field in the pre-established corresponding relationship between the radio frequency field direction and the carrier strategy The current carrier strategy corresponding to the direction; adding the current carrier strategy to the switching request, and establishing a communication connection with the second terminal based on the carrier switching request. According to the detection of the radio frequency field direction of the current communication, the present invention finds the current carrier strategy of the current radio frequency field direction in the corresponding relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to different application scenarios, so as to meet the specified needs of users and can quickly switch out The carrier request with the highest priority helps users complete data transmission quickly, thereby enhancing transmission efficiency.

Description

一种通信连接方法及终端A communication connection method and terminal

技术领域technical field

本发明涉及通信技术领域,具体涉及一种通信连接方法及终端。The present invention relates to the technical field of communication, in particular to a communication connection method and a terminal.

背景技术Background technique

随着通信技术的发展,各种通信方式得到广泛应用,如NFC为近距离无线通信技术,用于满足任何两个无线设备间的信息交换、内容访问和服务交换,一般通过切换请求方向切换选择方发送切换请求消息,切换选择方收到切换请求消息后,比较自己所支持的通信载波技术并向切换请求方切换选择消息,若双方支持的通信载波技术无法匹配,则选择方将返回一个不包含任何可选载波技术的切换选择消息,由此建立出载波通信。With the development of communication technology, various communication methods are widely used. For example, NFC is a short-range wireless communication technology, which is used to meet the information exchange, content access and service exchange between any two wireless devices. Generally, it is selected by switching the direction of the switching request. After receiving the handover request message, the handover selector compares the communication carrier technologies supported by itself and sends a handover selection message to the handover requester. If the communication carrier technologies supported by both parties cannot match, the selector will return an incorrect message. A handover selection message containing any optional carrier technology from which carrier communication is established.

现有技术中也出现了一些通信连接方法,通常使用固定默认可选载波优先级的方式来指定优选的载波技术,如:可选载波为Wifi和Bluetooth,终端默认Wifi在前,则处于前边的Wifi,其优先级高于后边的Bluetooth,如若选择终端不支持Wifi,才会考虑使用Bluetooth。虽然该目前的现有技术使用固定优先级的方式选择最优载波,但是在某些场景中,因不能提供可灵活更改或切换的优先级策略,会影响数据传输速度,如:在数据传输的过程中,对于正在使用的载波而言,因无法切换其它载波代替当前载波,只能继续选择当前载波进行数据传输,所以无法灵活更改可选载波顺序,故造成切换效率和传输效率降低,使用户体验变差。There are also some communication connection methods in the prior art. Usually, the preferred carrier technology is specified by using a fixed default optional carrier priority. For example, the optional carrier is Wifi and Bluetooth, and the default Wifi of the terminal is in front, so it is in the front Wifi has a higher priority than Bluetooth. If the selected terminal does not support Wifi, Bluetooth will be considered. Although the current existing technology uses a fixed priority method to select the optimal carrier, in some scenarios, because it cannot provide a priority strategy that can be changed or switched flexibly, it will affect the data transmission speed, such as: in the data transmission During the process, for the carrier in use, because it is impossible to switch other carriers to replace the current carrier, it can only continue to select the current carrier for data transmission, so it is impossible to flexibly change the order of optional carriers, which reduces the switching efficiency and transmission efficiency, making users The experience gets worse.

发明内容Contents of the invention

有鉴于此,本发明实施例提供了一种通信连接方法,以解决载波切换效率差和信息传输速度慢的问题。In view of this, an embodiment of the present invention provides a communication connection method to solve the problems of poor carrier switching efficiency and slow information transmission speed.

本发明第一方面提供了一种通信连接方法,用于第一终端,包括:检测当前射频场方向;在预先建立的射频场方向与载波策略的对应关系中, 查找所述当前射频场方向对应的当前载波策略;将所述当前载波策略加入切换请求中,基于载波切换请求与第二终端建立通信连接。The first aspect of the present invention provides a communication connection method for a first terminal, including: detecting the current radio frequency field direction; in the pre-established correspondence between the radio frequency field direction and the carrier strategy, searching for the correspondence between the current radio frequency field direction the current carrier strategy; adding the current carrier strategy to the switching request, and establishing a communication connection with the second terminal based on the carrier switching request.

通过实施第一方面描述的方法,可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。By implementing the method described in the first aspect, the current carrier strategy of the current radio frequency field direction can be searched in the correspondence relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to the needs of users according to the detection of the radio frequency field direction of the current communication, which can quickly Switch out the carrier request with the highest priority to help users quickly complete data transmission, thereby enhancing transmission efficiency.

结合本发明第一方面,本发明第一方面第一实施方式中,所述预先建立的射频场方向与载波策略的对应关系,包括:第一射频场方向对应第一载波策略;第二射频场方向对应第二载波策略,其中所述第一射频场方向与所述第二射频场方向不同。In combination with the first aspect of the present invention, in the first embodiment of the first aspect of the present invention, the pre-established correspondence between the radio frequency field direction and the carrier strategy includes: the first radio frequency field direction corresponds to the first carrier strategy; the second radio frequency field direction corresponds to the first carrier strategy; The direction corresponds to a second carrier strategy, wherein the first radio frequency field direction is different from the second radio frequency field direction.

通过执行上述步骤,预先建立的射频场方向与载波策略的对应关系是根据不同的应用场景,为满足用户的需求,故建立出一套载波策略,通过设定不同方向的射频场和载波策略的对应关系,选择出对应载波作为后续通信载体,如通过指定第一射频场方向和第二射频场方向分别对应各自的载波策略从而满足用户需求,可在多个不同的应用场景下,能解决载波传输速度慢的局限性。By performing the above steps, the pre-established corresponding relationship between the direction of the radio frequency field and the carrier strategy is based on different application scenarios. In order to meet the needs of users, a set of carrier strategies is established. Corresponding relationship, select the corresponding carrier as the subsequent communication carrier, such as specifying the first radio frequency field direction and the second radio frequency field direction to correspond to their respective carrier strategies to meet user needs, and can solve the problem of carrier communication in many different application scenarios The limitation of slow transfer speed.

结合本发明第一方面,本发明第一方面第二实施方式中,所述查找所述当前射频场方向对应的当前载波策略,包括:在所述对应关系中查找与所述当前射频场方向相同的射频场方向;将查找到的射频场方向对应的载波策略作为当前载波策略。In combination with the first aspect of the present invention, in the second implementation manner of the first aspect of the present invention, the searching for the current carrier strategy corresponding to the current radio frequency field direction includes: searching for the same carrier strategy as the current radio frequency field direction in the corresponding relationship. The RF field direction; use the carrier strategy corresponding to the found RF field direction as the current carrier strategy.

通过执行上述步骤,当载波切换请求生成的过程中,切换请求方首先检测射频场方向,然后在对应关系中,根据当前射频场方向查找并核实与其相同的射频场方向,于是就检索出与之对应的载波策略,如查找出第一射频场方向,Wifi优先,则用户可使用WiFi作为协商载波传输信息,显而易见,在某种场合下,可快速生成载波请求,故提高了切换速度,进而与切换选择方建立通信后,快速完成载波的数据传输,又加快传输速度。By performing the above steps, when the carrier switching request is generated, the handover requester first detects the direction of the radio frequency field, and then searches and verifies the direction of the same radio frequency field according to the current direction of the radio frequency field in the corresponding relationship, and then retrieves the direction corresponding to it For the corresponding carrier strategy, if the direction of the first radio frequency field is found out and Wifi is given priority, the user can use WiFi as the negotiated carrier to transmit information. Obviously, in a certain situation, the carrier request can be quickly generated, so the switching speed is improved, and then with After the handover selector establishes communication, the data transmission of the carrier is quickly completed, and the transmission speed is accelerated.

结合本发明第一方面,本发明第一方面第三实施方式中,所述将所述载波切换请求发送至第二终端,以使所述第二终端根据所述载波切换请求 选择承载的载波;接收所述第二终端发送的载波选择消息;根据所述载波选择消息建立与所述第二终端的通信连接。In combination with the first aspect of the present invention, in the third implementation manner of the first aspect of the present invention, the sending the carrier switching request to the second terminal, so that the second terminal selects the carrier to carry according to the carrier switching request; receiving a carrier selection message sent by the second terminal; establishing a communication connection with the second terminal according to the carrier selection message.

通过执行上述步骤,第一终端为切换请求方,第二终端为切换选择方,获取当前射频场方向上的当前载波策略,切换出最高优先级的载波后发送给第二终端,第二终端收到切换请求消息后,比较自己所支持的通信载波,根据载波切换请求选择承载的载波,生成切换请求消息给第一终端,通过建立通信连接达成协商,最终有利于快速确定载波的切换,加快传输数据的速度。By performing the above steps, the first terminal is the handover requester, and the second terminal is the handover selector, obtains the current carrier policy in the direction of the current radio frequency field, switches out the carrier with the highest priority and sends it to the second terminal, and the second terminal receives After receiving the switching request message, compare the communication carriers supported by itself, select the carrier based on the carrier switching request, generate a switching request message to the first terminal, and reach a negotiation by establishing a communication connection, which is ultimately conducive to quickly determining the switching of the carrier and speeding up transmission speed of data.

结合本发明第一方面或本发明第一方面第一实施方式或第一方面第二实施方式或第三实施方式,本发明第一方面第三实施方式中,所述载波策略,包括:当前可选载波的数量、类型及优先级。In combination with the first aspect of the present invention or the first embodiment of the first aspect of the present invention or the second embodiment or the third embodiment of the first aspect of the present invention, in the third embodiment of the first aspect of the present invention, the carrier strategy includes: currently available Select the number, type and priority of carriers.

通过执行上述步骤,对于当前可选载波的数量可以是多个,也可以是一个,对于类型可以是WiFi或Bluetooth中的一种或几种,作为传输数据的媒介,对于优先级指在对应关系中第一射频场方向和第二射频场方向中使用当前载波的第一顺序。只有建立具体的载波策略,才能够在多个不同的应用场景下,能快速切换出所需载波,加快数据传输的速度。By performing the above steps, the number of currently available carriers can be multiple or one, and the type can be one or more of WiFi or Bluetooth, as the medium for transmitting data, and the priority refers to the corresponding relationship The first order of the current carrier is used in the first radio frequency field direction and the second radio frequency field direction. Only by establishing a specific carrier strategy can the required carrier be quickly switched to speed up data transmission in multiple different application scenarios.

此外,本发明第二方面提供一种通信连接终端,包括用于执行上述第一方面或第一方面任意一种实现所描述的通信连接方法的模块或单元。In addition, the second aspect of the present invention provides a communication connection terminal, including a module or unit for performing any one of the above-mentioned first aspect or the first aspect to realize the described communication connection method.

例如,所述通信连接终端,包括:检测模块,用于检测当前射频场方向;查找模块,用于在预先建立的射频场方向与载波策略的对应关系中,查找所述当前射频场方向对应的当前载波策略;加入模块,用于将所述当前载波策略加入切换请求中;连接模块,用于基于载波切换请求与第二终端建立通信连接。For example, the communication connection terminal includes: a detection module, configured to detect the current radio frequency field direction; a search module, configured to search for the corresponding radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy. The current carrier strategy; an adding module, configured to add the current carrier strategy into the switching request; and a connecting module, configured to establish a communication connection with the second terminal based on the carrier switching request.

通过实施第二方面的通信连接终端,可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。By implementing the communication connection terminal of the second aspect, the current carrier strategy of the current radio frequency field direction can be found in the corresponding relationship between the radio frequency field direction and the carrier strategy that is flexibly established in advance according to the needs of users according to the detection of the radio frequency field direction of the current communication. Quickly switch out the carrier request with the highest priority to help users quickly complete data transmission, thereby enhancing transmission efficiency.

通过结合本发明第二方面,本发明第二方面的第一实施方式中,所述 查找模块包括:第一对应子模块,用于第一射频场方向对应第一载波策略;第二对应子模块,用于第二射频场方向对应第二载波策略,其中所述第一射频场方向与所述第二射频场方向不同。By combining the second aspect of the present invention, in the first implementation manner of the second aspect of the present invention, the search module includes: a first corresponding submodule, used for the first radio frequency field direction to correspond to the first carrier strategy; a second corresponding submodule , for the second radio frequency field direction corresponding to the second carrier strategy, wherein the first radio frequency field direction is different from the second radio frequency field direction.

通过实施上述通信连接终端,预先建立的射频场方向与载波策略的对应关系是根据不同的应用场景,为满足用户的需求,故建立出一套载波策略,通过设定不同方向的射频场和载波策略的对应关系,选择出对应载波作为后续通信载体,如通过指定第一射频场方向和第二射频场方向分别对应各自的载波策略从而满足用户需求,可在多个不同的应用场景下,能解决载波传输速度慢的局限性。Through the implementation of the above communication connection terminal, the pre-established correspondence between the direction of the radio frequency field and the carrier strategy is based on different application scenarios. In order to meet the needs of users, a set of carrier strategies is established. According to the corresponding relationship of strategies, the corresponding carrier is selected as the subsequent communication carrier. For example, by specifying the direction of the first radio frequency field and the direction of the second radio frequency field to correspond to their respective carrier strategies to meet user needs, it can be used in many different application scenarios. Solve the limitation of slow carrier transmission speed.

通过结合本发明第二方面,本发明第二方面的第二实施方式中,所述查找模块包括:查找子模块,用于在所述对应关系中查找与所述当前射频场方向相同的射频场方向;确定子模块,用于将查找到的射频场方向对应的载波策略作为当前载波策略。In combination with the second aspect of the present invention, in the second implementation manner of the second aspect of the present invention, the search module includes: a search submodule, configured to search for a radio frequency field in the corresponding relationship with the same direction as the current radio frequency field Direction; a determining submodule, configured to use the carrier strategy corresponding to the found radio frequency field direction as the current carrier strategy.

通过实施上述通信连接终端,当载波切换请求生成的过程中,切换请求方首先检测射频场方向,然后在对应关系中,根据当前射频场方向查找并核实与其相同的射频场方向,于是就检索出与之对应的载波策略,如查找出第一射频场方向,Wifi优先,则用户可使用WiFi作为协商载波传输信息,显而易见,在某种场合下,可快速生成载波请求,故提高了切换速度,进而与切换选择方建立通信后,快速完成载波的数据传输,又加快传输速度。Through the implementation of the above-mentioned communication connection terminal, when the carrier switching request is generated, the switching requester first detects the direction of the radio frequency field, and then searches and verifies the direction of the same radio frequency field according to the current direction of the radio frequency field in the corresponding relationship, and then retrieves For the corresponding carrier strategy, if the direction of the first radio frequency field is found and Wifi is preferred, the user can use WiFi as the negotiated carrier to transmit information. Obviously, in some occasions, the carrier request can be quickly generated, so the switching speed is improved. Furthermore, after the communication is established with the switching selector, the data transmission of the carrier is quickly completed, and the transmission speed is accelerated.

通过结合本发明第二方面,本发明的第三实施方式中,所述连接模块包括选择子模块,用于将所述载波切换请求发送至第二终端,以使所述第二终端根据所述载波切换请求选择承载的载波;接收子模块,用于接收所述第二终端发送的载波选择消息;连接子模块,用于根据所述载波选择消息建立与第二终端的通信连接。By combining the second aspect of the present invention, in the third implementation manner of the present invention, the connection module includes a selection submodule, configured to send the carrier switching request to the second terminal, so that the second terminal according to the The carrier switching request selects a bearer carrier; the receiving submodule is configured to receive a carrier selection message sent by the second terminal; the connection submodule is configured to establish a communication connection with the second terminal according to the carrier selection message.

通过实施上述通信连接终端,第一终端为切换请求方,第二终端为切换选择方,获取当前射频场方向上的当前载波策略,切换出最高优先级的载波后发送给第二终端,第二终端收到切换请求消息后,比较自己所支持 的通信载波,根据载波切换请求选择承载的载波,生成切换请求消息给第一终端,通过建立通信连接达成协商,最终有利于快速确定载波的切换,加快传输数据的速度。Through the implementation of the above-mentioned communication connection terminals, the first terminal is the handover requester, and the second terminal is the handover selector, obtains the current carrier strategy in the direction of the current radio frequency field, switches out the carrier with the highest priority and sends it to the second terminal, and the second After receiving the handover request message, the terminal compares the communication carriers supported by itself, selects the bearer carrier according to the carrier handover request, generates a handover request message to the first terminal, and negotiates by establishing a communication connection, which is ultimately conducive to quickly determining the handover of the carrier. Speed up the speed of transferring data.

结合本发明第二方面或第二方面第一实施方式或第二方面第二实施方式或第三实施方式,本发明第二方面第四实施方式中,所述载波策略,包括:当前可选载波的数量、类型及优先级。In combination with the second aspect of the present invention or the first implementation manner of the second aspect or the second implementation manner or the third implementation manner of the second aspect, in the fourth implementation manner of the second aspect of the present invention, the carrier strategy includes: currently available carriers The number, type and priority of .

通过实施上述通信连接终端,对于当前可选载波的数量可以是多个,也可以是一个,对于类型可以是WiFi或Bluetooth中的一种或几种,作为传输数据的媒介对于优先级指在对应关系中第一射频场方向和第二射频场方向中使用当前载波的顺序。只有建立具体的载波策略,才能够在多个不同的应用场景下,能快速切换出所需载波,加快数据传输的速度。Through the implementation of the above-mentioned communication connection terminal, the number of currently optional carriers can be multiple or one, and the type can be one or more of WiFi or Bluetooth. As the medium for transmitting data, the priority refers to the corresponding The order in which the current carrier is used in the first radio frequency field direction and the second radio frequency field direction in the relationship. Only by establishing a specific carrier strategy can the required carrier be quickly switched to speed up data transmission in multiple different application scenarios.

所述通信连接终端包括的模块或单元不限于上述命名方式。The modules or units included in the communication connection terminal are not limited to the above naming methods.

本申请的这些方面在以下实施例的描述中会更加简明易懂。These aspects of the present application will be more concise and understandable in the description of the following embodiments.

本发明第三方面提供了一种移动终端,包括:上述第三方面、第三方面第一实施方式、第二实施方式以及第三实施方式所述的通信连接终端、射频发射装置、存储器和处理器,所述通信连接终端、所述存储器和所述处理器之间通过总线互相连接,所述存储器中存储有计算机指令,所述处理器通过执行所述计算机指令,从而实现以下方法:检测当前射频场方向;在预先建立的射频场方向与载波策略的对应关系中,查找所述当前射频场方向对应的当前载波策略;将所述当前载波策略加入切换请求中。The third aspect of the present invention provides a mobile terminal, including: the above-mentioned third aspect, the first embodiment of the third aspect, the second embodiment and the communication connection terminal described in the third embodiment, a radio frequency transmitting device, a memory and a processing device, the communication connection terminal, the memory, and the processor are connected to each other through a bus, and computer instructions are stored in the memory, and the processor implements the following method by executing the computer instructions: detecting the current radio frequency field direction; searching for the current carrier strategy corresponding to the current radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy; adding the current carrier strategy to the handover request.

通过结合本发明第三方面,在本发明第三方面第一实施方式中,所述射频发射装置包括在正反两个方向分别部署一个NFC天线。In combination with the third aspect of the present invention, in the first implementation manner of the third aspect of the present invention, the radio frequency transmitting device includes an NFC antenna deployed in both forward and reverse directions.

通过上述描述,根据在正反两个不同的方向上部署一个NFC天线可以产生射频场,也可改善磁场干扰。Through the above description, according to deploying an NFC antenna in two different directions, forward and reverse, a radio frequency field can be generated, and magnetic field interference can also be improved.

通过结合本发明第三方面,在本发明第三方面第二实施方式中,所述射频发射装置包括NFC天线和匹配电路,所述匹配电路用于控制NFC天线的正面或反面方向均可产生射频场。By combining the third aspect of the present invention, in the second embodiment of the third aspect of the present invention, the radio frequency transmitting device includes an NFC antenna and a matching circuit, and the matching circuit is used to control the front or back direction of the NFC antenna to generate radio frequency field.

通过上述描述,射频装置产生射频场的方式可根据另一种形式设计, 最终目的都是为了控制或改善射频场。Through the above description, the way of generating radio frequency field by radio frequency device can be designed according to another form, and the ultimate purpose is to control or improve the radio frequency field.

上述移动终端可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。The above-mentioned mobile terminal can search for the current carrier policy of the current radio frequency field direction in the corresponding relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to the user's needs according to the detection of the current radio frequency field direction, and can quickly switch out the carrier strategy with the highest priority. Carrier requests to help users quickly complete data transmission, thereby enhancing transmission efficiency.

附图说明Description of drawings

通过参考附图会更加清楚的理解本发明的特征和优点,附图是示意性的而不应理解为对本发明进行任何限制,在附图中:The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the accompanying drawings:

图1示出了本发明实施例中手机的结构图;Fig. 1 shows the structural diagram of mobile phone in the embodiment of the present invention;

图2示出了本发明实施例中的通信连接方法的流程图;Fig. 2 shows the flowchart of the communication connection method in the embodiment of the present invention;

图3示出了本发明实施例中的通信连接方法的另一流程图;Fig. 3 shows another flow chart of the communication connection method in the embodiment of the present invention;

图4示出了本发明实施例中的通信连接终端的结构示意图;FIG. 4 shows a schematic structural diagram of a communication connection terminal in an embodiment of the present invention;

图5示出了本发明实施例中的一种移动终端的硬件示意图。Fig. 5 shows a schematic diagram of hardware of a mobile terminal in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

如图1所示,是本发明的实施例的应用场景示意图。移动终端可以为手机或平板电脑等移动设备,移动终端以手机为例,手机的部分结构框图如图1所示,手机包括射频电路210、存储器220、输入单元230、显示单元240、传感器250、音频电路260、无线模块270、处理器280以及电源290等部分。本领域技术人员可以理解,图1中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 1 , it is a schematic diagram of an application scenario of an embodiment of the present invention. The mobile terminal can be a mobile device such as a mobile phone or a tablet computer. The mobile terminal is an example of a mobile phone. A partial structural block diagram of the mobile phone is shown in FIG. Audio circuit 260, wireless module 270, processor 280, power supply 290 and other parts. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 1 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

其中RF电路210用于收发信息或通话过程中,信号的接收和发送。存储器220用于存储软件程序以及模块,处理器280通过运行存储在存储器220的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。输入单元230用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。输入单元230可包括触控面板231以及其他输入设备232。其他输入设备232可以包括但不限于物理键盘、功能键、鼠标、操作杆中的一种或几种。显示单元240用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元240可以包括显示面板241。触控面板231可覆盖显示面板241,当触控面板231检测到在其上或附近的触摸操作后,传送给处理器280以确定触摸事件的类型,随后处理器280根据触摸事件的类型在显示面板241上提供相应的视觉输出。The RF circuit 210 is used for receiving and sending signals during sending and receiving information or during a call. The memory 220 is used to store software programs and modules, and the processor 280 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 220 . The input unit 230 is used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. The input unit 230 may include a touch panel 231 and other input devices 232 . Other input devices 232 may include but not limited to one or more of a physical keyboard, function keys, mouse, and joystick. The display unit 240 is used to display information input by or provided to the user and various menus of the mobile phone. The display unit 240 may include a display panel 241 . The touch panel 231 can cover the display panel 241. After the touch panel 231 detects a touch operation on or near it, it is sent to the processor 280 to determine the type of the touch event, and then the processor 280 displays the touch event according to the type of the touch event. A corresponding visual output is provided on the panel 241 .

手机还可包括至少一种传感器250,如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,环境传感器可根据环境光线的明暗来调节显示面板241的亮度,接近传感器可在手机移动到耳边时,关闭显示面板241和/或背光。本实施例中光传感器可以设置在手机的正面和背面的壳体上,用于检测用户持握手机时的遮挡区域。此处还可以包括压力传感器,设置在手机的正面或背面壳体上,用于通过检测压力的方式获得用户持握手机时的遮挡区域。此外,手机还可以配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,不再赘述。The handset may also include at least one sensor 250, such as a light sensor, motion sensor, and other sensors. The light sensor can include an ambient light sensor and a proximity sensor. The ambient sensor can adjust the brightness of the display panel 241 according to the brightness of the ambient light. The proximity sensor can turn off the display panel 241 and/or the backlight when the mobile phone is moved to the ear. In this embodiment, the light sensor can be arranged on the front and back shells of the mobile phone, and is used to detect the occlusion area when the user holds the mobile phone. Here, a pressure sensor may also be included, which is arranged on the front or back shell of the mobile phone, and is used to obtain the shielded area when the user holds the mobile phone by detecting pressure. In addition, the mobile phone can also be equipped with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, so I won’t repeat them here.

音频电路260、扬声器261、传声器262可提供用户与手机之间的音频接口。无线模块270可以是Wifi模块,为用户提供无线的互联网访问服务。The audio circuit 260, the speaker 261, and the microphone 262 can provide an audio interface between the user and the mobile phone. The wireless module 270 may be a Wifi module, providing users with wireless Internet access services.

处理器280是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器220内的软件程序和/或模块,以及调用存储在存储器220内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器280可以包括一个或多个处理单元。此外,手机还包括各部件供电的电源290,通过电源管理系统与处理器280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The processor 280 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 220, and calling data stored in the memory 220, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 280 may include one or more processing units. In addition, the mobile phone also includes a power supply 290 for supplying power to various components, which is logically connected to the processor 280 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

请参阅图2,本发明实施例提供的通信连接方法,可用于上述的移动终 端,如手机、平板电脑等,该方法用于第一终端,包括:Please refer to Fig. 2, the communication connection method provided by the embodiment of the present invention can be used for the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc., and the method is used for the first terminal, including:

S1、检测当前射频场方向。S1. Detect the current direction of the radio frequency field.

此处的射频场指由高频电磁波所产生的的电场就是射频场。比如NFC天线的正面和反面方向都可作为射频场的不同方向,还有当用具有NFC的手机终端与其它设备接触时,会产生不同方向的射频场,此射频场有多种方式可以实现,可通过NFC的匹配电路控制发射和接受的射频场,在执行数据传输时,通过检测当前通信的NFC射频场方向,进而为确定与之对应的载波策略,从而获取最优的载波请求。The radio frequency field here refers to the electric field generated by high-frequency electromagnetic waves, which is the radio frequency field. For example, the front and back directions of the NFC antenna can be used as different directions of the radio frequency field, and when a mobile phone terminal with NFC is used to contact other devices, radio frequency fields in different directions will be generated. There are many ways to realize this radio frequency field. The transmitting and receiving radio frequency fields can be controlled by the NFC matching circuit. When performing data transmission, the direction of the NFC radio frequency field of the current communication is detected to determine the corresponding carrier strategy to obtain the optimal carrier request.

S2、在预先建立的射频场方向与载波策略的对应关系中,查找当前射频场方向对应的当前载波策略。S2. Find the current carrier strategy corresponding to the current radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy.

其中载波策略,包括:当前可选载波的数量、类型及优先级。对于当前可选载波的数量可以是多个,也可以是一个,对于类型可以是WiFi或Bluetooth中的一种或几种,作为传输数据的媒介,对于优先级指在对应关系中不同射频场方向中使用当前载波的第一顺序。只有建立具体的载波策略,才能够在多个不同的应用场景下,能快速切换出所需载波,加快数据传输的速度。The carrier strategy includes: the number, type and priority of currently available carriers. The number of current optional carriers can be multiple or one, and the type can be one or more of WiFi or Bluetooth, as the medium for transmitting data, and the priority refers to different radio frequency field directions in the corresponding relationship The first order in which the current carrier is used. Only by establishing a specific carrier strategy can the required carrier be quickly switched to speed up data transmission in multiple different application scenarios.

上述步骤S2中,作为一种具体的实现方式,预先建立的射频场方向与载波策略的对应关系,包括:In the above step S2, as a specific implementation, the pre-established correspondence between the direction of the radio frequency field and the carrier strategy includes:

首先,确定第一射频场方向对应第一载波策略。此处的第一射频场方向可以是NFC天线的正面方向或反面方向,此射频场方向可根据NFC天线匹配电路将NFC的正面或反面方向均可控制和接受NFC射频场。此处的正面方向为在终端事先准备工作的时候,终端固定不变,终端内部的NFC芯片或匹配电路在产生射频电场时的那一面为正面方向,另一面没有产生电场的那一面为反面方向。或者将终端的正反两个方向分别部署一个NFC天线,实现终端正反两个方向的NFC射频等,在生成载波请求前,根据用户需求或者不同应用场景需求,预先设定此处第一射频场方向对应的载波策略,即包含载波请求的最高优先级。First, it is determined that the first radio frequency field direction corresponds to the first carrier strategy. The first radio frequency field direction here can be the front direction or the back direction of the NFC antenna, and the radio frequency field direction can control and accept the NFC radio frequency field according to the NFC antenna matching circuit in the front or back direction of the NFC. The front direction here is when the terminal is preparing for work in advance, the terminal is fixed, the side of the NFC chip or matching circuit inside the terminal that generates the radio frequency electric field is the front direction, and the other side that does not generate the electric field is the reverse direction . Or deploy an NFC antenna in the front and back directions of the terminal to realize the NFC radio frequency in the front and back directions of the terminal. Before generating the carrier request, the first radio frequency here is preset according to user needs or different application scenarios. The carrier policy corresponding to the field direction, which includes the highest priority of the carrier request.

然后,确定第二射频场方向对应第二载波策略,其中第一射频场方向 与第二射频场方向不同。此处的第二射频场方向同上述第一射频场方向也可以是NFC天线的正面方向或反面方向,在不同方向的对应关系中确定出当前第二射频场方向的第二载波策略。如:第一射频场方向对应Wifi优先,第二射频场方向对应Bluetooth优先,当然这个对应关系是可以根据需要,进行灵活更改指定,具体的对应关系可由用户设定,终端只需提供默认配置,并提供当前对应关系的文字、图片、图像等界面提示信息。具体地,即通过检测当前通信的NFC射频场方向,选择之前设定好的对应方向的可选载波策略,按照该策略重新调整切换请求消息中可选择载波列表的顺序,发送给切换选择方,切换选择方进行响应即可。因此需要确定第一射频场方向和第二射频场方向对应的载波策略。Then, determine that the second radio frequency field direction corresponds to the second carrier strategy, where the first radio frequency field direction is different from the second radio frequency field direction. Here, the second radio frequency field direction and the above first radio frequency field direction can also be the front or back direction of the NFC antenna, and the second carrier strategy for the current second radio frequency field direction is determined in the corresponding relationship of different directions. For example: the first radio frequency field direction corresponds to Wifi priority, and the second radio frequency field direction corresponds to Bluetooth priority. Of course, this correspondence relationship can be flexibly changed according to needs. The specific correspondence relationship can be set by the user, and the terminal only needs to provide the default configuration. And provide interface prompt information such as text, pictures, and images of the current corresponding relationship. Specifically, by detecting the direction of the NFC radio frequency field of the current communication, select the optional carrier strategy of the corresponding direction set before, readjust the order of the selectable carrier list in the handover request message according to the strategy, and send it to the handover selector, Just switch the selected party to respond. Therefore, it is necessary to determine the carrier strategy corresponding to the first radio frequency field direction and the second radio frequency field direction.

上述步骤S2中,作为一种具体的实现方式,所述查找当前射频场方向对应的当前载波策略,包括:In the above step S2, as a specific implementation, the search for the current carrier strategy corresponding to the current radio frequency field direction includes:

首先,在对应关系中查找与当前射频场方向相同的射频场方向。如:当前的射频场方向为第一射频场方向,于是在对应关系中检索与第一射频场方向一样的射频场方向,即为核实当前射频场方向。First, search for the same radio frequency field direction as the current radio frequency field direction in the corresponding relationship. For example, the current radio frequency field direction is the first radio frequency field direction, so searching for the same radio frequency field direction as the first radio frequency field direction in the corresponding relationship is to verify the current radio frequency field direction.

然后,将查找到的射频场方向对应的载波策略作为当前载波策略。如:查找出第一射频场方向对应的载波策略为Wifi优先,则Wifi优先作为当前的载波策略。Then, use the found carrier strategy corresponding to the direction of the radio frequency field as the current carrier strategy. For example, if it is found that the carrier strategy corresponding to the first radio frequency field direction is Wifi priority, then Wifi priority is used as the current carrier strategy.

S3、将当前载波策略加入切换请求中。生成具有最优载波的载波策略加入到切换请求消息中。S3. Add the current carrier strategy to the handover request. The carrier strategy with the optimal carrier is generated and added to the handover request message.

通过上述描述的方法,可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。Through the method described above, according to the detection of the current radio frequency field direction, the current carrier strategy of the current radio frequency field direction can be found in the corresponding relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to the user's needs, and the current carrier strategy with the current radio frequency field direction can be quickly switched. The carrier request with the highest priority helps users complete data transmission quickly, thereby enhancing transmission efficiency.

S4、基于载波切换请求与第二终端建立通信连接。S4. Establish a communication connection with the second terminal based on the carrier switching request.

因为该方法用于第一终端,第一终端为切换请求方,故切换请求方根据检测不同方向的射频场,建立与之对应的载波策略,可灵活应用不同的场景,从而满足用户需求。具体地,通过预先设定不同方向的射频场和载 波策略的对应关系,选择出对应载波作为后续通信载体,如通过指定第一射频场方向和第二射频场方向分别对应各自的载波策略,生成载波切换请求从而满足用户需求,可在多个不同的应用场景下,能解决载波传输速度慢的局限性,根据载波切换请求选择承载的载波,生成切换请求消息给第一终端,通过建立通信连接达成协商,最终有利于快速确定载波的切换,加快传输数据的速度。Because this method is applied to the first terminal, and the first terminal is the handover requester, the handover requester establishes a corresponding carrier strategy based on detecting radio frequency fields in different directions, and can flexibly apply different scenarios to meet user needs. Specifically, by presetting the corresponding relationship between radio frequency fields and carrier strategies in different directions, the corresponding carrier is selected as the subsequent communication carrier. The carrier switching request can meet the needs of users. In many different application scenarios, the limitation of slow carrier transmission speed can be solved. According to the carrier switching request, the carrier to be carried is selected, and a switching request message is generated to the first terminal. By establishing a communication connection Reaching a negotiation is ultimately conducive to quickly determining the switching of the carrier and speeding up the speed of data transmission.

作为一种实现方式,本实施例中通信连接方法,上述步骤S4与第二终端建立通信连接,如图3所示,包括:As an implementation, in the communication connection method in this embodiment, the above step S4 establishes a communication connection with the second terminal, as shown in FIG. 3 , including:

S41、将载波切换请求发送至第二终端,以使第二终端根据载波切换请求选择承载的载波。S41. Send the carrier switching request to the second terminal, so that the second terminal selects a bearer carrier according to the carrier switching request.

第二终端为切换选择方,切换请求方生成所需的当前载波策略后,自动且快速地发送给第二终端,进一步也提高载波传输速度。The second terminal is the handover selector. After the handover requester generates the required current carrier policy, it automatically and quickly sends it to the second terminal, further increasing the carrier transmission speed.

S42、接收第二终端发送波选择消息。第二终端,即切换选择方比较自己所支持的通信载波,根据载波切换请求选择承载的载波,生成切换请求消息给第一终端,此切换请求消息包括若双方支持的通信载波技术无法匹配,则切换选择方将返回一个不包含任何载波的切换选择消息。S42. Receive the wave selection message sent by the second terminal. The second terminal, that is, the switching selector compares the communication carriers supported by itself, selects the carrier according to the carrier switching request, and generates a switching request message to the first terminal. The switching request message includes if the communication carrier technologies supported by both parties cannot match, then The Handover Selector shall return a Handover Select message that does not contain any carrier.

S43、根据载波选择消息建立与第二终端的通信连接。S43. Establish a communication connection with the second terminal according to the carrier selection message.

第一终端和第二终端之间通过采用载波切换请求生成载波后,获取当前射频场方向上的当前载波策略,切换出最高优先级的载波后发送给第二终端,第二终端收到切换请求消息后,比较自己所支持的通信载波,根据载波切换请求选择承载的载波,生成切换请求消息给第一终端,通过建立通信连接达成协商,最终有利于快速确定载波的切换,加快传输数据的速度。After the first terminal and the second terminal use the carrier switching request to generate the carrier, obtain the current carrier strategy in the direction of the current radio frequency field, switch the carrier with the highest priority and send it to the second terminal, and the second terminal receives the switching request After the message, compare the communication carriers supported by itself, select the carrier according to the carrier switching request, generate a switching request message to the first terminal, and reach a negotiation by establishing a communication connection, which is ultimately conducive to quickly determining the switching of the carrier and speeding up the speed of data transmission .

参见图4,是本发明实施例提供的一种通信连接终端,包括:Referring to Figure 4, it is a communication connection terminal provided by an embodiment of the present invention, including:

检测模块41,用于检测当前射频场方向;A detection module 41, configured to detect the current radio frequency field direction;

查找模块42,用于在预先建立的射频场方向与载波策略的对应关系中,查找当前射频场方向对应的当前载波策略;The search module 42 is used to search for the current carrier strategy corresponding to the current radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy;

加入模块43,用于将当前载波策略加入切换请求中;Adding module 43, for adding the current carrier strategy into the handover request;

连接模块44,用于基于载波切换请求与第二终端建立通信连接。A connection module 44, configured to establish a communication connection with the second terminal based on the carrier switching request.

本实施例中的通信连接终端是以功能单元的形式来呈现,这里的单元是指ASIC电路,执行一个或多个软件或固定程序的处理器和存储器,和/或其他可以提供上述功能的器件。The communication connection terminal in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and/or other devices that can provide the above functions .

可选地,查找模块42包括:Optionally, the search module 42 includes:

第一对应子模块,用于第一射频场方向对应第一载波策略;The first corresponding submodule is used for the first radio frequency field direction to correspond to the first carrier strategy;

第二对应子模块,用于第二射频场方向对应第二载波策略,其中第一射频场方向与第二射频场方向不同。The second corresponding sub-module is used for the second radio frequency field direction to correspond to the second carrier strategy, wherein the first radio frequency field direction is different from the second radio frequency field direction.

通过实施上述通信连接终端,预先建立的射频场方向与载波策略的对应关系是根据不同的应用场景,为满足用户的需求,故建立出一套载波策略,通过设定不同方向的射频场和载波策略的对应关系,选择出对应载波作为后续通信载体,如通过指定第一射频场方向和第二射频场方向分别对应各自的载波策略从而满足用户需求,可在多个不同的应用场景下,能解决载波传输速度慢的局限性。Through the implementation of the above communication connection terminal, the pre-established correspondence between the direction of the radio frequency field and the carrier strategy is based on different application scenarios. In order to meet the needs of users, a set of carrier strategies is established. According to the corresponding relationship of strategies, the corresponding carrier is selected as the subsequent communication carrier. For example, by specifying the direction of the first radio frequency field and the direction of the second radio frequency field to correspond to their respective carrier strategies to meet user needs, it can be used in many different application scenarios. Solve the limitation of slow carrier transmission speed.

可选地,查找模块42包括:Optionally, the search module 42 includes:

查找子模块,用于在对应关系中查找与当前射频场方向相同的射频场方向;The search submodule is used to search for the same radio frequency field direction as the current radio frequency field direction in the corresponding relationship;

确定子模块,用于将查找到的射频场方向对应的载波策略作为当前载波策略。The determining submodule is configured to use the found carrier strategy corresponding to the direction of the radio frequency field as the current carrier strategy.

通过实施上述通信连接终端,当载波切换请求生成的过程中,切换请求方首先检测射频场方向,然后在对应关系中,根据当前射频场方向查找并核实与其相同的射频场方向,于是就检索出与之对应的载波策略,如查找出第一射频场方向,Wifi优先,则用户可使用WiFi作为协商载波传输信息,显而易见,在某种场合下,可快速生成载波请求,故提高了切换速度,进而与切换选择方建立通信后,快速完成载波的数据传输,又加快传输速度。Through the implementation of the above-mentioned communication connection terminal, when the carrier switching request is generated, the switching requester first detects the direction of the radio frequency field, and then searches and verifies the direction of the same radio frequency field according to the current direction of the radio frequency field in the corresponding relationship, and then retrieves For the corresponding carrier strategy, if the direction of the first radio frequency field is found and Wifi is preferred, the user can use WiFi as the negotiated carrier to transmit information. Obviously, in some occasions, the carrier request can be quickly generated, so the switching speed is improved. Furthermore, after the communication is established with the switching selector, the data transmission of the carrier is quickly completed, and the transmission speed is accelerated.

可选地,连接模块44包括:Optionally, the connection module 44 includes:

选择子模块,用于将载波切换请求发送至第二终端,以使第二终端根据载波切换请求选择承载的载波;The selection submodule is configured to send a carrier switching request to the second terminal, so that the second terminal selects a carrier to carry according to the carrier switching request;

接收子模块,用于接收第二终端发送的载波选择消息;a receiving submodule, configured to receive a carrier selection message sent by the second terminal;

连接子模块,用于根据载波选择消息建立与第二终端的通信连接。The connection submodule is configured to establish a communication connection with the second terminal according to the carrier selection message.

可选地,载波策略,包括:当前可选载波的数量、类型及优先级。Optionally, the carrier policy includes: the number, type and priority of currently available carriers.

通过实施上述通信连接终端,对于当前可选载波的数量可以是多个,也可以是一个,对于类型可以是WiFi或Bluetooth中的一种或几种,作为传输数据的媒介对于优先级指在对应关系中第一射频场方向和第二射频场方向中使用当前载波的顺序。只有建立具体的载波策略,才能够在多个不同的应用场景下,能快速切换出所需载波,加快数据传输的速度。Through the implementation of the above-mentioned communication connection terminal, the number of currently optional carriers can be multiple or one, and the type can be one or more of WiFi or Bluetooth. As the medium for transmitting data, the priority refers to the corresponding The order in which the current carrier is used in the first radio frequency field direction and the second radio frequency field direction in the relationship. Only by establishing a specific carrier strategy can the required carrier be quickly switched to speed up data transmission in multiple different application scenarios.

上述实施例中通信连接终端中,可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。In the communication connection terminal in the above embodiment, according to the detection of the current radio frequency field direction, the current carrier strategy of the current radio frequency field direction can be searched in the corresponding relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to the user's needs, which can quickly Switch out the carrier request with the highest priority to help users quickly complete data transmission, thereby enhancing transmission efficiency.

此外,本发明实施例还提供一种移动终端,具有上述图5所示的载通信连接终端。In addition, an embodiment of the present invention also provides a mobile terminal, which has the bearer communication connection terminal shown in FIG. 5 above.

此外,本发明实施例中提供的移动终端,如图5所示,是本发明实施例提供的移动终端的硬件结构示意图,该设备包括一个或多个处理器51、存储器52、射频发射装置53、图5中以一个处理器51为例。处理器51连接射频发射装置53、处理器51还连接存储器52,可以通过总线或者其他方式连接,图5中以通过总线连接为例。In addition, the mobile terminal provided in the embodiment of the present invention, as shown in FIG. 5 , is a schematic diagram of the hardware structure of the mobile terminal provided in the embodiment of the present invention. The device includes one or more processors 51, memory 52, and radio frequency transmitting device 53 In FIG. 5, a processor 51 is taken as an example. The processor 51 is connected to the radio frequency transmitting device 53, and the processor 51 is also connected to the memory 52, which can be connected through a bus or in other ways. In FIG. 5, the connection through the bus is taken as an example.

处理器51可以为中央处理器(Central Processing Unit,CPU)。处理器51还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 51 may be a central processing unit (Central Processing Unit, CPU). Processor 51 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.

存储器52作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中的列表项操作的处理方法对应的程序指令/模块。处理器51通过运行存储在存储器52中的非暂态软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例列表项操作的处理方法。The memory 52, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the program instructions corresponding to the processing method of the list item operation in the embodiment of the present application /module. The processor 51 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions and modules stored in the memory 52, that is, implements the processing method of the list item operation in the above method embodiment.

存储器52可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据列表项操作的处理装置的使用所创建的数据等。此外,存储器52可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器51可选包括相对于处理器52远程设置的存储器,这些远程存储器可以通过网络连接至列表项操作的处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。Memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function; the data storage area may store data created by use of a processing device operated according to a list item, etc. . In addition, the memory 52 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the storage 51 may optionally include storages located remotely relative to the processor 52, and these remote storages may be connected to the processing device for list item operations through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

射频发射装置53,产生方向可变的射频场,包括在正反两个方向分别部署一个NFC天线。在其他替换的实施方式中,射频发射装置还可以包括NFC天线和匹配电路,匹配电路用于控制NFC天线的正面或反面方向均可产生NFC射频场,最终目的都是为了控制或改善射频场。The radio frequency transmitting device 53 generates a direction-variable radio frequency field, including deploying an NFC antenna in both forward and reverse directions. In other alternative implementations, the radio frequency transmitting device may also include an NFC antenna and a matching circuit. The matching circuit is used to control the front or back direction of the NFC antenna to generate an NFC radio frequency field, and the ultimate purpose is to control or improve the radio frequency field.

上述移动过终端可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。处理器51通过执行所述计算机指令,从而实现以下方法:The above-mentioned mobile terminal can execute the method provided by the embodiment of the present invention, and has corresponding function modules and beneficial effects for executing the method. Processor 51 implements the following methods by executing the computer instructions:

第一步,检测当前射频场方向;The first step is to detect the current direction of the radio frequency field;

第二步,在预先建立的射频场方向与载波策略的对应关系中,查找当前射频场方向对应的当前载波策略;The second step is to search for the current carrier strategy corresponding to the current radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy;

其中载波策略,包括:当前可选载波的数量、类型及优先级。The carrier strategy includes: the number, type and priority of currently available carriers.

作为一种实现方式,在预先建立的射频场方向与载波策略的对应关系,包括:As an implementation, the pre-established correspondence between the direction of the radio frequency field and the carrier strategy includes:

首先,确定第一射频场方向对应第一载波策略;First, determine that the first radio frequency field direction corresponds to the first carrier strategy;

然后,确定第二射频场方向对应第二载波策略。Then, it is determined that the second radio frequency field direction corresponds to the second carrier strategy.

作为另外一种实现方式,查找当前射频场方向对应的当前载波策略,包括:As another implementation method, find the current carrier strategy corresponding to the current radio frequency field direction, including:

首先,在对应关系中查找与当前射频场方向相同的射频场方向;First, find the same radio frequency field direction as the current radio frequency field direction in the corresponding relationship;

然后,将查找到的射频场方向对应的载波策略作为当前载波策略。Then, use the found carrier strategy corresponding to the direction of the radio frequency field as the current carrier strategy.

第三步,将当前载波策略加入切换请求中。In the third step, the current carrier strategy is added to the handover request.

第四步,将载波切换请求发送至第二终端,以使第二终端根据载波切换请求选择承载的载波。In a fourth step, the carrier switching request is sent to the second terminal, so that the second terminal selects a bearer carrier according to the carrier switching request.

第五步,接收第二终端发送的载波选择消息。Step 5: Receive a carrier selection message sent by the second terminal.

第六步,根据载波选择消息建立与第二终端的通信连接。Step 6: Establish a communication connection with the second terminal according to the carrier selection message.

上述移动终端可以根据检测当前通信的射频场方向,在预先根据用户的需求灵活建立出射频场方向与载波策略的对应关系中查找当前射频场方向的当前载波策略,可快速切换出具有最高优先级的载波请求,帮助用户快速完成数据传输,从而增强传输效率。The above-mentioned mobile terminal can search for the current carrier policy of the current radio frequency field direction in the corresponding relationship between the radio frequency field direction and the carrier strategy flexibly established in advance according to the user's needs according to the detection of the current radio frequency field direction, and can quickly switch out the carrier strategy with the highest priority. Carrier requests to help users quickly complete data transmission, thereby enhancing transmission efficiency.

本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。Those skilled in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM) and the like.

虽然结合附图描述了本发明的实施例,但是本领域技术人员可以在不脱离本发明的精神和范围的情况下作出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall into the scope of the appended claims. within the limited range.

Claims (8)

1.一种通信连接方法,用于第一终端,其特征在于,包括:1. A communication connection method for a first terminal, characterized in that, comprising: 检测当前射频场方向;Detect the current direction of the radio frequency field; 在预先建立的射频场方向与载波策略的对应关系中,查找所述当前射频场方向对应的当前载波策略;其中,所述预先建立的射频场方向与载波策略的对应关系,包括:第一射频场方向对应第一载波策略;第二射频场方向对应第二载波策略,其中所述第一射频场方向与所述第二射频场方向不同;所述载波策略包含载波请求的最高优先级;In the pre-established correspondence between the radio frequency field direction and the carrier strategy, search for the current carrier strategy corresponding to the current radio frequency field direction; wherein, the pre-established correspondence between the radio frequency field direction and the carrier strategy includes: a first radio frequency The field direction corresponds to a first carrier strategy; the second radio frequency field direction corresponds to a second carrier strategy, wherein the first radio frequency field direction is different from the second radio frequency field direction; the carrier strategy includes the highest priority of carrier requests; 将所述当前载波策略加入切换请求中;adding the current carrier policy into the handover request; 基于载波切换请求与第二终端建立通信连接。A communication connection is established with the second terminal based on the carrier switching request. 2.根据权利要求1所述的方法,其特征在于,所述查找所述当前射频场方向对应的当前载波策略,包括:2. The method according to claim 1, wherein the searching for the current carrier strategy corresponding to the current radio frequency field direction comprises: 在所述对应关系中查找与所述当前射频场方向相同的射频场方向;Finding the same radio frequency field direction as the current radio frequency field direction in the corresponding relationship; 将查找到的射频场方向对应的载波策略作为当前载波策略。The carrier strategy corresponding to the found radio frequency field direction is used as the current carrier strategy. 3.根据权利要求1所述的方法,其特征在于,所述与第二终端建立通信连接,包括:3. The method according to claim 1, wherein said establishing a communication connection with the second terminal comprises: 将所述载波切换请求发送至第二终端,以使所述第二终端根据所述载波切换请求选择承载的载波;sending the carrier switching request to a second terminal, so that the second terminal selects a bearer carrier according to the carrier switching request; 接收所述第二终端发送的载波选择消息;receiving a carrier selection message sent by the second terminal; 根据所述载波选择消息建立与所述第二终端的通信连接。Establishing a communication connection with the second terminal according to the carrier selection message. 4.根据权利要求1-3任一项所述的方法,其特征在于,所述载波策略包括:当前可选载波的数量、类型及优先级。4. The method according to any one of claims 1-3, wherein the carrier strategy includes: the number, type and priority of currently available carriers. 5.一种通信连接终端,其特征在于,包括:5. A communication connection terminal, characterized in that, comprising: 检测模块,用于检测当前射频场方向;A detection module, configured to detect the current direction of the radio frequency field; 查找模块,用于在预先建立的射频场方向与载波策略的对应关系中,查找所述当前射频场方向对应的当前载波策略;其中,所述查找模块包括:第一对应子模块,用于第一射频场方向对应第一载波策略;第二对应子模块,用于第二射频场方向对应第二载波策略,其中所述第一射频场方向与所述第二射频场方向不同;所述载波策略包含载波请求的最高优先级;A search module, configured to search for the current carrier strategy corresponding to the current radio frequency field direction in the pre-established correspondence between the radio frequency field direction and the carrier strategy; wherein, the search module includes: a first corresponding submodule, used for the first A radio frequency field direction corresponds to the first carrier strategy; a second corresponding submodule is used for the second radio frequency field direction to correspond to the second carrier strategy, wherein the first radio frequency field direction is different from the second radio frequency field direction; the carrier The policy contains the highest priority of the carrier request; 加入模块,用于将所述当前载波策略加入切换请求中;an adding module, configured to add the current carrier strategy to the handover request; 连接模块,用于基于载波切换请求与第二终端建立通信连接。A connection module, configured to establish a communication connection with the second terminal based on the carrier switching request. 6.根据权利要求5所述的终端,其特征在于,所述查找模块包括:6. The terminal according to claim 5, wherein the search module comprises: 查找子模块,用于在所述对应关系中查找与所述当前射频场方向相同的射频场方向;A search submodule, configured to search for the same radio frequency field direction as the current radio frequency field direction in the corresponding relationship; 确定子模块,用于将查找到的射频场方向对应的载波策略作为当前载波策略。The determining submodule is configured to use the found carrier strategy corresponding to the direction of the radio frequency field as the current carrier strategy. 7.根据权利要求5所述的终端,其特征在于,所述连接模块包括:7. The terminal according to claim 5, wherein the connection module comprises: 选择子模块,用于将所述载波切换请求发送至第二终端,以使所述第二终端根据所述载波切换请求选择承载的载波;a selection submodule, configured to send the carrier switching request to a second terminal, so that the second terminal selects a carrier to carry according to the carrier switching request; 接收子模块,用于接收所述第二终端发送的载波选择消息;a receiving submodule, configured to receive a carrier selection message sent by the second terminal; 连接子模块,用于根据所述载波选择消息建立与所述第二终端的通信连接。A connection submodule, configured to establish a communication connection with the second terminal according to the carrier selection message. 8.根据权利要求5-7任一项所述的终端,其特征在于,所述载波策略,包括:当前可选载波的数量、类型及优先级。8. The terminal according to any one of claims 5-7, wherein the carrier policy includes: the number, type and priority of currently available carriers.
CN201710112373.1A 2017-02-28 2017-02-28 Communication connection method and terminal Active CN106973358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710112373.1A CN106973358B (en) 2017-02-28 2017-02-28 Communication connection method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710112373.1A CN106973358B (en) 2017-02-28 2017-02-28 Communication connection method and terminal

Publications (2)

Publication Number Publication Date
CN106973358A CN106973358A (en) 2017-07-21
CN106973358B true CN106973358B (en) 2019-12-10

Family

ID=59329084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710112373.1A Active CN106973358B (en) 2017-02-28 2017-02-28 Communication connection method and terminal

Country Status (1)

Country Link
CN (1) CN106973358B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5944992B2 (en) * 2011-07-25 2016-07-05 エルジー エレクトロニクス インコーポレイティド Electronic device and method of operating electronic device
CN104254980B (en) * 2012-06-08 2016-06-29 惠普发展公司,有限责任合伙企业 System and method for secure wireless point-to-point connection using near field communication
CN104066135B (en) * 2013-03-18 2017-12-29 华为终端(东莞)有限公司 A kind of connection switching method and related device based on near-field communication
US9622291B2 (en) * 2013-06-11 2017-04-11 Samsung Electronics Co., Ltd Wireless communication method and apparatus supporting multiple communication services
JP6245907B2 (en) * 2013-09-18 2017-12-13 キヤノン株式会社 Communication apparatus and communication system
JP6245908B2 (en) * 2013-09-18 2017-12-13 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND PROGRAM
US9692494B2 (en) * 2014-08-12 2017-06-27 Qualcomm Incorporated Dynamic switching between wireless multiple access schemes
CN105472534A (en) * 2014-09-24 2016-04-06 西安酷派软件科技有限公司 Switching method and switching system of NFC working mode and terminal
CN104822167B (en) * 2015-04-15 2018-11-06 宇龙计算机通信科技(深圳)有限公司 A kind of selection method, the device and system of NFC carrier switch

Also Published As

Publication number Publication date
CN106973358A (en) 2017-07-21

Similar Documents

Publication Publication Date Title
EP3668253A1 (en) Data transmission method and device
CN102548049B (en) The traffic operation method and double-standby mobile teminal of double-standby mobile teminal
US20190317841A1 (en) Method for prompting message in terminal and terminal
US20190342933A1 (en) Communication Establishment Method And Terminal
WO2020098388A1 (en) Adjustment method for preventing electromagnetic interference and related product
KR20200116519A (en) Software update management method, server, terminal, device, and storage medium
CN111182563B (en) A wireless capability identification transmission method, terminal equipment and network node
WO2021022720A1 (en) Bluetooth-based data transmission method, storage medium and terminal
WO2020097845A1 (en) Method and device for using network slice
CN105392169A (en) File transmission method, device and system
CN111031471A (en) A data transmission method, terminal and base station
CN108540152A (en) Processing method and device for radio frequency interference, storage medium and electronic equipment
CN115766851A (en) Device registration method, device, mobile terminal and storage medium
WO2023160222A1 (en) Connection method and apparatus of external device and terminal, device, and storage medium
CN106101776A (en) Volume adjustment method, smart device and speaker
CN108733337A (en) Screen display method and device, electronic equipment and computer readable storage medium
CN111566897A (en) Wireless charging authentication method, device, communication device and storage medium
US11323144B2 (en) Method and device for indicating inter-modulation distortion, base station, and user equipment
US12271722B2 (en) Application installation method and apparatus, terminal device, and storage medium
CN105792299A (en) Optimal use method, device and mobile terminal of 3G network
US12133273B2 (en) Method and apparatus for processing data
JP2018527765A (en) Method, apparatus, program and recording medium for establishing service connection
WO2021223157A1 (en) Communication control method and communication control apparatus
CN112867171B (en) WIFI connection method and device, storage medium and mobile terminal
CN106973358B (en) Communication connection method and terminal

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250524

Address after: 830000 Xinjiang Uygur Autonomous Region, Urumqi City, Shuimogou District, HuiZhan Zhong Street No. 2800, Yudi Shijia Commercial Residential Community Building 3, Commercial Building 303-1 Room

Patentee after: Xinjiang Hanghan Technology Co.,Ltd.

Country or region after: China

Address before: 518057 No. 2 Mengxi Road, North District, Nanshan Science Park, Shenzhen City, Guangdong Province

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right