[go: up one dir, main page]

CN116266900A - Anti-lost method, device, equipment and computer storage medium - Google Patents

Anti-lost method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN116266900A
CN116266900A CN202210003942.XA CN202210003942A CN116266900A CN 116266900 A CN116266900 A CN 116266900A CN 202210003942 A CN202210003942 A CN 202210003942A CN 116266900 A CN116266900 A CN 116266900A
Authority
CN
China
Prior art keywords
user
range
lost
user identifier
target user
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.)
Pending
Application number
CN202210003942.XA
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210003942.XA priority Critical patent/CN116266900A/en
Publication of CN116266900A publication Critical patent/CN116266900A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/0261System arrangements wherein the object is to detect trespassing over a fixed physical boundary, e.g. the end of a garden
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • G08B21/028Communication between parent and child units via remote transmission means, e.g. satellite network
    • G08B21/0283Communication between parent and child units via remote transmission means, e.g. satellite network via a telephone network, e.g. cellular GSM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Signal Processing (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Emergency Management (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Alarm Systems (AREA)

Abstract

本发明实施例涉及计算机数据处理技术领域,公开了一种防走失方法、装置、设备以及计算机存储介质,该方法包括:获取目标用户发送至边缘设备的数据包;数据包中包括第一用户标识和发送时间戳;第一用户标识为目标用户的用户标识;确定与边缘设备关联的第二用户标识;边缘设备位于第二用户标识对应的安全范围中;根据第一用户标识、发送时间戳及第二用户标识确定目标用户是否在第一用户标识对应的安全范围内。通过上述方式,本发明实施例提高了防走失技术的可靠性。

Figure 202210003942

The embodiment of the present invention relates to the technical field of computer data processing, and discloses a method, device, device, and computer storage medium for preventing loss. The method includes: acquiring a data packet sent by a target user to an edge device; the data packet includes a first user identification and the sending timestamp; the first user identifier is the user identifier of the target user; determine the second user identifier associated with the edge device; the edge device is located in the security range corresponding to the second user identifier; according to the first user identifier, the sending timestamp and The second user identifier determines whether the target user is within the security range corresponding to the first user identifier. Through the above manner, the embodiment of the present invention improves the reliability of the anti-lost technology.

Figure 202210003942

Description

防走失方法、装置、设备以及计算机存储介质Lost prevention method, device, equipment and computer storage medium

技术领域technical field

本发明实施例涉及计算机数据处理技术领域,具体涉及一种防走失方法、装置、设备以及计算机存储介质。Embodiments of the present invention relate to the technical field of computer data processing, and in particular to a method, device, equipment, and computer storage medium for preventing loss.

背景技术Background technique

目前的防走失方法是通过实时对佩戴防走失装置的目标人员进行定位,根据位置信息确定目标人员是否走失,从而及时进行报警。本申请的发明人在实施本发明实施例的过程中,发现现有技术的中的防走失方法的可靠性较低,由此导致对防走失用户的防护程度不够,存在一定的安全隐患。The current anti-lost method is to locate the target person wearing the anti-lost device in real time, and determine whether the target person is lost according to the position information, so as to give an alarm in time. In the process of implementing the embodiment of the present invention, the inventors of the present application found that the reliability of the anti-lost method in the prior art is low, which leads to insufficient protection for anti-lost users, and there are certain potential safety hazards.

发明内容Contents of the invention

鉴于上述问题,本发明实施例提供了一种防走失方法,用于解决现有技术中存在的防走失方法的可靠性较低的问题。In view of the above problems, an embodiment of the present invention provides a method for preventing loss, which is used to solve the problem of low reliability of the method for preventing loss in the prior art.

根据本发明实施例的一个方面,提供了一种防走失方法,所述方法包括:According to an aspect of an embodiment of the present invention, a lost prevention method is provided, the method comprising:

获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;Obtaining a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user;

确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;determining a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier;

根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

在一种可选的方式中,所述目标用户为多个可选用户中的一个;所述方法还包括:In an optional manner, the target user is one of multiple optional users; the method further includes:

确定所述可选用户的用户画像信息;Determine the user portrait information of the optional user;

根据所述用户画像信息确定所述可选用户对应的多个可选地点;determining a plurality of optional locations corresponding to the optional user according to the user portrait information;

根据所述多个可选地点确定所述可选用户对应的防走失范围;Determining the anti-lost range corresponding to the optional user according to the multiple optional locations;

以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围;Taking all the optional locations included in the lost prevention range as constraint conditions, and taking the routes between the optional locations in the lost lost prevention range as optimization targets within the lost lost prevented range, the The anti-lost range is optimized to obtain the security range corresponding to the optional user;

将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user.

在一种可选的方式中,所述方法还包括:In an optional manner, the method also includes:

确定所述目标用户对应的用户状态信息和/或当前环境信息;Determine user status information and/or current environment information corresponding to the target user;

根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。The security range is dynamically adjusted according to the user state information and/or the current environment information.

在一种可选的方式中,所述方法还包括:In an optional manner, the method also includes:

根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项;determining at least one of the target user's predicted moving speed, available communication duration, predicted route, and historical range data according to the user state information;

和/或,根据所述当前环境信息确定所述目标用户的预测经过场景;And/or, determine the predicted passing scene of the target user according to the current environment information;

根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。The safety range is dynamically adjusted according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information.

在一种可选的方式中,所述方法还包括:In an optional manner, the method also includes:

将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备;matching the first user ID with the second user ID to obtain a matched edge device;

根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold.

在一种可选的方式中,所述方法还包括:In an optional manner, the method also includes:

确定所述目标用户对应的预测经过场景;determining the predicted passing scene corresponding to the target user;

将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备;determining the edge device that does not match the second user identifier as a device to be determined;

当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长;When it is determined that the device to be determined is located in the predicted passage scene, determine the residence time of the target user in the predicted passage scene according to the sending timestamp corresponding to the device to be determined;

当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。When the dwell duration is greater than the second duration threshold, the security range corresponding to the first user identifier is updated according to the predicted passing scene.

在一种可选的方式中,所述方法还包括:In an optional manner, the method also includes:

当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息;When it is determined that the target user is not in the security range corresponding to the first user identifier, sending security confirmation information to the target user;

检测所述目标用户针对所述安全确认信息的反馈信息;Detecting feedback information from the target user regarding the safety confirmation information;

当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, an alarm action is performed.

根据本发明实施例的另一方面,提供了一种防走失装置,包括:According to another aspect of the embodiments of the present invention, an anti-lost device is provided, including:

获取模块,用于获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;An acquisition module, configured to acquire a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user;

第一确定模块,用于确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;A first determining module, configured to determine a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier;

第二确定模块,用于根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。The second determining module is configured to determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

根据本发明实施例的另一方面,提供了一种防走失设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to another aspect of the embodiments of the present invention, there is provided an anti-lost device, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface are completed through the communication bus mutual communication;

所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如所述的防走失方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation of the method for preventing loss.

根据本发明实施例的又一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使防走失设备执行所述的防走失方法的操作。According to yet another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction causes the anti-lost device to execute the above-mentioned anti-lost method. operate.

本发明实施例通过获取目标用户发送至边缘设备的数据包;其中,数据包中包括第一用户标识和发送时间戳;第一用户标识为目标用户的用户标识;然后,确定与边缘设备关联的第二用户标识;边缘设备位于第二用户标识对应的安全范围中;最后根据第一用户标识、发送时间戳及第二用户标识确定目标用户是否在第一用户标识对应的安全范围内。The embodiment of the present invention obtains the data packet sent by the target user to the edge device; wherein, the data packet includes the first user identifier and the sending time stamp; the first user identifier is the user identifier of the target user; and then, determines the information associated with the edge device The second user ID; the edge device is located in the security range corresponding to the second user ID; finally, according to the first user ID, the sending timestamp and the second user ID, it is determined whether the target user is within the security range corresponding to the first user ID.

从而区别于现有技术中所存在的防走失的可靠度和精度受环境影响较大的问题,本发明实施例利用边缘设备靠近用户侧、信号受环境影响较小,且边缘设备的位置较为固定的特点,通过多个边缘设备来圈定用户的安全范围,并且根据用户发送至边缘设备的数据包的时间戳来确定用户是否在规定时间内达到了安全范围内的下一个边缘设备,由此能够提高防走失的可靠性。Therefore, it is different from the problem in the prior art that the reliability and accuracy of anti-lostness are greatly affected by the environment. In the embodiment of the present invention, the edge device is close to the user side, the signal is less affected by the environment, and the position of the edge device is relatively fixed. The characteristics of the user's security range are delineated by multiple edge devices, and according to the timestamp of the data packet sent by the user to the edge device, it is determined whether the user has reached the next edge device within the security range within the specified time, so that it can Improve the reliability of anti-lost.

上述说明仅是本发明实施例技术方案的概述,为了能够更清楚了解本发明实施例的技术手段,而可依照说明书的内容予以实施,并且为了让本发明实施例的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the embodiments of the present invention. In order to better understand the technical means of the embodiments of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and The advantages can be more obvious and understandable, and the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

附图仅用于示出实施方式,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:The drawings are only for illustrating the embodiments and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了本发明实施例提供的防走失方法的流程示意图;FIG. 1 shows a schematic flow chart of a lost prevention method provided by an embodiment of the present invention;

图2示出了本发明实施例提供的未优化的防走失范围的示意图;Fig. 2 shows a schematic diagram of an unoptimized anti-lost range provided by an embodiment of the present invention;

图3示出了本发明实施例提供的优化后的防走失范围的示意图;Fig. 3 shows a schematic diagram of an optimized range of loss prevention provided by an embodiment of the present invention;

图4示出了本发明实施例提供的防走失方法中安全范围的圈定流程实体图;Fig. 4 shows the process entity diagram of delineating the security range in the anti-lost method provided by the embodiment of the present invention;

图5示出了本发明实施例提供的防走失装置的结构示意图;Fig. 5 shows a schematic structural diagram of an anti-lost device provided by an embodiment of the present invention;

图6示出了本发明实施例提供的防走失设备的结构示意图。Fig. 6 shows a schematic structural diagram of an anti-lost device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein.

在进行本发明实施例的说明之前,先对相关名词进行解释。Before describing the embodiments of the present invention, relevant terms are first explained.

边缘设备:应用了边缘计算的设备,其中,边缘计算是指在靠近物或数据源头的一侧,采用网络、计算、存储、应用核心能力为一体的开放平台,就近提供最近端服务。边缘设备就是在生活工作场景中固定的,可以就近获取用户端数据进行计算的设备,具有一定存储、缓存能力。Edge device: A device that applies edge computing. Edge computing refers to an open platform that integrates network, computing, storage, and application core capabilities on the side close to the source of objects or data, and provides the nearest end service. An edge device is a device that is fixed in the living and working scene and can obtain nearby user-end data for calculation, and has certain storage and caching capabilities.

安全设备:指老人孩子等弱势群体佩戴的可随身携带的设备。主要作用是与边缘设备和云端进行数据包收发,和主端用户进行联系。Safety equipment: Refers to portable equipment worn by vulnerable groups such as the elderly and children. The main function is to send and receive data packets with edge devices and the cloud, and to communicate with main-end users.

主端:可以接收安全设备佩戴者脱离安全范围提醒。可以设置安全范围。可以和安全设备进行实时联系。也可实时观察安全设备佩戴者范围。Master end: It can receive reminders that the wearer of the safety equipment leaves the safe range. A security range can be set. Can communicate with security equipment in real time. The range of safety equipment wearers can also be observed in real time.

图1示出了本发明实施例提供的防走失方法的流程图,该方法由计算机处理设备执行。计算机处理设备可以包括手机、笔记本电脑等。如图1所示,该方法包括以下步骤:Fig. 1 shows a flow chart of a method for preventing loss provided by an embodiment of the present invention, and the method is executed by a computer processing device. Computer processing devices may include cell phones, laptops, and the like. As shown in Figure 1, the method includes the following steps:

步骤10:获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识。Step 10: Obtain the data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user.

在本发明的一个实施例中,目标用户通过安全设备发送数据包,发送时间戳为该数据包的发送时间。每个边缘设备对应一个特异性的边缘设备标识。其中,数据包可以是通过边缘设备获取,可选地,还可以是边缘设备将获取到的数据包上添加自己的边缘设备标识发送至云端。安全设备与主端用户关联,主端用户通过安全设备对目标用户进行防走失管理。In one embodiment of the present invention, the target user sends the data packet through the security device, and the sending time stamp is the sending time of the data packet. Each edge device corresponds to a specific edge device identifier. Wherein, the data packet may be obtained by an edge device, and optionally, the edge device may add its own edge device identifier to the obtained data packet and send it to the cloud. The security device is associated with the main-end user, and the main-end user performs loss prevention management on the target user through the security device.

在本发明的一个实施例中,所述目标用户为多个可选用户中的一个;步骤10之前还包括:In one embodiment of the present invention, the target user is one of multiple optional users; before step 10, it also includes:

步骤101:确定所述可选用户的用户画像信息。Step 101: Determine user profile information of the optional user.

在本发明的一个实施例中,用户画像信息可以根据由主端用户或者目标用户预先上传的用户特征信息确定,还可以根据目标用户对应的安全设备的历史使用数据确定,其中,历史使用数据中包括安全设备的历史位置、历史上线时间以及历史告警数据等。In an embodiment of the present invention, the user portrait information can be determined according to the user characteristic information pre-uploaded by the main end user or the target user, and can also be determined according to the historical usage data of the security device corresponding to the target user, wherein the historical usage data Including the historical location, historical online time, and historical alarm data of security devices.

步骤102:根据所述用户画像信息确定所述可选用户对应的多个可选地点。Step 102: Determine multiple optional locations corresponding to the optional user according to the user portrait information.

在本发明的一个实施例中,可以根据用户特征信息对应的用户类型确定可选地点,如用户类型为学生时,可选地点包括学校、游乐场以及公园等。或者将主端用户指定的。还可以根据历史使用数据确定可选地点,如历史使用数据中历史上线时间的时长超过预设阈值的历史位置可以确定为可选地点。还可以将历史告警数据中出现的告警地点从可选地点中筛除。In an embodiment of the present invention, the optional locations may be determined according to the user type corresponding to the user characteristic information, for example, when the user type is a student, the optional locations include schools, playgrounds, and parks. Or it will be specified by the master user. Optional locations can also be determined according to historical usage data, for example, historical locations whose historical online time in the historical usage data exceeds a preset threshold can be determined as optional locations. It is also possible to filter out the alarm locations that appear in the historical alarm data from the optional locations.

步骤103:根据所述多个可选地点确定所述可选用户对应的防走失范围。Step 103: Determine the anti-lost range corresponding to the optional user according to the multiple optional locations.

在本发明的一个实施例中,可选地点两两之间的连线所组成的多边形为防走失范围,如参考图2,存在可选地点A、B、C、D、E、F、G以及H,则多边形ABCDEFGH为防走失范围。In one embodiment of the present invention, the polygon formed by the connection between two optional locations is the anti-lost range, as shown in Figure 2, there are optional locations A, B, C, D, E, F, G and H, the polygon ABCDEFGH is the range of anti-lost.

步骤104:以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围。Step 104: taking all the optional locations within the lost prevention range as constraints, and taking the paths between the optional locations within the lost lost prevention range as optimization targets, The anti-lost range is optimized to obtain the security range corresponding to the optional user.

在本发明的一个实施例中,优化的过程可以参考图2与图3,其中,图2为优化前的防走失范围,图3为优化后的防走失范围。如图2所示,防走失范围多边形ABCDEFGH中并不包括多边形BCD,因此用户若移动至多边形BCD,会产生告警,但是B、C以及D均为可选地点,因此应该认为多边形BCD仍然属于用户的安全范围,因此,需要对图2所划定的防走失范围进行适当扩大,避免用户在可选地点之间的移动路径不被包含在安全范围中,由此引起误报警,降低用户体验。In an embodiment of the present invention, the optimization process can refer to FIG. 2 and FIG. 3 , wherein FIG. 2 shows the range of anti-lostness before optimization, and FIG. 3 shows the range of anti-lostness after optimization. As shown in Figure 2, the polygon ABCDEFGH of the anti-lost range does not include the polygon BCD, so if the user moves to the polygon BCD, an alarm will be generated, but B, C and D are optional locations, so it should be considered that the polygon BCD still belongs to the user Therefore, it is necessary to appropriately expand the anti-lost range delineated in Figure 2 to avoid that the user's movement path between optional locations is not included in the security range, thereby causing false alarms and reducing user experience.

在本发明的再一个实施例中,除了在可选地点不变的情况下,为了防止根据可选地点之间的连线确定的防走失范围过小而导致的误报警,对防走失范围进行优化以外,还可以针对可选地点本身进行优化,如根据用户当前所处的环境以及用户的状态对可选地点动态进行更新,使得安全范围更加,降低误报警率。In yet another embodiment of the present invention, except that the optional locations are unchanged, in order to prevent false alarms caused by the too small range of anti-lost determined according to the connection between the optional locations, the anti-lost range is adjusted. In addition to optimization, it is also possible to optimize the optional location itself, such as dynamically updating the optional location according to the user's current environment and user status, making the security range wider and reducing the false alarm rate.

因此,在本发明的再一个实施例中,步骤104还包括:Therefore, in another embodiment of the present invention, step 104 also includes:

步骤1041:确定所述目标用户对应的用户状态信息和/或当前环境信息。Step 1041: Determine user status information and/or current environment information corresponding to the target user.

在本发明的一个实施例中,用户状态信息用于表征用户自身的实时属性,该实时属性会影响用户对于安全设备的使用方式,如安全设备的剩余电量、用户的移动速度以及用户的历史安全范围数据等。当前环境信息用于表征用户当前所处的环境对用户的移动状态以及移动方向的影响信息,如可以包括当前季节信息、天气信息以及车流量信息等交通信息。In one embodiment of the present invention, the user state information is used to characterize the user's own real-time attributes, which will affect the way the user uses the security device, such as the remaining power of the security device, the user's moving speed, and the user's historical security range data, etc. The current environment information is used to characterize the impact information of the user's current environment on the user's moving state and moving direction, such as traffic information such as current season information, weather information, and traffic flow information.

步骤1042:根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。Step 1042: Dynamically adjust the security range according to the user status information and/or the current environment information.

在本发明的一个实施例中,可以根据当前环境信息确定季节、温度以及天气信息,从而进行潜在场景的动态删减。比如在气温较极端或者雨雪天的时候,会添加游泳馆、医院等避暑取暖或医疗场所,并且根据目标用户当前所在的区域,计算该区域附近的有遮荫或者取暖设备的路线添加至安全范围中。In one embodiment of the present invention, season, temperature and weather information can be determined according to current environmental information, so as to perform dynamic deletion of potential scenes. For example, when the temperature is extreme or in rainy and snowy days, swimming pools, hospitals and other summer heating or medical places will be added, and according to the current area of the target user, the route with shade or heating equipment near the area will be calculated and added to the security in range.

在本发明的再一个实施例中,根据用户状态信息确定其历史经过的范围、预测移动速度、可用通信时长等与安全设备使用的相关信息,根据使用的相关信息确定其移动方式,根据其移动方式对安全范围进行更新。In yet another embodiment of the present invention, according to the user state information, determine its historical range, predicted moving speed, available communication time, and other related information related to the use of security equipment; way to update the security scope.

因此,在本发明的再一个实施例中,步骤1042还包括:Therefore, in another embodiment of the present invention, step 1042 also includes:

步骤421:根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项。Step 421: Determine at least one of the target user's predicted moving speed, available communication time, predicted route, and historical range data according to the user state information.

在本发明的一个实施例中,根据用户的历史发送的数据包的时间戳确定其平均移动速度,根据其平均移动速度确定其预测移动移动速度。可选地,根据用户状态信息中的安全设备的剩余电量确定可用通信时长。可选地,根据用户的历史数据包对应的边缘设备、预测移动速度确定其预测经过路线。In one embodiment of the present invention, the user's average moving speed is determined according to the time stamps of the data packets sent by the user in history, and the predicted moving speed is determined according to the average moving speed. Optionally, the available communication duration is determined according to the remaining power of the security device in the user status information. Optionally, the user's predicted route is determined according to the edge device and the predicted moving speed corresponding to the user's historical data packets.

在本发明的再一个实施例中,还可以结合车联网,利用边缘设备端持续记录周边范围的车流辆,并且同步到云端,云端进行加权比较,基于边缘设备的记录确定是否需要调节当前安全范围,如,偏差路线是否很大程度影响目标用户到达其他边缘设备的时间,车流量大的边缘设备的覆盖范围是否为必要活动范围,如果不是,就从安全范围中去除,并改变为危险范围,在终端设备佩戴者靠近后,会对终端设备佩戴者进行一个警告,如果终端设备佩戴者进如该范围,在警告一段时间后不离开该范围,则通知主端用户。In yet another embodiment of the present invention, combined with the Internet of Vehicles, the edge device can be used to continuously record the traffic in the surrounding area, and synchronize to the cloud, and the cloud will perform a weighted comparison, and determine whether the current security range needs to be adjusted based on the record of the edge device , For example, whether the deviation route greatly affects the time for the target user to reach other edge devices, whether the coverage of the edge device with heavy traffic is the necessary activity range, if not, remove it from the safe range and change it to a dangerous range, After the wearer of the terminal device approaches, a warning will be given to the wearer of the terminal device. If the wearer of the terminal device enters the range and does not leave the range after a period of warning, the main end user will be notified.

步骤422:和/或,根据所述当前环境信息确定所述目标用户的预测经过场景。Step 422: and/or, determine the predicted passing scene of the target user according to the current environment information.

在本发明的一个实施例中,可以根据当前环境信息确定季节、温度以及天气信息,从而进行潜在场景的动态删减。比如在夏季,或者气温高的时候,会添加游泳馆等避暑场景,并且根据目标用户当前所在的区域,计算该区域附近的有遮荫或者冷气设备的路线添加至安全范围中。In one embodiment of the present invention, season, temperature and weather information can be determined according to current environmental information, so as to perform dynamic deletion of potential scenes. For example, in summer, or when the temperature is high, summer scenes such as swimming pools will be added, and according to the current area of the target user, routes with shade or air-conditioning equipment near the area will be calculated and added to the safe range.

步骤423:根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。Step 423: Dynamically adjust the safety range according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information.

在本发明的一个实施例中,根据预测移动速度与预设阈值的比较,确定比较结果确定目标用户所使用的移动工具,如是步行、非机动车还是机动车,并且在确定为机动车时,并跟车载电脑进行交互,从而确认目标用所处的车辆信息,如果该车辆信息是出租车、公交车等公共交通,上传车架号至云端,并且重新计算机动车可能的行驶路线,并更新安全范围。如果是该车辆信息表征非公共交通工具,则确定该非公共交通工具是否为目标用户事先关联的私家车,若是,则重新计算机动车可能的行驶路线,并更新安全范围。若是未关联的非公共交通工具,则上传车架号至云端,并向主端用户报警,以通知主端用户确认终端设备佩戴者的安全。In one embodiment of the present invention, according to the comparison between the predicted moving speed and the preset threshold value, the comparison result is determined to determine the mobile tool used by the target user, such as walking, bicycle or motor vehicle, and when it is determined to be a motor vehicle, And interact with the on-board computer to confirm the vehicle information of the target user. If the vehicle information is public transportation such as taxis and buses, upload the vehicle frame number to the cloud, recalculate the possible driving route of the motor vehicle, and update the security scope. If the vehicle information represents a non-public vehicle, determine whether the non-public vehicle is a private car associated with the target user in advance, and if so, recalculate the possible driving route of the motor vehicle, and update the safety range. If it is an unassociated non-public transportation vehicle, upload the vehicle frame number to the cloud, and send an alarm to the main-end user to notify the main-end user to confirm the safety of the wearer of the terminal device.

在本发明的一个实施例中,根据可用通信时长进行动态调整可以是将可用通信时长与目标时长阈值进行比较,其中,目标时长阈值可以是预设的,也可以根据安全设备输入的出行计划确定,出行计划中包括了出发地、到达地以及返程路线等。当如果可用通信时长小于目标时长阈值,就会发出警告。当在外面活动时,安全设备会将电量发送到云端,云端会计算从当前所在地回到家中所需的电量,预留10%电量,当当前电量低于(回到家所需电量+预设的电量)时,安全设备会进行预警。In one embodiment of the present invention, the dynamic adjustment according to the available communication duration may be comparing the available communication duration with a target duration threshold, wherein the target duration threshold may be preset or determined according to the travel plan input by the security device , the travel plan includes the departure point, arrival point, and return route. A warning is issued if the available communication duration is less than the target duration threshold. When active outside, the security device will send the power to the cloud, and the cloud will calculate the power required to return home from the current location, and reserve 10% of the power. When the current power is lower than (required power for returning home + preset battery), the safety device will give an early warning.

在本发明的再一个实施例中,目标时长阈值还可以根据当前安全设备移动到安全范围内的其他边缘设备节点所需时长确定,如果当前电量小于移动到另一边缘节点所需消耗电量与从另一边缘节点到家所需电量+预设电量的和,则会把不满足条件的边缘节点移出安全范围,并且重新计算安全范围。In yet another embodiment of the present invention, the target duration threshold can also be determined according to the duration required for the current security device to move to other edge device nodes within the security range, if the current power consumption is less than the power consumption required to move to another edge node The sum of the power required by another edge node to the home + the preset power will move the edge node that does not meet the conditions out of the safe range and recalculate the safe range.

在本发明的再一个实施例中,历史范围数据中包括历史范围调整数据、历史范围调整满意度,该安全设备对应的主端设备针对安全范围的动态调整的满意度。根据历史范围数据进行动态调整可以是当满意度大于预设满意度阈值时,启动根据前述方式对安全范围的动态调整,从而避免安全范围的更新过于频繁,告警次数增多,导致用户体验不佳。In yet another embodiment of the present invention, the historical range data includes historical range adjustment data and historical range adjustment satisfaction degree, which is the satisfaction degree of the master device corresponding to the security device for the dynamic adjustment of the security range. Dynamic adjustment based on historical range data may be to start dynamic adjustment of the security range according to the aforementioned method when the satisfaction degree is greater than the preset satisfaction threshold, so as to avoid too frequent updates of the security range and an increase in the number of alarms, resulting in poor user experience.

步骤1043:将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Step 1043: Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user.

在本发明的一个实施例中,关联方式可以是将可选用户的用户标识注入范围内的边缘设备中。In an embodiment of the present invention, the association method may be to inject the user identifier of the optional user into the edge device within the range.

步骤20:确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中。Step 20: Determine a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier.

在本发明的一个实施例中,第二用户标识相同的边缘设备之间相互通信,组成第二用户标识对应的用户的安全范围。In an embodiment of the present invention, edge devices with the same second user ID communicate with each other to form a security range of the user corresponding to the second user ID.

在本发明的一个实施例中,步骤20还包括:In one embodiment of the present invention, step 20 also includes:

步骤201:确定所述目标用户对应的预测经过场景。Step 201: Determine the predicted passing scene corresponding to the target user.

在本发明的一个实施例中,预测经过场景可以基于目标用户的用户画像确定。还可以根据步骤1042中示出的方式动态进行调整。调整过程参考前述步骤,不再赘述。In an embodiment of the present invention, the predicted passing scene may be determined based on the user portrait of the target user. It can also be adjusted dynamically according to the manner shown in step 1042 . Refer to the previous steps for the adjustment process, and will not repeat them here.

步骤202:将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备。Step 202: Determine the edge device that does not match the second user identifier as a device to be determined.

在本发明的一个实施例中,当边缘设备接收到与自身存储的关联用户标识不一致的用户发来的数据包时,为了防止安全范围划定不合理或更新不及时导致的误判,可以将接收到该不匹配的数据包的边缘设备确定为待判定设备,从而后续确定该待判定设备是否应划归于用户的安全范围,从而根据与所述第二用户标识不匹配的所述边缘设备对用户的安全范围进行更新,使其更符合用户的实际场景。In one embodiment of the present invention, when an edge device receives a data packet from a user that is inconsistent with its stored associated user ID, in order to prevent misjudgment caused by unreasonable security range demarcation or untimely update, the The edge device that receives the unmatched data packet is determined as the device to be determined, so as to subsequently determine whether the device to be determined should be included in the security range of the user, so that according to the edge device that does not match the second user identifier Update the user's security range to make it more in line with the user's actual scenario.

步骤203:当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长。Step 203: When it is determined that the device to be determined is located in the predicted passing scene, determine the residence time of the target user in the predicted passing scene according to the sending timestamp corresponding to the device to be determined.

在本发明的一个实施例中,首先确定待判定设备是否位于用户的预测经过场景中,若否,则将待判定设备接收的数据包忽略,若是,则进一步确定用户在预测经过场景中的驻留时长,驻留时长可以根据该预测场景中的待判定设备接收到的数据包的发送时间戳之间的时间间隔确定。In one embodiment of the present invention, it is first determined whether the device to be determined is located in the user's predicted passing scene, if not, the data packet received by the device to be determined is ignored, and if so, the user's residence in the predicted passing scene is further determined. The residence time can be determined according to the time interval between the sending timestamps of the data packets received by the device to be determined in the prediction scenario.

步骤204:当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。Step 204: When the dwell duration is greater than a second duration threshold, update the security range corresponding to the first user identifier according to the predicted passing scene.

在本发明的一个实施例中,驻留时长用于表征用户与待判定设备的关联的持久程度,并且由于已经确认该待判定设备是处于用户合理的预测经过场景中的,因此当驻留时长大于第二时长阈值,即可以将预测经过场景中的待判定设备添加到用户的安全范围中。In one embodiment of the present invention, the residence time is used to characterize the durability of the association between the user and the device to be determined, and since it has been confirmed that the device to be determined is in the scene where the user reasonably predicts passing, when the residence time is long If it is greater than the second duration threshold, the device to be determined in the predicted passing scene may be added to the user's safety range.

步骤30:根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。Step 30: Determine whether the target user is within the security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

在本发明的一个实施例中,根据第一用户标识和第二用户标识的匹配可以确定与目标用户关联的边缘设备是否接收到了目标用户所发送的数据包,并且进一步根据各个与目标用户关联的边缘设备所接收到的数据包的发送时间戳确定目标用户是否在规定时间内移动到了其对应的安全范围内下一个可选的边缘设备,若在规定时间内未移动到或者关联的边缘设备没有接收到目标用户的数据包,则确定目标用户脱离了其对应的安全范围。In one embodiment of the present invention, according to the match between the first user ID and the second user ID, it can be determined whether the edge device associated with the target user has received the data packet sent by the target user, and further according to each The sending timestamp of the data packet received by the edge device determines whether the target user has moved to the next optional edge device within the corresponding security range within the specified time. If the target user does not move within the specified time or the associated edge device does not After receiving the data packet of the target user, it is determined that the target user has left its corresponding security range.

因此,在本发明的再一个实施例中,步骤30还包括:Therefore, in another embodiment of the present invention, step 30 also includes:

步骤301:将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备。Step 301: Match the first user ID with the second user ID to obtain a matched edge device.

在本发明的一个实施例中,当第二用户标识与第一用户标识相同时,确定为两者匹配,将匹配到的第二用户标识所注入的边缘设备确定为匹配到的边缘设备。In an embodiment of the present invention, when the second user ID is the same as the first user ID, it is determined that they match, and the edge device into which the matched second user ID is injected is determined as the matched edge device.

步骤302:根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Step 302: Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold.

在本发明的一个实施例中,判断用户是否离开安全范围可以是在边缘设备侧完成的。其中,边缘设备之间相互通信,边缘设备中存储有第二用户标识以及第二用户标识对应的安全范围内的其他边缘设备的通信地址。In an embodiment of the present invention, judging whether the user has left the safe range may be completed on the side of the edge device. Wherein, the edge devices communicate with each other, and the edge devices store the second user ID and the communication addresses of other edge devices within the security range corresponding to the second user ID.

当某一边缘设备接收到数据包,若判定该数据包中的第一用户标识与自身中存储的第二用户标识匹配时,则记录数据包的时间戳并进行广播,使得第二用户标识对应的安全范围内的其他边缘设备记录该时间戳,由此通过安全范围内的其他边缘设备检测在第一时长阈值内是否接收到带有第一用户标识的数据包。其中,第一时间阈值用于表征用户正常情况下从安全范围中的一个边缘设备移动到安全范围中的下一个边缘设备预计所需时长。若是,则判定第一用户标识对应的用户在其安全范围内,若否,则判定第一用户标识对应的用户离其安全范围。When an edge device receives a data packet, if it determines that the first user ID in the data packet matches the second user ID stored in itself, it will record the timestamp of the data packet and broadcast it so that the second user ID corresponds to Other edge devices within the security range record the time stamp, thereby detecting whether a data packet with the first user identifier is received within the first duration threshold through other edge devices within the security range. Wherein, the first time threshold is used to characterize the estimated time required for the user to move from one edge device in the security range to the next edge device in the security range under normal circumstances. If yes, it is determined that the user corresponding to the first user identifier is within its safety range, and if not, it is determined that the user corresponding to the first user identifier is out of its safety range.

在本发明的再一个实施例中,判断用户是否离开安全范围还可以是在云端完成的,边缘设备在接收到数据包之后,将数据包连同自身关联的第二用户标识发送至云端,可选地,云端中也可以存储有各个边缘设备关联的第二用户标识。云端从数据包中取出第一用户标识,将该第一用户标识与接收到的或自身存储的第二用户标识进行匹配。若匹配,则记录当前接收到数据包的时间戳,并在检测在第一时长阈值内是否接收到其他在第一时长阈值内应该到达的边缘设备发送的带有所匹配到的第二用户标识的数据包,若是,则判定第一用户标识对应的用户在其安全范围内,若否,则判定第一用户标识对应的用户离其安全范围。In yet another embodiment of the present invention, judging whether the user has left the safe range can also be completed in the cloud. After receiving the data packet, the edge device sends the data packet together with its associated second user ID to the cloud. Optional Alternatively, the second user identifier associated with each edge device may also be stored in the cloud. The cloud takes out the first user ID from the data packet, and matches the first user ID with the received or self-stored second user ID. If it matches, record the time stamp of the currently received data packet, and check whether it receives the matched second user ID sent by other edge devices that should arrive within the first duration threshold within the first duration threshold If yes, it is determined that the user corresponding to the first user identifier is within its security range; if not, it is determined that the user corresponding to the first user identifier is out of its security range.

在本发明的一个实施例中,当确定目标用户不在所述第一用户标识对应的安全范围时,执行预设的告警动作,其中,告警动作可以包括对目标用户进行提醒,向其确定自身的状态是否安全,还可以包括对目标用户关联的主端用户进行提醒,提醒其目标用户已经脱离安全范围。考虑到若对主端用户的提醒过于频繁时,可能会影响用户体验,因此,在本发明的再一个实施例中,在步骤303之后还包括:In an embodiment of the present invention, when it is determined that the target user is not in the security range corresponding to the first user identifier, a preset warning action is executed, wherein the warning action may include reminding the target user, and confirming to the target user that their own Whether the status is safe or not may also include reminding the primary end user associated with the target user that the target user has left the security range. Considering that if the reminder to the master user is too frequent, it may affect the user experience, therefore, in another embodiment of the present invention, after step 303, it also includes:

步骤3031:当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息。Step 3031: When it is determined that the target user is not in the security range corresponding to the first user identifier, send security confirmation information to the target user.

在本发明的一个实施例中,安全确认信息用于确认目标用户是否处于主动走失或被动走失的状态。安全确认信息中可以包括异常状态提示信息、回归路径提示信息以及待确认参数,其中,异常状态提示信息包括目标用户在何时其已经脱离安全范围,还可以包括其最近一次与安全范围内的边缘设备通信的时间间隔,历史通信的边缘设备的位置信息等。回归路径提示信息可以包括目标用户对应的安全设备的安全范围的边缘设备的位置信息等。待确认参数用于目标用户填写,以反馈其当前的状态,如是否迷路、是否被困、是否需要救援等。In one embodiment of the present invention, the security confirmation information is used to confirm whether the target user is actively lost or passively lost. The security confirmation information may include abnormal state prompt information, return path prompt information, and parameters to be confirmed, wherein the abnormal state prompt information includes when the target user has left the safe range, and may also include the latest edge between the target user and the safe range The time interval of device communication, the location information of edge devices in historical communication, etc. The return path prompt information may include the location information of the edge device in the security range of the security device corresponding to the target user, and the like. The parameter to be confirmed is used by the target user to fill in to give feedback on their current status, such as whether they are lost, trapped, or need rescue, etc.

步骤3032:检测所述目标用户针对所述安全确认信息的反馈信息。Step 3032: Detect the target user's feedback on the security confirmation information.

在本发明的一个实施例中,目标用户通过其携带的安全终端针对安全确认信息发送反馈信息。In one embodiment of the present invention, the target user sends feedback information on the security confirmation information through the security terminal carried by the target user.

步骤3033:当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。Step 3033: When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, perform an alarm action.

在本发明的一个实施例中,可以对反馈信息进行前述待填写字段值的提取,根据提取到字段值确定目标用户是否处于安全状态。如当反馈信息中针对是否迷路以及是否被困反馈为“是”时,执行告警动作。告警动作可以是通知与目标用户的安全设备关联的主端用户,其中,针对主端用户的通知内容可以根据目标用户的反馈信息以及历史发送的数据包确定。In an embodiment of the present invention, the feedback information may be extracted from the aforementioned field values to be filled, and it is determined whether the target user is in a safe state according to the extracted field values. For example, when the feedback information is "yes" for whether you are lost and trapped, an alarm action is performed. The alarm action may be to notify the main-end user associated with the security device of the target user, wherein the notification content for the main-end user may be determined according to the feedback information of the target user and historically sent data packets.

下面结合图4对本发明的再一个实施例防走失方法进行说明。如图4所示,首先,1.主端用户发送开启防走失模式的请求至云端,该请求中包括目标用户的用户特征信息,2.云端根据用户特征信息规划路可选地点之间的路径,并为目标用户划分一特异性的DID(Device ID,唯一设备标识),将该DID发送到路径的覆盖范围内的边缘设备中,3.边缘设备接收并存储云端下发的DID,由此完成用户身份标识与边缘设备的关联,圈定出安全范围。4.边缘设备发送确认接收到DID的数据包至云端,5.云端在接收到该确认数据包之后,将DID发送至目标用户对应的安全设备,从而激活该安全设备。The method for preventing loss according to another embodiment of the present invention will be described below with reference to FIG. 4 . As shown in Figure 4, first, 1. The master user sends a request to enable the anti-lost mode to the cloud. The request includes the user characteristic information of the target user. 2. The cloud plans routes between optional locations according to the user characteristic information. , and allocate a specific DID (Device ID, unique device identifier) for the target user, and send the DID to the edge device within the coverage of the path, 3. The edge device receives and stores the DID issued by the cloud, thus Complete the association between the user identity and the edge device, and delineate the security range. 4. The edge device sends a data packet confirming the receipt of the DID to the cloud. 5. After receiving the confirmation data packet, the cloud sends the DID to the security device corresponding to the target user, thereby activating the security device.

随后,6.安全设备发送包含自身DID以及时间戳的数据包至边缘设备,7.边缘设备根据接收到的数据中的DID和预先从云端接收并保存的DID进行比较,若一致,则说明目标用户未走出安全范围,否则判定目标用户可能偏离安全范围。8.边缘设备在判定目标用户可能偏离安全范围时,将接收到的数据包发送至云端进行保存,以使得云端根据接收到的数据包重新对安全范围进行规划,至此完成对目标用户的安全范围的圈定和更新。Then, 6. The security device sends a data packet containing its own DID and time stamp to the edge device. 7. The edge device compares the DID in the received data with the DID received and saved from the cloud in advance. If they are consistent, it indicates the target The user has not stepped out of the safe range, otherwise it is determined that the target user may deviate from the safe range. 8. When the edge device determines that the target user may deviate from the security range, it sends the received data packet to the cloud for storage, so that the cloud can re-plan the security range according to the received data packet, and thus completes the security range for the target user delineation and update.

本发明实施例提供的防走失方法利用边缘设备靠近用户侧、信号受环境影响较小,并且边缘设备的位置是较为固定的特点,通过多个边缘设备来圈定用户的安全范围,并且根据用户发送至边缘设备的数据包的时间戳来确定用户是否在规定时间内达到了安全范围内的下一个边缘设备,由此能够提高防走失的可靠性。The anti-lost method provided by the embodiment of the present invention utilizes the characteristics that the edge device is close to the user side, the signal is less affected by the environment, and the location of the edge device is relatively fixed. The time stamp of the data packet to the edge device is used to determine whether the user has reached the next edge device within the safety range within the specified time, thereby improving the reliability of anti-lost.

图5示出了本发明实施例提供的防走失装置的结构示意图。如图5所示,该装置40包括:获取模块401、第一确定模块402以及第二确定模块403。Fig. 5 shows a schematic structural diagram of an anti-lost device provided by an embodiment of the present invention. As shown in FIG. 5 , the apparatus 40 includes: an acquisition module 401 , a first determination module 402 and a second determination module 403 .

在一种可选的方式中,获取模块401,用于获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;In an optional manner, the obtaining module 401 is configured to obtain a data packet sent by a target user to an edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the User ID of the target user;

第一确定模块402,用于确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;The first determining module 402 is configured to determine a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier;

第二确定模块403,用于根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。The second determining module 403 is configured to determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

在一种可选的方式中,所述目标用户为多个可选用户中的一个;第一确定模块402还用于:In an optional manner, the target user is one of multiple optional users; the first determining module 402 is further configured to:

确定所述可选用户的用户画像信息;Determine the user portrait information of the optional user;

根据所述用户画像信息确定所述可选用户对应的多个可选地点;determining a plurality of optional locations corresponding to the optional user according to the user portrait information;

根据所述多个可选地点确定所述可选用户对应的防走失范围;Determining the anti-lost range corresponding to the optional user according to the multiple optional locations;

以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围;Taking all the optional locations included in the lost prevention range as constraint conditions, and taking the routes between the optional locations in the lost lost prevention range as optimization targets within the lost lost prevented range, the The anti-lost range is optimized to obtain the security range corresponding to the optional user;

将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user.

在一种可选的方式中,第一确定模块402还用于:In an optional manner, the first determining module 402 is also configured to:

确定所述目标用户对应的用户状态信息和/或当前环境信息;Determine user status information and/or current environment information corresponding to the target user;

根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。The security range is dynamically adjusted according to the user state information and/or the current environment information.

在一种可选的方式中,第一确定模块402还用于:In an optional manner, the first determining module 402 is also configured to:

根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项;determining at least one of the target user's predicted moving speed, available communication duration, predicted route, and historical range data according to the user state information;

和/或,根据所述当前环境信息确定所述目标用户的预测经过场景;And/or, determine the predicted passing scene of the target user according to the current environment information;

根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。The safety range is dynamically adjusted according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information.

在一种可选的方式中,第二确定模块403还用于:In an optional manner, the second determination module 403 is also used to:

将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备;matching the first user ID with the second user ID to obtain a matched edge device;

根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold.

在一种可选的方式中,第二确定模块403还用于:In an optional manner, the second determination module 403 is also used to:

确定所述目标用户对应的预测经过场景;determining the predicted passing scene corresponding to the target user;

将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备;determining the edge device that does not match the second user identifier as a device to be determined;

当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长;When it is determined that the device to be determined is located in the predicted passage scene, determine the residence time of the target user in the predicted passage scene according to the sending timestamp corresponding to the device to be determined;

当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。When the dwell duration is greater than the second duration threshold, the security range corresponding to the first user identifier is updated according to the predicted passing scene.

在一种可选的方式中,第二确定模块403还用于:In an optional manner, the second determination module 403 is also used to:

当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息;When it is determined that the target user is not in the security range corresponding to the first user identifier, sending security confirmation information to the target user;

检测所述目标用户针对所述安全确认信息的反馈信息;Detecting feedback information from the target user regarding the safety confirmation information;

当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, an alarm action is performed.

本发明实施例提供的防走失装置利用边缘设备靠近用户侧、信号受环境影响较小,并且边缘设备的位置是较为固定的特点,通过多个边缘设备来圈定用户的安全范围,并且根据用户发送至边缘设备的数据包的时间戳来确定用户是否在规定时间内达到了安全范围内的下一个边缘设备,由此能够提高防走失的可靠性。The anti-lost device provided by the embodiment of the present invention utilizes the characteristics that the edge device is close to the user side, the signal is less affected by the environment, and the location of the edge device is relatively fixed. The time stamp of the data packet to the edge device is used to determine whether the user has reached the next edge device within the safety range within the specified time, thereby improving the reliability of anti-lost.

图6示出了本发明实施例提供的防走失设备的结构示意图,本发明具体实施例并不对防走失设备的具体实现做限定。Fig. 6 shows a schematic structural diagram of the anti-lost device provided by the embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific realization of the anti-lost device.

如图6所示,该防走失设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 6 , the anti-lost device may include: a processor (processor) 502 , a communication interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。处理器502,用于执行程序510,具体可以执行上述用于防走失方法实施例中的相关步骤。Wherein: the processor 502 , the communication interface 504 , and the memory 506 communicate with each other through the communication bus 508 . The communication interface 504 is configured to communicate with network elements of other devices such as clients or other servers. The processor 502 is configured to execute the program 510, specifically, may execute the relevant steps in the above embodiment of the method for preventing loss.

具体地,程序510可以包括程序代码,该程序代码包括计算机可执行指令。Specifically, the program 510 may include program codes including computer-executable instructions.

处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。防走失设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit CPU, or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the anti-lost device may be of the same type, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.

存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used to store the program 510 . The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

程序510具体可以被处理器502调用使防走失设备执行以下操作:Specifically, the program 510 can be called by the processor 502 to make the anti-lost device perform the following operations:

获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;Obtaining a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user;

确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;determining a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier;

根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

在一种可选的方式中,所述目标用户为多个可选用户中的一个;所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the target user is one of multiple optional users; the program 510 is invoked by the processor 502 to make the anti-lost device perform the following operations:

确定所述可选用户的用户画像信息;Determine the user portrait information of the optional user;

根据所述用户画像信息确定所述可选用户对应的多个可选地点;determining a plurality of optional locations corresponding to the optional user according to the user portrait information;

根据所述多个可选地点确定所述可选用户对应的防走失范围;Determining the anti-lost range corresponding to the optional user according to the multiple optional locations;

以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围;Taking all the optional locations included in the lost prevention range as constraint conditions, and taking the routes between the optional locations in the lost lost prevention range as optimization targets within the lost lost prevented range, the The anti-lost range is optimized to obtain the security range corresponding to the optional user;

将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user.

在一种可选的方式中,所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the program 510 is invoked by the processor 502 to enable the anti-lost device to perform the following operations:

确定所述目标用户对应的用户状态信息和/或当前环境信息;Determine user status information and/or current environment information corresponding to the target user;

根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。The security range is dynamically adjusted according to the user state information and/or the current environment information.

在一种可选的方式中,所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the program 510 is invoked by the processor 502 to enable the anti-lost device to perform the following operations:

根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项;determining at least one of the target user's predicted moving speed, available communication duration, predicted route, and historical range data according to the user state information;

和/或,根据所述当前环境信息确定所述目标用户的预测经过场景;And/or, determine the predicted passing scene of the target user according to the current environment information;

根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。The safety range is dynamically adjusted according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information.

在一种可选的方式中,所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the program 510 is invoked by the processor 502 to enable the anti-lost device to perform the following operations:

将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备;matching the first user ID with the second user ID to obtain a matched edge device;

根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold.

在一种可选的方式中,所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the program 510 is invoked by the processor 502 to enable the anti-lost device to perform the following operations:

确定所述目标用户对应的预测经过场景;determining the predicted passing scene corresponding to the target user;

将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备;determining the edge device that does not match the second user identifier as a device to be determined;

当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长;When it is determined that the device to be determined is located in the predicted passage scene, determine the residence time of the target user in the predicted passage scene according to the sending timestamp corresponding to the device to be determined;

当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。When the dwell duration is greater than the second duration threshold, the security range corresponding to the first user identifier is updated according to the predicted passing scene.

在一种可选的方式中,所述程序510被处理器502调用使防走失设备执行以下操作:In an optional manner, the program 510 is invoked by the processor 502 to enable the anti-lost device to perform the following operations:

当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息;When it is determined that the target user is not in the security range corresponding to the first user identifier, sending security confirmation information to the target user;

检测所述目标用户针对所述安全确认信息的反馈信息;Detecting feedback information from the target user regarding the safety confirmation information;

当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, an alarm action is performed.

本发明实施例提供的防走失设备利用边缘设备靠近用户侧、信号受环境影响较小,并且边缘设备的位置是较为固定的特点,通过多个边缘设备来圈定用户的安全范围,并且根据用户发送至边缘设备的数据包的时间戳来确定用户是否在规定时间内达到了安全范围内的下一个边缘设备,由此能够提高防走失的可靠性。The anti-lost device provided by the embodiment of the present invention utilizes the characteristics that the edge device is close to the user side, the signal is less affected by the environment, and the location of the edge device is relatively fixed. The time stamp of the data packet to the edge device is used to determine whether the user has reached the next edge device within the safety range within the specified time, thereby improving the reliability of anti-lost.

本发明实施例提供了一种计算机可读存储介质,所述存储介质存储有至少一可执行指令,该可执行指令在防走失设备上运行时,使得所述防走失设备执行上述任意方法实施例中的防走失方法。An embodiment of the present invention provides a computer-readable storage medium, the storage medium stores at least one executable instruction, and when the executable instruction is run on the anti-lost device, the anti-lost device executes any of the above method embodiments The anti-lost method in .

可执行指令具体可以用于使得防走失设备执行以下操作:Specifically, the executable instruction can be used to make the anti-lost device perform the following operations:

获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;Obtaining a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user;

确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;determining a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier;

根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier.

在一种可选的方式中,所述目标用户为多个可选用户中的一个;可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the target user is one of multiple optional users; the executable instruction may specifically be used to make the anti-lost device perform the following operations:

确定所述可选用户的用户画像信息;Determine the user portrait information of the optional user;

根据所述用户画像信息确定所述可选用户对应的多个可选地点;determining a plurality of optional locations corresponding to the optional user according to the user portrait information;

根据所述多个可选地点确定所述可选用户对应的防走失范围;Determining the anti-lost range corresponding to the optional user according to the multiple optional locations;

以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围;Taking all the optional locations included in the lost prevention range as constraint conditions, and taking the routes between the optional locations in the lost lost prevention range as optimization targets within the lost lost prevented range, the The anti-lost range is optimized to obtain the security range corresponding to the optional user;

将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user.

在一种可选的方式中,可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the executable instruction may specifically be used to make the anti-lost device perform the following operations:

确定所述目标用户对应的用户状态信息和/或当前环境信息;Determine user status information and/or current environment information corresponding to the target user;

根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。The security range is dynamically adjusted according to the user state information and/or the current environment information.

在一种可选的方式中,可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the executable instruction may specifically be used to make the anti-lost device perform the following operations:

根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项;determining at least one of the target user's predicted moving speed, available communication duration, predicted route, and historical range data according to the user state information;

和/或,根据所述当前环境信息确定所述目标用户的预测经过场景;And/or, determine the predicted passing scene of the target user according to the current environment information;

根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。The safety range is dynamically adjusted according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information.

在一种可选的方式中,可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the executable instruction may specifically be used to make the anti-lost device perform the following operations:

将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备;matching the first user ID with the second user ID to obtain a matched edge device;

根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold.

在一种可选的方式中,可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the executable instruction may specifically be used to make the anti-lost device perform the following operations:

确定所述目标用户对应的预测经过场景;determining the predicted passing scene corresponding to the target user;

将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备;determining the edge device that does not match the second user identifier as a device to be determined;

当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长;When it is determined that the device to be determined is located in the predicted passage scene, determine the residence time of the target user in the predicted passage scene according to the sending timestamp corresponding to the device to be determined;

当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。When the dwell duration is greater than the second duration threshold, the security range corresponding to the first user identifier is updated according to the predicted passing scene.

在一种可选的方式中,可执行指令具体可以用于使得防走失设备执行以下操作:In an optional manner, the executable instruction may specifically be used to make the anti-lost device perform the following operations:

当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息;When it is determined that the target user is not in the security range corresponding to the first user identifier, sending security confirmation information to the target user;

检测所述目标用户针对所述安全确认信息的反馈信息;Detecting feedback information from the target user regarding the safety confirmation information;

当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, an alarm action is performed.

本发明实施例提供的计算机存储介质利用边缘设备靠近用户侧、信号受环境影响较小,并且边缘设备的位置是较为固定的特点,通过多个边缘设备来圈定用户的安全范围,并且根据用户发送至边缘设备的数据包的时间戳来确定用户是否在规定时间内达到了安全范围内的下一个边缘设备,由此能够提高防走失的可靠性。The computer storage medium provided by the embodiment of the present invention utilizes the characteristics that the edge device is close to the user side, the signal is less affected by the environment, and the position of the edge device is relatively fixed. The time stamp of the data packet to the edge device is used to determine whether the user has reached the next edge device within the safety range within the specified time, thereby improving the reliability of anti-lost.

本发明实施例提供一种防走失装置,用于执行上述防走失方法。An embodiment of the present invention provides a device for preventing loss, which is used to implement the above method for preventing loss.

本发明实施例提供了一种计算机程序,所述计算机程序可被处理器调用使防走失设备执行上述任意方法实施例中的防走失方法。An embodiment of the present invention provides a computer program, and the computer program can be invoked by a processor to enable the anti-lost device to execute the anti-lost method in any of the above method embodiments.

本发明实施例提供了一种计算机程序产品,计算机程序产品包括存储在计算机可读存储介质上的计算机程序,计算机程序包括程序指令,当程序指令在计算机上运行时,使得所述计算机执行上述任意方法实施例中的防走失方法。An embodiment of the present invention provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. The anti-lost method in the method embodiment.

在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline the present disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the embodiments of the invention are sometimes grouped together into a single implementation examples, figures, or descriptions thereof. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.

本领域技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments can be combined into one module or unit or component, and they can be divided into a plurality of sub-modules or sub-units or sub-components. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the execution order.

Claims (10)

1.一种防走失方法,其特征在于,所述方法包括:1. A kind of anti-lost method, is characterized in that, described method comprises: 获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;Obtaining a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user; 确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;determining a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier; 根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier. 2.根据权利要求1所述的方法,其特征在于,所述目标用户为多个可选用户中的一个;在所述获取目标用户发送至边缘设备的数据包之前,包括:2. The method according to claim 1, wherein the target user is one of multiple optional users; before acquiring the data packet sent by the target user to the edge device, the method includes: 确定所述可选用户的用户画像信息;Determine the user portrait information of the optional user; 根据所述用户画像信息确定所述可选用户对应的多个可选地点;determining a plurality of optional locations corresponding to the optional user according to the user portrait information; 根据所述多个可选地点确定所述可选用户对应的防走失范围;Determining the anti-lost range corresponding to the optional user according to the multiple optional locations; 以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述可选用户对应的安全范围;Taking all the optional locations included in the lost prevention range as constraint conditions, and taking the routes between the optional locations in the lost lost prevention range as optimization targets within the lost lost prevented range, the The anti-lost range is optimized to obtain the security range corresponding to the optional user; 将所述可选用户的用户标识与位于所述可选用户对应的安全范围内的所述边缘设备进行关联。Associating the user identifier of the optional user with the edge device within the security range corresponding to the optional user. 3.根据权利要求2所述的方法,其特征在于,在所述以所述防走失范围内包括所有所述可选地点为约束条件,以所述防走失范围内的所述可选地点之间的路径均在所述防走失范围内为优化目标,对所述防走失范围进行优化,得到所述安全范围之后,包括:3. The method according to claim 2, characterized in that, taking all the optional locations within the range of loss prevention as constraints, taking one of the optional locations within the range of loss prevention The paths between are all in the described anti-lost range as the optimization target, and the described anti-lost range is optimized, and after obtaining the safe range, it includes: 确定所述目标用户对应的用户状态信息和/或当前环境信息;Determine user status information and/or current environment information corresponding to the target user; 根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整。The security range is dynamically adjusted according to the user state information and/or the current environment information. 4.根据权利要求3所述的方法,其特征在于,所述根据所述用户状态信息和/或所述当前环境信息对所述安全范围进行动态调整,包括:4. The method according to claim 3, wherein the dynamically adjusting the security range according to the user status information and/or the current environment information comprises: 根据所述用户状态信息确定所述目标用户的预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项;determining at least one of the target user's predicted moving speed, available communication duration, predicted route, and historical range data according to the user state information; 和/或,根据所述当前环境信息确定所述目标用户的预测经过场景;And/or, determine the predicted passing scene of the target user according to the current environment information; 根据所述预测移动速度、可用通信时长、预测经过路线以及历史范围数据中的至少一项和/或所述当前环境信息对所述安全范围进行动态调整。The safety range is dynamically adjusted according to at least one of the predicted moving speed, available communication duration, predicted route, and historical range data and/or the current environment information. 5.根据权利要求1所述的方法,其特征在于,所述根据所述发送时间戳、第一用户标识及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内,包括:5. The method according to claim 1, characterized in that, according to the sending time stamp, the first user ID and the second user ID, it is determined whether the target user is in the within safety limits, including: 将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备;matching the first user ID with the second user ID to obtain a matched edge device; 根据所述匹配到的边缘设备对应的所述发送时间戳和预设的第一时长阈值确定所述目标用户是否在所述第一用户标识对应的安全范围内。Determine whether the target user is within a security range corresponding to the first user identifier according to the sending timestamp corresponding to the matched edge device and a preset first duration threshold. 6.根据权利要求5所述的方法,其特征在于,在所述将所述第一用户标识与所述第二用户标识进行匹配,得到匹配到的边缘设备之后,包括:6. The method according to claim 5, wherein after the matching of the first user ID and the second user ID to obtain the matched edge device, the method comprises: 确定所述目标用户对应的预测经过场景;determining the predicted passing scene corresponding to the target user; 将与所述第二用户标识不匹配的所述边缘设备确定为待判定设备;determining the edge device that does not match the second user identifier as a device to be determined; 当确定所述待判定设备位于所述预测经过场景中时,根据所述待判定设备对应的所述发送时间戳确定所述目标用户在所述预测经过场景中的驻留时长;When it is determined that the device to be determined is located in the predicted passage scene, determine the residence time of the target user in the predicted passage scene according to the sending timestamp corresponding to the device to be determined; 当所述驻留时长大于第二时长阈值时,根据所述预测经过场景对所述第一用户标识对应的所述安全范围进行更新。When the dwell duration is greater than the second duration threshold, the security range corresponding to the first user identifier is updated according to the predicted passing scene. 7.根据权利要求1所述的方法,其特征在于,在所述根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内之后,包括:7. The method according to claim 1, wherein, in the step of determining whether the target user corresponds to the first user ID according to the first user ID, sending time stamp and the second user ID, within safe limits, including: 当确定所述目标用户不在所述第一用户标识对应的安全范围时,向所述目标用户发送安全确认信息;When it is determined that the target user is not in the security range corresponding to the first user identifier, sending security confirmation information to the target user; 检测所述目标用户针对所述安全确认信息的反馈信息;Detecting feedback information from the target user regarding the safety confirmation information; 当所述反馈信息不满足预设条件或在第三时长阈值内未接收到所述反馈信息时,执行告警动作。When the feedback information does not meet the preset condition or the feedback information is not received within the third duration threshold, an alarm action is performed. 8.一种防走失装置,其特征在于,所述装置包括:8. An anti-lost device, characterized in that the device comprises: 获取模块,用于获取目标用户发送至边缘设备的数据包;所述数据包中包括第一用户标识和发送时间戳;所述第一用户标识为所述目标用户的用户标识;An acquisition module, configured to acquire a data packet sent by the target user to the edge device; the data packet includes a first user identifier and a sending time stamp; the first user identifier is the user identifier of the target user; 第一确定模块,用于确定与所述边缘设备关联的第二用户标识;所述边缘设备位于所述第二用户标识对应的安全范围中;A first determining module, configured to determine a second user identifier associated with the edge device; the edge device is located in a security range corresponding to the second user identifier; 第二确定模块,用于根据所述第一用户标识、发送时间戳及所述第二用户标识确定所述目标用户是否在所述第一用户标识对应的安全范围内。The second determining module is configured to determine whether the target user is within a security range corresponding to the first user identifier according to the first user identifier, the sending time stamp, and the second user identifier. 9.一种防走失设备,其特征在于,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;9. An anti-lost device, comprising: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete mutual communication through the communication bus; 所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1-7任意一项所述的防走失方法的操作。The memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operation of the method for preventing loss according to any one of claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一可执行指令,所述可执行指令在防走失设备上运行时,使得防走失设备执行如权利要求1-7任意一项所述的防走失方法的操作。10. A computer-readable storage medium, characterized in that at least one executable instruction is stored in the storage medium, and when the executable instruction is run on the anti-lost device, the anti-lost device executes the method according to claim 1- 7. The operation of any one of the anti-lost methods.
CN202210003942.XA 2022-01-04 2022-01-04 Anti-lost method, device, equipment and computer storage medium Pending CN116266900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210003942.XA CN116266900A (en) 2022-01-04 2022-01-04 Anti-lost method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210003942.XA CN116266900A (en) 2022-01-04 2022-01-04 Anti-lost method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN116266900A true CN116266900A (en) 2023-06-20

Family

ID=86744063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210003942.XA Pending CN116266900A (en) 2022-01-04 2022-01-04 Anti-lost method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN116266900A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9922531B1 (en) * 2016-12-21 2018-03-20 Tile, Inc. Safe zones in tracking device environments
CN109196840A (en) * 2016-06-12 2019-01-11 苹果公司 Modify the security state with security range detection
WO2019042476A1 (en) * 2017-09-04 2019-03-07 西安中兴新软件有限责任公司 Method and system for lost object tracking
CN110365541A (en) * 2019-07-31 2019-10-22 腾讯科技(深圳)有限公司 Method for generating corresponding relationship in gateway, method and device for sending instructions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109196840A (en) * 2016-06-12 2019-01-11 苹果公司 Modify the security state with security range detection
US9922531B1 (en) * 2016-12-21 2018-03-20 Tile, Inc. Safe zones in tracking device environments
WO2019042476A1 (en) * 2017-09-04 2019-03-07 西安中兴新软件有限责任公司 Method and system for lost object tracking
CN110365541A (en) * 2019-07-31 2019-10-22 腾讯科技(深圳)有限公司 Method for generating corresponding relationship in gateway, method and device for sending instructions

Similar Documents

Publication Publication Date Title
US11520331B2 (en) Methods and apparatus to update autonomous vehicle perspectives
Javaid et al. Smart traffic management system using Internet of Things
Chowdhury et al. Trustworthiness of self-driving vehicles for intelligent transportation systems in industry applications
US20210083924A1 (en) System and method for a unified connected network
JP2022546320A (en) Advanced in-vehicle equipment
US8170586B2 (en) Moving body communication system, moving body terminal, information providing apparatus, and information transmission method
WO2019051571A1 (en) Integrated, predictive, smart system for traffic signal time control
WO2021155685A1 (en) Map updating method, apparatus and device
JP2020508252A (en) Autonomous vehicle operation management
CN110800324B (en) A system and method for improving road safety and/or management
US20230234615A1 (en) Countering Autonomous Vehicle Usage for Ramming Attacks
WO2020191790A1 (en) System and method for improving road safety and/or management
US10885785B2 (en) Network-controllable physical resources for vehicular transport system safety
JPWO2019198449A1 (en) Information provision system, mobile terminal, information provision device, information provision method, and computer program
CN106448267A (en) Road traffic accident chain blocking system based on Internet of Vehicles
CN109682388A (en) Follow the determination method in path
TW202141438A (en) Driving warning method, system and equipment based on internet of vehicle
CN108269395A (en) Suitable for vehicle-mounted short distance communication network traffic congestion prediction and processing method
CN108305505B (en) A Pedestrian Traffic Accident Early Warning Method Applicable to Vehicle Short-Range Communication Network
JP2019010967A (en) Automatic controller, and method for controlling the same
CN112132335B (en) Method, device, equipment and storage medium for predicting traffic accidents
CN116266900A (en) Anti-lost method, device, equipment and computer storage medium
KR102788664B1 (en) Predicting motion of hypothetical agents
CN110377982B (en) Automatic driving performance test method and system, electronic device, storage medium
Pant et al. An IoT-based intelligent traffic engagement system with emergency vehicles pre-emption

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination