[go: up one dir, main page]

CN102014456A - Method and system for searching node - Google Patents

Method and system for searching node Download PDF

Info

Publication number
CN102014456A
CN102014456A CN201010228672XA CN201010228672A CN102014456A CN 102014456 A CN102014456 A CN 102014456A CN 201010228672X A CN201010228672X A CN 201010228672XA CN 201010228672 A CN201010228672 A CN 201010228672A CN 102014456 A CN102014456 A CN 102014456A
Authority
CN
China
Prior art keywords
node
query request
neighbor
location
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010228672XA
Other languages
Chinese (zh)
Other versions
CN102014456B (en
Inventor
殷丽华
方滨兴
贾焰
于海宁
樊华
何力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hetian Huizhi Information Technology Co Ltd
Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology
National University of Defense Technology
Original Assignee
Beijing Hetian Huizhi Information Technology Co Ltd
Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology
National University of Defense Technology
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 Beijing Hetian Huizhi Information Technology Co Ltd, Beijing Computer Network And Information Security Research Center Of Harbin Institute Of Technology, National University of Defense Technology filed Critical Beijing Hetian Huizhi Information Technology Co Ltd
Priority to CN 201010228672 priority Critical patent/CN102014456B/en
Publication of CN102014456A publication Critical patent/CN102014456A/en
Application granted granted Critical
Publication of CN102014456B publication Critical patent/CN102014456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

本发明公开了一种搜索节点的方法和系统,属于物联网通信领域。所述方法包括:客户端发送搜索请求,所述搜索请求携带搜索范围和用户指定的位置;代理节点接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;所述邻居节点接收所述查询请求,判断是否已接收所述查询请求;如果否,所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求;所述代理节点接收所述应答消息,将所述应答消息发送给所述客户端。本发明能够精确地搜索节点。

Figure 201010228672

The invention discloses a method and a system for searching nodes, belonging to the communication field of the Internet of Things. The method includes: the client sends a search request, the search request carries the search range and the location specified by the user; the proxy node receives the search request, broadcasts a query request to its neighbor nodes, and the query request carries the proxy node's code, message time, the location and the search range; the neighbor node receives the query request, and judges whether the query request has been received; if not, the neighbor node according to the location and the search range, Judging whether the self is located within the search range, if so, sending a response message to the proxy node, the response message carrying the message time, the code and the location of the neighbor node, and broadcasting the query request to its neighbor node; The proxy node receives the response message, and sends the response message to the client. The present invention can accurately search for nodes.

Figure 201010228672

Description

一种搜索节点的方法和系统 A method and system for searching nodes

技术领域technical field

本发明涉及物联网通信领域,特别涉及一种搜索节点的方法和系统。The invention relates to the communication field of the Internet of Things, in particular to a method and system for searching nodes.

背景技术Background technique

物联网被定义为基于标准和可互操作的通信协议,其是具有自配置能力和动态功能的全球网络基础架构。物联网中的每个节点都具有编码等属性,且每个节点通过智能接口实现与网络的无缝整合。物联网的许多应用都涉及到节点的搜索,目前物联网中节点的搜索技术,包括:The Internet of Things is defined as a standards-based and interoperable communication protocol, which is a global network infrastructure with self-configuring capabilities and dynamic functions. Each node in the Internet of Things has attributes such as coding, and each node realizes seamless integration with the network through an intelligent interface. Many applications of the Internet of Things involve the search of nodes. Currently, the search technologies for nodes in the Internet of Things include:

第一种、基于RFID(Radio Frequency Identification,射频识别)技术的实体搜索技术,具体为:电子标签系统为每个节点提供一个唯一的、可识别的电子标签,并在各地部署的中转站点中设置用于读取电子标签的识读器,每个中转点在自身的通信范围内,利用RFID技术读取电子标签来搜索节点。The first, entity search technology based on RFID (Radio Frequency Identification, radio frequency identification) technology, specifically: the electronic label system provides each node with a unique and identifiable electronic label, and sets it in the transit stations deployed in various places The reader used to read electronic tags, each transit point within its own communication range, uses RFID technology to read electronic tags to search for nodes.

第二种、基于地球表面的搜索方法,具体为:在地球表面架设测量设备,如基站,通过检测节点和基站之间传播信号的特征参数来分析和估计出节点以及节点的位置,如此实现搜索节点。The second is the search method based on the earth's surface, specifically: setting up measurement equipment on the earth's surface, such as a base station, analyzing and estimating the node and its position by detecting the characteristic parameters of the signal propagated between the node and the base station, so as to realize the search node.

第三种、基于卫星的搜索方法,具体为:事先在节点上设置接收设备,利接收设备接收卫星信号,根据接收的卫星信号,通过测距交会确定点位的技术,获取节点的位置,再将该节点的位置发送给用户,如此实现搜索节点。其中,接收设备可以为GPS(Global Positioning System,全球定位系统)。The third is the satellite-based search method, specifically: set up receiving equipment on the node in advance, use the receiving equipment to receive satellite signals, obtain the position of the node through the technology of ranging and rendezvous to determine the point according to the received satellite signal, and then Send the location of the node to the user, thus realizing the search for the node. Wherein, the receiving device may be a GPS (Global Positioning System, Global Positioning System).

在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:

在上述第一种技术中,由于受到识读器的数量和密度的限制,而无法精确地搜出节点,另外,识读器都属于具体的机构,机构外的用户无法利用识读器来搜索节点,因而此技术不具备通用性。In the above-mentioned first technology, due to the limitation of the number and density of readers, it is impossible to accurately search for nodes. In addition, readers belong to specific organizations, and users outside the organization cannot use readers to search node, so this technique is not universal.

在上述第二种技术中,测量设备在覆盖条件较差的地区,也无法精确地搜索出节点,另外,每个测量设备是由网络运营架设的,通常网络运营商不公开节点和基站之间传播信号,因此,外人也无法利用此技术来搜索节点,因而,也不具备通用性。In the above-mentioned second technique, the measurement equipment cannot accurately search for nodes in areas with poor coverage conditions. In addition, each measurement equipment is set up by the network operator, and usually the network operator does not disclose the relationship between the node and the base station. Propagate the signal, therefore, outsiders cannot use this technology to search for nodes, and therefore, it is not universal.

在上述第三种技术中,在室内、森林、高层建筑、山峰和桥梁等地方,由存在物体遮挡卫星信号,因而使的接收设备也无法精确的获得节点的位置,如此降低搜索节点的精度。In the above-mentioned third technique, in places such as indoors, forests, high-rise buildings, mountains and bridges, satellite signals are blocked by existing objects, so that the receiving equipment cannot accurately obtain the position of the node, thus reducing the accuracy of the search node.

发明内容Contents of the invention

为了能够提高搜索节点的精度以及提供一种通用地搜索节点的方法,本发明提供了一种搜索节点的方法和系统。所述技术方案如下:In order to improve the accuracy of searching nodes and provide a general method for searching nodes, the present invention provides a method and system for searching nodes. Described technical scheme is as follows:

一种搜索节点的方法,所述方法包括:A method of searching for a node, the method comprising:

客户端发送搜索请求,所述搜索请求携带搜索范围和用户指定的位置;The client sends a search request, and the search request carries the search range and the location specified by the user;

代理节点接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;The proxy node receives the search request, broadcasts a query request to its neighbor nodes, and the query request carries the code of the proxy node, message time, the location and the search range;

所述邻居节点接收所述查询请求,判断是否已接收所述查询请求;The neighbor node receives the query request, and judges whether the query request has been received;

如果否,所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求;If not, the neighbor node judges whether it is located within the search range according to the position and the search range, and if so, sends a response message to the proxy node, the response message carrying message time, the neighbor node The code and position of the node, and broadcast the query request to its neighbor nodes;

所述代理节点接收所述应答消息,将所述应答消息发送给所述客户端。The proxy node receives the response message, and sends the response message to the client.

所述代理节点判断是否已接收所述查询请求,包括:The proxy node judges whether the query request has been received, including:

所述邻居节点从所述查询请求中提取所述代理节点的编码和所述消息时间,判断是否已存储所述代理节点的编码和所述消息时间,如果是,则判断已接收所述查询请求,如果否,则判断出没有接收所述查询请求。The neighbor node extracts the code of the proxy node and the message time from the query request, and judges whether the code of the proxy node and the message time have been stored, and if so, judges that the query request has been received , if not, it is judged that the query request is not received.

所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,包括:The neighbor node judges whether it is within the search range according to the position and the search range, including:

所述邻居节点根据自身的位置和所述位置,计算自身与所述位置之间的距离,判断所述距离是否大于所述搜索范围,如果否,则判断出自身位于所述搜索范围内。The neighbor node calculates the distance between itself and the location according to its own location and the location, and judges whether the distance is greater than the search range, and if not, judges that it is located in the search range.

如果存在多条应答消息携带同一个节点的编码,相应地,If there are multiple response messages carrying the code of the same node, correspondingly,

所述代理节点接收所述应答消息,将所述应答消息发送给所述客户端,包括:The proxy node receives the response message, and sends the response message to the client, including:

所述代理节点从所述多条应答消息中,选择所述消息时间最接近当前时间的应答消息,丢弃其他的应答消息,将未丢弃的应答消息发送给所述客户端。The proxy node selects the response message whose message time is closest to the current time from the plurality of response messages, discards other response messages, and sends the response messages not discarded to the client.

所述方法还包括:The method also includes:

所述代理节点和/或所述邻居节点向其邻居节点广播查询请求后,将所述查询请求上传给B服务器;After the proxy node and/or the neighbor node broadcast the query request to its neighbor nodes, upload the query request to the B server;

所述B服务器接收所述查询请求,根据上传所述查询请求的节点的编码,从已存储的上传节点的编码、读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的消息时间、读取节点的编码和上传节点的位置;The B server receives the query request, and according to the code of the node that uploaded the query request, searches for the corresponding The time of the message, the encoding of the reading node and the location of the uploading node;

所述B服务器发送应答消息给所述代理节点,所述应答消息携带所述消息时间、所述读取节点的编码和所述上传节点的位置。The B server sends a response message to the proxy node, and the response message carries the message time, the code of the reading node and the location of the uploading node.

所述客户端发送搜索请求之后,还包括:After the client sends the search request, it also includes:

接收所述搜索请求的节点判断自身的覆盖范围是否包括所述搜索请求携带的位置;The node receiving the search request judges whether its coverage includes the location carried in the search request;

如果是,所述节点将自身设置成侯选代理节点,并计算出自身的权值,向其邻居节点发送信标消息,所述信标消息携带所述权值;If so, the node sets itself as a candidate agent node, and calculates its own weight, and sends a beacon message to its neighbor nodes, and the beacon message carries the weight;

如果所述侯选代理节点接收到邻居节点发送携带自身权值的信标消息,比较自身的权值是否大于邻居节点的权值,如果是,将自身推举为代理节点,如果否,推举权值最大的节点为代理节点;If the candidate proxy node receives a beacon message carrying its own weight sent by a neighbor node, compare whether its own weight is greater than the weight of the neighbor node, if yes, recommend itself as a proxy node, if not, recommend the weight The largest node is the proxy node;

如果所述侯选代理节点没接收到所述邻居节点发送的信标消息,则推举自己为代理节点。If the candidate proxy node does not receive the beacon message sent by the neighbor node, it recommends itself as a proxy node.

所述查询请求还携带锚节点序列,相应地,The query request also carries an anchor node sequence, correspondingly,

所述代理节点和/或所述邻居节点在广播所述查询请求之前,将自身的标识添加到所述查询请求的锚点序列中;Before broadcasting the query request, the proxy node and/or the neighbor node adds its own identity to the anchor point sequence of the query request;

相应地,所述邻居节点接收所述查询请求,判断是否已接收所述查询请求,具体包括:Correspondingly, the neighbor node receives the query request, and judges whether the query request has been received, specifically including:

所述邻居节点接收所述查询请求,判断所述查询请求的锚点序列中是否存在自身的标识,如果存在,则判断出已接收所述查询请求,如果不存在,则判断出没有接收所述查询请求。The neighbor node receives the query request, and judges whether its own identity exists in the anchor point sequence of the query request. If it exists, it judges that the query request has been received; query request.

一种搜索节点的系统,所述系统包括客户端、代理节点和邻居节点;A system for searching nodes, said system comprising a client, an agent node and a neighbor node;

所述客户端,用于发送搜索请求,所述搜索请求携带搜索范围和用户指定的位置;The client is configured to send a search request, the search request carries a search range and a location specified by the user;

所述代理节点,用于接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;接收来自所述邻居节点的应答消息,将所述应答消息发送给所述客户端;The proxy node is configured to receive the search request, broadcast a query request to its neighbor nodes, and the query request carries the code of the proxy node, message time, the location and the search range; A response message of the node, sending the response message to the client;

所述邻居节点,用于接收所述查询请求,判断是否已接收所述查询请求;如果否,所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The neighbor node is configured to receive the query request, and judge whether the query request has been received; if not, the neighbor node judges whether it is located in the search range according to the location and the search range, if Yes, sending a response message to the proxy node, the response message carrying the message time, the code and location of the neighbor node, and broadcasting the query request to its neighbor nodes.

所述邻居节点包括:The neighbor nodes include:

判断模块,用于接收所述查询请求,从所述查询请求中提取所述代理节点的编码和所述消息时间,判断是否已存储所述代理节点的编码和所述消息时间;A judging module, configured to receive the query request, extract the code of the proxy node and the message time from the query request, and judge whether the code of the proxy node and the message time have been stored;

应答模块,用于如果所述判断模块判断的结果为否,则判断出没有接收所述查询请求,根据所述位置和所述搜索范围,判断自身是否在所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The response module is used to determine whether the query request is not received if the judgment result of the judging module is no, judge whether it is within the search range according to the location and the search range, and if so, send A response message is sent to the proxy node, the response message carries the message time, the code and the location of the neighbor node, and the query request is broadcast to its neighbor nodes.

所述应答模块包括:The response module includes:

判断单元,用于根据自身的位置和所述位置,计算自身与所述位置之间的距离,判断所述距离是否大于所述搜索范围,如果否,则判断出所述邻居节点位于所述搜索范围内;A judging unit, configured to calculate the distance between itself and the location according to its own location and the location, and judge whether the distance is greater than the search range, and if not, judge that the neighbor node is located in the search range within the scope;

发送单元,用于发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。A sending unit, configured to send a response message to the proxy node, the response message carrying message time, code and location of the neighbor node, and broadcast the query request to its neighbor nodes.

如果存在多条应答消息携带同一个节点的编码,相应地,If there are multiple response messages carrying the code of the same node, correspondingly,

所述代理节点包括:The proxy nodes include:

广播模块,用于接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;A broadcast module, configured to receive the search request, broadcast a query request to its neighbor nodes, the query request carries the code of the proxy node, message time, the location and the search range;

发送模块,用于从所述多条应答消息中,选择所述消息时间最接近当前时间的应答消息,丢弃其他的应答消息,将所述未丢弃的应答消息发送给所述客户端。A sending module, configured to select a response message whose message time is closest to the current time from the plurality of response messages, discard other response messages, and send the non-discarded response messages to the client.

所述系统还包括B服务器;The system also includes a B server;

相应地,所述代理节点和/或所述邻居节点向其邻居节点广播查询请求后,还用于将所述查询请求上传给B服务器;Correspondingly, after the proxy node and/or the neighbor node broadcast the query request to its neighbor nodes, it is also used to upload the query request to the B server;

所述B服务器,用于接收所述查询请求,根据上传所述查询请求的节点的编码,从已存储的上传节点的编码、读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的消息时间、读取节点的编码和上传节点的位置;发送应答消息给所述代理节点,所述应答消息携带所述消息时间、所述读取节点的编码和所述上传节点的位置。The B server is configured to receive the query request, and according to the code of the node uploading the query request, from the stored corresponding relationship between the code of the upload node, the code of the read node, the time of the message, and the position of the upload node , find the corresponding message time, the code of the reading node, and the position of the uploading node; send a response message to the proxy node, and the response message carries the message time, the code of the reading node and the location of the uploading node Location.

所述代理节点按以下方式推举获得;The proxy node is recommended and obtained in the following manner;

接收所述搜索请求的节点判断自身的覆盖范围是否包括所述搜索请求携带的位置;The node receiving the search request judges whether its coverage includes the location carried in the search request;

如果是,所述节点将自身设置成侯选代理节点,并计算出自身的权值,向其邻居节点发送信标消息,所述信标消息携带所述权值;If so, the node sets itself as a candidate agent node, and calculates its own weight, and sends a beacon message to its neighbor nodes, and the beacon message carries the weight;

如果所述侯选代理节点接收到邻居节点发送携带自身权值的信标消息,比较自身的权值是否大于邻居节点的权值,如果是,将自身推举为代理节点,如果否,推举权值最大的节点为代理节点;If the candidate proxy node receives a beacon message carrying its own weight sent by a neighbor node, compare whether its own weight is greater than the weight of the neighbor node, if yes, recommend itself as a proxy node, if not, recommend the weight The largest node is the proxy node;

如果所述侯选代理节点没接收到所述邻居节点发送的信标消息,则推举自己为代理节点。If the candidate proxy node does not receive the beacon message sent by the neighbor node, it recommends itself as a proxy node.

所述查询请求还携带锚节点序列,The query request also carries an anchor node sequence,

相应地,所述代理节点和/或所述邻居节点,还用于在广播所述查询请求之前,将自身的标识添加到所述查询请求的锚点序列中;Correspondingly, the proxy node and/or the neighbor node is further configured to add its own identity to the anchor point sequence of the query request before broadcasting the query request;

相应地,Correspondingly,

所述邻居节点接收所述查询请求,判断所述查询请求的锚点序列中是否存在自身的标识,如果不存在,则判断出没有接收所述查询请求,根据所述位置和所述搜索范围,判断自身是否在所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The neighbor node receives the query request, judges whether its own identity exists in the anchor point sequence of the query request, if not, judges that the query request is not received, and according to the location and the search range, Judging whether it is within the search range, if so, sending a response message to the proxy node, the response message carrying the message time, the code and location of the neighbor node, and broadcasting the query request to its neighbor nodes.

通过代理节点接收搜索请求后,向其邻居节点广播查询请求,邻居节点接收查询请求后,判断是否已接收该查询请求,如果没有,判断自身是否位于查询请求携带的搜索范围内,如果位于,则向代理节点发送携带自身位置和编码以及消息时间的应答消息,代理节点再将应答消息发送给客户端。其中,在指定的位置附近选择代理节点,利用代理节点在搜索范围内搜索节点,而代理节点能够在较长时间内处于指定位置的附近,从而提高搜索节点的精度;覆盖范围包括指定的位置的节点都有可能成为代理节点,不受条件限制,因而具有通用性。After the proxy node receives the search request, it broadcasts the query request to its neighbor nodes. After the neighbor node receives the query request, it judges whether it has received the query request. If not, it judges whether it is within the search range carried by the query request. If it is, then Send a response message carrying its own location, code, and message time to the proxy node, and the proxy node sends the response message to the client. Among them, the proxy node is selected near the specified position, and the proxy node is used to search for nodes within the search range, and the proxy node can be in the vicinity of the specified position for a long time, thereby improving the accuracy of the search node; the coverage includes the specified position All nodes may become proxy nodes without any restrictions, so they are universal.

附图说明Description of drawings

图1是本发明实施例1提供的一种搜索节点的方法流程图;FIG. 1 is a flowchart of a method for searching nodes provided in Embodiment 1 of the present invention;

图2是本发明实施例2提供的一种搜索节点的方法流程图;FIG. 2 is a flowchart of a method for searching nodes provided in Embodiment 2 of the present invention;

图3是本发明实施例3提供的一种搜索节点的系统示意图。Fig. 3 is a system schematic diagram of a search node provided by Embodiment 3 of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

实施例1Example 1

如图1所示,本发明实施例提供了一种搜索节点的方法,包括:As shown in Figure 1, the embodiment of the present invention provides a method for searching nodes, including:

步骤101:客户端发送搜索请求,其中,该搜索请求携带搜索范围和用户指定的位置;Step 101: the client sends a search request, wherein the search request carries the search range and the location specified by the user;

步骤102:代理节点接收该搜索请求,向其邻居节点广播查询请求,其中,该查询请求携带代理节点的编码、消息时间、搜索请求携带的位置和搜索范围;Step 102: the proxy node receives the search request, and broadcasts the query request to its neighbor nodes, wherein the query request carries the code of the proxy node, message time, location and search range carried by the search request;

步骤103:邻居节点接收该查询请求,判断是否已接收该查询请求;Step 103: The neighbor node receives the query request, and judges whether the query request has been received;

步骤104:如果否,邻居节点根据查询请求携带的位置和搜索范围,判断自身是否位于该搜索范围内,如果是,发送应答消息给代理节点,其中,该应答消息携带消息时间、邻居节点的编码和位置,向其邻居节点广播该查询请求;Step 104: If not, the neighbor node judges whether it is located in the search range according to the location and search range carried in the query request, and if yes, sends a response message to the proxy node, wherein the response message carries the message time, the code of the neighbor node and location, broadcast the query request to its neighbor nodes;

步骤105:代理节点接收该应答消息,将该应答消息发送给客户端。Step 105: the proxy node receives the response message, and sends the response message to the client.

在本发明实施例中,代理节点接收搜索请求后,向其邻居节点广播查询请求,邻居节点接收查询请求后,判断是否已接收该查询请求,如果没有,判断自身是否位于查询请求携带的搜索范围内,如果位于,则向代理节点发送携带自身位置和编码以及消息时间的应答消息,代理节点再将应答消息发送给客户端。其中,在指定的位置附近选择代理节点,利用代理节点在搜索范围内搜索节点,而代理节点能够在较长时间内处于指定位置的附近,从而提高搜索节点的精度;覆盖范围包括指定的位置的节点都有可能成为代理节点,不受条件限制,因而具有通用性。In the embodiment of the present invention, after the proxy node receives the search request, it broadcasts the query request to its neighbor nodes. After the neighbor node receives the query request, it judges whether it has received the query request. If not, it judges whether it is located in the search range carried by the query request. If it is located, it will send a response message carrying its own location, code and message time to the proxy node, and the proxy node will send the response message to the client. Among them, the proxy node is selected near the specified position, and the proxy node is used to search for nodes within the search range, and the proxy node can be in the vicinity of the specified position for a long time, thereby improving the accuracy of the search node; the coverage includes the specified position All nodes may become proxy nodes without any restrictions, so they are universal.

实施例2Example 2

如图2所示,本发明实施例提供了一种搜索节点的方法,包括:As shown in Figure 2, the embodiment of the present invention provides a method for searching nodes, including:

步骤201:客户端向物联网广播搜索请求,且该搜索请求携带用户指定的位置和搜索范围;Step 201: The client broadcasts a search request to the Internet of Things, and the search request carries the location and search range specified by the user;

其中,用户事先在客户端中指定一个具体的位置,该位置可以是一个坐标或是具体的经度和纬度,用户还可以向客户端输入一个搜索范围,该搜索范围可以是一个搜索半径。然后,客户端生成携带用户指定的位置和搜索范围的搜索请求。另外,在客户端中还事先设置一个默认的搜索范围,如果用户没有向客户端输入搜索范围,则客户端生成携带指定的位置和默认的搜索范围的搜索请求。例如,用户指定的位置为坐标(x0,y0)以及搜索半径为L0,则客户端生成携带坐标(x0,y0)和搜索半径L0的搜索请求。Wherein, the user specifies a specific location in the client in advance, and the location can be a coordinate or a specific longitude and latitude, and the user can also input a search range to the client, and the search range can be a search radius. Then, the client generates a search request carrying the location and search range specified by the user. In addition, a default search range is set in advance in the client. If the user does not input a search range to the client, the client generates a search request carrying the specified location and the default search range. For example, if the location specified by the user is coordinates (x0, y0) and the search radius is L0, then the client generates a search request carrying the coordinates (x0, y0) and the search radius L0.

步骤202:物联网中的节点接收搜索请求,判断自身的通信范围是否覆盖搜索请求携带的位置,如果是,将自己设置成侯选代理节点;Step 202: The node in the Internet of Things receives the search request, judges whether its own communication range covers the location carried by the search request, and if so, sets itself as a candidate proxy node;

例如,物联网中的每个节点接收到搜索请求后,从该搜索请求中提取位置为坐标(x0,y0),所有通信范围覆盖坐标(x0,y0)的节点都将自己设置成侯选代理节点。For example, after each node in the Internet of Things receives a search request, it extracts the location from the search request as coordinates (x0, y0), and all nodes whose communication range covers coordinates (x0, y0) set themselves as candidate agents node.

其中,物联网中的其他节点如果接收到搜索请求后,如果判断出自身的通信范围不能够覆盖搜索请求携带的位置时,则直接将该搜索请求转发出去。Among them, after receiving the search request, other nodes in the Internet of Things will directly forward the search request if they judge that their own communication range cannot cover the location carried by the search request.

步骤203:每个侯选代理节点计算自身的权值,向其邻居节点发送信标消息,该信标消息携带节点自身的权值;Step 203: Each candidate proxy node calculates its own weight, and sends a beacon message to its neighbor nodes, and the beacon message carries the node's own weight;

其中,每个侯选代理节点,根据如下的公式(1)计算自身的权值Wi。Wherein, each candidate proxy node calculates its own weight value Wi according to the following formula (1).

WW ii == αα ww dd ii ++ ββ ww vv ii ++ γγ ww aa ii ++ χχ ww rr ii ++ ϵϵ ·&Center Dot; PREPRE .. .. .. .. .. .. (( 11 ))

其中α+β+γ+χ+ε=1,i∈{2,......,K},K≥2,K为可相互通信的候选代理节点的个数。α,β,γ,χ,ε由技术人员事先设置在每个侯选节点中的系数,技术人员可以根据实际服务的需求设置每个系数的值,且通常α>χ>β>γ,如果侯选代理节点自愿成为代理节点,则PRE=1,否则,PRE=0。Where α+β+γ+χ+ε=1, i∈{2,...,K}, K≥2, K is the number of candidate proxy nodes that can communicate with each other. α, β, γ, χ, ε are the coefficients set in each candidate node by the technician in advance, and the technician can set the value of each coefficient according to the actual service demand, and usually α>χ>β>γ, if A candidate agent node becomes an agent node voluntarily, then PRE=1, otherwise, PRE=0.

其中, w d i = d i Σ j = 1 K d j , K ≥ 2 , in, w d i = d i Σ j = 1 K d j , K &Greater Equal; 2 ,

其中,di是候选代理节点与指定的位置之间的欧式距离,侯选代理节点根据自身所在的位置与指定的位置,计算出候选代理节点与指定位置之间的欧式距离。Among them, d i is the Euclidean distance between the candidate proxy node and the specified position, and the candidate proxy node calculates the Euclidean distance between the candidate proxy node and the specified position according to its own position and the specified position.

其中, w v i = v i Σ j = 1 K v j , K ≥ 2 , in, w v i = v i Σ j = 1 K v j , K &Greater Equal; 2 ,

其中,vi是候选代理节点的运动速度标量,侯选代理节点可以测量出自身的运动速度标量。Among them, v i is the motion velocity scalar of the candidate proxy node, and the candidate proxy node can measure its own motion velocity scalar.

其中, w a i = a i Σ j = 1 K a j , K ≥ 2 , in, w a i = a i Σ j = 1 K a j , K &Greater Equal; 2 ,

其中,ai是候选节点的加速度标量,侯选代理节点可以测量自身的加速度标量。Among them, a i is the acceleration scalar of the candidate node, and the candidate proxy node can measure its own acceleration scalar.

Figure BSA00000193822900083
是候选节点的通信半径的标准化后的权值。计算公式如下:
Figure BSA00000193822900083
is the normalized weight of the communication radius of the candidate node. Calculated as follows:

Figure BSA00000193822900084
其中ri是候选节点的通讯半径。
Figure BSA00000193822900084
where ri is the communication radius of the candidate node.

步骤204:如果侯选代理节点接收其邻居侯选代理节点发送的信标消息,则从该信标消息中提取每个邻居侯选代理节点的权值;Step 204: If the candidate proxy node receives the beacon message sent by its neighbor candidate proxy node, then extract the weight value of each neighbor candidate proxy node from the beacon message;

其中,如果非侯选代理节点接收到其邻居侯选代理节点发送的信标消息,则直接丢弃接收的信标消息。Wherein, if a non-candidate proxy node receives a beacon message sent by its neighbor candidate proxy node, it directly discards the received beacon message.

步骤205:该侯选代理节点比较自身的权值与每个邻居侯选代理节点的权值,如果自身的权值大于每个邻居侯选代理节点,则推举自己为代理节点,否则,将从邻居侯选代理节点中推举权值最大的侯选代理节点为代理节点;Step 205: The candidate proxy node compares its own weight with the weight of each neighbor candidate proxy node, if its own weight is greater than each neighbor candidate proxy node, then recommend itself as a proxy node, otherwise, it will be from Among the neighbor candidate proxy nodes, the candidate proxy node with the largest weight is recommended as the proxy node;

步骤206:如果侯选代理节点没有接收到信标消息,则该侯选代理节点将自身推举为代理节点;Step 206: If the candidate proxy node does not receive the beacon message, the candidate proxy node elects itself as a proxy node;

其中,在本实施例中,在选择代理节点时综合考虑了侯选代理节点与指定的位置的距离、节点通信半径、节点速度、节点加速度以及自愿性等多方面因素,保证了代理节点能够在较长时间内位于指定位置的附近,短时间内不会离开搜索范围,从而提高了搜索节点的精度。Among them, in this embodiment, when selecting the proxy node, various factors such as the distance between the candidate proxy node and the specified location, the node communication radius, the node speed, the node acceleration, and the voluntary nature are taken into consideration to ensure that the proxy node can It is located near the specified location for a long time, and will not leave the search range for a short time, thereby improving the accuracy of the search node.

其中,在本实施例中,用户可以向客户端输入一个节点的编码和搜索范围,用户端生成携带搜索范围的搜索请求,根据用户输入的节点的编码,将搜索请求发送给对应的节点,如果该节点具有接收和发送消息的能力,则该节点将自己推举为代理节点;如果该节点不具有接收和发送消息的能力,则用户重新向客户端输入一个具体的位置和搜索范围,并从步骤201开始执行。Among them, in this embodiment, the user can input the code and search range of a node to the client, and the user generates a search request carrying the search range, and sends the search request to the corresponding node according to the code of the node input by the user, if If the node has the ability to receive and send messages, the node will recommend itself as a proxy node; if the node does not have the ability to receive and send messages, the user will re-input a specific location and search range to the client, and start from the step 201 starts to execute.

其中,针对一个代理节点,执行如下的步骤207至211搜索在搜索范围内满足搜索条件的节点。Wherein, for a proxy node, the following steps 207 to 211 are performed to search for nodes satisfying the search condition within the search range.

步骤207:代理节点生成查询请求,其中,该查询请求携带代理节点的编码,消息时间、锚点序列、搜索请求携带的位置和搜索范围,其中,锚点序列中存储该代理节点的标识,再向其邻居节点广播查询请求;Step 207: The proxy node generates a query request, wherein the query request carries the code of the proxy node, the message time, the anchor sequence, the location and the search range carried by the search request, wherein the identifier of the proxy node is stored in the anchor sequence, and then Broadcast query requests to its neighbor nodes;

具体地,代理节点获取当前时间,将获取的当前时间作为消息时间,生成查询请求,在查询请求中添加自身的编码,消息时间、搜索请求携带的位置和搜索范围,并将自身的标识添加到搜索请求的锚点序列。Specifically, the proxy node obtains the current time, uses the obtained current time as the message time, generates a query request, adds its own code, message time, search request carrying location and search range to the query request, and adds its own identity to The sequence of anchors for the search request.

其中,代理节点的标识可以为代理节点的当前位置或网络地址。Wherein, the identifier of the proxy node may be the current location or network address of the proxy node.

进一步地,如果该代理节点还与其所属机构的B服务器相连接,则同时发送查询请求给B服务器。Further, if the proxy node is also connected to the B server of its affiliated organization, it will send a query request to the B server at the same time.

相应地,B服务器接收该查询请求,从该查询请求中提取上传该查询请求的节点的编码即代理节点的编码和消息时间,根据提取的上传节点的编码和消息时间,判断是否已接收该查询请求,如果是,则丢弃该查询请求,如果否,则存储上传节点的编码和消息时间,根据上传节点的编码,从自身已存储的上传节点的编码,读取节点的编码、读取时间和上传节点的位置的对应关系中,查找对应的读取节点的编码、消息时间和上传节点的位置,发送应答消息给代理节点,且该应答消息携带读取节点的编码、消息时间和上传节点的位置。Correspondingly, server B receives the query request, extracts the code of the node that uploaded the query request, that is, the code of the proxy node, and the message time from the query request, and judges whether the query has been received according to the extracted code and message time of the uploaded node request, if yes, discard the query request, if not, store the code and message time of the upload node, and read the code, read time and In the corresponding relationship between the position of the uploading node, find the code of the corresponding reading node, the message time and the position of the uploading node, and send a response message to the proxy node, and the response message carries the code of the reading node, the message time and the location of the uploading node. Location.

其中,B服务器判断是否已存储有提取的上传节点的编码和消息时间,如果是,则判断出已接收该查询请求,如果否,则之前没有接收该查询请求。Wherein, the B server judges whether the code and the message time of the extracted uploading node have been stored, if yes, then it is judged that the query request has been received, if not, the query request has not been received before.

其中,网络中的每个节点都由不同的机构部署,因此每个节点都隶属于不同的机构,每个机构都有自己的B服务器。Among them, each node in the network is deployed by a different organization, so each node belongs to a different organization, and each organization has its own B server.

其中,当网络中的某个节点读取到其他节点的信息时,如果该节点还与其所属机构的B服务器相连接,则该节点将自身的编码,读取的节点的编码,消息时间和自身的位置上传给B服务器,B服务器将该节点的编码,读取的节点的编码,消息时间和该节点的位置存储在上传节点的编码,读取节点的编码、消息时间和上传节点的位置的对应关系中。其中,网络中的其他每个节点在读取其他节点时,也同该节点执行相同的操作。Among them, when a node in the network reads the information of other nodes, if the node is still connected to the B server of its affiliated organization, the node will send its own code, the code of the read node, the message time and its own The position of the node is uploaded to the B server, and the B server stores the code of the node, the code of the read node, the message time and the position of the node in the code of the upload node, the code of the read node, the time of the message and the position of the upload node in the corresponding relationship. Among them, every other node in the network also performs the same operation as this node when reading other nodes.

其中,如果代理节点为用户直接指定的代理节点,则代理节点获取当前时间和自身的位置,将该当前时间作为消息时间,生成查询请求,且该查询请求携带代理节点的编码,消息时间、锚点序列、获取的位置和搜索请求携带的搜索范围。Among them, if the proxy node is the proxy node directly designated by the user, the proxy node obtains the current time and its own position, uses the current time as the message time, and generates a query request, and the query request carries the code of the proxy node, message time, anchor The sequence of points, the obtained position, and the search scope carried by the search request.

步骤208:当邻居节点接收到查询请求,从查询请求中提取代理节点的编码和消息时间,根据提取的代理节点的编码和消息时间判断是否已接收该查询请求;如果是,直接丢弃该查询请求,否则,执行步骤209;Step 208: When the neighbor node receives the query request, extract the code and message time of the proxy node from the query request, and judge whether the query request has been received according to the extracted code and message time of the proxy node; if so, directly discard the query request , otherwise, go to step 209;

其中,邻居节点每接收到新的查询请求时,存储查询请求携带的代理节点的编码和消息时间。所以当邻居节点从该查询请求中提取代理节点的编码和消息时间后,判断自身是否已存储有提取的代理节点的编码和消息时间,如果否,则判断出邻居节点没有接收该查询请求,如果是,则判断出邻居节点已接收该查询请求。Wherein, each time the neighbor node receives a new query request, it stores the code and message time of the proxy node carried in the query request. Therefore, when the neighbor node extracts the code and message time of the proxy node from the query request, it judges whether it has stored the code and message time of the proxy node extracted. If not, it judges that the neighbor node has not received the query request. If If yes, it is determined that the neighbor node has received the query request.

另外,邻居节点还可以从该查询请求中提取锚点序列,判断提取的锚点序列中是否存在自身的标识,如果存在,则判断出已接收该查询请求,如果不存在,则判断出没有接收该查询请求。In addition, the neighbor node can also extract the anchor point sequence from the query request, and judge whether its own identity exists in the extracted anchor point sequence. If it exists, it can be judged that the query request has been received; The query request.

步骤209:该邻居节点从查询请求中提取位置和搜索范围,根据自身的位置和提取的位置,判断自身是否在搜索范围之内,如果是执行步骤210,如果否,结束操作;Step 209: The neighbor node extracts the location and the search range from the query request, and judges whether it is within the search range according to its own location and the extracted location, if yes, execute step 210, if not, end the operation;

具体地,该邻居节点从查询请求中提取位置和搜索范围,根据提取的位置和自身的位置,计算自身到提取的位置之间的距离,判断该距离是否小于或等于搜索范围,如果是,则表明该邻居节点位于搜索范围内,如果否,则表明该邻居节点位于在搜索范围外。Specifically, the neighbor node extracts the location and search range from the query request, calculates the distance between itself and the extracted location according to the extracted location and its own location, and judges whether the distance is less than or equal to the search range, and if so, then indicates that the neighbor node is within the search range, and if not, indicates that the neighbor node is outside the search range.

步骤210:该邻居节点向该代理节点发送应答消息,该应答消息携带自身的编码、自身的位置信息以及当前时间,将自身的标识添加到搜索请求的锚点序列中,再向其邻居节点广播添加的搜索请求;Step 210: The neighbor node sends a response message to the proxy node, the response message carries its own code, its own location information and the current time, adds its own identity to the anchor sequence of the search request, and then broadcasts to its neighbor nodes Added search request;

进一步地,如果该邻居节点还与其所属机构的B服务器相连,则该邻居节点将该查询请求上传给B服务器;Further, if the neighbor node is also connected to the B server of its affiliated organization, the neighbor node uploads the query request to the B server;

相应地,B服务器接收该查询请求,从该查询请求中提取上传该查询请求的节点的编码即该邻居节点的编码和消息时间,根据提取的上传节点的编码和消息时间,判断是否已接收该查询请求,如果是,则丢弃该查询请求,如果否,则存储上传节点的编码和消息时间,根据上传节点的编码,从自身已存储的上传节点的编码,读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的读取节点的编码、消息时间和上传节点的位置,发送应答消息给代理节点,且该应答消息携带查找的读取节点的编码、消息时间和上传节点的位置。Correspondingly, server B receives the query request, extracts the code of the node that uploaded the query request from the query request, that is, the code of the neighbor node and the message time, and judges whether the code and message time of the extracted upload node have been received. Query request, if yes, discard the query request, if not, store the code and message time of the upload node, read the code of the node, message time and In the corresponding relationship of the position of the uploading node, search for the code of the corresponding reading node, message time and the position of the uploading node, and send a response message to the proxy node, and the response message carries the code of the reading node, message time and uploading node. The position of the node.

其中,网络中的每个节点当接收到查询请求后,和该邻居节点一样执行相同的操作。Wherein, each node in the network performs the same operation as the neighbor node after receiving the query request.

步骤211:当代理节点接收到第一个应答消息时,开始在预设的时间内接收应答消息,将接收的应答消息打包后,发送给客户端。Step 211: When the proxy node receives the first response message, it starts to receive the response message within a preset time, packs the received response message, and sends it to the client.

进一步地,如果存在多条应答消息携带同一个节点的编码,则代理节点根据每条应答消息携带的消息时间,从该多条应答消息中选择消息时间离当前时间最近的应答消息,并丢弃其他应答消息。相应地,代理节点将未丢弃的应答消息打包,并发送给客户端。Further, if there are multiple response messages carrying the code of the same node, the proxy node selects the response message whose message time is closest to the current time from the multiple response messages according to the message time carried by each response message, and discards other Answer message. Correspondingly, the proxy node packages the undiscarded reply message and sends it to the client.

其中,网络中的其他代理节点,与该代理节点一样执行相同的操作。Among them, other proxy nodes in the network perform the same operations as the proxy node.

其中,在本实施例中,用户指定一个具体的位置和搜索范围,然后选择代理节点,利用代理节点在指定的位置附近进行搜索节点,从而提高搜索节点的精度。Among them, in this embodiment, the user specifies a specific location and search range, and then selects a proxy node, and uses the proxy node to search for nodes near the specified location, thereby improving the accuracy of the search node.

其中,网络中存在不具有接收和发送消息能力的节点,如果这类节点接收到查询请求,不会做任何操作,但是该类型节点可以被其附近的其他节点读取,如果其他节点读取到该节点的信息时,将该节点的编码和自身的位置信息上传给B服务器。在本实施例中,每个节点将查询请求上传给B服务器,可以从B服务器将该节点读取过的节点的编码等信息发送给代理节点,读取过的节点包括不具有接收和发送消息能力的节点。如此,提高了搜索节点的准确性。Among them, there are nodes in the network that do not have the ability to receive and send messages. If such nodes receive query requests, they will not perform any operations, but this type of nodes can be read by other nodes nearby. If other nodes read For the information of the node, the code of the node and its own location information are uploaded to the B server. In this embodiment, each node uploads the query request to the B server, and the information such as the code of the node read by the node can be sent to the agent node from the B server. Ability node. In this way, the accuracy of searching for nodes is improved.

在本发明实施例中,代理节点接收搜索请求后,向其邻居节点广播查询请求,邻居节点接收查询请求后,判断是否已接收该查询请求,如果没有,判断自身是否位于查询请求携带的搜索范围内,如果位于,则向代理节点发送携带自身位置和编码以及消息时间的应答消息,代理节点再将应答消息发送给客户端。其中,在指定的位置附近选择代理节点,利用代理节点在搜索范围内搜索节点,而代理节点的选择综合考虑了通信半径、节点速度、节点加速度、上传能力以及自愿性等多方面因素,从而保证了代理节点能够在较长时间内处于指定的位置的附近,从而提高搜索节点的精度;覆盖范围包括指定的位置的节点都有可能成为代理节点,不受条件限制,因而具有通用性。In the embodiment of the present invention, after the proxy node receives the search request, it broadcasts the query request to its neighbor nodes. After the neighbor node receives the query request, it judges whether it has received the query request. If not, it judges whether it is located in the search range carried by the query request. If it is located, it will send a response message carrying its own location, code and message time to the proxy node, and the proxy node will send the response message to the client. Among them, the proxy node is selected near the specified location, and the proxy node is used to search for nodes within the search range, and the selection of the proxy node takes into account various factors such as communication radius, node speed, node acceleration, uploading ability, and voluntariness, so as to ensure It ensures that the proxy node can be near the specified location for a long time, thereby improving the accuracy of the search node; any node whose coverage includes the specified location may become a proxy node, which is not limited by conditions, so it has versatility.

实施例3Example 3

如图3所示,本发明实施例提供了一种搜索节点的系统,包括客户端301、代理节点302和邻居节点303;As shown in Figure 3, the embodiment of the present invention provides a system for searching nodes, including a client 301, a proxy node 302 and a neighbor node 303;

客户端301,用于发送搜索请求,其中,该搜索请求携带搜索范围和用户指定的位置;The client 301 is configured to send a search request, wherein the search request carries a search range and a location specified by the user;

代理节点302,用于接收该搜索请求,向其邻居节点303广播查询请求,其中,该查询请求携带代理节点302的编码、消息时间、该搜索请求携带的位置和搜索范围;接收来自邻居节点303的应答消息,将该应答消息发送给客户端301;The proxy node 302 is used to receive the search request, and broadcast the query request to its neighbor node 303, wherein the query request carries the code of the proxy node 302, the message time, the location and the search range carried by the search request; The response message of the response message is sent to the client 301;

邻居节点303,用于接收该查询请求,判断是否已接收该查询请求;如果否,根据该查询请求携带的位置和搜索范围,判断自身是否位于该搜索范围内,如果是,发送应答消息给代理节点302,其中,该应答消息携带消息时间、邻居节点302的编码和位置,向其邻居节点广播该查询请求;The neighbor node 303 is used to receive the query request, and judge whether the query request has been received; if not, judge whether it is located in the search range according to the location and search range carried by the query request, and if so, send a response message to the agent Node 302, wherein the response message carries the message time, the code and the location of the neighbor node 302, and broadcasts the query request to its neighbor nodes;

其中,邻居节点303包括:Wherein, the neighbor node 303 includes:

判断模块,用于接收该查询请求,从该查询请求中提取代理节点302的编码和消息时间,判断是否已存储代理节点302的编码和消息时间;Judging module, used to receive the query request, extract the code and message time of the proxy node 302 from the query request, and judge whether the code and message time of the proxy node 302 have been stored;

应答模块,用于如果判断模块判断的结果为否,则判断出没有接收该查询请求,根据该查询请求携带的位置和搜索范围,判断自身是否在该搜索范围内,如果是,发送应答消息给代理节点302,其中,该应答消息携带消息时间、邻居节点302的编码和位置,向其邻居节点广播该查询请求;Response module, if the result judged by the judging module is no, it is judged that the query request has not been received, and according to the location and search range carried by the query request, it is judged whether itself is within the search range, and if so, a response message is sent to The proxy node 302, wherein the response message carries the message time, the code and the location of the neighbor node 302, and broadcasts the query request to its neighbor nodes;

其中,应答模块包括:Among them, the response module includes:

判断单元,用于根据自身的位置和该查询请求携带的位置,计算自身与该查询请求携带的位置之间的距离,判断该距离是否大于该搜索范围,如果否,则判断出邻居节点303位于搜索范围内;The judging unit is used to calculate the distance between itself and the position carried by the query request according to its own position and the position carried by the query request, and judge whether the distance is greater than the search range, if not, then judge that the neighbor node 303 is located in within the search range;

发送单元,用于发送应答消息给代理节点302,其中,该应答消息携带消息时间、邻居节点303的编码和位置,向其邻居节点广播该查询请求;The sending unit is used to send a response message to the proxy node 302, wherein the response message carries the message time, the code and the location of the neighbor node 303, and broadcasts the query request to its neighbor nodes;

其中,如果存在多条应答消息携带同一个节点的编码,相应地,Among them, if there are multiple response messages carrying the code of the same node, correspondingly,

代理节点302包括:Proxy node 302 includes:

广播模块,用于接收该搜索请求,向其邻居节点广播查询请求,其中,该查询请求携带代理节点301的编码、消息时间、该搜索请求携带的位置和搜索范围;A broadcast module, configured to receive the search request and broadcast the query request to its neighbor nodes, wherein the query request carries the code of the proxy node 301, message time, the location and search range carried by the search request;

发送模块,用于从多条应答消息中,选择消息时间最接近当前时间的应答消息,丢弃其他的应答消息,将未丢弃的应答消息发送给客户端;A sending module, configured to select a response message whose message time is closest to the current time from multiple response messages, discard other response messages, and send the undiscarded response messages to the client;

进一步地,该系统还包括B服务器;Further, the system also includes a B server;

相应地,代理节点302和/或邻居节点303向其邻居节点广播查询请求后,还用于将该查询请求上传给B服务器;Correspondingly, after the proxy node 302 and/or the neighbor node 303 broadcasts the query request to its neighbor nodes, it is also used to upload the query request to the B server;

B服务器,用于接收查询请求,根据上传该查询请求的节点的编码,从已存储的上传节点的编码、读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的消息时间、读取节点的编码和上传节点的位置;发送应答消息给代理节点302,其中,该应答消息携带消息时间、读取节点的编码和上传节点的位置;The B server is used to receive the query request, and according to the code of the node that uploaded the query request, find the corresponding message from the stored corresponding relationship between the code of the upload node, the code of the read node, the message time and the location of the upload node time, the code of the reading node and the position of the uploading node; sending a response message to the proxy node 302, wherein the response message carries the message time, the coding of the reading node and the position of the uploading node;

其中,代理节点302按以下方式推举获得;Wherein, the proxy node 302 is recommended and obtained in the following manner;

接收搜索请求的节点判断自身的覆盖范围是否包括该搜索请求携带的位置;The node receiving the search request judges whether its coverage includes the location carried by the search request;

如果是,节点将自身设置成侯选代理节点,并计算出自身的权值,向其邻居节点发送信标消息,其中,该信标消息携带权值;If so, the node sets itself as a candidate proxy node, calculates its own weight, and sends a beacon message to its neighbor nodes, where the beacon message carries the weight;

如果侯选代理节点接收到邻居节点发送携带自身权值的信标消息,比较自身的权值是否大于邻居节点的权值,如果是,将自身推举为代理节点,如果否,推举权值最大的节点为代理节点;If the candidate proxy node receives the beacon message with its own weight sent by the neighbor node, compare whether its own weight is greater than the weight of the neighbor node, if yes, recommend itself as a proxy node, if not, recommend the one with the largest weight The node is an agent node;

如果侯选代理节点没接收到邻居节点发送的信标消息,则推举自己为代理节点;If the candidate agent node does not receive the beacon message sent by the neighbor node, it will recommend itself as the agent node;

进一步地,查询请求还携带锚节点序列,Further, the query request also carries an anchor node sequence,

相应地,代理节点302和/或邻居节点303,还用于在广播该查询请求之前,将自身的标识添加到该查询请求的锚点序列中;Correspondingly, the proxy node 302 and/or the neighbor node 303 is further configured to add its own identity to the anchor point sequence of the query request before broadcasting the query request;

相应地,Correspondingly,

其中,邻居节点303接收该查询请求,判断该查询请求的锚点序列中是否存在自身的标识,如果不存在,则判断出没有接收该查询请求,根据该查询请求携带的位置和搜索范围,判断自身是否在该搜索范围内,如果是,发送应答消息给代理节点302,其中,应答消息携带消息时间、邻居节点303的编码和位置,向其邻居节点广播该查询请求。Wherein, the neighbor node 303 receives the query request, judges whether its own identity exists in the anchor point sequence of the query request, if not, then judges that the query request is not received, and judges according to the location and search range carried by the query request Whether itself is within the search range, if so, send a response message to the proxy node 302, wherein the response message carries the message time, code and location of the neighbor node 303, and broadcast the query request to its neighbor nodes.

在本发明实施例中,代理节点接收搜索请求后,向其邻居节点广播查询请求,邻居节点接收查询请求后,判断是否已接收该查询请求,如果没有,判断自身是否位于查询请求携带的搜索范围内,如果位于,则向代理节点发送携带自身位置和编码以及消息时间的应答消息,代理节点再将应答消息发送给客户端。其中,在指定的位置附近选择代理节点,利用代理节点在搜索范围内搜索节点,而代理节点能够在较长时间内处于指定位置的附近,从而提高搜索节点的精度;覆盖范围包括指定的位置的节点都有可能成为代理节点,不受条件限制,因而具有通用性。In the embodiment of the present invention, after the proxy node receives the search request, it broadcasts the query request to its neighbor nodes. After the neighbor node receives the query request, it judges whether it has received the query request. If not, it judges whether it is located in the search range carried by the query request. If it is located, it will send a response message carrying its own location, code and message time to the proxy node, and the proxy node will send the response message to the client. Among them, the proxy node is selected near the specified position, and the proxy node is used to search for nodes within the search range, and the proxy node can be in the vicinity of the specified position for a long time, thereby improving the accuracy of the search node; the coverage includes the specified position All nodes may become proxy nodes without any restrictions, so they are universal.

以上实施例提供的技术方案中的全部或部分内容可以通过软件编程实现,其软件程序存储在可读取的存储介质中,存储介质例如:计算机中的硬盘、光盘或软盘。All or part of the technical solutions provided by the above embodiments can be realized by software programming, and the software program is stored in a readable storage medium, such as a hard disk, an optical disk or a floppy disk in a computer.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (14)

1.一种搜索节点的方法,其特征在于,所述方法包括:1. A method for searching nodes, characterized in that the method comprises: 客户端发送搜索请求,所述搜索请求携带搜索范围和用户指定的位置;The client sends a search request, and the search request carries the search range and the location specified by the user; 代理节点接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;The proxy node receives the search request, broadcasts a query request to its neighbor nodes, and the query request carries the code of the proxy node, message time, the location and the search range; 所述邻居节点接收所述查询请求,判断是否已接收所述查询请求;The neighbor node receives the query request, and judges whether the query request has been received; 如果否,所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求;If not, the neighbor node judges whether it is located within the search range according to the position and the search range, and if so, sends a response message to the proxy node, the response message carrying message time, the neighbor node The code and position of the node, and broadcast the query request to its neighbor nodes; 所述代理节点接收所述应答消息,将所述应答消息发送给所述客户端。The proxy node receives the response message, and sends the response message to the client. 2.如权利要求1所述的方法,其特征在于,所述代理节点判断是否已接收所述查询请求,包括:2. The method according to claim 1, wherein the proxy node judging whether the query request has been received comprises: 所述邻居节点从所述查询请求中提取所述代理节点的编码和所述消息时间,判断是否已存储所述代理节点的编码和所述消息时间,如果是,则判断已接收所述查询请求,如果否,则判断出没有接收所述查询请求。The neighbor node extracts the code of the proxy node and the message time from the query request, and judges whether the code of the proxy node and the message time have been stored, and if so, judges that the query request has been received , if not, it is judged that the query request is not received. 3.如权利要求1所述的方法,其特征在于,所述邻居节点根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,包括:3. The method according to claim 1, wherein the neighbor node judges whether itself is located within the search range according to the position and the search range, comprising: 所述邻居节点根据自身的位置和所述位置,计算自身与所述位置之间的距离,判断所述距离是否大于所述搜索范围,如果否,则判断出自身位于所述搜索范围内。The neighbor node calculates the distance between itself and the location according to its own location and the location, and judges whether the distance is greater than the search range, and if not, judges that it is located in the search range. 4.如权利要求1所述的方法,其特征在于,如果存在多条应答消息携带同一个节点的编码,相应地,4. The method according to claim 1, wherein if there are multiple reply messages carrying the code of the same node, correspondingly, 所述代理节点接收所述应答消息,将所述应答消息发送给所述客户端,包括:The proxy node receives the response message, and sends the response message to the client, including: 所述代理节点从所述多条应答消息中,选择所述消息时间最接近当前时间的应答消息,丢弃其他的应答消息,将未丢弃的应答消息发送给所述客户端。The proxy node selects the response message whose message time is closest to the current time from the plurality of response messages, discards other response messages, and sends the response messages not discarded to the client. 5.如权利要求1所述的方法,其特征在于,所述方法还包括:5. The method of claim 1, further comprising: 所述代理节点和/或所述邻居节点向其邻居节点广播查询请求后,将所述查询请求上传给B服务器;After the proxy node and/or the neighbor node broadcast the query request to its neighbor nodes, upload the query request to the B server; 所述B服务器接收所述查询请求,根据上传所述查询请求的节点的编码,从已存储的上传节点的编码、读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的消息时间、读取节点的编码和上传节点的位置;The B server receives the query request, and according to the code of the node that uploaded the query request, searches for the corresponding The time of the message, the encoding of the reading node and the location of the uploading node; 所述B服务器发送应答消息给所述代理节点,所述应答消息携带所述消息时间、所述读取节点的编码和所述上传节点的位置。The B server sends a response message to the proxy node, and the response message carries the message time, the code of the reading node and the location of the uploading node. 6.如权利要求1所述的方法,其特征在于,所述客户端发送搜索请求之后,还包括:6. The method according to claim 1, further comprising: after the client sends the search request: 接收所述搜索请求的节点判断自身的覆盖范围是否包括所述搜索请求携带的位置;The node receiving the search request judges whether its coverage includes the location carried in the search request; 如果是,所述节点将自身设置成侯选代理节点,并计算出自身的权值,向其邻居节点发送信标消息,所述信标消息携带所述权值;If so, the node sets itself as a candidate agent node, and calculates its own weight, and sends a beacon message to its neighbor nodes, and the beacon message carries the weight; 如果所述侯选代理节点接收到邻居节点发送携带自身权值的信标消息,比较自身的权值是否大于邻居节点的权值,如果是,将自身推举为代理节点,如果否,推举权值最大的节点为代理节点;If the candidate proxy node receives a beacon message carrying its own weight sent by a neighbor node, compare whether its own weight is greater than the weight of the neighbor node, if yes, recommend itself as a proxy node, if not, recommend the weight The largest node is the proxy node; 如果所述侯选代理节点没接收到所述邻居节点发送的信标消息,则推举自己为代理节点。If the candidate proxy node does not receive the beacon message sent by the neighbor node, it recommends itself as a proxy node. 7.如权利要求1所述的方法,其特征在于,所述查询请求还携带锚节点序列,相应地,7. The method according to claim 1, wherein the query request also carries an anchor node sequence, and accordingly, 所述代理节点和/或所述邻居节点在广播所述查询请求之前,将自身的标识添加到所述查询请求的锚点序列中;Before broadcasting the query request, the proxy node and/or the neighbor node adds its own identity to the anchor point sequence of the query request; 相应地,所述邻居节点接收所述查询请求,判断是否已接收所述查询请求,具体包括:Correspondingly, the neighbor node receives the query request, and judges whether the query request has been received, specifically including: 所述邻居节点接收所述查询请求,判断所述查询请求的锚点序列中是否存在自身的标识,如果存在,则判断出已接收所述查询请求,如果不存在,则判断出没有接收所述查询请求。The neighbor node receives the query request, and judges whether its own identity exists in the anchor point sequence of the query request. If it exists, it judges that the query request has been received; query request. 8.一种搜索节点的系统,其特征在于,所述系统包括客户端、代理节点和邻居节点;8. A system for searching nodes, characterized in that the system includes a client, a proxy node and a neighbor node; 所述客户端,用于发送搜索请求,所述搜索请求携带搜索范围和用户指定的位置;The client is configured to send a search request, the search request carries a search range and a location specified by the user; 所述代理节点,用于接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;接收来自所述邻居节点的应答消息,将所述应答消息发送给所述客户端;The proxy node is configured to receive the search request, broadcast a query request to its neighbor nodes, and the query request carries the code of the proxy node, message time, the location and the search range; A response message of the node, sending the response message to the client; 所述邻居节点,用于接收所述查询请求,判断是否已接收所述查询请求;如果否,根据所述位置和所述搜索范围,判断自身是否位于所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The neighbor node is configured to receive the query request, and judge whether the query request has been received; if not, judge whether it is within the search range according to the location and the search range, and if so, send a response message to the proxy node, the response message carries the message time, the code and location of the neighbor node, and broadcasts the query request to its neighbor nodes. 9.如权利要求8所述的系统,其特征在于,所述邻居节点包括:9. The system according to claim 8, wherein the neighbor nodes comprise: 判断模块,用于接收所述查询请求,从所述查询请求中提取所述代理节点的编码和所述消息时间,判断是否已存储所述代理节点的编码和所述消息时间;A judging module, configured to receive the query request, extract the code of the proxy node and the message time from the query request, and judge whether the code of the proxy node and the message time have been stored; 应答模块,用于如果所述判断模块判断的结果为否,则判断出没有接收所述查询请求,根据所述位置和所述搜索范围,判断自身是否在所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The response module is used to determine whether the query request is not received if the judgment result of the judging module is no, judge whether it is within the search range according to the location and the search range, and if so, send A response message is sent to the proxy node, the response message carries the message time, the code and the location of the neighbor node, and the query request is broadcast to its neighbor nodes. 10.如权利要求9所述的系统,其特征在于,所述应答模块包括:10. The system according to claim 9, wherein the response module comprises: 判断单元,用于根据自身的位置和所述位置,计算自身与所述位置之间的距离,判断所述距离是否大于所述搜索范围,如果否,则判断出所述邻居节点位于所述搜索范围内;A judging unit, configured to calculate the distance between itself and the location according to its own location and the location, and judge whether the distance is greater than the search range, and if not, judge that the neighbor node is located in the search range within the scope; 发送单元,用于发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。A sending unit, configured to send a response message to the proxy node, the response message carrying message time, code and location of the neighbor node, and broadcast the query request to its neighbor nodes. 11.如权利要求8所述的系统,其特征在于,如果存在多条应答消息携带同一个节点的编码,相应地,11. The system according to claim 8, wherein if there are multiple response messages carrying the code of the same node, correspondingly, 所述代理节点包括:The proxy nodes include: 广播模块,用于接收所述搜索请求,向其邻居节点广播查询请求,所述查询请求携带所述代理节点的编码、消息时间、所述位置和所述搜索范围;A broadcast module, configured to receive the search request, broadcast a query request to its neighbor nodes, the query request carries the code of the proxy node, message time, the location and the search range; 发送模块,用于从所述多条应答消息中,选择所述消息时间最接近当前时间的应答消息,丢弃其他的应答消息,将所述未丢弃的应答消息发送给所述客户端。A sending module, configured to select a response message whose message time is closest to the current time from the plurality of response messages, discard other response messages, and send the non-discarded response messages to the client. 12.如权利要求8所述的系统,其特征在于,所述系统还包括B服务器;12. The system according to claim 8, further comprising a B server; 相应地,所述代理节点和/或所述邻居节点向其邻居节点广播查询请求后,还用于将所述查询请求上传给B服务器;Correspondingly, after the proxy node and/or the neighbor node broadcast the query request to its neighbor nodes, it is also used to upload the query request to the B server; 所述B服务器,用于接收所述查询请求,根据上传所述查询请求的节点的编码,从已存储的上传节点的编码、读取节点的编码、消息时间和上传节点的位置的对应关系中,查找对应的消息时间、读取节点的编码和上传节点的位置;发送应答消息给所述代理节点,所述应答消息携带所述消息时间、所述读取节点的编码和所述上传节点的位置。The B server is configured to receive the query request, and according to the code of the node uploading the query request, from the stored corresponding relationship between the code of the upload node, the code of the read node, the time of the message, and the position of the upload node , find the corresponding message time, the code of the reading node, and the position of the uploading node; send a response message to the proxy node, and the response message carries the message time, the code of the reading node and the location of the uploading node Location. 13.如权利要求8所述的系统,其特征在于,所述代理节点按以下方式推举获得;13. The system according to claim 8, wherein the proxy node is obtained through recommendation in the following manner; 接收所述搜索请求的节点判断自身的覆盖范围是否包括所述搜索请求携带的位置;The node receiving the search request judges whether its coverage includes the location carried by the search request; 如果是,所述节点将自身设置成侯选代理节点,并计算出自身的权值,向其邻居节点发送信标消息,所述信标消息携带所述权值;If so, the node sets itself as a candidate agent node, and calculates its own weight, and sends a beacon message to its neighbor nodes, and the beacon message carries the weight; 如果所述侯选代理节点接收到邻居节点发送携带自身权值的信标消息,比较自身的权值是否大于邻居节点的权值,如果是,将自身推举为代理节点,如果否,推举权值最大的节点为代理节点;If the candidate proxy node receives a beacon message carrying its own weight sent by a neighbor node, compare whether its own weight is greater than the weight of the neighbor node, if yes, recommend itself as a proxy node, if not, recommend the weight The largest node is the proxy node; 如果所述侯选代理节点没接收到所述邻居节点发送的信标消息,则推举自己为代理节点。If the candidate proxy node does not receive the beacon message sent by the neighbor node, it recommends itself as a proxy node. 14.如权利要求8所述的系统,其特征在于,所述查询请求还携带锚节点序列,14. The system according to claim 8, wherein the query request also carries an anchor node sequence, 相应地,所述代理节点和/或所述邻居节点,还用于在广播所述查询请求之前,将自身的标识添加到所述查询请求的锚点序列中;Correspondingly, the proxy node and/or the neighbor node is further configured to add its own identity to the anchor point sequence of the query request before broadcasting the query request; 相应地,Correspondingly, 所述邻居节点接收所述查询请求,判断所述查询请求的锚点序列中是否存在自身的标识,如果不存在,则判断出没有接收所述查询请求,根据所述位置和所述搜索范围,判断自身是否在所述搜索范围内,如果是,发送应答消息给所述代理节点,所述应答消息携带消息时间、所述邻居节点的编码和位置,向其邻居节点广播所述查询请求。The neighbor node receives the query request, judges whether its own identity exists in the anchor point sequence of the query request, if not, judges that the query request is not received, and according to the location and the search range, Judging whether it is within the search range, if so, sending a response message to the proxy node, the response message carrying the message time, the code and location of the neighbor node, and broadcasting the query request to its neighbor nodes.
CN 201010228672 2010-07-09 2010-07-09 Method and system for searching node Active CN102014456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010228672 CN102014456B (en) 2010-07-09 2010-07-09 Method and system for searching node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010228672 CN102014456B (en) 2010-07-09 2010-07-09 Method and system for searching node

Publications (2)

Publication Number Publication Date
CN102014456A true CN102014456A (en) 2011-04-13
CN102014456B CN102014456B (en) 2013-03-27

Family

ID=43844413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010228672 Active CN102014456B (en) 2010-07-09 2010-07-09 Method and system for searching node

Country Status (1)

Country Link
CN (1) CN102014456B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184191A (en) * 2011-04-19 2011-09-14 中国联合网络通信集团有限公司 Method and system for inquiring peripheral environment information based on Internet of things, and Internet of things platform
CN105682033A (en) * 2016-01-19 2016-06-15 福建师范大学 Near neighbour detection method based on mobile AP
CN106507286A (en) * 2016-11-22 2017-03-15 北京三快在线科技有限公司 A kind of document transmission method, source device and non-source device
WO2017113663A1 (en) * 2015-12-28 2017-07-06 小米科技有限责任公司 Method and apparatus for acquiring user information, terminal device and server
CN112668998A (en) * 2020-12-23 2021-04-16 树根互联技术有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium
CN113452739A (en) * 2020-03-27 2021-09-28 北京沃东天骏信息技术有限公司 Message processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005074229A1 (en) * 2004-01-23 2005-08-11 Tiversa Inc. Method for optimally utilizing a peer to peer network
CN101039321A (en) * 2007-02-02 2007-09-19 南京邮电大学 Mixed mobile agent-based wireless sensor network data transmission method
CN101420337A (en) * 2007-10-26 2009-04-29 北大方正集团有限公司 Method, device and indexing server for resource positioning

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005074229A1 (en) * 2004-01-23 2005-08-11 Tiversa Inc. Method for optimally utilizing a peer to peer network
CN101039321A (en) * 2007-02-02 2007-09-19 南京邮电大学 Mixed mobile agent-based wireless sensor network data transmission method
CN101420337A (en) * 2007-10-26 2009-04-29 北大方正集团有限公司 Method, device and indexing server for resource positioning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨圣洪等: "传感器网络中分布式最优小波压缩算法", 《计算机工程与应用》, vol. 45, no. 10, 31 October 2009 (2009-10-31), pages 4 - 6 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184191A (en) * 2011-04-19 2011-09-14 中国联合网络通信集团有限公司 Method and system for inquiring peripheral environment information based on Internet of things, and Internet of things platform
WO2017113663A1 (en) * 2015-12-28 2017-07-06 小米科技有限责任公司 Method and apparatus for acquiring user information, terminal device and server
CN105682033A (en) * 2016-01-19 2016-06-15 福建师范大学 Near neighbour detection method based on mobile AP
CN105682033B (en) * 2016-01-19 2019-01-25 福建师范大学 A mobile AP-based neighbor detection method
CN106507286A (en) * 2016-11-22 2017-03-15 北京三快在线科技有限公司 A kind of document transmission method, source device and non-source device
CN113452739A (en) * 2020-03-27 2021-09-28 北京沃东天骏信息技术有限公司 Message processing method and device
CN113452739B (en) * 2020-03-27 2025-06-20 北京沃东天骏信息技术有限公司 A message processing method and device
CN112668998A (en) * 2020-12-23 2021-04-16 树根互联技术有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium
CN112668998B (en) * 2020-12-23 2023-12-19 树根互联股份有限公司 Flow implementation method, device, system, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN102014456B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
US11360195B2 (en) Determining a location of a transmitter device
US6771972B2 (en) System and method for a distributed search for a lost asset
CN103596199B (en) Base station almanac is provided to movement station
CN102014456B (en) Method and system for searching node
JP5207400B2 (en) POSITION INFORMATION PROVIDING SYSTEM, POSITION INFORMATION PROVIDING METHOD, AND POSITIONING INTEGRATION DEVICE
CN106054129A (en) Positioning for wlans and other wireless networks
EP3432553A1 (en) Method and system for positioning a beacon device
CN104581931A (en) Positioning method, device and terminal
TW201219813A (en) System and method for hybrid positioning implemented at cloud server
CN102547568B (en) Method for close range information exchanging
CN108370501A (en) Method and device for finding RFID tags
CN109429330B (en) Indoor positioning method, device, equipment and medium
US10454597B1 (en) Systems and methods for locating telecommunication cell sites
JP2003035553A (en) Positional information converting device and its method, server and system for providing information relative to position
Ji et al. Accurate Long‐Term Evolution/Wi‐Fi hybrid positioning technology for emergency rescue
EP2928245A1 (en) A wireless access point, a transmitter-implemented method, a mobile user device and a user-implemented method for localization
CN118679761A (en) Method and apparatus for sensing region identification
US20160142883A1 (en) Mobile Device Location Estimation Using Categorized Local Location Data From Various Sources
CN110856113A (en) Method, device and system for searching and identifying nearby equipment
JP2010273114A (en) Wireless communication terminal, network system, and cell list creation method
CN109089216B (en) A file transmission method and device based on Bluetooth transmission
JP2007013827A (en) Search device, transfer device, and response device
JP6378562B2 (en) Information processing apparatus and information processing method
KR101831250B1 (en) System for operating location based service using fixed terminal-mobile terminal and method therefor
KR101513658B1 (en) Emergency rescue method based on smart terminal location detection using wi-fi accesspoint scanning, and computer-readable record medium for the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant