WO2017054284A1 - Communication method and related device - Google Patents

Communication method and related device Download PDF

Info

Publication number
WO2017054284A1
WO2017054284A1 PCT/CN2015/093510 CN2015093510W WO2017054284A1 WO 2017054284 A1 WO2017054284 A1 WO 2017054284A1 CN 2015093510 W CN2015093510 W CN 2015093510W WO 2017054284 A1 WO2017054284 A1 WO 2017054284A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
spectrum resource
network identifier
communication
communication connection
Prior art date
Application number
PCT/CN2015/093510
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
Priority to CN201510634287.8 priority Critical
Priority to CN201510634287.8A priority patent/CN105188145B/en
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017054284A1 publication Critical patent/WO2017054284A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management, e.g. wireless traffic scheduling or selection or allocation of wireless resources
    • H04W72/04Wireless resource allocation

Abstract

Disclosed in the embodiments of the present invention are a communication method and related device, comprising: a base station receiving a query command sent by a first terminal and carrying the network ID of a second terminal; in response to the query command, querying whether the network identifier of the second terminal is present in a pre-stored terminal device information set; if so, then allocating to the first terminal and the second terminal spectrum resources for communication, generating a broadcast message, and broadcasting the broadcast message, such that, on the basis of the broadcast message, the first terminal sends over the spectrum resources to the second terminal a communication link request carrying the network identifier of the first terminal, and the first terminal establishes a communication link with the second terminal over the spectrum resources. In the embodiments of the present invention, after the base station allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal to implement communication over said spectrum resources; during the process of communication, forwarding via the base station is not required, thereby improving communication quality.

Description

