WO2013189130A1 - Communication system and communication method based on ad hoc network - Google Patents

Communication system and communication method based on ad hoc network Download PDF

Info

Publication number
WO2013189130A1
WO2013189130A1 PCT/CN2012/081318 CN2012081318W WO2013189130A1 WO 2013189130 A1 WO2013189130 A1 WO 2013189130A1 CN 2012081318 W CN2012081318 W CN 2012081318W WO 2013189130 A1 WO2013189130 A1 WO 2013189130A1
Authority
WO
WIPO (PCT)
Prior art keywords
cluster head
head device
user information
point
peer
Prior art date
Application number
PCT/CN2012/081318
Other languages
French (fr)
Chinese (zh)
Inventor
席春艳
宋波
程晓峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013189130A1 publication Critical patent/WO2013189130A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to the field of Ad Hoc (point-to-point) network technologies, and in particular, to a system and a communication method for communicating using an Ad Hoc network. Background technique
  • An Ad Hoc network is a multi-hop, centerless, self-organizing wireless network, also known as a multi-hop network, an infrastructure-free network, or an ad hoc network.
  • the entire network has no fixed infrastructure, each node is mobile and can dynamically maintain contact with other nodes in any way.
  • Each node is also a router that performs discovery and maintains routing to other nodes.
  • the Ad Hoc network is a special wireless mobile network. All nodes in the network have equal status and there is no need to set up any central control nodes. Nodes in the network not only have the functions required by ordinary mobile terminals, but also have packet forwarding capabilities. Compared with ordinary mobile networks and fixed networks, it has the following characteristics:
  • Ad Hoc networks can quickly build a mobile communication network without any support from hardware infrastructure at any time and any place. Its establishment does not depend on existing network communication facilities and has certain independence.
  • the mobile host can move around the network at will.
  • the movement of the host causes the link between the hosts to increase or disappear, and the relationship between the hosts constantly changes.
  • the host may also be a router at the same time. Therefore, the movement will cause the network topology to change constantly, and the way and speed of change are unpredictable.
  • Ad Hoc networks generally have two structures: a planar structure and a hierarchical structure.
  • a planar structure all nodes have equal status, so they can also be called a peer-to-peer structure.
  • the network is divided into clusters. Each cluster consists of a cluster head and a number of cluster node members that form a higher level network. In a higher-level network, clusters can be clustered to form a higher-level network again, up to the highest level.
  • Ad Hoc networks will have a broader prospect in the field of wireless communications.
  • the technical problem to be solved by the present invention is to provide a communication system and communication method based on a point-to-point network to reduce the high cost of the current telephone service.
  • the present invention discloses a communication system based on a point-to-point network, which includes two or more hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices, wherein:
  • the cluster head device in each hierarchical point-to-point network is configured to: perform user information interaction with the cluster head device in other hierarchical point-to-point networks, and perform user information under the cluster head device and other cluster head devices obtained by interaction.
  • the user information is broadcasted to the terminal device under the cluster head device, and the communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, the user information of the peer terminal device of the communication request is queried, and the corresponding cluster head is determined according to the user information.
  • the device sends the communication request to the determined cluster head device, and establishes a communication link with the cluster head device to implement communication between the terminal device and the opposite terminal device in the hierarchical point-to-point network;
  • the terminal device is configured to: receive all user information broadcast by the cluster head device in the hierarchical peer-to-peer network, select a communication user from the received user information, and send and select the selected one to the cluster head device in the hierarchical point-to-point network.
  • the communication request made by the user, and the command of the cluster head device in the hierarchical peer-to-peer network communicate with the selected user.
  • the cluster head device is a server.
  • the user information includes at least terminal device identification information.
  • the cluster head device in each hierarchical point-to-point network is further configured to: when the user information under the cluster head device is updated, send the updated user information to other cluster head devices in real time, and When receiving updated user information sent by other cluster head devices, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
  • Change (PS) domain and circuit switched (CS) domain are examples of cluster head device in each hierarchical point-to-point network.
  • the invention also discloses a communication method of a communication system based on a point-to-point network, comprising: performing user information interaction between cluster head devices in each hierarchical point-to-point network in a point-to-point network-based communication system, and each cluster head device will be the cluster head The user information under the device and the user information under other cluster head devices obtained by the interaction are broadcasted to the terminal device under the cluster head device;
  • the first terminal device in the point-to-point network-based communication system selects the second terminal device to be communicated from the received user information to the hierarchical peer-to-peer network.
  • the cluster head device sends a communication request with the selected second terminal device;
  • the cluster head device in the hierarchical peer-to-peer network in the communication system based on the peer-to-peer network receives the communication request initiated by the terminal device in the hierarchical point-to-point network, queries the user information of the second terminal device of the communication request, and determines the corresponding information according to the user information. a cluster head device, sending the communication request to the determined cluster head device, and establishing a communication link with the cluster head device;
  • the first terminal device communicates with the second terminal device.
  • the cluster head device is a server.
  • the user information includes at least terminal device identification information.
  • the cluster head device when the user information under a certain cluster head device is updated, the cluster head device sends the updated user information to other cluster head devices in real time;
  • the other cluster head device When the other cluster head device receives the updated user information, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
  • the communication between the first terminal device and the second terminal device includes a packet switched (PS) domain and a circuit switched (CS) domain.
  • PS packet switched
  • CS circuit switched
  • a cluster head device in a peer-to-peer network is applied to two or more hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices.
  • the cluster head device in the peer network is configured to: perform user information interaction with the cluster head device in the hierarchical point-to-point network, and the cluster head device in the other hierarchical point-to-point network, and the user under the cluster head device
  • User information of other cluster head devices obtained by information and interaction is broadcasted to the terminal device under the cluster head device, and a communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, and the user of the peer terminal device that queries the communication request is queried.
  • the cluster head device is a server.
  • the cluster head device in the peer-to-peer network is further configured to: when the user information under the cluster head device is updated, send the updated user information to other cluster head devices in real time, and receive other clusters.
  • the updated user information is sent by the head device, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
  • the technical solution of the present application provides a communication scheme based on the Ad Hoc network, which saves the user the cost of the telephone service, and the operation is simple and easy.
  • FIG. 1 is a schematic structural diagram of a communication system based on an Ad Hoc network according to an embodiment of the present invention
  • FIG. 2 is a specific flowchart of a client-to-server interaction according to an embodiment of the present invention. Preferred embodiment of the invention
  • the applicant proposed a dynamic IP allocation, communication system based on Ad Hoc network.
  • the system includes more than two hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices.
  • the cluster head device in each hierarchical point-to-point network exchanges user information with the cluster head device in other hierarchical point-to-point networks, and the user information under the cluster head device and the users under other cluster head devices obtained through interaction
  • the information is broadcasted to the terminal device under the cluster head device, and the communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, the user information of the peer terminal device of the communication request is queried, and the corresponding cluster head device is determined according to the user information.
  • the terminal device receives all the user information broadcasted by the cluster head device in the hierarchical peer-to-peer network, selects the user information of the peer terminal device of the communication from the received user information, and sends the information to the cluster head device in the hierarchical point-to-point network.
  • the selected terminal device performs a communication request and communicates with the selected user according to the instructions of the cluster head device in the hierarchical peer-to-peer network.
  • the above cluster head device can generally be an Ad Hoc server.
  • the user information includes at least terminal device identification information.
  • the users in each hierarchical Ad Hoc network are dynamically updated. Therefore, the cluster head device in each hierarchical point-to-point network in the above system will also update the user information under the cluster head device.
  • the updated user information is sent to other cluster head devices in real time, and the updated user information is broadcasted in real time when receiving updated user information sent by other cluster head devices. Give the terminal device under the cluster head device.
  • the communication between the terminal device and the opposite terminal device in the above system includes a packet switching (PS) domain and a circuit switched (CS) domain.
  • PS packet switching
  • CS circuit switched
  • the communication system composed of two hierarchical Ad Hoc networks is taken as an example to explain the working principle of the communication system in detail.
  • the communication system architecture provided by this embodiment is shown in FIG. 1.
  • the entire network architecture is a simple network structure, using a hierarchical network.
  • Server A and Server B are two servers of the Ad Hoc network. These two servers are equal in status and can be used as cluster head devices.
  • an Ad Hoc server is set up between the two companies.
  • the actual application is not limited to two servers, and there are many, and connections can be established directly according to business needs.
  • Mobile phone A1 ie terminal device A1
  • mobile phone A2... mobile phone AN is the peer node under server A, forming a hierarchical Ad Hoc network.
  • Mobile B1 ie terminal device B2
  • mobile phone B2... mobile phone BN is the peer node under server B. It forms another hierarchical Ad Hoc network. If the mobile phone A1 wants to contact A2, it can be forwarded to A2 through server A. The mobile phone A1 should contact B1 to forward it to server B through server A, and then forward it to mobile phone Bl through server B.
  • Server A and Server B function as cluster head devices and include the following functions:
  • the broadcast and resource allocation functions that is, sending broadcast messages, notify the terminal device (such as a mobile phone) under the server to exist, allocate relevant IP resources, and function as a DHCP server. After the user is successfully established, the user is allocated resources related to the communication, and user information (such as terminal device identification information).
  • the authentication function is to configure user information when the user attempts to access, and to authenticate the user and allow access.
  • the communication function mainly refers to information data that interacts with users of terminal devices (such as mobile phones), including voice data, signaling messages, and the like.
  • the routing function mainly forwards user information to other peer ad hoc servers and functions as a route. It is also routed to the peer Ad Hoc server to obtain the relevant user information under the peer Ad Hoc server.
  • the database function mainly includes two aspects, an authentication database, which is mainly responsible for the legality of the authentication user, and user rights.
  • the user database is mainly responsible for storing the user who passes the authentication, and the data may be from the user data of the group class (ie, the Ad Hoc server) and other group classes (ie, The data of other Ad Hoc servers, where the data of other groups comes from the routing interaction information between the Ad Hoc servers.
  • the Ad Hoc server can be notified in time to update, and after the user data of the server changes, the terminal device connected with him is also notified regularly, so that the Ad Hoc service and the mobile phone are You can get the latest online mobile phone user information, and connected mobile phone users can communicate with other users.
  • the terminal equipment is mainly responsible for the following services:
  • An access processing mainly refers to Ad Hoc server search, Ad Hoc server authentication, and Ad Hoc server login function.
  • the second interface display mainly the interface display of the upper APP application, displays some characteristic information of the Ad Hoc server, such as server name, group name, personal information, QOS, contactable user group (ie, the Ad Hoc server broadcasts to the terminal device) All user information) and so on.
  • the communication process is mainly the function of the client (ie, the terminal device) to make calls with other clients (ie other terminal devices) via the Ad Hoc server and the basic communication process of the server.
  • IM softwares on the market, such as Mi Chat on the mobile phone, WeChat, but all are PS (Packet Switch) domains.
  • PS Packet Switch
  • the communication process of the technical solution of the present application includes a CS (Circuit Switch) domain.
  • the communication process referred to in this paper includes dynamically receiving the broadcast message of the server, updating its own UI state information, and sending relevant messages to the server when the user status changes.
  • This embodiment introduces a communication method of a communication system based on a point-to-point network, including: performing user information interaction between cluster head devices in each hierarchical point-to-point network in a point-to-point network-based communication system, and each cluster head device will use the cluster head device The user information under the other cluster head device obtained by the user information and the interaction is broadcasted to the terminal device under the cluster head device;
  • the first terminal device in the point-to-point network-based communication system selects the second terminal device to be communicated from the received user information to the hierarchical peer-to-peer network.
  • the cluster head device sends a communication request with the selected second terminal device;
  • the cluster head device in the hierarchical point-to-point network in the communication system based on the peer-to-peer network receives this rating a communication request initiated by the terminal device in the peer-to-peer network, querying the user information of the second terminal device of the communication request, determining a corresponding cluster head device according to the user information, and transmitting the communication request to the determined cluster head device, and the The cluster head device establishes a communication link;
  • the first terminal device communicates with the second terminal device.
  • the cluster head device is a server.
  • the user information includes at least terminal device identification information.
  • the cluster head device when the user information under a certain cluster head device is updated, the cluster head device also sends the updated user information to other cluster head devices in real time;
  • the other cluster head device When the other cluster head device receives the updated user information, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
  • the communication between the first terminal device and the second terminal device includes a packet switching (PS) domain and a circuit switched (CS) domain.
  • PS packet switching
  • CS circuit switched
  • Step 1 The client searches for the Ad Hoc server.
  • the client searches for available Ad Hoc servers according to certain conditions. These conditions can be distance, hop count, name, etc.
  • the setting of the condition can be set by the user, and the terminal device (for example, mobile phone terminal) interface processing module is implemented. .
  • the list is displayed to the user for use by the user.
  • Step 2 The client logs in to the Ad Hoc server.
  • the user selects one of the searched Ad Hoc servers to log in.
  • the server authenticates the mobile phone user.
  • the client identifies if the server is a valid server available.
  • the server authenticates whether the client is a valid client.
  • the authentication method can be based on the agreement between the mobile phone and the server. It can be the account obtained by the user from the operator, directly registered according to the account information, or any other authentication method.
  • Step 3 The client obtains an online user contact
  • the mobile phone user sends a request to the server to obtain an online user contact.
  • the server sends the information of the mobile phone user who is online at this time to the mobile phone.
  • the mobile phone is processed by the interface processing module and displayed on the interface. User use. At the same time, the server will put some configuration letters of the user. The message is sent to the terminal device.
  • Step 4 The client communicates with the peer client.
  • the mobile phone selects an online user to make a call according to the requirement.
  • the server forwards and finds the called party.
  • the called party can respond to the normal call process. Otherwise, it needs to be routed to the Ad Hoc server to which the called party belongs, and the called party will be called by the Ad Hoc server to which the called party belongs.
  • the technical solution of the present application provides a communication scheme based on the Ad Hoc network, which saves the user the cost of the telephone service, and the operation is simple and easy.