一种通信方法及相关设备Communication method and related equipment 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种通信方法及相关设备。The present invention relates to the field of communications technologies, and in particular, to a communication method and related devices.
背景技术Background technique
随着互联网的快速发展以及终端的迅速发展,终端的功能日益完善。例如,用户可以利用终端访问外部网络数据资源、拍照以及通信等等。以两终端间的通信为例,当终端A与终端B已建立通信连接时,在通信过程中,若需要进行信息的传输,则终端A首先需要将信息发送至基站,然后基站再将信息转发至终端B,在终端B对终端A发送的信息进行一个反馈时,也同样需要基站进行转发。由于信息传输过程中均需要基站的参与,若当前干扰信号较强时,则可能导致基站在转发信息过程中丢失该信息或者重复转发信息,从而降低了通信质量。With the rapid development of the Internet and the rapid development of terminals, the functions of terminals have become increasingly sophisticated. For example, a user can utilize a terminal to access external network data resources, take photos, communicate, and the like. Taking the communication between two terminals as an example, when terminal A and terminal B have established a communication connection, if information needs to be transmitted during communication, terminal A first needs to send information to the base station, and then the base station forwards the information. To the terminal B, when the terminal B performs a feedback on the information sent by the terminal A, the base station also needs to perform forwarding. Since the participation of the base station is required in the information transmission process, if the current interference signal is strong, the base station may lose the information or repeatedly forward the information during the process of forwarding information, thereby reducing the communication quality.
发明内容Summary of the invention
本发明实施例提供了一种通信方法及相关设备,能够提高通信质量。The embodiment of the invention provides a communication method and related device, which can improve communication quality.
第一方面,本发明实施例公开了一种通信方法,用于基站,包括:In a first aspect, an embodiment of the present invention discloses a communication method for a base station, including:
接收第一终端发送的携带第二终端的网络标识的查询指令;Receiving, by the first terminal, a query instruction that carries the network identifier of the second terminal;
响应所述查询指令,以查询在预先存储的终端设备信息集合中是否存在所述第二终端的网络标识;Responding to the query instruction to query whether a network identifier of the second terminal exists in a pre-stored terminal device information set;
若存在,则为所述第一终端与所述第二终端分配用于通信的频谱资源;If present, allocate the spectrum resource for communication to the first terminal and the second terminal;
生成广播信息,所述广播信息包含所述频谱资源的资源信息、所述第一终端的网络标识以及所述第二终端的网络标识;Generating broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal;
广播所述广播信息,以使所述第一终端根据所述广播信息在所述频谱资源上向所述第二终端发送携带所述第一终端的网络标识的通信连接请求,并由所述第一终端与所述第二终端在所述频谱资源上建立通信连接。Broadcasting the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information on the spectrum resource, and is configured by the first A terminal establishes a communication connection with the second terminal on the spectrum resource.
结合第一方面的实现方式,在第一方面的第一种可能的实现方式中,在查 询到在所述预先存储的终端设备信息集合中存在所述第二终端的网络标识之后,为所述第一终端与所述第二终端分配用于通信的频谱资源之前,还可以执行以下步骤:In combination with the implementation of the first aspect, in the first possible implementation manner of the first aspect, After the network identifier of the second terminal exists in the pre-stored terminal device information set, before the first terminal and the second terminal allocate spectrum resources for communication, the following steps may also be performed. :
检测所述第一终端是否存在绑定的第一固有频谱资源,以及检测所述第二终端是否存在绑定的第二固有频谱资源;Detecting whether the first terminal has a bound first natural frequency spectrum resource, and detecting whether the second terminal has a bound second natural frequency spectrum resource;
若检测到所述第一终端不存在所述第一固有频谱资源,以及检测到所述第二终端不存在所述第二固有频谱资源时,执行所述为所述第一终端与所述第二终端分配用于通信的频谱资源。If it is detected that the first terminal does not have the first natural frequency spectrum resource, and if the second terminal does not have the second inherent spectrum resource, the first terminal and the first The second terminal allocates spectrum resources for communication.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,还可以执行以下步骤:In conjunction with the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the following steps may also be performed:
若检测到所述第一终端存在绑定的所述第一固有频谱资源,以及检测到所述第二终端存在绑定的所述第二固有频谱资源时,检测所述第一固有频谱资源与所述第二固有频谱资源是否存在共用频谱资源;Detecting the first inherent spectrum resource and detecting that the first terminal has the first inherent spectrum resource bound, and detecting that the second terminal has the second inherent spectrum resource bound to the second terminal Whether the second inherent spectral resource has a shared spectrum resource;
若检测所述第一固有频谱资源与所述第二固有频谱资源不存在所述共用频谱资源,则执行所述为所述第一终端与所述第二终端分配用于通信的频谱资源。If it is detected that the first natural frequency spectrum resource and the second natural frequency spectrum resource do not have the shared spectrum resource, performing performing, by the first terminal, the second terminal, a spectrum resource for communication.
结合第一方面的实现方式、第一方面的第一种可能的实现方式以及第一方面的第二种可能的实现方式中的任意一种实现方式,在第一方面的第三种可能的实现方式中,还可以执行以下步骤:In conjunction with the implementation of the first aspect, the first possible implementation of the first aspect, and any one of the second possible implementations of the first aspect, a third possible implementation in the first aspect In the mode, you can also perform the following steps:
检测所述第一终端与所述第二终端是否断开所述通信连接;Detecting whether the first terminal and the second terminal disconnect the communication connection;
若检测到所述第一终端与所述第二终端断开所述通信连接,根据所述第一终端的网络标识与所述第二终端的网络标识确定已分配的所述频谱资源,并回收所述频谱资源,更新频谱资源状态表。If it is detected that the first terminal disconnects the communication connection with the second terminal, determining the allocated spectrum resource according to the network identifier of the first terminal and the network identifier of the second terminal, and recovering The spectrum resource updates the spectrum resource status table.
第二方面,本发明实施例公开了一种通信方法,用于用户终端,包括:In a second aspect, the embodiment of the present invention discloses a communication method, which is used for a user terminal, and includes:
接收基站广播的广播信息,其中,所述广播信息包括频谱资源的资源信息、所述用户终端的网络标识以及与所述用户终端建立通信连接的终端的网络标识,所述频谱资源是由所述基站根据所述用户终端发送的携带所述与所述用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在所述与所述用户终端建立通信连接的终端的网络标识之后,为所述用户终端与,所述与所述用户终端建立通信连接的终端分配的用于通信的频谱资源; Receiving, by the base station, broadcast information, where the broadcast information includes resource information of a spectrum resource, a network identifier of the user terminal, and a network identifier of a terminal that establishes a communication connection with the user terminal, where the spectrum resource is The base station queries, according to the query instruction of the network identifier of the terminal that establishes the communication connection with the user terminal, that the user terminal establishes a communication connection with the user terminal in the pre-stored terminal device information set. After the network identifier of the terminal, the spectrum resource for communication allocated by the user terminal and the terminal establishing a communication connection with the user terminal;
根据所述广播信息在所述频谱资源上向所述与所述用户终端建立通信连接的终端发送携带所述终端的网络标识的通信连接请求;Transmitting, according to the broadcast information, a communication connection request carrying the network identifier of the terminal to the terminal that establishes a communication connection with the user terminal on the spectrum resource;
响应所述与所述用户终端建立通信连接的终端反馈的连接应答,建立与所述用户终端建立通信连接的终端的通信连接。And establishing a communication connection of the terminal that establishes a communication connection with the user terminal in response to the connection response fed back by the terminal establishing the communication connection with the user terminal.
第三方面,本发明实施例还公开了一种基站,包括:In a third aspect, an embodiment of the present invention further discloses a base station, including:
接收单元,用于接收第一终端发送的携带第二终端的网络标识的查询指令;a receiving unit, configured to receive a query instruction that is sent by the first terminal and that carries the network identifier of the second terminal;
查询单元,用于响应所述查询指令,以查询在预先存储的终端设备信息集合中是否存在所述第二终端的网络标识;a query unit, configured to respond to the query instruction, to query whether a network identifier of the second terminal exists in a pre-stored terminal device information set;
分配单元,用于若在所述查询单元查询到在预先存储的终端设备信息集合中存在所述第二终端的网络标识,为所述第一终端与所述第二终端分配用于通信的频谱资源;An allocating unit, configured to allocate, for the first terminal and the second terminal, a spectrum for communication if the query unit queries the network identifier of the second terminal in a pre-stored terminal device information set Resource
生成单元,用于生成广播信息,所述广播信息包含所述频谱资源的资源信息、所述第一终端的网络标识以及所述第二终端的网络标识;a generating unit, configured to generate broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal;
广播单元,用于广播所述广播信息,以使所述第一终端根据所述广播信息在所述频谱资源上向所述第二终端发送携带所述第一终端的网络标识的通信连接请求,并由所述第一终端与所述第二终端在所述频谱资源上建立通信连接。a broadcast unit, configured to broadcast the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal on the spectrum resource according to the broadcast information, And establishing, by the first terminal and the second terminal, a communication connection on the spectrum resource.
结合第三方面的基站,在第三方面的第一种可能的基站中,所述基站还包括:With reference to the base station of the third aspect, in the first possible base station of the third aspect, the base station further includes:
检测单元,用于在所述查询单元查询到在所述预先存储的终端设备信息集合中存在所述第二终端的网络标识之后,所述分配单元为所述第一终端与所述第二终端分配用于通信的频谱资源之前,检测所述第一终端是否存在绑定的第一固有频谱资源,以及检测所述第二终端是否存在绑定的第二固有频谱资源;a detecting unit, configured to: after the query unit queries, that the network identifier of the second terminal exists in the pre-stored terminal device information set, the allocating unit is the first terminal and the second terminal Before detecting the spectrum resource for communication, detecting whether the first terminal has the bound first natural spectrum resource, and detecting whether the second terminal has the bound second inherent spectrum resource;
所述分配单元具体用于若所述检测单元检测到所述第一终端不存在所述第一固有频谱资源,以及检测到所述第二终端不存在所述第二固有频谱资源时,为所述第一终端与所述第二终端分配用于通信的频谱资源。The allocating unit is specifically configured to: if the detecting unit detects that the first terminal does not have the first natural frequency spectrum resource, and detects that the second terminal does not have the second natural frequency spectrum resource, The first terminal and the second terminal allocate spectrum resources for communication.
结合第三方面的第一种可能的基站,在第三方面的第二种可能的基站中,所述检测单元还用于若所述检测单元检测到所述第一终端存在绑定的所述第一固有频谱资源,以及检测到所述第二终端存在绑定的所述第二固有频谱资源时,检测所述第一固有频谱资源与所述第二固有频谱资源是否存在共用频谱资源;With reference to the first possible base station of the third aspect, in the second possible base station of the third aspect, the detecting unit is further configured to: if the detecting unit detects that the first terminal has a binding Detecting whether the first natural frequency spectrum resource and the second natural frequency spectrum resource have a shared spectrum resource when detecting that the second terminal has the second inherent spectrum resource bound to the second terminal;
所述分配单元具体用于所述检测单元检测到所述第一固有频谱资源与所述 第二固有频谱资源不存在所述共用频谱资源,为所述第一终端与所述第二终端分配用于通信的频谱资源。The allocating unit is specifically configured to: the detecting unit detects the first natural frequency spectrum resource and the The second intrinsic spectrum resource does not have the shared spectrum resource, and the first terminal and the second terminal are allocated spectrum resources for communication.
结合第三方面的基站、第三方面的第一种可能的基站以及第三方面的第二种可能的基站中的任意一种可能的基站,在第三方面的第三种可能的基站中,所述检测单元还用于检测所述第一终端与所述第二终端是否断开所述通信连接;In combination with the base station of the third aspect, the first possible base station of the third aspect, and any one of the second possible base stations of the third aspect, in the third possible base station of the third aspect, The detecting unit is further configured to detect whether the first terminal and the second terminal disconnect the communication connection;
所述基站还包括:The base station further includes:
确定单元,用于若所述检测单元检测到所述第一终端与所述第二终端断开所述通信连接,根据所述第一终端的网络标识与所述第二终端的网络标识确定已分配的所述频谱资源,并回收所述频谱资源,更新频谱资源状态表。a determining unit, configured to determine, according to the network identifier of the first terminal and the network identifier of the second terminal, that the detecting unit detects that the first terminal disconnects the communication connection with the second terminal Allocating the spectrum resource, and recovering the spectrum resource, and updating the spectrum resource status table.
第四方面,本发明实施例还公开了一种用户终端,包括:In a fourth aspect, an embodiment of the present invention further discloses a user terminal, including:
接收单元,用于接收基站广播的广播信息,其中,所述广播信息包括频谱资源的资源信息、所述用户终端的网络标识以及与所述用户终端建立通信连接的终端的网络标识,所述频谱资源是由所述基站根据所述用户终端发送的携带所述与所述用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在所述与所述用户终端建立通信连接的终端的网络标识之后,为所述用户终端与,所述与所述用户终端建立通信连接的终端分配的用于通信的频谱资源;a receiving unit, configured to receive broadcast information broadcast by a base station, where the broadcast information includes resource information of a spectrum resource, a network identifier of the user terminal, and a network identifier of a terminal that establishes a communication connection with the user terminal, where the spectrum The resource is obtained by the base station according to the query instruction that is sent by the user terminal to carry the network identifier of the terminal that establishes a communication connection with the user terminal, and the queried presence of the user and the user in the pre-stored terminal device information set. After the terminal establishes the network identifier of the terminal connected to the communication, the spectrum resource for communication allocated by the user terminal and the terminal establishing a communication connection with the user terminal;
发送单元,用于根据所述广播信息在所述频谱资源上向所述与所述用户终端建立通信连接的终端发送携带所述终端的网络标识的通信连接请求;a sending unit, configured to send, according to the broadcast information, a communication connection request that carries the network identifier of the terminal to the terminal that establishes a communication connection with the user terminal on the spectrum resource;
连接单元,用于响应所述与所述用户终端建立通信连接的终端反馈的连接应答,建立与所述用户终端建立通信连接的终端的通信连接。And a connecting unit, configured to establish a communication connection of the terminal that establishes a communication connection with the user terminal in response to the connection response fed back by the terminal that establishes a communication connection with the user terminal.
本发明实施例中,基站在接收到第一终端发送的携带第二终端的网络标识的查询指令之后;可以响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识;若存在,则为第一终端与第二终端分配用于通信的频谱资源,并生成广播信息,广播信息包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识;并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。在本发明实施例中,当基站为第一终端与第二终端分配频谱资源之后,则第一终端与第二终端 可以在该频谱资源上进行通信,而在通信过程中无需通过基站转发,从而可以提高通信质量。In the embodiment of the present invention, after receiving the query instruction that is sent by the first terminal and carrying the network identifier of the second terminal, the base station may respond to the query instruction to query whether the network of the second terminal exists in the pre-stored terminal device information set. And the first terminal and the second terminal are allocated spectrum resources for communication, and generate broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal; Broadcasting the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, and the first terminal establishes a communication connection with the second terminal on the spectrum resource. . In the embodiment of the present invention, after the base station allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal Communication can be performed on the spectrum resource without forwarding through the base station during communication, thereby improving communication quality.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种网络构架示意图;1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种通信方法的流程示意图;2 is a schematic flow chart of a communication method according to an embodiment of the present invention;
图3是本发明实施例公开的另一种通信方法的流程示意图;3 is a schematic flowchart of another communication method according to an embodiment of the present invention;
图4是本发明实施例公开的又一种通信方法的流程示意图;4 is a schematic flow chart of still another communication method according to an embodiment of the present invention;
图5是本发明实施例公开的一种基站的结构示意图;FIG. 5 is a schematic structural diagram of a base station according to an embodiment of the present disclosure;
图6是本发明实施例公开的另一种基站的结构示意图;FIG. 6 is a schematic structural diagram of another base station according to an embodiment of the present disclosure;
图7是本发明实施例公开的一种用户终端的结构示意图。FIG. 7 is a schematic structural diagram of a user terminal 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 a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供了一种通信方法及相关设备。在本发明实施例中,当基站为第一终端与第二终端分配频谱资源之后,则第一终端与第二终端可以在该频谱资源上进行通信,而在通信过程中无需通过基站转发,从而可以提高通信质量。The embodiment of the invention provides a communication method and related equipment. In the embodiment of the present invention, after the base station allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal may communicate on the spectrum resource, but do not need to be forwarded by the base station during the communication process, thereby Can improve communication quality.
为了更好理解本发明实施例公开的一种无线报警方法及用户终端,下面先对本发明实施例适用的网络构架进行描述。请参阅图1,图1是本发明实施例公开的一种网络构架示意图。在图1所示的网络构架中,可以包括第一终端、第二终端以及基站。其中,第一终端与第二终端可以建立通信连接。在图1所示的网络构架中,第一终端可以包括移动手机、平板电脑、个人数字助理(Personal  Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类具有通信功能的用户终端;第二终端也可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各类具有通信功能的用户终端。通过实施图1所示的网络构架,第一终端和第二终端可以通过基站分配的频谱资源进行通信,无需通过基站转发,从而可以提高通信质量。In order to better understand a wireless alarm method and user terminal disclosed in the embodiments of the present invention, a network architecture to which the embodiments of the present invention are applied will be described below. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention. In the network architecture shown in FIG. 1, a first terminal, a second terminal, and a base station may be included. The first terminal and the second terminal can establish a communication connection. In the network architecture shown in FIG. 1, the first terminal may include a mobile phone, a tablet, and a personal digital assistant (Personal) Digital Assistant (PDA), Mobile Internet Device (MID), smart wearable devices (such as smart watches, smart bracelets) and other user terminals with communication functions; second terminals can also include mobile phones, tablets , Personal Digital Assistant (PDA), Mobile Internet Device (MID), smart wearable devices (such as smart watches, smart bracelets) and other user terminals with communication functions. By implementing the network architecture shown in FIG. 1, the first terminal and the second terminal can communicate through the spectrum resources allocated by the base station, without forwarding through the base station, thereby improving communication quality.
基于图1所示的网络构架,本发明实施例公开了一种通信方法,用于基站。请参阅图2,图2是本发明实施例公开的一种通信方法的流程示意图;如图2所示,该通信方法可以包括以下步骤:Based on the network architecture shown in FIG. 1, an embodiment of the present invention discloses a communication method for a base station. Referring to FIG. 2, FIG. 2 is a schematic flowchart of a communication method according to an embodiment of the present invention; as shown in FIG. 2, the communication method may include the following steps:
S101、接收第一终端发送的携带第二终端的网络标识的查询指令。S101. Receive a query instruction that is sent by the first terminal and carries a network identifier of the second terminal.
本发明实施例中,基站即公用移动通信基站,是无线电台站的一种形式,是指在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信电台。移动通信基站的建设是我国移动通信运营商投资的重要部分,移动通信基站的建设一般都是围绕覆盖面、通话质量、投资效益、建设难易、维护方便等要素进行。随着移动通信网络业务向数据化、分组化方向发展,移动通信基站的发展趋势也必然是宽带化、大覆盖面建设及IP化。一个基站的选择,需从性能、配套、兼容性及使用要求等各方面综合考虑,其中特别注意的是基站设备必须与移动交换中心相兼容或配套,这样才能取得较好的通信效果。基站子系统主要包括两类设备:基站收发台和基站控制器。In the embodiment of the present invention, the base station, that is, the public mobile communication base station, is a form of a radio station, and refers to a radio transmission and reception of information transmission between the mobile communication switching center and the mobile telephone terminal in a certain radio coverage area. Letter radio. The construction of mobile communication base stations is an important part of the investment of mobile communication operators in China. The construction of mobile communication base stations is generally carried out around the elements of coverage, call quality, investment efficiency, construction difficulty and maintenance. With the development of mobile communication network services in the direction of data and packetization, the development trend of mobile communication base stations is bound to be broadband, large coverage construction and IP. The choice of a base station needs to be comprehensively considered in terms of performance, matching, compatibility, and usage requirements. Special attention is paid to the fact that the base station equipment must be compatible or compatible with the mobile switching center, so as to achieve better communication results. The base station subsystem mainly includes two types of equipment: a base transceiver station and a base station controller.
本发明实施例中,基站首先接收第一终端发送的携带第二终端的网络标识的查询指令。其中,第二终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第二终端的网络标识也可能不同。举例来说,当第一终端是通过电话应用程序发送的查询指令时,则第二终端的网络标识可以是电话号码。当第一终端是通过其他聊天应用程序发送的查询指令时,则第二终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the base station first receives a query instruction that is sent by the first terminal and carries the network identifier of the second terminal. The network identifier of the second terminal is related to the application corresponding to the sending of the query instruction, that is, the application that sends the query instruction is different, and the network identifier of the corresponding second terminal may also be different. For example, when the first terminal is a query command sent by the phone application, the network identifier of the second terminal may be a phone number. When the first terminal is a query instruction sent by another chat application, the network identifier of the second terminal may be a chat account registered on the chat application or the like.
S102、响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识。 S102. Respond to the query instruction to query whether a network identifier of the second terminal exists in the pre-stored terminal device information set.
本发明实施例中,可以在基站中预先存储终端设备信息。其中,该终端设备信息可以包括但不限于电话号码、终端设备号、在终端安装的应用程序上注册的账号以及终端设备型号等等信息。In the embodiment of the present invention, the terminal device information may be pre-stored in the base station. The terminal device information may include, but is not limited to, a phone number, a terminal device number, an account registered on an application installed by the terminal, and a model of the terminal device.
本发明实施例中,当基站接收到第一终端发送的携带第二终端的网络标识的查询指令之后,则可以根据第二终端的网络标识在预先存储的终端设备信息集合中进行查询,以查询该预先存储的终端设备信息集合中是否存在第二终端的网络标识。In the embodiment of the present invention, after the base station receives the query instruction of the network identifier of the second terminal that is sent by the first terminal, the base station may perform a query in the pre-stored terminal device information set according to the network identifier of the second terminal, to query Whether the network identifier of the second terminal exists in the pre-stored terminal device information set.
S103、若存在,为第一终端与第二终端分配用于通信的频谱资源。S103. If yes, allocate a spectrum resource for communication to the first terminal and the second terminal.
S104、生成广播信息,广播信息包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识。S104. Generate broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal.
S105、广播该广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。S105. The broadcast information is broadcasted, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, and is established by the first terminal and the second terminal on the spectrum resource. Communication connection.
本发明实施例中,频谱资源可以包括但不限于通信带宽、通信信道以及通信频点等资源。其中,频谱资源的资源信息包括通信带宽值、通信信道以及通信频点。In the embodiment of the present invention, the spectrum resource may include, but is not limited to, a communication bandwidth, a communication channel, and a communication frequency point. The resource information of the spectrum resource includes a communication bandwidth value, a communication channel, and a communication frequency point.
本发明实施例中,第一终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第一终端的网络标识也可能不同。举例来说,当是通过电话应用程序发送的查询指令时,则第一终端的网络标识可以是电话号码。当是通过其他聊天应用程序发送的查询指令时,则第一终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the network identifier of the first terminal is related to the application corresponding to the sending of the query instruction, that is, the application that sends the query instruction is different, and the network identifier of the corresponding first terminal may also be different. For example, when it is a query command sent by a phone application, the network identity of the first terminal may be a phone number. When it is a query instruction sent by another chat application, the network identifier of the first terminal may be a chat account registered on the chat application or the like.
本发明实施例中,在查询到在预先存储的终端设备信息集合中存在第二终端的网络标识时,基站会为第一终端与第二终端分配用于通信的频谱资源,并生成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息,并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。In the embodiment of the present invention, when the network identifier of the second terminal exists in the pre-stored terminal device information set, the base station allocates spectrum resources for communication to the first terminal and the second terminal, and generates a spectrum resource. The resource information, the network identifier of the first terminal, and the broadcast information of the network identifier of the second terminal, and broadcast the broadcast information, so that the first terminal sends the network identifier carrying the first terminal to the second terminal according to the broadcast information. The communication connection request, and the first terminal establishes a communication connection with the second terminal on the spectrum resource.
本发明实施例中,第一终端与第二终端在频谱资源上建立通信连接具体实施方式为:在第二终端接收到通信连接请求,则可以根据广播信息检测第一终 端网络标识是否为合法标识,若是,则第二终端向第一终端发送连接应答,以建立通信连接。In the embodiment of the present invention, the first terminal and the second terminal establish a communication connection on the spectrum resource. The specific implementation manner is: when the second terminal receives the communication connection request, the first terminal may be detected according to the broadcast information. Whether the end network identifier is a legal identifier, and if so, the second terminal sends a connection response to the first terminal to establish a communication connection.
在图2中,详细描述了基站在接收到第一终端发送的携带第二终端的网络标识的查询指令之后;可以响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识;若存在,则为第一终端与第二终端分配用于通信的频谱资源,并生成广播信息,广播信息包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识;并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。在本发明实施例中,当基站为第一终端与第二终端分配频谱资源之后,则第一终端与第二终端可以在该频谱资源上进行通信,而在通信过程中无需通过基站转发,从而可以提高通信质量。In FIG. 2, after the base station receives the query command that carries the network identifier of the second terminal that is sent by the first terminal, the base station may respond to the query command to query whether the second terminal exists in the pre-stored terminal device information set. a network identifier; if present, assigning a spectrum resource for communication to the first terminal and the second terminal, and generating broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network of the second terminal And transmitting the broadcast information, so that the first terminal sends the communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, and the first terminal and the second terminal establish the spectrum resource. Communication connection. In the embodiment of the present invention, after the base station allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal may communicate on the spectrum resource, but do not need to be forwarded by the base station during the communication process, thereby Can improve communication quality.
基于图1所示的网络构架,本发明实施例公开了另一种通信方法。请参阅图3,图3是本发明实施例公开的另一种通信方法的流程示意图。如图3所示,该通信方法可以包括以下步骤:Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses another communication method. Please refer to FIG. 3. FIG. 3 is a schematic flowchart diagram of another communication method according to an embodiment of the present invention. As shown in FIG. 3, the communication method may include the following steps:
S201、接收第一终端发送的携带第二终端的网络标识的查询指令。S201. Receive a query instruction that is sent by the first terminal and carries a network identifier of the second terminal.
S202、响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识。S202. Respond to the query instruction to query whether a network identifier of the second terminal exists in the pre-stored terminal device information set.
S203、若存在,为第一终端与第二终端分配用于通信的频谱资源,并生成广播信息,广播信息包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识,并广播该广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。S203. If yes, allocate a spectrum resource for communication to the first terminal and the second terminal, and generate broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal, and Broadcasting the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, and the first terminal establishes a communication connection with the second terminal on the spectrum resource. .
本发明实施例中,频谱资源可以包括但不限于通信带宽、通信信道以及通信频点等资源。其中,频谱资源的资源信息包括通信带宽值、通信信道以及通信频点。In the embodiment of the present invention, the spectrum resource may include, but is not limited to, a communication bandwidth, a communication channel, and a communication frequency point. The resource information of the spectrum resource includes a communication bandwidth value, a communication channel, and a communication frequency point.
作为一种可选的实施方式,在基站查询到在预先存储的终端设备信息集合中存在第二终端的网络标识之后,以及基站为第一终端与第二终端分配用于通信的频谱资源之前,还可以先检测第一终端是否存在绑定的第一固有频谱资源, 以及检测第二终端是否存在绑定的第二固有频谱资源;若检测到第一终端不存在第一固有频谱资源,以及检测到第二终端不存在第二固有频谱资源时,则为第一终端与第二终端分配用于通信的频谱资源。As an optional implementation manner, after the base station queries, after the network identifier of the second terminal exists in the pre-stored terminal device information set, and before the base station allocates the spectrum resource for communication to the first terminal and the second terminal, It is also possible to first detect whether the first terminal has a bound first natural spectrum resource. And detecting, by the second terminal, whether the second inherent spectrum resource is bound; if it is detected that the first terminal does not have the first inherent spectrum resource, and detecting that the second terminal does not have the second inherent spectrum resource, the first terminal is A spectrum resource for communication is allocated with the second terminal.
本发明实施例中,第一固有频谱资源包括与第一终端具有固定绑定关系的频谱资源;也即,第一固有频谱资源可以是第一终端可以长期使用的频谱资源。第二固有频谱资源则可以包括与第二终端具有固定绑定关系的频谱资源;也即,第二固有频谱资源可以是第二终端可以长期使用的频谱资源。In the embodiment of the present invention, the first intrinsic spectrum resource includes a spectrum resource that has a fixed binding relationship with the first terminal; that is, the first intrinsic spectrum resource may be a spectrum resource that the first terminal can use for a long time. The second intrinsic spectrum resource may include a spectrum resource that has a fixed binding relationship with the second terminal; that is, the second intrinsic spectrum resource may be a spectrum resource that the second terminal can use for a long time.
本发明实施例中,若检测到第一终端不存在第一固有频谱资源,以及检测到第二终端不存在第二固有频谱资源时,则说明第一终端与第二终端没有绑定的固有资源,则基站可以为第一终端与第二终端分配用于通信的频谱资源。其中,该用于通信的频谱资源主要包括后续第一终端与第二终端建立通信连接之后,则不需要再经过基站进行转发信息,而是第一终端与第二终端的通信信息直接在改频谱资源上进行传输。In the embodiment of the present invention, if it is detected that the first terminal does not have the first inherent spectrum resource, and the second terminal does not have the second inherent spectrum resource, the first terminal and the second terminal are not bound to the inherent resource. The base station may allocate spectrum resources for communication to the first terminal and the second terminal. The spectrum resource used for communication mainly includes that after the first terminal establishes a communication connection with the second terminal, the base station does not need to perform forwarding information through the base station, but the communication information of the first terminal and the second terminal directly changes the spectrum. Transfer on the resource.
进一步说,当检测到第一终端存在绑定的第一固有频谱资源,以及检测到第二终端存在绑定的第二固有频谱资源时,则可以进一步检测第一固有频谱资源与第二固有频谱资源是否存在共用频谱资源;若检测到第一固有频谱资源与第二固有频谱资源不存在共用频谱资源,则可以为第一终端与第二终端分配用于通信的频谱资源。Further, when it is detected that the first terminal has the first inherent spectrum resource bound, and the second terminal has the bound second natural spectrum resource detected, the first natural spectrum resource and the second natural spectrum may be further detected. Whether the resource has a shared spectrum resource; if it is detected that the first natural spectrum resource and the second inherent spectrum resource do not have the shared spectrum resource, the first terminal and the second terminal may be allocated spectrum resources for communication.
本发明实施例中,共用频谱资源可以理解成第一固有频谱资源与第二固有频谱资源交集频谱资源。也即,是第一固有频谱资源与第二固有频谱资源共同拥有的部分频谱资源。In the embodiment of the present invention, the shared spectrum resource can be understood as the intersection of the first natural spectrum resource and the second natural spectrum resource. That is, it is a part of the spectrum resource shared by the first natural spectral resource and the second inherent spectral resource.
本发明实施例中,当检测到第一固有频谱资源与第二固有频谱资源不存在共用频谱资源,则说明第一终端与第二终端没有共同拥有的频谱资源,则即使第一终端或者第二终端存在固有资源,也不能进行通信,则基站可以为第一终端与第二终端分配用于通信的频谱资源。In the embodiment of the present invention, when it is detected that the first natural spectrum resource and the second inherent spectrum resource do not have the shared spectrum resource, the first terminal and the second terminal do not have the shared spectrum resource, and even the first terminal or the second If the terminal has an inherent resource and cannot communicate, the base station may allocate spectrum resources for communication to the first terminal and the second terminal.
本发明实施例中,当检测到第一固有频谱资源与第二固有频谱资源存在共用频谱资源,则说明第一终端与第二终端可以通过使用该共用频谱资源进行通信,也即,在建立通信连接后,则无需通过基站进行转发信息,而直接在该共用频谱资源上进行传输即可。In the embodiment of the present invention, when it is detected that the first natural frequency spectrum resource and the second natural frequency spectrum resource share the same spectrum resource, the first terminal and the second terminal may communicate by using the shared spectrum resource, that is, the communication is established. After the connection, the information can be directly transmitted on the shared spectrum resource without forwarding information through the base station.
S204、检测第一终端与第二终端是否断开通信连接。 S204. Detect whether the first terminal and the second terminal disconnect the communication connection.
本发明实施例中,当第一终端与第二终端在基站分配的频谱资源上建立通信连接之后,则会占据该频谱资源。因此,为了确保频谱资源的合理使用,则基站会实时检测第一终端与第二终端是否断开通信连接。In the embodiment of the present invention, after the first terminal and the second terminal establish a communication connection on the spectrum resource allocated by the base station, the spectrum resource is occupied. Therefore, in order to ensure reasonable use of the spectrum resources, the base station detects in real time whether the first terminal and the second terminal disconnect the communication.
S205、若检测到第一终端与第二终端断开通信连接,根据第一终端的网络标识与第二终端的网络标识确定已分配的频谱资源,并回收频谱资源,更新频谱资源状态表。S205. If it is detected that the first terminal disconnects the communication connection with the second terminal, determine the allocated spectrum resource according to the network identifier of the first terminal and the network identifier of the second terminal, and recover the spectrum resource, and update the spectrum resource status table.
本发明实施例中,在检测到第一终端与第二终端断开通信连接,则说明基站为第一终端与第二终端分配的用于通信的频谱资源已经没有被占用(利用),则基站可以根据第一终端的网络标识与第二终端的网络标识确定已分配的频谱资源,并回收频谱资源,更新频谱资源状态表。也即,在回收上述为第一终端与第二终端分配的频谱资源后,则说明该频谱资源此时为空闲状态,则基站可以在频谱资源状态表中修改该频谱资源的状态,以更新频谱资源状态表。In the embodiment of the present invention, when it is detected that the first terminal disconnects the communication connection with the second terminal, it indicates that the spectrum resource used by the base station for the first terminal and the second terminal for communication is not occupied (utilized), and then the base station The allocated spectrum resource may be determined according to the network identifier of the first terminal and the network identifier of the second terminal, and the spectrum resource is recovered, and the spectrum resource status table is updated. That is, after recovering the spectrum resources allocated to the first terminal and the second terminal, the spectrum resource is in an idle state at this time, and the base station may modify the state of the spectrum resource in the spectrum resource status table to update the spectrum. Resource status table.
在图3中,详细描述了基站在为第一终端与第二终端分配用于通信的频谱资源之前,还会检测第一终端与第二终端是否都有固有频谱资源,若第一终端与第二终端都有固有频谱资源,且第一终端的第一固有频谱资源与第二终端的第二固有资源有共用频谱资源时,则第一终端与第二终端可以在该共用资源上进行通信。否则,基站可以为第一终端与第二终端分配用于通信的频谱资源。则在通信过程中无需通过基站转发,从而可以提高通信质量。In FIG. 3, the base station further detects whether the first terminal and the second terminal have inherent spectrum resources before allocating the spectrum resources for communication for the first terminal and the second terminal, if the first terminal and the first terminal When the second terminal has the inherent spectrum resource, and the first inherent spectrum resource of the first terminal and the second inherent resource of the second terminal share the spectrum resource, the first terminal and the second terminal can communicate on the shared resource. Otherwise, the base station may allocate spectrum resources for communication for the first terminal and the second terminal. In the communication process, there is no need to forward through the base station, so that the communication quality can be improved.
基于图1所示的网络构架,本发明实施例公开了又一种通信方法,用于用户终端。请参阅图4,图4是本发明实施例公开的又一种通信方法的流程示意图。如图4所示,该通信方法可以包括以下步骤:Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses another communication method for a user terminal. Please refer to FIG. 4. FIG. 4 is a schematic flowchart diagram of still another communication method according to an embodiment of the present invention. As shown in FIG. 4, the communication method may include the following steps:
S301、接收基站广播的广播信息。S301. Receive broadcast information broadcast by a base station.
本发明实施例中,广播信息包括频谱资源的资源信息、用户终端的网络标识以及与用户终端建立通信连接的终端的网络标识,频谱资源是由基站根据用户终端发送的携带与用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在与用户终端建立通信连接的终端的网络标识之后,为用户终端与,所述与所述用户终端建立通信连接的终端分配的用于通信的频谱资源。In the embodiment of the present invention, the broadcast information includes the resource information of the spectrum resource, the network identifier of the user terminal, and the network identifier of the terminal that establishes a communication connection with the user terminal, and the spectrum resource is established by the base station to establish a communication connection with the user terminal according to the carried by the user terminal. The query instruction of the network identifier of the terminal, after querying the network identifier of the terminal that establishes a communication connection with the user terminal in the pre-stored terminal device information set, is the user terminal and the terminal that establishes a communication connection with the user terminal The allocated spectrum resources for communication.
S302、根据广播信息在频谱资源上向与用户终端建立通信连接的终端发送 携带终端的网络标识的通信连接请求。S302. Send, according to the broadcast information, a terminal that establishes a communication connection with the user terminal on the spectrum resource. A communication connection request carrying the network identity of the terminal.
S303、响应与用户终端建立通信连接的终端反馈的连接应答,建立与该用户终端建立通信连接的终端的通信连接。S303. Respond to a connection response fed back by the terminal that establishes a communication connection with the user terminal, and establish a communication connection of the terminal that establishes a communication connection with the user terminal.
本发明实施例中,基站即公用移动通信基站,是无线电台站的一种形式,是指在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信电台。移动通信基站的建设是我国移动通信运营商投资的重要部分,移动通信基站的建设一般都是围绕覆盖面、通话质量、投资效益、建设难易、维护方便等要素进行。随着移动通信网络业务向数据化、分组化方向发展,移动通信基站的发展趋势也必然是宽带化、大覆盖面建设及IP化。一个基站的选择,需从性能、配套、兼容性及使用要求等各方面综合考虑,其中特别注意的是基站设备必须与移动交换中心相兼容或配套,这样才能取得较好的通信效果。基站子系统主要包括两类设备:基站收发台和基站控制器。In the embodiment of the present invention, the base station, that is, the public mobile communication base station, is a form of a radio station, and refers to a radio transmission and reception of information transmission between the mobile communication switching center and the mobile telephone terminal in a certain radio coverage area. Letter radio. The construction of mobile communication base stations is an important part of the investment of mobile communication operators in China. The construction of mobile communication base stations is generally carried out around the elements of coverage, call quality, investment efficiency, construction difficulty and maintenance. With the development of mobile communication network services in the direction of data and packetization, the development trend of mobile communication base stations is bound to be broadband, large coverage construction and IP. The choice of a base station needs to be comprehensively considered in terms of performance, matching, compatibility, and usage requirements. Special attention is paid to the fact that the base station equipment must be compatible or compatible with the mobile switching center, so as to achieve better communication results. The base station subsystem mainly includes two types of equipment: a base transceiver station and a base station controller.
本发明实施例中,第二终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第二终端的网络标识也可能不同。举例来说,当第一终端是通过电话应用程序发送的查询指令时,则第二终端的网络标识可以是电话号码。当第一终端是通过其他聊天应用程序发送的查询指令时,则第二终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the network identifier of the second terminal is related to the application corresponding to the sending of the query instruction, that is, the application that sends the query instruction is different, and the network identifier of the corresponding second terminal may also be different. For example, when the first terminal is a query command sent by the phone application, the network identifier of the second terminal may be a phone number. When the first terminal is a query instruction sent by another chat application, the network identifier of the second terminal may be a chat account registered on the chat application or the like.
本发明实施例中,可以在基站中预先存储终端设备信息。其中,该终端设备信息可以包括但不限于电话号码、终端设备号、在终端安装的应用程序上注册的账号以及终端设备型号等等信息。In the embodiment of the present invention, the terminal device information may be pre-stored in the base station. The terminal device information may include, but is not limited to, a phone number, a terminal device number, an account registered on an application installed by the terminal, and a model of the terminal device.
本发明实施例中,当基站接收到第一终端发送的携带第二终端的网络标识的查询指令之后,则可以根据第二终端的网络标识在预先存储的终端设备信息集合中进行查询,以查询该预先存储的终端设备信息集合中是否存在第二终端的网络标识。In the embodiment of the present invention, after the base station receives the query instruction of the network identifier of the second terminal that is sent by the first terminal, the base station may perform a query in the pre-stored terminal device information set according to the network identifier of the second terminal, to query Whether the network identifier of the second terminal exists in the pre-stored terminal device information set.
本发明实施例中,频谱资源可以包括但不限于通信带宽、通信信道以及通信频点等资源。其中,频谱资源的资源信息包括通信带宽值、通信信道以及通信频点。In the embodiment of the present invention, the spectrum resource may include, but is not limited to, a communication bandwidth, a communication channel, and a communication frequency point. The resource information of the spectrum resource includes a communication bandwidth value, a communication channel, and a communication frequency point.
本发明实施例中,第一终端的网络标识与发送该查询指令对应的应用程序 相关,也即,发送该查询指令的应用程序不同,其对应的携带的第一终端的网络标识也可能不同。举例来说,当是通过电话应用程序发送的查询指令时,则第一终端的网络标识可以是电话号码。当是通过其他聊天应用程序发送的查询指令时,则第一终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the network identifier of the first terminal and the application corresponding to the sending the query instruction Correspondingly, that is, the application that sends the query instruction is different, and the network identifier of the corresponding first terminal may also be different. For example, when it is a query command sent by a phone application, the network identity of the first terminal may be a phone number. When it is a query instruction sent by another chat application, the network identifier of the first terminal may be a chat account registered on the chat application or the like.
本发明实施例中,在查询到在预先存储的终端设备信息集合中存在第二终端的网络标识时,基站会为第一终端与第二终端分配用于通信的频谱资源,并生成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息,并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。In the embodiment of the present invention, when the network identifier of the second terminal exists in the pre-stored terminal device information set, the base station allocates spectrum resources for communication to the first terminal and the second terminal, and generates a spectrum resource. The resource information, the network identifier of the first terminal, and the broadcast information of the network identifier of the second terminal, and broadcast the broadcast information, so that the first terminal sends the network identifier carrying the first terminal to the second terminal according to the broadcast information. The communication connection request, and the first terminal establishes a communication connection with the second terminal on the spectrum resource.
本发明实施例中,第一终端与第二终端在频谱资源上建立通信连接具体实施方式为:在第二终端接收到通信连接请求,则可以根据广播信息检测第一终端网络标识是否为合法标识,若是,则第二终端向第一终端发送连接应答,以建立通信连接。In the embodiment of the present invention, the first terminal and the second terminal establish a communication connection on the spectrum resource. The specific implementation manner is: when the second terminal receives the communication connection request, it may detect, according to the broadcast information, whether the first terminal network identifier is a legal identifier. If yes, the second terminal sends a connection response to the first terminal to establish a communication connection.
在图4中,详细描述了第一终端在接收到基站广播的广播信息之后,可以根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,以使第一终端与第二终端在频谱资源上建立通信连接。其中,广播信息包括频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识,第二终端包括与第一终端建立通信连接的终端,频谱资源是由基站根据第一终端发送的携带第二终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在第二终端的网络标识之后,为第一终端与第二终端分配用于通信的频谱资源。在本发明实施例中,当基站为第一终端与第二终端分配频谱资源之后,则第一终端与第二终端可以在该频谱资源上进行通信,而在通信过程中无需通过基站转发,从而可以提高通信质量。In FIG. 4, after the first terminal receives the broadcast information broadcast by the base station, the first terminal may send a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, so that the first terminal The terminal establishes a communication connection with the second terminal on the spectrum resource. The broadcast information includes the resource information of the spectrum resource, the network identifier of the first terminal, and the network identifier of the second terminal, where the second terminal includes a terminal that establishes a communication connection with the first terminal, and the spectrum resource is sent by the base station according to the first terminal. The query command of the network identifier of the second terminal is used to query the network identifier of the second terminal in the pre-stored terminal device information set, and then allocate the spectrum resource for communication to the first terminal and the second terminal. In the embodiment of the present invention, after the base station allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal may communicate on the spectrum resource, but do not need to be forwarded by the base station during the communication process, thereby Can improve communication quality.
基于图1所示的网络构架,本发明实施例公开了一种基站,请参阅图5,图5是本发明实施例公开的一种基站的结构示意图,用于执行上述通信方法。如图5所示,该基站可以包括:接收单元401、查询单元402、分配单元403、生成单元404以及广播单元405,其中, Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses a base station. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a base station according to an embodiment of the present invention, for performing the foregoing communication method. As shown in FIG. 5, the base station may include: a receiving unit 401, a query unit 402, an allocating unit 403, a generating unit 404, and a broadcasting unit 405, where
接收单元401,用于接收第一终端发送的携带第二终端的网络标识的查询指令。The receiving unit 401 is configured to receive a query instruction that is sent by the first terminal and that carries the network identifier of the second terminal.
本发明实施例中,基站即公用移动通信基站,是无线电台站的一种形式,是指在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信电台。移动通信基站的建设是我国移动通信运营商投资的重要部分,移动通信基站的建设一般都是围绕覆盖面、通话质量、投资效益、建设难易、维护方便等要素进行。随着移动通信网络业务向数据化、分组化方向发展,移动通信基站的发展趋势也必然是宽带化、大覆盖面建设及IP化。一个基站的选择,需从性能、配套、兼容性及使用要求等各方面综合考虑,其中特别注意的是基站设备必须与移动交换中心相兼容或配套,这样才能取得较好的通信效果。基站子系统主要包括两类设备:基站收发台和基站控制器。In the embodiment of the present invention, the base station, that is, the public mobile communication base station, is a form of a radio station, and refers to a radio transmission and reception of information transmission between the mobile communication switching center and the mobile telephone terminal in a certain radio coverage area. Letter radio. The construction of mobile communication base stations is an important part of the investment of mobile communication operators in China. The construction of mobile communication base stations is generally carried out around the elements of coverage, call quality, investment efficiency, construction difficulty and maintenance. With the development of mobile communication network services in the direction of data and packetization, the development trend of mobile communication base stations is bound to be broadband, large coverage construction and IP. The choice of a base station needs to be comprehensively considered in terms of performance, matching, compatibility, and usage requirements. Special attention is paid to the fact that the base station equipment must be compatible or compatible with the mobile switching center, so as to achieve better communication results. The base station subsystem mainly includes two types of equipment: a base transceiver station and a base station controller.
本发明实施例中,接收单元401首先接收第一终端发送的携带第二终端的网络标识的查询指令。其中,第二终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第二终端的网络标识也可能不同。举例来说,当第一终端是通过电话应用程序发送的查询指令时,则第二终端的网络标识可以是电话号码。当第一终端是通过其他聊天应用程序发送的查询指令时,则第二终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the receiving unit 401 first receives a query instruction that is sent by the first terminal and carries the network identifier of the second terminal. The network identifier of the second terminal is related to the application corresponding to the query command, that is, the application that sends the query command is different, and the network identifier of the corresponding second terminal may also be different. For example, when the first terminal is a query command sent by the phone application, the network identifier of the second terminal may be a phone number. When the first terminal is a query instruction sent by another chat application, the network identifier of the second terminal may be a chat account registered on the chat application or the like.
查询单元402,用于响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识。The query unit 402 is configured to respond to the query instruction to query whether a network identifier of the second terminal exists in the pre-stored terminal device information set.
本发明实施例中,可以在基站中预先存储终端设备信息。其中,该终端设备信息可以包括但不限于电话号码、终端设备号、在终端安装的应用程序上注册的账号以及终端设备型号等等信息。In the embodiment of the present invention, the terminal device information may be pre-stored in the base station. The terminal device information may include, but is not limited to, a phone number, a terminal device number, an account registered on an application installed by the terminal, and a model of the terminal device.
本发明实施例中,当接收单元401接收到第一终端发送的携带第二终端的网络标识的查询指令之后,则查询单元402可以根据第二终端的网络标识在预先存储的终端设备信息集合中进行查询,以查询该预先存储的终端设备信息集合中是否存在第二终端的网络标识。In the embodiment of the present invention, after the receiving unit 401 receives the query instruction of the network identifier of the second terminal that is sent by the first terminal, the query unit 402 may be in the pre-stored terminal device information set according to the network identifier of the second terminal. The query is performed to query whether the network identifier of the second terminal exists in the pre-stored terminal device information set.
分配单元403,用于若在查询单元402查询到在预先存储的终端设备信息集合中存在第二终端的网络标识,为第一终端与第二终端分配用于通信的频谱资 源。The allocating unit 403 is configured to allocate, when the query unit 402, the network identifier of the second terminal in the pre-stored terminal device information set, allocate the spectrum resource for communication to the first terminal and the second terminal. source.
生成单元404,用于生成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息。The generating unit 404 is configured to generate broadcast information including resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal.
广播单元405,用于广播该广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。The broadcast unit 405 is configured to broadcast the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information, and is configured by the first terminal and the second terminal. Establish a communication connection on the spectrum resource.
本发明实施例中,频谱资源可以包括但不限于通信带宽、通信信道以及通信频点等资源。其中,频谱资源的资源信息包括通信带宽值、通信信道以及通信频点。In the embodiment of the present invention, the spectrum resource may include, but is not limited to, a communication bandwidth, a communication channel, and a communication frequency point. The resource information of the spectrum resource includes a communication bandwidth value, a communication channel, and a communication frequency point.
本发明实施例中,第一终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第一终端的网络标识也可能不同。举例来说,当是通过电话应用程序发送的查询指令时,则第一终端的网络标识可以是电话号码。当是通过其他聊天应用程序发送的查询指令时,则第一终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the network identifier of the first terminal is related to the application corresponding to the sending of the query instruction, that is, the application that sends the query instruction is different, and the network identifier of the corresponding first terminal may also be different. For example, when it is a query command sent by a phone application, the network identity of the first terminal may be a phone number. When it is a query instruction sent by another chat application, the network identifier of the first terminal may be a chat account registered on the chat application or the like.
本发明实施例中,在查询单元402查询到在预先存储的终端设备信息集合中存在第二终端的网络标识时,分配单元403会为第一终端与第二终端分配用于通信的频谱资源,生成单元404并生成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息,广播单元405并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。In the embodiment of the present invention, when the query unit 402 queries that the network identifier of the second terminal exists in the pre-stored terminal device information set, the allocating unit 403 allocates the spectrum resource for communication to the first terminal and the second terminal. Generating unit 404 and generating broadcast information including resource information of the spectrum resource, the network identifier of the first terminal, and the network identifier of the second terminal, and the broadcast unit 405 broadcasts the broadcast information, so that the first terminal is on the spectrum resource according to the broadcast information. The second terminal sends a communication connection request carrying the network identifier of the first terminal, and the first terminal establishes a communication connection with the second terminal on the spectrum resource.
本发明实施例中,第一终端与第二终端在频谱资源上建立通信连接具体实施方式为:在第二终端接收到通信连接请求,则可以根据广播信息检测第一终端网络标识是否为合法标识,若是,则第二终端向第一终端发送连接应答,以建立通信连接。In the embodiment of the present invention, the first terminal and the second terminal establish a communication connection on the spectrum resource. The specific implementation manner is: when the second terminal receives the communication connection request, it may detect, according to the broadcast information, whether the first terminal network identifier is a legal identifier. If yes, the second terminal sends a connection response to the first terminal to establish a communication connection.
在图5中,详细描述了在接收单元401接收到第一终端发送的携带第二终端的网络标识的查询指令之后;查询单元402可以响应查询指令,以查询在预先存储的终端设备信息集合中是否存在第二终端的网络标识;若存在,则分配单元403为第一终端与第二终端分配用于通信的频谱资源,生成单元404并生 成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息,广播单元405并广播广播信息,以使第一终端根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由第一终端与第二终端在频谱资源上建立通信连接。在本发明实施例中,当分配单元403为第一终端与第二终端分配频谱资源之后,则第一终端与第二终端可以在该频谱资源上进行通信,而在通信过程中无需通过基站转发,从而可以提高通信质量。In FIG. 5, after the receiving unit 401 receives the query instruction of the network identifier carrying the second terminal sent by the first terminal, the query unit 402 can respond to the query instruction to query the pre-stored terminal device information set. Whether there is a network identifier of the second terminal; if yes, the allocating unit 403 allocates spectrum resources for communication to the first terminal and the second terminal, and the generating unit 404 generates The broadcast unit 405 broadcasts the broadcast information, so that the first terminal sends the broadcast information to the second terminal according to the broadcast information, and the broadcast information is broadcasted by the broadcast unit 405 according to the broadcast information. Carrying a communication connection request of the network identifier of the first terminal, and establishing a communication connection between the first terminal and the second terminal on the spectrum resource. In the embodiment of the present invention, after the allocating unit 403 allocates spectrum resources to the first terminal and the second terminal, the first terminal and the second terminal may communicate on the spectrum resource, but do not need to be forwarded by the base station during the communication process. , which can improve the communication quality.
基于图1所示的网络构架,本发明实施例公开了另一种基站,请参阅图6,图6是本发明实施例公开的另一种基站的结构示意图,用于执行上述通信方法。其中,图6是在图5的基础上进一步细化得到,除包括图5所示所有单元外,还可以包括:检测单元406以及确定单元407,其中,Based on the network architecture shown in FIG. 1 , another base station is disclosed in the embodiment of the present invention. Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of another base station according to an embodiment of the present invention, for performing the foregoing communication method. 6 is further refined on the basis of FIG. 5, and may include: a detecting unit 406 and a determining unit 407, in addition to all the units shown in FIG.
检测单元406,用于检测第一终端是否存在绑定的第一固有频谱资源,以及检测第二终端是否存在绑定的第二固有频谱资源。The detecting unit 406 is configured to detect whether the first terminal has the bound first natural frequency spectrum resource, and detect whether the second terminal has the bound second natural frequency spectrum resource.
分配单元403具体用于若检测单元406检测到第一终端不存在第一固有频谱资源,以及检测到第二终端不存在第二固有频谱资源时,为第一终端与第二终端分配用于通信的频谱资源。The allocating unit 403 is specifically configured to: when the detecting unit 406 detects that the first terminal does not have the first inherent spectrum resource, and detects that the second terminal does not have the second inherent spectrum resource, allocate the first terminal and the second terminal for communication. Spectrum resources.
本发明实施例中,第一固有频谱资源包括与第一终端具有固定绑定关系的频谱资源;也即,第一固有频谱资源可以是第一终端可以长期使用的频谱资源。第二固有频谱资源则可以包括与第二终端具有固定绑定关系的频谱资源;也即,第二固有频谱资源可以是第二终端可以长期使用的频谱资源。In the embodiment of the present invention, the first intrinsic spectrum resource includes a spectrum resource that has a fixed binding relationship with the first terminal; that is, the first intrinsic spectrum resource may be a spectrum resource that the first terminal can use for a long time. The second intrinsic spectrum resource may include a spectrum resource that has a fixed binding relationship with the second terminal; that is, the second intrinsic spectrum resource may be a spectrum resource that the second terminal can use for a long time.
本发明实施例中,若检测单元406检测到第一终端不存在第一固有频谱资源,以及检测到第二终端不存在第二固有频谱资源时,则说明第一终端与第二终端没有绑定的固有资源,则分配单元403可以为第一终端与第二终端分配用于通信的频谱资源。其中,该用于通信的频谱资源主要包括后续第一终端与第二终端建立通信连接之后,则不需要再经过基站进行转发信息,而是第一终端与第二终端的通信信息直接在改频谱资源上进行传输。In the embodiment of the present invention, if the detecting unit 406 detects that the first terminal does not have the first inherent spectrum resource, and detects that the second terminal does not have the second inherent spectrum resource, the first terminal is not bound to the second terminal. The intrinsic resource, the allocating unit 403 may allocate the spectrum resource for communication to the first terminal and the second terminal. The spectrum resource used for communication mainly includes that after the first terminal establishes a communication connection with the second terminal, the base station does not need to perform forwarding information through the base station, but the communication information of the first terminal and the second terminal directly changes the spectrum. Transfer on the resource.
确定单元407,用于若检测单元406检测到第一终端与第二终端断开通信连接,根据第一终端的网络标识与第二终端的网络标识确定已分配的所述频谱资源,并回收频谱资源,更新频谱资源状态表。 The determining unit 407 is configured to: if the detecting unit 406 detects that the first terminal disconnects the communication connection with the second terminal, determines the allocated spectrum resource according to the network identifier of the first terminal and the network identifier of the second terminal, and recovers the spectrum Resource, update the spectrum resource status table.
本发明实施例中,在检测单元406检测到第一终端与第二终端断开通信连接,则说明基站为第一终端与第二终端分配的用于通信的频谱资源已经没有被占用(利用),则确定单元407可以根据第一终端的网络标识与第二终端的网络标识确定已分配的频谱资源,并回收频谱资源,更新频谱资源状态表。也即,在回收上述为第一终端与第二终端分配的频谱资源后,则说明该频谱资源此时为空闲状态,则基站可以在频谱资源状态表中修改该频谱资源的状态,以更新频谱资源状态表。In the embodiment of the present invention, when the detecting unit 406 detects that the first terminal disconnects the communication connection with the second terminal, it indicates that the spectrum resource allocated by the base station for the first terminal and the second terminal for communication is not occupied (utilized). The determining unit 407 may determine the allocated spectrum resource according to the network identifier of the first terminal and the network identifier of the second terminal, and recover the spectrum resource, and update the spectrum resource status table. That is, after recovering the spectrum resources allocated to the first terminal and the second terminal, the spectrum resource is in an idle state at this time, and the base station may modify the state of the spectrum resource in the spectrum resource status table to update the spectrum. Resource status table.
基于图1所示的网络构架,本发明实施例公开了一种用户终端。请参阅图7,图7是本发明实施例公开的一种用户终端的结构示意图,用于执行上述通信方法。如图7所示,该用户终端可以包括:接收单元501、发送单元502以及连接单元503,其中,Based on the network architecture shown in FIG. 1, an embodiment of the present invention discloses a user terminal. Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a user terminal according to an embodiment of the present invention, for performing the foregoing communication method. As shown in FIG. 7, the user terminal may include: a receiving unit 501, a sending unit 502, and a connecting unit 503, where
接收单元501,用于接收基站广播的广播信息,其中,广播信息包括频谱资源的资源信息、用户终端的网络标识以及与用户终端建立通信连接的终端的网络标识,频谱资源是由基站根据用户终端发送的携带与用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在与用户终端建立通信连接的终端的网络标识之后,为用户终端与用户终端建立通信连接的终端分配的用于通信的频谱资源。The receiving unit 501 is configured to receive broadcast information broadcast by the base station, where the broadcast information includes resource information of the spectrum resource, a network identifier of the user terminal, and a network identifier of the terminal that establishes a communication connection with the user terminal, where the spectrum resource is determined by the base station according to the user terminal. Sending a query command for carrying the network identifier of the terminal that establishes a communication connection with the user terminal, and querying the network identifier of the terminal that establishes a communication connection with the user terminal in the pre-stored terminal device information set, establishing communication for the user terminal and the user terminal A spectrum resource allocated for communication by a connected terminal.
本发明实施例中,基站即公用移动通信基站,是无线电台站的一种形式,是指在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信电台。移动通信基站的建设是我国移动通信运营商投资的重要部分,移动通信基站的建设一般都是围绕覆盖面、通话质量、投资效益、建设难易、维护方便等要素进行。随着移动通信网络业务向数据化、分组化方向发展,移动通信基站的发展趋势也必然是宽带化、大覆盖面建设及IP化。一个基站的选择,需从性能、配套、兼容性及使用要求等各方面综合考虑,其中特别注意的是基站设备必须与移动交换中心相兼容或配套,这样才能取得较好的通信效果。基站子系统主要包括两类设备:基站收发台和基站控制器。In the embodiment of the present invention, the base station, that is, the public mobile communication base station, is a form of a radio station, and refers to a radio transmission and reception of information transmission between the mobile communication switching center and the mobile telephone terminal in a certain radio coverage area. Letter radio. The construction of mobile communication base stations is an important part of the investment of mobile communication operators in China. The construction of mobile communication base stations is generally carried out around the elements of coverage, call quality, investment efficiency, construction difficulty and maintenance. With the development of mobile communication network services in the direction of data and packetization, the development trend of mobile communication base stations is bound to be broadband, large coverage construction and IP. The choice of a base station needs to be comprehensively considered in terms of performance, matching, compatibility, and usage requirements. Special attention is paid to the fact that the base station equipment must be compatible or compatible with the mobile switching center, so as to achieve better communication results. The base station subsystem mainly includes two types of equipment: a base transceiver station and a base station controller.
本发明实施例中,基站首先接收第一终端发送的携带第二终端的网络标识的查询指令。其中,第二终端的网络标识与发送该查询指令对应的应用程序相 关,也即,发送该查询指令的应用程序不同,其对应的携带的第二终端的网络标识也可能不同。举例来说,当第一终端是通过电话应用程序发送的查询指令时,则第二终端的网络标识可以是电话号码。当第一终端是通过其他聊天应用程序发送的查询指令时,则第二终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the base station first receives a query instruction that is sent by the first terminal and carries the network identifier of the second terminal. The network identifier of the second terminal is related to the application corresponding to sending the query instruction. That is, the application that sends the query instruction is different, and the network identifier of the corresponding second terminal may also be different. For example, when the first terminal is a query command sent by the phone application, the network identifier of the second terminal may be a phone number. When the first terminal is a query instruction sent by another chat application, the network identifier of the second terminal may be a chat account registered on the chat application or the like.
本发明实施例中,可以在基站中预先存储终端设备信息。其中,该终端设备信息可以包括但不限于电话号码、终端设备号、在终端安装的应用程序上注册的账号以及终端设备型号等等信息。In the embodiment of the present invention, the terminal device information may be pre-stored in the base station. The terminal device information may include, but is not limited to, a phone number, a terminal device number, an account registered on an application installed by the terminal, and a model of the terminal device.
本发明实施例中,当基站接收到第一终端发送的携带第二终端的网络标识的查询指令之后,则可以根据第二终端的网络标识在预先存储的终端设备信息集合中进行查询,以查询该预先存储的终端设备信息集合中是否存在第二终端的网络标识。In the embodiment of the present invention, after the base station receives the query instruction of the network identifier of the second terminal that is sent by the first terminal, the base station may perform a query in the pre-stored terminal device information set according to the network identifier of the second terminal, to query Whether the network identifier of the second terminal exists in the pre-stored terminal device information set.
本发明实施例中,频谱资源可以包括但不限于通信带宽、通信信道以及通信频点等资源。其中,频谱资源的资源信息包括通信带宽值、通信信道以及通信频点。In the embodiment of the present invention, the spectrum resource may include, but is not limited to, a communication bandwidth, a communication channel, and a communication frequency point. The resource information of the spectrum resource includes a communication bandwidth value, a communication channel, and a communication frequency point.
本发明实施例中,第一终端的网络标识与发送该查询指令对应的应用程序相关,也即,发送该查询指令的应用程序不同,其对应的携带的第一终端的网络标识也可能不同。举例来说,当是通过电话应用程序发送的查询指令时,则第一终端的网络标识可以是电话号码。当是通过其他聊天应用程序发送的查询指令时,则第一终端的网络标识可以是在该聊天应用程序上注册的聊天账号等等。In the embodiment of the present invention, the network identifier of the first terminal is related to the application corresponding to the sending of the query instruction, that is, the application that sends the query instruction is different, and the network identifier of the corresponding first terminal may also be different. For example, when it is a query command sent by a phone application, the network identity of the first terminal may be a phone number. When it is a query instruction sent by another chat application, the network identifier of the first terminal may be a chat account registered on the chat application or the like.
发送单元502,用于根据广播信息在频谱资源上向与用户终端建立通信连接的终端发送携带终端的网络标识的通信连接请求。The sending unit 502 is configured to send, according to the broadcast information, a communication connection request that carries the network identifier of the terminal to the terminal that establishes a communication connection with the user terminal on the spectrum resource.
连接单元503,用于响应与用户终端建立通信连接的终端反馈的连接应答,建立与用户终端建立通信连接的终端的通信连接。The connection unit 503 is configured to establish a communication connection of the terminal that establishes a communication connection with the user terminal in response to the connection response fed back by the terminal establishing the communication connection with the user terminal.
本发明实施例中,在基站查询到在预先存储的终端设备信息集合中存在第二终端的网络标识时,基站会为第一终端与第二终端分配用于通信的频谱资源,并生成包含频谱资源的资源信息、第一终端的网络标识以及第二终端的网络标识的广播信息,并广播广播信息,发送单元502根据广播信息在频谱资源上向第二终端发送携带第一终端的网络标识的通信连接请求,并由连接单元503与 第二终端在频谱资源上建立通信连接。In the embodiment of the present invention, when the base station queries that the network identifier of the second terminal exists in the pre-stored terminal device information set, the base station allocates spectrum resources for communication to the first terminal and the second terminal, and generates a spectrum included. The resource information of the resource, the network identifier of the first terminal, and the broadcast information of the network identifier of the second terminal, and broadcasts the broadcast information, and the sending unit 502 sends the network identifier carrying the first terminal to the second terminal according to the broadcast information. Communication connection request, and is connected by the connection unit 503 The second terminal establishes a communication connection on the spectrum resource.
本发明实施例中,第一终端与第二终端在频谱资源上建立通信连接具体实施方式为:在第二终端接收到通信连接请求,则可以根据广播信息检测第一终端网络标识是否为合法标识,若是,则第二终端向第一终端发送连接应答,以建立通信连接。In the embodiment of the present invention, the first terminal and the second terminal establish a communication connection on the spectrum resource. The specific implementation manner is: when the second terminal receives the communication connection request, it may detect, according to the broadcast information, whether the first terminal network identifier is a legal identifier. If yes, the second terminal sends a connection response to the first terminal to establish a communication connection.
具体的,本发明实施例中介绍的用户终端可以实施本发明结合图2、图3或图4介绍的通信方法实施例中的部分或全部流程。Specifically, the user terminal introduced in the embodiment of the present invention may implement some or all of the processes in the embodiment of the communication method introduced by the present invention in conjunction with FIG. 2, FIG. 3 or FIG.
本发明所有实施例中的模块或子模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。The modules or sub-modules in all the embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例用户终端中的单元可以根据实际需要进行合并、划分和删减。The units in the user terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the foregoing embodiments 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 the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (10)

  1. 一种通信方法,其特征在于,用于基站,包括:A communication method, characterized by being used in a base station, comprising:
    接收第一终端发送的携带第二终端的网络标识的查询指令;Receiving, by the first terminal, a query instruction that carries the network identifier of the second terminal;
    响应所述查询指令,以查询在预先存储的终端设备信息集合中是否存在所述第二终端的网络标识;Responding to the query instruction to query whether a network identifier of the second terminal exists in a pre-stored terminal device information set;
    若存在,则为所述第一终端与所述第二终端分配用于通信的频谱资源;If present, allocate the spectrum resource for communication to the first terminal and the second terminal;
    生成广播信息,所述广播信息包含所述频谱资源的资源信息、所述第一终端的网络标识以及所述第二终端的网络标识;Generating broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal;
    广播所述广播信息,以使所述第一终端根据所述广播信息在所述频谱资源上向所述第二终端发送携带所述第一终端的网络标识的通信连接请求,并由所述第一终端与所述第二终端在所述频谱资源上建立通信连接。Broadcasting the broadcast information, so that the first terminal sends a communication connection request carrying the network identifier of the first terminal to the second terminal according to the broadcast information on the spectrum resource, and is configured by the first A terminal establishes a communication connection with the second terminal on the spectrum resource.
  2. 根据权利要求1所述的方法,其特征在于,在查询到在所述预先存储的终端设备信息集合中存在所述第二终端的网络标识之后,所述为所述第一终端与所述第二终端分配用于通信的频谱资源之前,所述方法还包括:The method according to claim 1, wherein after the network identifier of the second terminal exists in the pre-stored terminal device information set, the first terminal and the first Before the second terminal allocates the spectrum resource for communication, the method further includes:
    检测所述第一终端是否存在绑定的第一固有频谱资源,以及检测所述第二终端是否存在绑定的第二固有频谱资源;Detecting whether the first terminal has a bound first natural frequency spectrum resource, and detecting whether the second terminal has a bound second natural frequency spectrum resource;
    若检测到所述第一终端不存在所述第一固有频谱资源,以及检测到所述第二终端不存在所述第二固有频谱资源时,执行为所述第一终端与所述第二终端分配用于通信的频谱资源。If it is detected that the first terminal does not have the first natural frequency spectrum resource, and if the second terminal does not have the second inherent spectrum resource, the first terminal and the second terminal are executed. Allocate spectrum resources for communication.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    若检测到所述第一终端存在绑定的所述第一固有频谱资源,以及检测到所述第二终端存在绑定的所述第二固有频谱资源时,检测所述第一固有频谱资源与所述第二固有频谱资源是否存在共用频谱资源;Detecting the first inherent spectrum resource and detecting that the first terminal has the first inherent spectrum resource bound, and detecting that the second terminal has the second inherent spectrum resource bound to the second terminal Whether the second inherent spectral resource has a shared spectrum resource;
    若检测所述第一固有频谱资源与所述第二固有频谱资源不存在所述共用频谱资源,则执行所述为所述第一终端与所述第二终端分配用于通信的频谱资源。If it is detected that the first natural frequency spectrum resource and the second natural frequency spectrum resource do not have the shared spectrum resource, performing performing, by the first terminal, the second terminal, a spectrum resource for communication.
  4. 根据权利要求1~3中任意一项所述的方法,其特征在于,所述方法还包 括:The method according to any one of claims 1 to 3, characterized in that the method further comprises include:
    检测所述第一终端与所述第二终端是否断开所述通信连接;Detecting whether the first terminal and the second terminal disconnect the communication connection;
    若检测到所述第一终端与所述第二终端断开所述通信连接,根据所述第一终端的网络标识与所述第二终端的网络标识确定已分配的所述频谱资源,并回收所述频谱资源,更新频谱资源状态表。If it is detected that the first terminal disconnects the communication connection with the second terminal, determining the allocated spectrum resource according to the network identifier of the first terminal and the network identifier of the second terminal, and recovering The spectrum resource updates the spectrum resource status table.
  5. 一种通信方法,其特征在于,用于用户终端,包括:A communication method, characterized in that it is used for a user terminal, including:
    接收基站广播的广播信息,其中,所述广播信息包括频谱资源的资源信息、所述用户终端的网络标识以及与所述用户终端建立通信连接的终端的网络标识,所述频谱资源是由所述基站根据所述用户终端发送的携带所述与所述用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在所述与所述用户终端建立通信连接的终端的网络标识之后,为所述用户终端与,所述与所述用户终端建立通信连接的终端分配的用于通信的频谱资源;Receiving, by the base station, broadcast information, where the broadcast information includes resource information of a spectrum resource, a network identifier of the user terminal, and a network identifier of a terminal that establishes a communication connection with the user terminal, where the spectrum resource is The base station queries, according to the query instruction of the network identifier of the terminal that establishes the communication connection with the user terminal, that the user terminal establishes a communication connection with the user terminal in the pre-stored terminal device information set. After the network identifier of the terminal, the spectrum resource for communication allocated by the user terminal and the terminal establishing a communication connection with the user terminal;
    根据所述广播信息在所述频谱资源上向所述与所述用户终端建立通信连接的终端发送携带所述终端的网络标识的通信连接请求;Transmitting, according to the broadcast information, a communication connection request carrying the network identifier of the terminal to the terminal that establishes a communication connection with the user terminal on the spectrum resource;
    响应所述与所述用户终端建立通信连接的终端反馈的连接应答,建立与所述用户终端建立通信连接的终端的通信连接。And establishing a communication connection of the terminal that establishes a communication connection with the user terminal in response to the connection response fed back by the terminal establishing the communication connection with the user terminal.
  6. 一种基站,其特征在于,包括:A base station, comprising:
    接收单元,用于接收第一终端发送的携带第二终端的网络标识的查询指令;a receiving unit, configured to receive a query instruction that is sent by the first terminal and that carries the network identifier of the second terminal;
    查询单元,用于响应所述查询指令,以查询在预先存储的终端设备信息集合中是否存在所述第二终端的网络标识;a query unit, configured to respond to the query instruction, to query whether a network identifier of the second terminal exists in a pre-stored terminal device information set;
    分配单元,用于若在所述查询单元查询到在预先存储的终端设备信息集合中存在所述第二终端的网络标识,为所述第一终端与所述第二终端分配用于通信的频谱资源;An allocating unit, configured to allocate, for the first terminal and the second terminal, a spectrum for communication if the query unit queries the network identifier of the second terminal in a pre-stored terminal device information set Resource
    生成单元,用于生成广播信息,所述广播信息包含所述频谱资源的资源信息、所述第一终端的网络标识以及所述第二终端的网络标识;a generating unit, configured to generate broadcast information, where the broadcast information includes resource information of the spectrum resource, a network identifier of the first terminal, and a network identifier of the second terminal;
    广播单元,用于广播所述广播信息,以使所述第一终端根据所述广播信息在所述频谱资源上向所述第二终端发送携带所述第一终端的网络标识的通信连 接请求,并由所述第一终端与所述第二终端在所述频谱资源上建立通信连接。a broadcast unit, configured to broadcast the broadcast information, so that the first terminal sends, according to the broadcast information, a communication link that carries the network identifier of the first terminal to the second terminal on the spectrum resource. And receiving, by the first terminal, the second terminal establishes a communication connection on the spectrum resource.
  7. 根据权利要求6所述的基站,其特征在于,所述基站还包括:The base station according to claim 6, wherein the base station further comprises:
    检测单元,用于在所述查询单元查询到在所述预先存储的终端设备信息集合中存在所述第二终端的网络标识之后,所述分配单元为所述第一终端与所述第二终端分配用于通信的频谱资源之前,检测所述第一终端是否存在绑定的第一固有频谱资源,以及检测所述第二终端是否存在绑定的第二固有频谱资源;a detecting unit, configured to: after the query unit queries, that the network identifier of the second terminal exists in the pre-stored terminal device information set, the allocating unit is the first terminal and the second terminal Before detecting the spectrum resource for communication, detecting whether the first terminal has the bound first natural spectrum resource, and detecting whether the second terminal has the bound second inherent spectrum resource;
    所述分配单元具体用于若所述检测单元检测到所述第一终端不存在所述第一固有频谱资源,以及检测到所述第二终端不存在所述第二固有频谱资源时,为所述第一终端与所述第二终端分配用于通信的频谱资源。The allocating unit is specifically configured to: if the detecting unit detects that the first terminal does not have the first natural frequency spectrum resource, and detects that the second terminal does not have the second natural frequency spectrum resource, The first terminal and the second terminal allocate spectrum resources for communication.
  8. 根据权利要求7所述的基站,其特征在于,The base station according to claim 7, wherein
    所述检测单元还用于若所述检测单元检测到所述第一终端存在绑定的所述第一固有频谱资源,以及检测到所述第二终端存在绑定的所述第二固有频谱资源时,检测所述第一固有频谱资源与所述第二固有频谱资源是否存在共用频谱资源;The detecting unit is further configured to: if the detecting unit detects that the first terminal has the first inherent spectrum resource bound, and detects that the second terminal has the bound second natural spectrum resource And detecting whether the first natural spectral resource and the second natural spectral resource have a shared spectrum resource;
    所述分配单元具体用于所述检测单元检测到所述第一固有频谱资源与所述第二固有频谱资源不存在所述共用频谱资源,为所述第一终端与所述第二终端分配用于通信的频谱资源。The allocating unit is specifically configured to: the detecting unit detects that the first natural frequency resource and the second natural frequency resource do not have the shared spectrum resource, and allocates the first terminal and the second terminal Spectrum resources for communication.
  9. 根据权利要求6~8中任意一项所述的基站,其特征在于,A base station according to any one of claims 6 to 8, characterized in that
    所述检测单元还用于检测所述第一终端与所述第二终端是否断开所述通信连接;The detecting unit is further configured to detect whether the first terminal and the second terminal disconnect the communication connection;
    所述基站还包括:The base station further includes:
    确定单元,用于若所述检测单元检测到所述第一终端与所述第二终端断开所述通信连接,根据所述第一终端的网络标识与所述第二终端的网络标识确定已分配的所述频谱资源,并回收所述频谱资源,更新频谱资源状态表。a determining unit, configured to determine, according to the network identifier of the first terminal and the network identifier of the second terminal, that the detecting unit detects that the first terminal disconnects the communication connection with the second terminal Allocating the spectrum resource, and recovering the spectrum resource, and updating the spectrum resource status table.
  10. 一种用户终端,其特征在于,包括:A user terminal, comprising:
    接收单元,用于接收基站广播的广播信息,其中,所述广播信息包括频谱 资源的资源信息、所述用户终端的网络标识以及与所述用户终端建立通信连接的终端的网络标识,所述频谱资源是由所述基站根据所述用户终端发送的携带所述与所述用户终端建立通信连接的终端的网络标识的查询指令,查询到预先存储的终端设备信息集合中存在所述与所述用户终端建立通信连接的终端的网络标识之后,为所述用户终端与,所述与所述用户终端建立通信连接的终端分配的用于通信的频谱资源;a receiving unit, configured to receive broadcast information broadcast by a base station, where the broadcast information includes a spectrum Resource information of the resource, a network identifier of the user terminal, and a network identifier of the terminal that establishes a communication connection with the user terminal, where the spectrum resource is carried by the base station according to the user terminal After the terminal establishes a query instruction of the network identifier of the terminal connected to the communication, and queries the network identifier of the terminal that establishes the communication connection with the user terminal in the pre-stored terminal device information set, the user terminal and the a spectrum resource for communication allocated by a terminal establishing a communication connection with the user terminal;
    发送单元,用于根据所述广播信息在所述频谱资源上向所述与所述用户终端建立通信连接的终端发送携带所述终端的网络标识的通信连接请求;a sending unit, configured to send, according to the broadcast information, a communication connection request that carries the network identifier of the terminal to the terminal that establishes a communication connection with the user terminal on the spectrum resource;
    连接单元,用于响应所述与所述用户终端建立通信连接的终端反馈的连接应答,建立与所述用户终端建立通信连接的终端的通信连接。 And a connecting unit, configured to establish a communication connection of the terminal that establishes a communication connection with the user terminal in response to the connection response fed back by the terminal that establishes a communication connection with the user terminal.
PCT/CN2015/093510 2015-09-29 2015-10-31 Communication method and related device WO2017054284A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510634287.8 2015-09-29
CN201510634287.8A CN105188145B (en) 2015-09-29 2015-09-29 A kind of communication means and relevant device

Publications (1)

Publication Number Publication Date
WO2017054284A1 true WO2017054284A1 (en) 2017-04-06

Family

ID=54909923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093510 WO2017054284A1 (en) 2015-09-29 2015-10-31 Communication method and related device

Country Status (2)

Country Link
CN (1) CN105188145B (en)
WO (1) WO2017054284A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259408B (en) * 2016-12-28 2021-07-16 中国移动通信有限公司研究院 Information transmission method, server and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2491114A (en) * 2011-05-19 2012-11-28 Renesas Mobile Corp Direct device-to-device communication in a mobile communication system
CN103108329A (en) * 2011-11-09 2013-05-15 华为技术有限公司 Method, terminal and base station of assisting communication
WO2014157395A1 (en) * 2013-03-27 2014-10-02 京セラ株式会社 Mobile communication system, base station, and user terminal
CN104159304A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Device to device (D2D) communication method, and base station
CN104244443A (en) * 2013-06-08 2014-12-24 中国移动通信集团公司 End-to-end connection establishment method and mobile management entity (MME)
WO2014205746A1 (en) * 2013-06-27 2014-12-31 华为技术有限公司 Resource configuration method and device for terminal-to-terminal communication

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102651746A (en) * 2012-05-18 2012-08-29 珠海德百祺科技有限公司 Point-to-point information transmission method, system and device
CN104284292A (en) * 2013-07-09 2015-01-14 数码士控股有限公司 Apparatus and method for broadcasting data transmission on lte d2d communications
CN104902579B (en) * 2014-03-04 2018-12-18 上海宽带技术及应用工程研究中心 In a kind of wireless network communications system between terminal direct-connected communication method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2491114A (en) * 2011-05-19 2012-11-28 Renesas Mobile Corp Direct device-to-device communication in a mobile communication system
CN103108329A (en) * 2011-11-09 2013-05-15 华为技术有限公司 Method, terminal and base station of assisting communication
WO2014157395A1 (en) * 2013-03-27 2014-10-02 京セラ株式会社 Mobile communication system, base station, and user terminal
CN104159304A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Device to device (D2D) communication method, and base station
CN104244443A (en) * 2013-06-08 2014-12-24 中国移动通信集团公司 End-to-end connection establishment method and mobile management entity (MME)
WO2014205746A1 (en) * 2013-06-27 2014-12-31 华为技术有限公司 Resource configuration method and device for terminal-to-terminal communication

Also Published As

Publication number Publication date
CN105188145A (en) 2015-12-23
CN105188145B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US9468032B2 (en) Inter-device session connectivity enhancement
CN102170679B (en) Multimachine Bluetooth group communication method based on Android system
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
US20210076164A1 (en) Method, system and apparatus for multicast session management in 5g communication network
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
CN105451368B (en) Communication method and device
US20190281419A1 (en) Communication Method and Communications Apparatus
US10021512B2 (en) Switching to advertising locator after connection establishment
US10560532B2 (en) Quick relay session management protocol
US20160219418A1 (en) Hybrid terminal capable of avoiding signals originated by own terminal
TW201840237A (en) D2d communication method, remote user equipment, and relay user equipment
RU2676471C1 (en) Method and device for establishing transit channel
EP3057280B1 (en) Multiparty call method and apparatus
US9392631B2 (en) Wireless communication apparatus
JP2009177410A (en) Mobile communication system, base-station control device, base station, and communication connection method
CN104105117A (en) Method for achieving VoIP service in ad hoc network
WO2017054284A1 (en) Communication method and related device
US20200383055A1 (en) Signal processing method and apparatus
CN104662991A (en) Apparatus and method for communication
CN109743715B (en) Processing method and system and electronic equipment
CN110856213A (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN108174434B (en) Method, terminal and intelligent device for automatically switching communication modes
CN108401228B (en) Communication method and device
RU2679184C1 (en) Method for distributing ip addresses in d2d communication and user equipment
CN110809242B (en) Media interaction method under DECT network cluster

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: 15905196

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15905196

Country of ref document: EP

Kind code of ref document: A1