Landscapes

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

Abstract

A communication system and a communication method using an Ad Hoc network relate to the technical field of the Ad Hoc network. Each cluster head device in the system is configured to: exchange user information with other cluster head devices, broadcast the user information to a terminal device, receive a communication request initiated by the terminal device, determine a cluster head device corresponding to the communication request, establish a communication link with the determined cluster head device, so as to realize communication between the terminal device and a peer terminal device. The terminal device receives all user information broadcasted, selects a user for communication, sends to a cluster head device a communication request for communicating with the selected user, and communicates with the selected user according to an instruction of the cluster head device. Also disclosed is a communication method in a communication system based on an Ad Hoc network. The technical solution of the present application saves telephone service fees for a user, and is easy to operate.

Description

一种基于点对点网络的通讯系统及通讯方法  Communication system and communication method based on point-to-point network
技术领域 Technical field
本发明涉及 Ad Hoc (点对点)网络技术领域, 尤其涉及一种利用 Ad Hoc 网络进行通讯的系统及通讯方法。 背景技术  The present invention relates to the field of Ad Hoc (point-to-point) network technologies, and in particular, to a system and a communication method for communicating using an Ad Hoc network. Background technique
Ad Hoc 网是一种多跳的、 无中心的、 自组织无线网络, 又称为多跳网 ( Multi-hop Network ) 、 无基础设施网或自组织网。 整个网络没有固定的基 础设施, 每个节点都是移动的, 并且都能以任意方式动态地保持与其它节点 的联系。 在这种网络中, 由于终端无线覆盖取值范围的有限性, 两个无法直 接进行通信的用户终端可以借助其它节点进行分组转发。 每一个节点同时是 一个路由器, 它们能完成发现以及维持到其它节点路由的功能。  An Ad Hoc network is a multi-hop, centerless, self-organizing wireless network, also known as a multi-hop network, an infrastructure-free network, or an ad hoc network. The entire network has no fixed infrastructure, each node is mobile and can dynamically maintain contact with other nodes in any way. In such a network, due to the limited range of the wireless coverage of the terminal, two user terminals that cannot communicate directly can perform packet forwarding by means of other nodes. Each node is also a router that performs discovery and maintains routing to other nodes.
Ad Hoc网络是一种特殊的无线移动网络。 网络中所有结点的地位平等, 无需设置任何的中心控制结点。 网络中的结点不仅具有普通移动终端所需的 功能, 而且具有报文转发能力。 与普通的移动网络和固定网络相比, 它具有 以下特点:  The Ad Hoc network is a special wireless mobile network. All nodes in the network have equal status and there is no need to set up any central control nodes. Nodes in the network not only have the functions required by ordinary mobile terminals, but also have packet forwarding capabilities. Compared with ordinary mobile networks and fixed networks, it has the following characteristics:
1 ) 网络的独立性  1) Network independence
Ad Hoc网络相对常规通信网络而言, 最大的区别就是可以在任何时刻、 任何地点不需要硬件基础网络设施的支持, 快速构建起一个移动通信网络。 它的建立不依赖于现有的网络通信设施, 具有一定的独立性。  The biggest difference between Ad Hoc networks and conventional communication networks is that they can quickly build a mobile communication network without any support from hardware infrastructure at any time and any place. Its establishment does not depend on existing network communication facilities and has certain independence.
2 )动态变化的网络拓朴结构  2) Dynamically changing network topology
在 Ad Hoc网络中,移动主机可以在网中随意移动。主机的移动会导致主 机之间的链路增加或消失, 主机之间的关系不断发生变化。 在自组网中, 主 机可能同时还是路由器, 因此, 移动会使网络拓朴结构不断发生变化, 而且 变化的方式和速度都是不可预测的。  In an Ad Hoc network, the mobile host can move around the network at will. The movement of the host causes the link between the hosts to increase or disappear, and the relationship between the hosts constantly changes. In an ad hoc network, the host may also be a router at the same time. Therefore, the movement will cause the network topology to change constantly, and the way and speed of change are unpredictable.
3 ) 网络的分布式特性  3) Distributed characteristics of the network
在 Ad Hoc网络中没有中心控制节点,主机通过分布式协议互联。一旦网 络的某个或某些节点发生故障, 其余的节点仍然能够正常工作。 There is no central control node in the Ad Hoc network, and the hosts are interconnected through a distributed protocol. Once the net Some or some of the nodes in the network have failed, and the remaining nodes are still working properly.
Ad Hoc网络一般有两种结构: 平面结构和分级结构。 在平面结构中, 所 有结点的地位平等, 所以又可以称为对等式结构。 分级结构中, 网络被划分 为簇。 每个簇由一个簇头和多个簇节点成员组成, 这些簇头形成了高一级的 网络。 在高一级网络中, 又可以分簇, 再次形成更高一级的网络, 直至最高 级。  Ad Hoc networks generally have two structures: a planar structure and a hierarchical structure. In a planar structure, all nodes have equal status, so they can also be called a peer-to-peer structure. In the hierarchical structure, the network is divided into clusters. Each cluster consists of a cluster head and a number of cluster node members that form a higher level network. In a higher-level network, clusters can be clustered to form a higher-level network again, up to the highest level.
Ad Hoc网络自身的独特性, 使得它在军事领域的应用中保持重要地位, 在民用领域中的作用逐步扩大。 然而, 它作为一种新型网络, 还存在^^多问 题, 新的应用也对它的研究和发展不断提出新的挑战。 随着研究的深入, Ad Hoc网络将在无线通信领域中有着更加广阔的前景。  The uniqueness of the Ad Hoc network itself has made it an important place in the military field and its role in the civilian sector has gradually expanded. However, as a new type of network, there are still many problems, and new applications continue to pose new challenges to its research and development. With the deepening of research, Ad Hoc networks will have a broader prospect in the field of wireless communications.
发明内容 Summary of the invention
本发明所要解决的技术问题是, 提供一种基于点对点网络的通讯系统及 通讯方法, 以降低目前电话业务的高费用。  The technical problem to be solved by the present invention is to provide a communication system and communication method based on a point-to-point network to reduce the high cost of the current telephone service.
为了解决上述技术问题,本发明公开了一种基于点对点网络的通讯系统, 包括两个以上的分级点对点网络, 每个分级点对点网络中至少包括一簇头设 备和多个终端设备, 其中:  In order to solve the above technical problem, the present invention discloses a communication system based on a point-to-point network, which includes two or more hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices, wherein:
各分级点对点网络中的簇头设备, 设置为: 与其他分级点对点网络中的 簇头设备之间进行用户信息交互, 并将本簇头设备下的用户信息和交互得到 的其他簇头设备下的用户信息广播给本簇头设备下的终端设备, 以及接收本 分级点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的对端终端 设备的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送 给所确定的簇头设备, 并与该簇头设备建立通讯链路, 实现本分级点对点网 络中的终端设备与对端终端设备之间的通讯;  The cluster head device in each hierarchical point-to-point network is configured to: perform user information interaction with the cluster head device in other hierarchical point-to-point networks, and perform user information under the cluster head device and other cluster head devices obtained by interaction. The user information is broadcasted to the terminal device under the cluster head device, and the communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, the user information of the peer terminal device of the communication request is queried, and the corresponding cluster head is determined according to the user information. The device sends the communication request to the determined cluster head device, and establishes a communication link with the cluster head device to implement communication between the terminal device and the opposite terminal device in the hierarchical point-to-point network;
终端设备, 设置为: 接收本分级点对点网络中的簇头设备广播的所有用 户信息, 从接收到的用户信息中选择通讯的用户, 并向本分级点对点网络中 的簇头设备发送与所选择的用户进行的通讯请求, 以及按照本分级点对点网 络中的簇头设备的指令与所选择的用户进行通讯。 较佳地, 上述系统中, 所述簇头设备为服务器。 The terminal device is configured to: receive all user information broadcast by the cluster head device in the hierarchical peer-to-peer network, select a communication user from the received user information, and send and select the selected one to the cluster head device in the hierarchical point-to-point network. The communication request made by the user, and the command of the cluster head device in the hierarchical peer-to-peer network communicate with the selected user. Preferably, in the above system, the cluster head device is a server.
较佳地, 上述系统中, 所述用户信息至少包括终端设备标识信息。  Preferably, in the above system, the user information includes at least terminal device identification information.
较佳地, 上述系统中, 各分级点对点网络中的簇头设备, 还设置为: 在 本簇头设备下的用户信息发生更新时, 将更新后的用户信息实时发送给其他 簇头设备, 以及在接收到其他簇头设备发送的更新的用户信息时, 将更新后 的用户信息实时广播给本簇头设备下的终端设备。 换(PS )域和电路交换(CS )域。 本发明还公开了一种基于点对点网络的通讯系统的通讯方法, 包括: 基于点对点网络的通讯系统中各分级点对点网络中的簇头设备之间进行 用户信息交互, 各簇头设备将本簇头设备下的用户信息和交互得到的其他簇 头设备下的用户信息广播给本簇头设备下的终端设备;  Preferably, in the above system, the cluster head device in each hierarchical point-to-point network is further configured to: when the user information under the cluster head device is updated, send the updated user information to other cluster head devices in real time, and When receiving updated user information sent by other cluster head devices, the updated user information is broadcasted to the terminal device under the cluster head device in real time. Change (PS) domain and circuit switched (CS) domain. The invention also discloses a communication method of a communication system based on a point-to-point network, comprising: performing user information interaction between cluster head devices in each hierarchical point-to-point network in a point-to-point network-based communication system, and each cluster head device will be the cluster head The user information under the device and the user information under other cluster head devices obtained by the interaction are broadcasted to the terminal device under the cluster head device;
基于点对点网络的通讯系统中的第一终端设备接收本分级点对点网络中 的簇头设备广播的所有用户信息后, 从接收到的用户信息中选择通讯的第二 终端设备, 向本分级点对点网络中的簇头设备发送与所选择的第二终端设备 进行的通讯请求;  After receiving the user information broadcasted by the cluster head device in the hierarchical point-to-point network, the first terminal device in the point-to-point network-based communication system selects the second terminal device to be communicated from the received user information to the hierarchical peer-to-peer network. The cluster head device sends a communication request with the selected second terminal device;
基于点对点网络的通讯系统中分级点对点网络中的簇头设备收到本分级 点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的第二终端设备 的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送给所 确定的簇头设备, 与该簇头设备建立通讯链路;  The cluster head device in the hierarchical peer-to-peer network in the communication system based on the peer-to-peer network receives the communication request initiated by the terminal device in the hierarchical point-to-point network, queries the user information of the second terminal device of the communication request, and determines the corresponding information according to the user information. a cluster head device, sending the communication request to the determined cluster head device, and establishing a communication link with the cluster head device;
所述第一终端设备与第二终端设备进行通讯。  The first terminal device communicates with the second terminal device.
较佳地, 上述方法中, 所述簇头设备为服务器。  Preferably, in the above method, the cluster head device is a server.
较佳地, 上述方法中, 所述用户信息至少包括终端设备标识信息。  Preferably, in the above method, the user information includes at least terminal device identification information.
较佳地, 上述还方法, 当某一簇头设备下的用户信息发生更新时, 该簇 头设备将更新后的用户信息实时发送给其他簇头设备;  Preferably, in the above method, when the user information under a certain cluster head device is updated, the cluster head device sends the updated user information to other cluster head devices in real time;
其他簇头设备接收到更新的用户信息时, 将更新后的用户信息实时广播 给本簇头设备下的终端设备。 较佳地, 上述方法中, 所述第一终端设备与第二终端设备进行的通讯包 括分组交换(PS )域和电路交换(CS )域。 When the other cluster head device receives the updated user information, the updated user information is broadcasted to the terminal device under the cluster head device in real time. Preferably, in the foregoing method, the communication between the first terminal device and the second terminal device includes a packet switched (PS) domain and a circuit switched (CS) domain.
一种点对点网络中的簇头设备,应用于包括两个以上的分级点对点网络, 每个分级点对点网络中至少包括一簇头设备和多个终端设备,  A cluster head device in a peer-to-peer network is applied to two or more hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices.
所述对点网络中的簇头设备,设置为: 为分级点对点网络中的簇头设备, 与其他分级点对点网络中的簇头设备之间进行用户信息交互, 并将本簇头设 备下的用户信息和交互得到的其他簇头设备下的用户信息广播给本簇头设备 下的终端设备, 以及接收本分级点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的对端终端设备的用户信息, 根据该用户信息确定对应的簇 头设备, 将该通讯请求发送给所确定的簇头设备, 并与该簇头设备建立通讯 优选地, 所述簇头设备为服务器。  The cluster head device in the peer network is configured to: perform user information interaction with the cluster head device in the hierarchical point-to-point network, and the cluster head device in the other hierarchical point-to-point network, and the user under the cluster head device User information of other cluster head devices obtained by information and interaction is broadcasted to the terminal device under the cluster head device, and a communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, and the user of the peer terminal device that queries the communication request is queried. And determining, according to the user information, the corresponding cluster head device, sending the communication request to the determined cluster head device, and establishing communication with the cluster head device. Preferably, the cluster head device is a server.
优选地, 所述点对点网络中的簇头设备, 还设置为: 在本簇头设备下的 用户信息发生更新时, 将更新后的用户信息实时发送给其他簇头设备, 以及 在接收到其他簇头设备发送的更新的用户信息时, 将更新后的用户信息实时 广播给本簇头设备下的终端设备。  Preferably, the cluster head device in the peer-to-peer network is further configured to: when the user information under the cluster head device is updated, send the updated user information to other cluster head devices in real time, and receive other clusters. When the updated user information is sent by the head device, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
本申请技术方案基于 Ad Hoc网络提供一种通讯方案,为用户节省了电话 业务的费用, 且操作简单易行。 附图概述 The technical solution of the present application provides a communication scheme based on the Ad Hoc network, which saves the user the cost of the telephone service, and the operation is simple and easy. BRIEF abstract
图 1 为本发明实施例基于 Ad Hoc网络的通讯系统的架构示意图; 图 2 为本发明实施例的一个代表客户端于服务器交互的具体流程图。 本发明的较佳实施方式  FIG. 1 is a schematic structural diagram of a communication system based on an Ad Hoc network according to an embodiment of the present invention; FIG. 2 is a specific flowchart of a client-to-server interaction according to an embodiment of the present invention. Preferred embodiment of the invention
下文将结合附图对本发明技术方案作进一步详细说明。 需要说明的是, 在不冲突的情况下, 本申请的实施例和实施例中的特征可以任意相互组合。 实施例 1 The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be combined with each other arbitrarily. Example 1
申请人发现目前的电话业务费用很高, 如果使用 PS 业务方面的数据电 话, 能够节省很多费用。 但是目前国内的 3G网络很不完善, 频繁的 2G-3G 切换很容易造成数据电话的不稳定性。 目前也有手机通过 Ad Hoc技术跟电 脑服务器进行点对点的通讯。但这种通讯传输的是数据业务, 而非通话业务, 并且通常是由双方设置一个固定的 IP进行通讯, 这样设置比较麻烦。 特别是 当 PC的服务器 IP经常动态的更新。 更重要的是, 这种通讯方式无法满足跨 服务器之间的点对点通讯。 在这种分层结构中, 如果同一个 PC接入多个手 机终端, 由于 IP地址是预先设定的很容易造成双方冲突。  The applicant found that the current telephone service costs are high, and if the data phone for the PS service is used, it can save a lot of money. However, the current domestic 3G network is very imperfect, and frequent 2G-3G switching is likely to cause data phone instability. There are also mobile phones that use peer-to-peer communication with computer servers via Ad Hoc technology. However, this kind of communication transmits data services, not call services, and usually the two parties set up a fixed IP to communicate, which is troublesome to set up. Especially when the PC's server IP is constantly updated dynamically. More importantly, this type of communication cannot meet peer-to-peer communication between servers. In this hierarchical structure, if the same PC accesses multiple mobile terminals, it is easy to cause conflict between the two parties because the IP address is preset.
基于上述发现, 申请人提出一种动态 IP分配, 基于 Ad Hoc网络的通讯 系统。 该系统包括两个以上的分级点对点网络, 每个分级点对点网络中至少 包括一簇头设备和多个终端设备。  Based on the above findings, the applicant proposed a dynamic IP allocation, communication system based on Ad Hoc network. The system includes more than two hierarchical point-to-point networks, and each hierarchical point-to-point network includes at least one cluster head device and a plurality of terminal devices.
其中, 各分级点对点网络中的簇头设备, 与其他分级点对点网络中的簇 头设备之间进行用户信息交互, 并将本簇头设备下的用户信息和交互得到的 其他簇头设备下的用户信息广播给本簇头设备下的终端设备, 以及接收本分 级点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的对端终端设 备的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送给 所确定的簇头设备, 并与该簇头设备建立通讯链路, 实现本分级点对点网络 中的终端设备与对端终端设备之间的通讯;  The cluster head device in each hierarchical point-to-point network exchanges user information with the cluster head device in other hierarchical point-to-point networks, and the user information under the cluster head device and the users under other cluster head devices obtained through interaction The information is broadcasted to the terminal device under the cluster head device, and the communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, the user information of the peer terminal device of the communication request is queried, and the corresponding cluster head device is determined according to the user information. Sending the communication request to the determined cluster head device, and establishing a communication link with the cluster head device to implement communication between the terminal device and the opposite terminal device in the hierarchical point-to-point network;
终端设备, 接收本分级点对点网络中的簇头设备广播的所有用户信息, 从接收到的用户信息中选择通讯的对端终端设备的用户信息, 并向本分级点 对点网络中的簇头设备发送与所选择的终端设备进行的通讯请求, 以及按照 本分级点对点网络中的簇头设备的指令与所选择的用户进行通讯。  The terminal device receives all the user information broadcasted by the cluster head device in the hierarchical peer-to-peer network, selects the user information of the peer terminal device of the communication from the received user information, and sends the information to the cluster head device in the hierarchical point-to-point network. The selected terminal device performs a communication request and communicates with the selected user according to the instructions of the cluster head device in the hierarchical peer-to-peer network.
上述簇头设备一般可为 Ad Hoc服务器。而用户信息则至少包括终端设备 标识信息。  The above cluster head device can generally be an Ad Hoc server. The user information includes at least terminal device identification information.
另外, 实际应用过程中, 各分级 Ad Hoc网络中的用户是动态更新的, 因 此上述系统中各分级点对点网络中的簇头设备, 在本簇头设备下的用户信息 发生更新时, 还会将更新后的用户信息实时发送给其他簇头设备, 以及在接 收到其他簇头设备发送的更新的用户信息时, 将更新后的用户信息实时广播 给本簇头设备下的终端设备。 In addition, in the actual application process, the users in each hierarchical Ad Hoc network are dynamically updated. Therefore, the cluster head device in each hierarchical point-to-point network in the above system will also update the user information under the cluster head device. The updated user information is sent to other cluster head devices in real time, and the updated user information is broadcasted in real time when receiving updated user information sent by other cluster head devices. Give the terminal device under the cluster head device.
还要指出的是, 上述系统中终端设备与对端终端设备进行的通讯包括分 组交换(PS )域和电路交换(CS )域。  It should also be noted that the communication between the terminal device and the opposite terminal device in the above system includes a packet switching (PS) domain and a circuit switched (CS) domain.
下面以两个分级 Ad Hoc网络构成的通讯系统为例,详细说明此通讯系统 的工作原理。 具体地, 本实施例提供的通讯系统架构如图 1所示。 整个网络 架构是一个简略的网络结构, 釆用分级网络形式。 服务器 A、 服务器 B 是 Ad Hoc网络的 2个服务器, 这 2个服务器地位平等, 可作为簇头设备。  The communication system composed of two hierarchical Ad Hoc networks is taken as an example to explain the working principle of the communication system in detail. Specifically, the communication system architecture provided by this embodiment is shown in FIG. 1. The entire network architecture is a simple network structure, using a hierarchical network. Server A and Server B are two servers of the Ad Hoc network. These two servers are equal in status and can be used as cluster head devices.
比如 2家公司之间各架设一台 Ad Hoc服务器。实际应用中并不限于两个 服务器, 可以很多, 相互直接根据业务需要都可以建立连接。 手机 A1 (即终 端设备 A1 ) 、 手机 A2…手机 AN是服务器 A下面的对等节点, 组成一个分 级 Ad Hoc网络。 手机 B1 (即终端设备 B2 )、 手机 B2…手机 BN是服务器 B 下面的对等节点. 组成另一个分级 Ad Hoc网络。 如果手机 A1要跟 A2联系 可以通过服务器 A转发给 A2. 手机 A1要跟 B1联系通过服务器 A转发给服 务器 B, 再由服务器 B转发给手机 Bl。  For example, an Ad Hoc server is set up between the two companies. The actual application is not limited to two servers, and there are many, and connections can be established directly according to business needs. Mobile phone A1 (ie terminal device A1), mobile phone A2... mobile phone AN is the peer node under server A, forming a hierarchical Ad Hoc network. Mobile B1 (ie terminal device B2), mobile phone B2... mobile phone BN is the peer node under server B. It forms another hierarchical Ad Hoc network. If the mobile phone A1 wants to contact A2, it can be forwarded to A2 through server A. The mobile phone A1 should contact B1 to forward it to server B through server A, and then forward it to mobile phone Bl through server B.
其中, 服务器 A、 服务器 B作为簇头设备包括以下功能:  Server A and Server B function as cluster head devices and include the following functions:
广播以及资源分配功能, 即发送广播消息, 通知本服务器下的终端设备 (例如手机 )本服务器的存在,分配相关的 IP资源,起到 DHCP服务器功能。 当用户建立成功后, 为用户分配通讯的相关资源, 以及用户信息 (例如终端 设备标识信息) 。  The broadcast and resource allocation functions, that is, sending broadcast messages, notify the terminal device (such as a mobile phone) under the server to exist, allocate relevant IP resources, and function as a DHCP server. After the user is successfully established, the user is allocated resources related to the communication, and user information (such as terminal device identification information).
鉴权功能, 是在用户试图接入时, 配置用户信息, 并对用户进行鉴权, 是否允许其接入。  The authentication function is to configure user information when the user attempts to access, and to authenticate the user and allow access.
通讯功能, 主要指跟终端设备(例如手机)用户交互的信息数据, 包括 语音数据, 信令消息等。  The communication function mainly refers to information data that interacts with users of terminal devices (such as mobile phones), including voice data, signaling messages, and the like.
路由功能, 主要转发用户信息到其他对等 ad hoc服务器, 起到一个路由 的功能。 同时路由到对等的 Ad Hoc服务器, 以获取对等的 Ad Hoc服务器下 相关的用户信息。  The routing function mainly forwards user information to other peer ad hoc servers and functions as a route. It is also routed to the peer Ad Hoc server to obtain the relevant user information under the peer Ad Hoc server.
数据库功能, 主要包括两个方面, 一鉴权数据库, 主要负责鉴权用户的 合法性, 以及用户权限等。 二用户数据库, 主要负责存储鉴权通过的用户, 该数据可以来自本群组类(即本 Ad Hoc服务器)的用户数据和其它群组类(即 其他 Ad Hoc服务器) 的数据, 其中, 其它群组的数据来自于 Ad Hoc服务器 之间的路由交互信息。 在其他服务器中的用户数据库发生改变时并能及时通 知到本 Ad Hoc服务器进行更新, 同时在本服务器用户数据发生变化后,也会 定时通知与他连接的终端设备,这样本 Ad Hoc服务和手机就能得到最新的在 线手机用户信息, 连接的手机用户就可以和其他用户进行通讯。 The database function mainly includes two aspects, an authentication database, which is mainly responsible for the legality of the authentication user, and user rights. The user database is mainly responsible for storing the user who passes the authentication, and the data may be from the user data of the group class (ie, the Ad Hoc server) and other group classes (ie, The data of other Ad Hoc servers, where the data of other groups comes from the routing interaction information between the Ad Hoc servers. When the user database in other servers changes, the Ad Hoc server can be notified in time to update, and after the user data of the server changes, the terminal device connected with him is also notified regularly, so that the Ad Hoc service and the mobile phone are You can get the latest online mobile phone user information, and connected mobile phone users can communicate with other users.
终端设备主要负责下面几个业务:  The terminal equipment is mainly responsible for the following services:
一接入处理,主要指 Ad Hoc服务器搜寻, Ad Hoc服务器鉴权, Ad Hoc 服务器登录功能 。  An access processing mainly refers to Ad Hoc server search, Ad Hoc server authentication, and Ad Hoc server login function.
二 界面显示, 主要是上层 APP应用程序的界面显示, 显示出 Ad Hoc 服务器的一些特征信息, 例如服务器名称, 群组名称, 个人信息, QOS, 可 联系用户群(即 Ad Hoc服务器向终端设备广播的所有用户信息)等。  The second interface display, mainly the interface display of the upper APP application, displays some characteristic information of the Ad Hoc server, such as server name, group name, personal information, QOS, contactable user group (ie, the Ad Hoc server broadcasts to the terminal device) All user information) and so on.
三 通讯过程, 主要是客户端 (即终端设备)经 Ad Hoc服务器跟其它客 户端 (即其他终端设备)进行通话的功能和服务器基本通讯过程。 目前市场 上面也有其它的 IM软件, 比如手机上面的米聊, 微信, 但是都是 PS ( Packet Switch, 分组交换)域的。 本申请技术方案的通讯过程则包括了 CS ( Circuit Switch, 电路交换)域。 其中, 本文所称的通讯过程包括动态接收服务器的 广播消息, 更新自己的 UI状态信息, 以及当用户状态更改后, 发送相关的消 息至服务器。  The communication process is mainly the function of the client (ie, the terminal device) to make calls with other clients (ie other terminal devices) via the Ad Hoc server and the basic communication process of the server. There are other IM softwares on the market, such as Mi Chat on the mobile phone, WeChat, but all are PS (Packet Switch) domains. The communication process of the technical solution of the present application includes a CS (Circuit Switch) domain. Among them, the communication process referred to in this paper includes dynamically receiving the broadcast message of the server, updating its own UI state information, and sending relevant messages to the server when the user status changes.
实施例 2 Example 2
本实施例介绍一种基于点对点网络的通讯系统的通讯方法, 包括: 基于点对点网络的通讯系统中各分级点对点网络中的簇头设备之间进行 用户信息交互, 各簇头设备将本簇头设备下的用户信息和交互得到的其他簇 头设备下的用户信息广播给本簇头设备下的终端设备;  This embodiment introduces a communication method of a communication system based on a point-to-point network, including: performing user information interaction between cluster head devices in each hierarchical point-to-point network in a point-to-point network-based communication system, and each cluster head device will use the cluster head device The user information under the other cluster head device obtained by the user information and the interaction is broadcasted to the terminal device under the cluster head device;
基于点对点网络的通讯系统中的第一终端设备接收本分级点对点网络中 的簇头设备广播的所有用户信息后, 从接收到的用户信息中选择通讯的第二 终端设备, 向本分级点对点网络中的簇头设备发送与所选择的第二终端设备 进行的通讯请求;  After receiving the user information broadcasted by the cluster head device in the hierarchical point-to-point network, the first terminal device in the point-to-point network-based communication system selects the second terminal device to be communicated from the received user information to the hierarchical peer-to-peer network. The cluster head device sends a communication request with the selected second terminal device;
基于点对点网络的通讯系统中分级点对点网络中的簇头设备收到本分级 点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的第二终端设备 的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送给所 确定的簇头设备, 与该簇头设备建立通讯链路; The cluster head device in the hierarchical point-to-point network in the communication system based on the peer-to-peer network receives this rating a communication request initiated by the terminal device in the peer-to-peer network, querying the user information of the second terminal device of the communication request, determining a corresponding cluster head device according to the user information, and transmitting the communication request to the determined cluster head device, and the The cluster head device establishes a communication link;
第一终端设备与第二终端设备进行通讯。  The first terminal device communicates with the second terminal device.
其中, 簇头设备为服务器。 用户信息至少包括终端设备标识信息。  The cluster head device is a server. The user information includes at least terminal device identification information.
另外, 在某一簇头设备下的用户信息发生更新时, 该簇头设备还会将更 新后的用户信息实时发送给其他簇头设备;  In addition, when the user information under a certain cluster head device is updated, the cluster head device also sends the updated user information to other cluster head devices in real time;
其他簇头设备接收到更新的用户信息时, 将更新后的用户信息实时广播 给本簇头设备下的终端设备。  When the other cluster head device receives the updated user information, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
需要说明的是, 上述第一终端设备与第二终端设备进行的通讯包括分组 交换(PS )域和电路交换(CS )域。  It should be noted that the communication between the first terminal device and the second terminal device includes a packet switching (PS) domain and a circuit switched (CS) domain.
下面结合图 2说明实现应用中客户端 (即终端设备)和服务器(即簇头 设备) 交互的主要过程:  The main process of implementing the interaction between the client (ie, the terminal device) and the server (ie, the cluster head device) in the application is described below with reference to FIG. 2:
步骤 1 : 客户端搜寻 Ad Hoc服务器;  Step 1: The client searches for the Ad Hoc server.
客户端按照一定的条件搜索周围可用的 Ad Hoc服务器,这些条件可以是 距离, 跳数, 名称等, 对于条件的设定可由用户来设定, 在终端设备(例如 手机终端)界面处理模块来实现。 对于搜索到的服务器用列表或其他方式界 面显示给用户供用户使用。  The client searches for available Ad Hoc servers according to certain conditions. These conditions can be distance, hop count, name, etc. The setting of the condition can be set by the user, and the terminal device (for example, mobile phone terminal) interface processing module is implemented. . For the searched server, the list is displayed to the user for use by the user.
步骤 2: 客户端登陆 Ad Hoc服务器;  Step 2: The client logs in to the Ad Hoc server.
用户选择搜索到的 Ad Hoc服务器中的一个进行登陆,登陆过程中服务器 会对手机用户进行鉴权过程。 客户端识别服务器是否为可用合法的服务器。 服务器鉴别客户端是否为可用合法的客户端。 鉴权方式按照手机和服务器实 现约定的方式, 可以是用户从运营商获得的账户, 直接按照账户信息登录, 也可以是其它任何鉴权方式。  The user selects one of the searched Ad Hoc servers to log in. During the login process, the server authenticates the mobile phone user. The client identifies if the server is a valid server available. The server authenticates whether the client is a valid client. The authentication method can be based on the agreement between the mobile phone and the server. It can be the account obtained by the user from the operator, directly registered according to the account information, or any other authentication method.
步骤 3: 客户端获取在线用户联系人;  Step 3: The client obtains an online user contact;
此过程手机用户向服务器发出请求获得在线用户联系人, 服务器收到请 求后会将此时在线的手机用户的信息发给手机, 手机接受到后, 由界面处理 模块处理, 显示在界面上, 供用户使用。 同时服务器会把用户的一些配置信 息显示发送给终端设备。 In this process, the mobile phone user sends a request to the server to obtain an online user contact. After receiving the request, the server sends the information of the mobile phone user who is online at this time to the mobile phone. After receiving the mobile phone, the mobile phone is processed by the interface processing module and displayed on the interface. User use. At the same time, the server will put some configuration letters of the user. The message is sent to the terminal device.
步骤 4: 客户端与对端客户进行通讯。  Step 4: The client communicates with the peer client.
手机根据需求选择一个在线的用户进行呼叫, 服务器收到呼叫请求后进 行转发寻找到被叫,此时如果被叫用户也在同一个 Ad Hoc服务器归属的网络 下就进行直接转接到被叫进行呼叫被叫, 被叫响应后就可以进行正常的通话 过程, 否则, 需要路由到被叫所属的 Ad Hoc服务器, 由被叫所属的 Ad Hoc 服务器对被叫进行寻呼。  The mobile phone selects an online user to make a call according to the requirement. After receiving the call request, the server forwards and finds the called party. At this time, if the called user is also directly transferred to the called party under the network to which the same Ad Hoc server belongs. After the call is called, the called party can respond to the normal call process. Otherwise, it needs to be routed to the Ad Hoc server to which the called party belongs, and the called party will be called by the Ad Hoc server to which the called party belongs.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本申请不限制于任 何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program instructing the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware or in the form of a software function module. This application is not limited to any specific form of combination of hardware and software.
以上所述, 仅为本发明的较佳实例而已, 并非用于限定本发明的保护范 围。 凡在本发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性 Industrial applicability
本申请技术方案基于 Ad Hoc网络提供一种通讯方案,为用户节省了电话 业务的费用, 且操作简单易行。  The technical solution of the present application provides a communication scheme based on the Ad Hoc network, which saves the user the cost of the telephone service, and the operation is simple and easy.

Claims

权 利 要 求 书 Claim
1、一种基于点对点网络的通讯系统, 该系统包括两个以上的分级点对点 网络, 每个分级点对点网络中至少包括一簇头设备和多个终端设备, 其中: 各分级点对点网络中的簇头设备, 设置为: 与其他分级点对点网络中的 簇头设备之间进行用户信息交互, 并将本簇头设备下的用户信息和交互得到 的其他簇头设备下的用户信息广播给本簇头设备下的终端设备, 以及接收本 分级点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的对端终端 设备的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送 给所确定的簇头设备, 并与该簇头设备建立通讯链路, 实现本分级点对点网 络中的终端设备与对端终端设备之间的通讯; A communication system based on a point-to-point network, the system comprising two or more hierarchical point-to-point networks, each hierarchical point-to-point network comprising at least one cluster head device and a plurality of terminal devices, wherein: cluster heads in each hierarchical point-to-point network The device is configured to: perform user information interaction with the cluster head device in the other hierarchical peer-to-peer network, and broadcast the user information under the cluster head device and the user information under other cluster head devices obtained by the interaction to the cluster head device. The terminal device, and the communication request initiated by the terminal device in the hierarchical peer-to-peer network, querying the user information of the peer terminal device of the communication request, determining the corresponding cluster head device according to the user information, and sending the communication request to the Determining a cluster head device, and establishing a communication link with the cluster head device to implement communication between the terminal device and the peer terminal device in the hierarchical point-to-point network;
终端设备, 设置为: 接收本分级点对点网络中的簇头设备广播的所有用 户信息, 从接收到的用户信息中选择通讯的用户, 并向本分级点对点网络中 的簇头设备发送与所选择的用户进行的通讯请求, 以及按照本分级点对点网 络中的簇头设备的指令与所选择的用户进行通讯。  The terminal device is configured to: receive all user information broadcast by the cluster head device in the hierarchical peer-to-peer network, select a communication user from the received user information, and send and select the selected one to the cluster head device in the hierarchical point-to-point network. The communication request made by the user, and the command of the cluster head device in the hierarchical peer-to-peer network communicate with the selected user.
2、 如权利要求 1所述的系统, 其中, 2. The system of claim 1 wherein
所述簇头设备为服务器。  The cluster head device is a server.
3、 如权利要求 1所述的系统, 其中, 3. The system of claim 1 wherein
所述用户信息至少包括终端设备标识信息。  The user information includes at least terminal device identification information.
4、 如权利要求 1至 3任一项所述的系统, 其中, 4. The system according to any one of claims 1 to 3, wherein
各分级点对点网络中的簇头设备, 还设置为: 在本簇头设备下的用户信 息发生更新时, 将更新后的用户信息实时发送给其他簇头设备, 以及在接收 到其他簇头设备发送的更新的用户信息时, 将更新后的用户信息实时广播给 本簇头设备下的终端设备。  The cluster head device in each hierarchical point-to-point network is further configured to: when the user information under the cluster head device is updated, the updated user information is sent to other cluster head devices in real time, and is sent by other cluster head devices. When the updated user information is updated, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
5、 如权利要求 4所述的系统, 其中, 5. The system of claim 4, wherein
终端设备与对端终端设备之间的通讯包括分组交换( PS )域和电路交换 Communication between the terminal device and the peer terminal device includes packet switching (PS) domain and circuit switching
( CS )域。 (CS) domain.
6、 一种基于点对点网络的通讯系统的通讯方法, 该方法包括: 基于点对点网络的通讯系统中各分级点对点网络中的簇头设备之间进行 用户信息交互, 各簇头设备将本簇头设备下的用户信息和交互得到的其他簇 头设备下的用户信息广播给本簇头设备下的终端设备; 6. A communication method for a communication system based on a point-to-point network, the method comprising: performing user information interaction between cluster head devices in each hierarchical point-to-point network in a point-to-point network-based communication system, and each cluster head device will use the cluster head device The user information under the other cluster head device obtained by the user information and the interaction is broadcasted to the terminal device under the cluster head device;
基于点对点网络的通讯系统中的第一终端设备接收本分级点对点网络中 的簇头设备广播的所有用户信息后, 从接收到的用户信息中选择通讯的第二 终端设备, 向本分级点对点网络中的簇头设备发送与所选择的第二终端设备 进行的通讯请求;  After receiving the user information broadcasted by the cluster head device in the hierarchical point-to-point network, the first terminal device in the point-to-point network-based communication system selects the second terminal device to be communicated from the received user information to the hierarchical peer-to-peer network. The cluster head device sends a communication request with the selected second terminal device;
基于点对点网络的通讯系统中分级点对点网络中的簇头设备收到本分级 点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的第二终端设备 的用户信息, 根据该用户信息确定对应的簇头设备, 将该通讯请求发送给所 确定的簇头设备, 与该簇头设备建立通讯链路;  The cluster head device in the hierarchical peer-to-peer network in the communication system based on the peer-to-peer network receives the communication request initiated by the terminal device in the hierarchical point-to-point network, queries the user information of the second terminal device of the communication request, and determines the corresponding information according to the user information. a cluster head device, sending the communication request to the determined cluster head device, and establishing a communication link with the cluster head device;
所述第一终端设备与第二终端设备进行通讯。  The first terminal device communicates with the second terminal device.
7、 如权利要求 6所述的方法, 其中, 7. The method of claim 6, wherein
所述簇头设备为服务器。  The cluster head device is a server.
8、 如权利要求 6所述的方法, 其中, 8. The method of claim 6, wherein
所述用户信息至少包括终端设备标识信息。  The user information includes at least terminal device identification information.
9、 如权利要求 6至 8任一项所述的方法, 其中, 该方法还包括: 当某一簇头设备下的用户信息发生更新时, 该簇头设备将更新后的用户 信息实时发送给其他簇头设备; The method according to any one of claims 6 to 8, wherein the method further comprises: when the user information under a cluster head device is updated, the cluster head device sends the updated user information to the real-time information in real time. Other cluster head equipment;
其他簇头设备接收到更新的用户信息时, 将更新后的用户信息实时广播 给本簇头设备下的终端设备。  When the other cluster head device receives the updated user information, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
10、 如权利要求 9所述的方法, 其中, 10. The method of claim 9, wherein
所述第一终端设备与第二终端设备进行的通讯包括分组交换(PS )域和 电路交换( CS )域。 The communication between the first terminal device and the second terminal device includes a packet switched (PS) domain and a circuit switched (CS) domain.
11、 一种点对点网络中的簇头设备, 应用于包括两个以上的分级点对点 网络, 每个分级点对点网络中至少包括一簇头设备和多个终端设备, 11. A cluster head device in a peer-to-peer network, comprising two or more hierarchical point-to-point networks, each hierarchical point-to-point network including at least one cluster head device and a plurality of terminal devices,
所述对点网络中的簇头设备,设置为: 为分级点对点网络中的簇头设备, 与其他分级点对点网络中的簇头设备之间进行用户信息交互, 并将本簇头设 备下的用户信息和交互得到的其他簇头设备下的用户信息广播给本簇头设备 下的终端设备, 以及接收本分级点对点网络中的终端设备发起的通讯请求, 查询该通讯请求的对端终端设备的用户信息, 根据该用户信息确定对应的簇 头设备, 将该通讯请求发送给所确定的簇头设备, 并与该簇头设备建立通讯  The cluster head device in the peer network is configured to: perform user information interaction with the cluster head device in the hierarchical point-to-point network, and the cluster head device in the other hierarchical point-to-point network, and the user under the cluster head device User information of other cluster head devices obtained by information and interaction is broadcasted to the terminal device under the cluster head device, and a communication request initiated by the terminal device in the hierarchical peer-to-peer network is received, and the user of the peer terminal device that queries the communication request is queried. Information, determining a corresponding cluster head device according to the user information, sending the communication request to the determined cluster head device, and establishing communication with the cluster head device
12、 如权利要求 11所述的点对点网络中的簇头设备, 其中, 所述簇头设 备为服务器。 12. The cluster head device in a peer-to-peer network according to claim 11, wherein the cluster head device is a server.
13、 如权利要求 11所述的点对点网络中的簇头设备, 其中, 13. The cluster head device in a peer-to-peer network according to claim 11, wherein
所述点对点网络中的簇头设备, 还设置为: 在本簇头设备下的用户信息 发生更新时, 将更新后的用户信息实时发送给其他簇头设备, 以及在接收到 其他簇头设备发送的更新的用户信息时, 将更新后的用户信息实时广播给本 簇头设备下的终端设备。  The cluster head device in the peer-to-peer network is further configured to: when the user information under the cluster head device is updated, send the updated user information to other cluster head devices in real time, and send the other cluster head devices after receiving the information. When the updated user information is updated, the updated user information is broadcasted to the terminal device under the cluster head device in real time.
PCT/CN2012/081318 2012-06-18 2012-09-13 Communication system and communication method based on ad hoc network WO2013189130A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210201708.4 2012-06-18
CN201210201708.4A CN102752883B (en) 2012-06-18 2012-06-18 A kind of communication system and the means of communication based on point to point network

Publications (1)

Publication Number Publication Date
WO2013189130A1 true WO2013189130A1 (en) 2013-12-27

Family

ID=47032717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081318 WO2013189130A1 (en) 2012-06-18 2012-09-13 Communication system and communication method based on ad hoc network

Country Status (2)

Country Link
CN (1) CN102752883B (en)
WO (1) WO2013189130A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505628A (en) * 2019-08-09 2019-11-26 广州响应信息科技有限公司 The point-to-point means of communication and device based on 5G
CN111314360B (en) * 2020-02-25 2022-08-30 贵州精准健康数据有限公司 In-hospital cloud video system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753387A (en) * 2004-09-26 2006-03-29 华为技术有限公司 Method of imlementing information broadcasting in radio communication network
CN1863109A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Wireless sensor network system of supporting IP protocol
US20100268825A1 (en) * 2009-04-16 2010-10-21 Electronics And Telecommunications Research Institute Scheduling method and scheduling information synchronizing method in wireless ad hoc network
CN102035730A (en) * 2010-11-22 2011-04-27 电子科技大学 Fusion network system architecture supporting WLAN to cross MANET for communication and on-demand routing method
CN102065112A (en) * 2009-11-18 2011-05-18 中国移动通信集团公司 Peer-to-peer (P2P) network system and method and related device for establishing the same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2440377B (en) * 2006-07-21 2009-03-18 Siemens Plc Communications system
US8493887B2 (en) * 2008-12-30 2013-07-23 Qualcomm Incorporated Centralized control of peer discovery pilot transmission
CN101753623B (en) * 2009-12-15 2013-02-20 中国人民解放军信息工程大学 P2P system applicable to all-IP broadband mobile network and content sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753387A (en) * 2004-09-26 2006-03-29 华为技术有限公司 Method of imlementing information broadcasting in radio communication network
CN1863109A (en) * 2005-05-12 2006-11-15 中兴通讯股份有限公司 Wireless sensor network system of supporting IP protocol
US20100268825A1 (en) * 2009-04-16 2010-10-21 Electronics And Telecommunications Research Institute Scheduling method and scheduling information synchronizing method in wireless ad hoc network
CN102065112A (en) * 2009-11-18 2011-05-18 中国移动通信集团公司 Peer-to-peer (P2P) network system and method and related device for establishing the same
CN102035730A (en) * 2010-11-22 2011-04-27 电子科技大学 Fusion network system architecture supporting WLAN to cross MANET for communication and on-demand routing method

Also Published As

Publication number Publication date
CN102752883A (en) 2012-10-24
CN102752883B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN109842906B (en) Communication method, device and system
US10952073B2 (en) Scalable WLAN gateway
KR101373877B1 (en) Scalable wlan gateway
EP2678992B1 (en) On the managed peer-to-peer sharing in cellular networks
US9848282B2 (en) Method for communicating with other devices, and communication device
EP2723137B1 (en) Apparatus for setting up network for ip communication in mobile terminal
US20220329649A1 (en) Method for determining application instance, apparatus, and system
US20050021725A1 (en) Distance-aware service discovery mechanism for determining the availability of remote services in wireless personal area networks
JP2009508434A (en) Control temporary mobile network
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
US8665849B2 (en) Methods and systems for implementing inter-network roam, querying and attaching network
US10812445B2 (en) Cloud access to local network addresses
WO2015139166A1 (en) Address identifier allocation method, and related device and system
WO2010088835A1 (en) Method and system for realizing local switch
WO2021169291A1 (en) Route advertising method, network elements, system, and device
WO2015085715A1 (en) Method for processing radio access, forwarding device, and network controller
US20080137595A1 (en) Methods and systems for base station installation in distributed call processing networks
WO2014075216A1 (en) Method and network device for establishing virtual cluster
JP2007243803A (en) Wireless lan route control system, wireless lan management apparatus, wireless lan access terminal and wireless lan route control method
WO2014061314A1 (en) Content delivery method
WO2013189130A1 (en) Communication system and communication method based on ad hoc network
CN114827908B (en) VN group communication method, device, equipment and storage medium
CN113613274B (en) Intelligent access configuration method based on Mesh networking
CN114980243A (en) Data forwarding method and device and storage medium
WO2011026355A1 (en) Method for a node accessing a home agent, home agent cluster system and service router

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12879510

Country of ref document: EP

Kind code of ref document: A1