Safety early warning method and device, equipment, storage medium and program product

By detecting unfamiliar terminals and generating early warning strategies, the problem of waste and high cost of home anti-theft equipment is solved, monitoring and reminding strangers is realized, and family security is improved.

CN119091556APending Publication Date: 2024-12-06CHINA MOBILE GROUP ANHUI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411261174.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing automatic monitoring devices have problems such as wasting space and high purchasing costs in home anti-theft, and the increased functions make it difficult for ordinary family users to accept.

Method used

The routing device detects the identity identification information of the strange terminal, determines the warning strategy based on the terminal location and network coverage, and sends warnings to the preset user terminal to realize monitoring and reminding of strangers.

Benefits of technology

It effectively reduces the space and cost requirements of home anti-theft equipment, provides monitoring and reminding functions for strangers, and improves home security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119091556A_ABST
    Figure CN119091556A_ABST
Patent Text Reader

Abstract

The invention discloses a safety early warning method and device, equipment, a storage medium and a program product. The method comprises the following steps: acquiring identity identification information of a first terminal under the condition that the first terminal is detected; under the condition that the identity identification information is not preset user identity identification information, determining a first distance according to the position of the first terminal and the position of the routing equipment; generating an early warning strategy according to the first distance and a preset network security distance, wherein the preset security distance is determined based on a network coverage range of the routing equipment; and giving an alarm to a second terminal according to the early warning strategy, wherein the second terminal is a terminal bound by a preset user in the routing equipment. According to the embodiment of the invention, unfamiliar persons can be effectively detected, monitoring of the unfamiliar persons is realized, the target user is reminded, and the effect of safety early warning is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of security prevention and control, and in particular, relates to a security early warning method, device, equipment, storage medium and program product. Background Art

[0002] As people's living standards improve, their awareness of theft prevention is also getting higher and higher. At present, ordinary families achieve theft prevention by strengthening the door and window structure, adding smart door locks or installing indoor monitoring systems. As people's safety awareness continues to increase, this automatic monitoring equipment is constantly updated, and the functions of automatic monitoring equipment are becoming more and more complete. Correspondingly, in order to install automatic monitoring equipment, additional space needs to be reserved indoors, which not only wastes more indoor controls, but also the purchase cost of automatic monitoring equipment increases with the increase of functions. It is not suitable for ordinary home users. Therefore, there is an urgent need for a security early warning method, device, equipment, storage medium and program product to meet the security control of ordinary home users. Summary of the invention

[0003] The embodiments of the present application provide a security warning method, device, equipment, storage medium and program product, which can effectively detect strangers and monitor strangers to remind target users and play a role in security warning.

[0004] On the one hand, an embodiment of the present application provides a security early warning method, the method comprising:

[0005] When a first terminal is detected, obtaining identity information of the first terminal;

[0006] When the identity information is not preset user identity information, determining a first distance according to a location of the first terminal and a location of the routing device;

[0007] generating an early warning strategy according to the first distance and a preset network security distance, wherein the preset security distance is determined based on the network coverage of the routing device;

[0008] An alarm is sent to a second terminal according to the early warning strategy, where the second terminal is a terminal bound to a preset user in the routing device.

[0009] Optionally, before generating an early warning strategy according to the first distance and a preset network security distance, the method further includes:

[0010] Acquire space parameters of the space where the routing device is located and network parameters of the routing device, wherein the network parameters include network coverage;

[0011] Determine a network center position based on the spatial parameters and the network coverage, wherein the network center position represents a location where the network distribution is concentrated in the space;

[0012] A preset network security distance is determined based on the network center position and network parameters.

[0013] Optionally, the network parameters further include at least one of a network bandwidth, a network attenuation coefficient, and a network strength coefficient; and determining a preset network security distance based on the network focal point position and the network parameters includes:

[0014] In a case where the network parameters include network bandwidth, network attenuation coefficient, and network strength coefficient, obtaining construction material information, weather change information, and network bandwidth corresponding to the space;

[0015] Determine the network attenuation coefficient and the network strength coefficient in a preset network parameter comparison table based on the construction material information and weather change information;

[0016] The preset network security distance is determined according to the network center position, network bandwidth, network attenuation coefficient and network strength coefficient.

[0017] Optionally, determining a warning strategy based on the first distance and a preset safety distance includes:

[0018] Dividing the warning distance based on the preset network security distance, the warning distance includes a first warning distance and a second warning distance;

[0019] When the first distance is less than or equal to the first warning distance, sending a warning text message to the second terminal;

[0020] When the first distance is less than or equal to the second warning distance, making a call to the second terminal;

[0021] Wherein, the first warning distance is greater than the second warning distance.

[0022] Optionally, when the identity identification information is not preset user identity identification information, the method further includes:

[0023] In response to the network access request of the first terminal, sending a verification request to the second terminal;

[0024] When receiving the access consent command from the second terminal, a first access password is sent to the first terminal, so that the first terminal connects to the routing device based on the first access password.

[0025] Optionally, before the target terminal sends the verification request, the method further includes:

[0026] Determine the access number of the first terminal based on the identity information;

[0027] When the access number is not the first time and is less than or equal to the preset access number, determining a second access password based on the identity information, so that the first terminal connects to the routing device according to the second access password;

[0028] When the access number is greater than the preset access number, the access number is cleared, and the process returns to the step of sending a verification request to the second terminal.

[0029] Optionally, before determining the first distance according to the position of the first terminal and the position of the routing device, the method further includes:

[0030] Acquire a connection terminal connected to the routing device;

[0031] When the number of the connected terminals is zero, the process returns to the step of determining the first distance according to the position of the first terminal and the position of the routing device.

[0032] On the other hand, an embodiment of the present application provides a safety warning device, the device comprising:

[0033] An acquisition module, configured to acquire identity information of the first terminal when a first terminal is detected;

[0034] a determination module, configured to determine a first distance according to a location of the first terminal and a location of the routing device when the identity information does not belong to a preset user;

[0035] A generating module, configured to generate an early warning strategy according to the first distance and a preset network safety distance, wherein the preset safety distance is determined based on the network coverage of the routing device;

[0036] The early warning module is used to issue an early warning to the second terminal according to the early warning strategy, and the second terminal is a terminal bound to a preset user in the routing device.

[0037] In another aspect, an embodiment of the present application provides a routing device, the device comprising: a processor and a memory storing computer program instructions;

[0038] When the processor executes the computer program instructions, the security warning method as described in the first aspect is implemented.

[0039] On the other hand, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the security warning method described in the first aspect is implemented.

[0040] On the other hand, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of a routing device, the routing device executes the security warning method as described in the first aspect.

[0041] According to the security warning method, apparatus, device and computer storage medium of the embodiments of the present application, when the routing device detects the first terminal, the routing device can obtain the identity information of the first terminal, and compare the identity information of the first terminal with the preset user identity information. When the identity information is not the preset user identity information, that is, the first terminal is a terminal held by a stranger, a first distance is determined, and a warning strategy is generated through the first distance, so that an alarm can be sent to the second terminal. Through the first distance between the routing device and the first terminal, the stranger can be monitored to remind the user holding the second terminal, thereby playing a role of security warning. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0043] Figure 1 It is a flowchart of a safety warning method provided by an embodiment of the present application;

[0044] Figure 2 It is a flowchart of a method for determining a preset network security distance provided by an embodiment of the present application;

[0045] Figure 3 is a flowchart of a method for determining a preset network security distance provided by another embodiment of the present application;

[0046] Figure 4 is a structural schematic diagram of a safety warning device provided by another embodiment of the present application;

[0047] Figure 5 This is a schematic diagram of the structure of a routing device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0048] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0049] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0050] In order to solve the problems of the prior art, the embodiments of the present application provide a security warning method, device, equipment, storage medium and program product.

[0051] In an embodiment of the present application, when the routing device detects the first terminal, the routing device can obtain the identity information of the first terminal, and compare the identity information of the first terminal with the preset user identity information. When the identity information is not the preset user identity information, that is, the first terminal is a terminal held by a stranger, the first distance is determined, and an early warning strategy is generated through the first distance, and an alarm can be sent to the second terminal. Through the first distance between the routing device and the first terminal, the stranger can be monitored to remind the user holding the second terminal, thereby playing a role of safety warning.

[0052] The following first introduces the security warning method provided in the embodiment of the present application.

[0053] Figure 1 FIG. 1 is a flow chart showing a safety warning method provided by an embodiment of the present application. Figure 1 As shown, the safety warning method includes the following steps S101-S104;

[0054] S101: When a first terminal is detected, obtain identity information of the first terminal.

[0055] In some embodiments, taking a building as a home room and placing a routing device in the room as an example for explanation, in some home environments, the routing device is placed in the room, the routing device spreads the network, and provides network coverage to the room, and the network coverage range is larger than the room area.

[0056] According to the current design of routing devices, when a terminal enters the network coverage of the routing device, the routing device can detect the terminal and obtain the identity information of the terminal, where the identity information can be the terminal model or the IMEI (International Mobile Equipment Identity, terminal serial number). The terminal can also obtain the information of the routing device through the WiFi module for two-way communication.

[0057] Specifically, in this embodiment, when a routing device is used to perform security monitoring on a room, if the routing device detects a first terminal, it indicates that the first terminal has entered the network coverage of the routing device, and accordingly, it indicates that the user has entered the detection range.

[0058] In addition, when the identity identification information is a terminal serial number, the identity of the first terminal can be identified through the terminal serial number, wherein the terminal serial number consists of 15 digits, and the first six digits can be used to determine the memory of the first terminal, the next two digits can determine the origin, and the next six digits can determine the production sequence number of the first terminal. The last digit is determined as the verification code of the first terminal. The identity information of the first terminal can be known through the terminal serial number to realize the identity identification of the first terminal.

[0059] S102: When the identity identification information is not preset user identity identification information, determine a first distance according to a location of the first terminal and a location of the routing device.

[0060] In this embodiment, the user can pre-set the preset user identity information on the routing device, that is, determine the identity information corresponding to the target terminal recognized by the user as the preset user identity information, and then store it in the routing device. The terminal determined as the preset user identity information can directly connect to the routing device and has certain permissions for the routing device. For example, modify the connection password of the routing device, modify the connection authentication method of the routing device, and the connection permission of the terminal connected to the routing device.

[0061] In another optional embodiment, the user can set terminal groups and external groups in the routing device, and then store the preset user identity information in the terminal group. When the terminals corresponding to all the preset user identity information in the terminal group are connected to the routing device, no authentication is required, and they have the permissions described in the above examples, and have priority, that is, when multiple terminals need to connect to the oil circuit device, the terminals corresponding to the preset user identity information can be connected to the routing device first.

[0062] In the external group, it can be understood that for visitors of preset users, that is, members who are not members of the terminal group, the identity identification information corresponding to such terminals is classified into the external group.

[0063] In another embodiment, when the identity information is not a preset identity information, it indicates that the first terminal at this time does not belong to the preset user bound to the routing device, so it is necessary to determine the first distance based on the position of the first terminal and the position of the routing device, that is, when the routing device detects the first terminal, the position of the first terminal can be obtained, and the position of the routing device itself has been stored in the routing device. As an example, the first distance can be determined by the GPS positioning of the first terminal and the GPS positioning of the routing device.

[0064] S103: Generate an early warning strategy according to the first distance and a preset network security distance.

[0065] In some embodiments, in order to accurately monitor external users and make the generated early warning strategy more accurate, it is necessary to set a preset network security distance in the routing device in advance, and then generate a corresponding early warning strategy based on the first distance and the network security distance, so that different early warning strategies can be generated in stages to achieve accurate early warning.

[0066] As an example, the preset safety distance is determined based on the network coverage of the routing device.

[0067] See also Figure 2 Specifically, before S103, the following steps S201-S203 may also be included:

[0068] S201, obtaining space parameters of the space where the routing device is located and network parameters of the routing device;

[0069] S202, determining a network center position based on the spatial parameters and the network coverage, where the network center position represents a location where the network distribution is concentrated in space;

[0070] S203: Determine a preset network security distance based on the network center position and network parameters.

[0071] In this embodiment, in order to accurately determine the preset safety distance, the network coverage of the routing device and the central position of the routing device in the room are taken into consideration to accurately determine the preset safety distance.

[0072] As an example, the space parameters may include at least one of the length of the room, the width of the room, the height of the room, and the wall permeability; the network parameters may include at least one of the network coverage, the network attenuation coefficient, and the network strength coefficient.

[0073] Specifically, in S202, when determining the network center position, first determine the semi-major axis length and semi-minor axis length of the network coverage through the network coverage range of the routing device, and then obtain the coverage angle of the network coverage of the routing device, and calculate the network coverage radius through the coverage angle, semi-major axis length, and semi-minor axis length.

[0074] In some embodiments, the network coverage radius may be calculated by formula (1), which is as follows:

[0075] r=1 / ab / [(a^2*sint^2+b^2*cost^2)^(3 / 2)] (1)

[0076] Among them, r is the network coverage radius, a is the semi-major axis length, b is the semi-minor axis length, and t is the coverage angle.

[0077] In addition, when determining the network focal point position, considering that the network will be attenuated during the transmission process, the network attenuation coefficient and the network's permeability to the wall must also be considered when determining the network focal point position. Therefore, the position of the network focal point in the room can be determined by formula (2), that is, formula (2) is as follows:

[0078] X=l*m*h-(1-n)α*r (2)

[0079] Where X is the network center position, l is the length of the room, M is the width of the room, h is the height of the room, n is the permeability of the room wall, α is the network attenuation coefficient, and r is the network coverage radius calculated by the above formula (1).

[0080] It is worth noting that there may be more than one network focal point in a space. For a routing device and at least one signal enhancer connected to the routing device, there may be multiple network focal points, that is, the network focal point may be the installation location of the routing device or the installation location of the signal enhancer.

[0081] See also Figure 3 In some embodiments, S203 may specifically include the following steps S301-S303:

[0082] S301, when the network parameters include network bandwidth, network attenuation coefficient, and network strength coefficient, obtaining construction material information, weather change information, and network bandwidth corresponding to the space;

[0083] S302, determining a network attenuation coefficient and a network strength coefficient in a preset network parameter comparison table based on construction material information and weather change information;

[0084] S303, determining a preset network security distance according to the network center position, network bandwidth, network attenuation coefficient, and network strength coefficient.

[0085] In this embodiment, when determining the preset network security distance, since the preset network security distance is determined based on the network coverage of the routing device, the setting of the preset network security distance needs to be adjusted in real time taking into account the shielding effect of the building, network attenuation, weather changes and network strength. This not only allows users to enjoy a smooth network in the room, but also enables the first terminal to be accurately detected within the network coverage of the routing device.

[0086] Specifically, when determining the preset network security distance, in order to detect weather changes in real time, the routing device can be provided with an antenna receiving device to receive weather forecast information and determine weather change information; and, it is worth noting that weather changes will affect the network strength coefficient and network attenuation coefficient of the routing device, so there may be different network strength coefficients and network attenuation coefficients for different weather changes.

[0087] In addition, in one embodiment, since the wall materials of different buildings are inconsistent, it will also affect the network strength coefficient and the network attenuation coefficient. Therefore, in order to accurately determine the impact of different building wall materials on the network strength coefficient and the network attenuation coefficient under different weather changes, a preset network parameter comparison table is established through relevant technologies to facilitate accurate and real-time determination of the network strength coefficient and the network attenuation coefficient.

[0088] Exemplarily, the preset network parameter comparison table is shown in Table 1 below:

[0089] Table 1

[0090] Wall material Network Strength Factor Network attenuation coefficient wallpaper 0.8~1 0~0.1 Wallcovering 0.5~0.7 0.2~0.4 Latex paint 0.2~0.4 0.5~0.7 Wow algae mud 0~0.1 0.8~1

[0091] In some embodiments, the preset network security distance is calculated using formula (3), and formula (3) is as follows:

[0092] R=X*B*α / K (3)

[0093] Among them, R is the preset network security distance, X is the network center position, B is the network bandwidth, α is the network attenuation coefficient, and K is the network strength coefficient.

[0094] It is worth noting that the network coverage range can be a sector-shaped coverage area with the network focal point as the center, the network coverage radius as the radius, and the coverage angle as the center angle.

[0095] In some embodiments, S103 may specifically include:

[0096] The warning distance is divided based on the preset network security distance, and the warning distance includes a first warning distance and a second warning distance;

[0097] When the first distance is less than or equal to the first warning distance, sending a warning text message to the second terminal;

[0098] When the first distance is less than or equal to the second warning distance, making a call to the second terminal;

[0099] Among them, the first warning distance is greater than the second warning distance.

[0100] In this embodiment, the network is divided according to the preset network security distance to obtain multiple warning distances, and different warning strategies are determined according to the multiple warning distances.

[0101] For example, when the first distance is less than or equal to the first warning distance, it means that the first terminal is still far away from the routing device and the alarm level is not high. As the first distance between the first terminal and the routing device shortens, it means that the first terminal is gradually approaching the routing device. In other words, the user carrying the first terminal is gradually approaching the room, which may cause safety hazards. Therefore, as the first distance gradually decreases, the alarm strategy is gradually upgraded to continuously remind the user.

[0102] In this embodiment, the second terminal is a terminal bound to a preset user in the routing device.

[0103] As an example, when the first distance is less than or equal to the first warning distance, a warning text message may be sent to the second terminal, and when the first distance is less than or equal to the second warning distance, a warning phone call may be made to the second terminal.

[0104] In another possible embodiment, when multiple second terminals are bound in the routing device, one of the second terminals may be set as a primary terminal, and the remaining second terminals may be set as secondary terminals, wherein the primary terminal and the secondary terminal are set by the user. Based on this, the warning distance may further include a third warning distance, the third warning distance is smaller than the first warning distance and larger than the second warning distance, and S103 may further include:

[0105] When the first distance is less than or equal to the first warning distance, sending warning information to the primary terminal;

[0106] When the first distance is less than or equal to the third warning distance, making a call to the secondary terminal and / or sending a warning message to the primary terminal;

[0107] When the first distance is less than or equal to the second warning distance, calls are made to the primary terminal and the secondary terminal.

[0108] S104: Send an alarm to the second terminal according to the early warning strategy.

[0109] In this embodiment, after generating the early warning strategy, the routing device issues an early warning to the second terminal based on the early warning strategy, so that the user holding the second terminal can know that a stranger has entered the network coverage of the routing device at this time. When the routing device detects the first terminal, the routing device can obtain the identity information of the first terminal, and compare the identity information of the first terminal with the preset user identity information. When the identity information is not the preset user identity information, that is, the first terminal is a terminal held by a stranger, the first distance is determined, and an early warning strategy is generated through the first distance, so that an alarm can be issued to the second terminal. Through the first distance between the routing device and the first terminal, the stranger can be monitored to remind the user holding the second terminal, thereby playing a role of safety early warning.

[0110] In some other embodiments, if the user holding the first terminal is a friend of the user holding the second terminal, and the first terminal wants to connect to the routing device, the method may further include:

[0111] In response to the network access request of the first terminal, sending a verification request to the second terminal;

[0112] When receiving the access consent command from the second terminal, a first access password is sent to the first terminal, so that the first terminal connects to the routing device based on the first access password.

[0113] In this embodiment, when the first terminal wants to connect to the routing device, the first terminal sends a network access request to the routing device. After receiving the network access request, the routing device sends a verification request to the second terminal, that is, sends a verification SMS to the second terminal. Then the second terminal can reply "yes" or "no" through the SMS, where replying "yes" means agreeing to the access command, and replying "no" means disagreeing to the access command. In addition, the access command can also be issued through the app installed on the second terminal, which is not limited here.

[0114] When the routing device receives the access consent command from the second terminal, the routing device will send a first access password to the first terminal, where the first access password can be a random SMS verification code or an SMS link method. After completing the authentication of the first terminal device, it accesses the network of the routing device, which is not limited here.

[0115] It is worth noting that when the first terminal accesses the routing device, the routing device will record the access times of the first terminal and also bind the access times with the identity information of the first terminal so as to limit the access times of the first terminal.

[0116] In another optional embodiment, before the target terminal sends the verification request, the method further includes:

[0117] Determine the access number of the first terminal based on the identity information;

[0118] When the access number is not the first time and is less than or equal to the preset access number, determine the second access password based on the identity information, so that the first terminal connects to the routing device according to the second access password;

[0119] When the access times are greater than the preset access times, the access times are cleared, and the process returns to the step of sending a verification request to the second terminal.

[0120] In this embodiment, each time the first terminal accesses the routing device, the routing device can determine the access number of the first terminal through the identity identification information. When the access number is the first time, it is necessary to send a verification request to the second terminal. When the second terminal agrees to access, the first terminal accesses the routing device through a random SMS verification code; when the access number is not the first time and is less than or equal to the preset access number, the routing device can automatically set the second access password according to the identity identification information of the first terminal, and the first terminal accesses the routing device through the second access password; when the access number is greater than the preset access number, the processing method is the same as the first access, and the access number is re-recorded. After the second terminal agrees, the routing device sends a random SMS verification code to complete the verification.

[0121] For example, when the preset access times is 5 times, the first terminal accesses the routing device for the first time through a random SMS verification code, and can use identity information to access the routing device for the second, third, fourth and fifth accesses. During the sixth access, the routing device will send a verification request to the second terminal, and if the second terminal agrees, it will send a random SMS verification code to the first terminal to connect to the routing device.

[0122] This not only improves network security, but also reduces the impact of the first terminal accessing the routing device on the routing device network.

[0123] In another embodiment, before S102, the method may further include:

[0124] Obtain a connection terminal connected to a routing device;

[0125] When the number of connected terminals is zero, the process returns to the step of determining the first distance according to the position of the first terminal and the position of the routing device.

[0126] In this embodiment, for holidays, the user holding the second terminal may not be in the room. At this time, it is necessary to strengthen the security warning of the room. Therefore, by judging the connection terminal of the routing device, the security monitoring of the room can be strengthened when the user holding the second terminal is not in the room. At the same time, when the user holding the second terminal is not in the room, the above-generated warning strategy should be upgraded, for example: when the first distance is less than or equal to the first warning distance, send warning information to the primary terminal and the secondary terminal;

[0127] When the first distance is less than or equal to the third warning distance, calling the secondary terminal and the primary terminal;

[0128] When the first distance is less than or equal to the second warning distance, calls are made to the primary terminal and the secondary terminal.

[0129] See also Figure 4 The embodiment of the present application further provides a safety warning device 400, which may include:

[0130] The acquisition module 401 is used to acquire the identity information of the first terminal when the first terminal is detected;

[0131] A determination module 402, configured to determine a first distance according to a location of the first terminal and a location of the routing device when the identity information does not belong to a preset user;

[0132] A generating module 403, configured to generate an early warning strategy according to the first distance and a preset network safety distance, wherein the preset safety distance is determined based on a network coverage range of the routing device;

[0133] The warning module 404 is used to issue a warning to the second terminal according to the warning strategy, where the second terminal is a terminal bound to a preset user in the routing device.

[0134] As an optional implementation, the generating module 403 may further specifically include:

[0135] An acquisition unit, used to acquire space parameters of the space where the routing device is located and network parameters of the routing device, where the network parameters include network coverage;

[0136] A first determining unit is used to determine a network center position based on a spatial parameter and a network coverage range, where the network center position indicates a location where network distribution is concentrated in space;

[0137] The second determining unit is used to determine a preset network security distance based on the network center position and network parameters.

[0138] As an optional implementation manner, the second determining unit may also be specifically configured to:

[0139] When the network parameters include network bandwidth, network attenuation coefficient and network strength coefficient, the construction material information, weather change information and network bandwidth corresponding to the space are obtained;

[0140] Determine the network attenuation coefficient and network strength coefficient in a preset network parameter comparison table based on construction material information and weather change information;

[0141] The preset network security distance is determined based on the network center location, network bandwidth, network attenuation coefficient and network strength coefficient.

[0142] As an optional implementation, the generating module 403 may also be specifically used for:

[0143] The warning distance is divided based on the preset network security distance, and the warning distance includes a first warning distance and a second warning distance;

[0144] When the first distance is less than or equal to the first warning distance, sending a warning text message to the second terminal;

[0145] When the first distance is less than or equal to the second warning distance, making a call to the second terminal;

[0146] Among them, the first warning distance is greater than the second warning distance.

[0147] As an optional implementation manner, when the identity identification information is not the preset user identity identification information, the security warning device may further specifically include:

[0148] A verification module, configured to send a verification request to a second terminal in response to a network access request of the first terminal;

[0149] The sending module is used to send the first access password to the first terminal when receiving the access consent command from the second terminal, so that the first terminal connects to the routing device based on the first access password.

[0150] As an optional implementation, the verification module is further specifically used for:

[0151] Determine the access number of the first terminal based on the identity information;

[0152] When the access number is not the first time and is less than or equal to the preset access number, determine the second access password based on the identity information, so that the first terminal connects to the routing device according to the second access password;

[0153] When the access times are greater than the preset access times, the access times are cleared, and the process returns to the step of sending a verification request to the second terminal.

[0154] As an optional implementation, the determination module 402 may also be specifically configured to:

[0155] Obtain a connection terminal connected to a routing device;

[0156] When the number of connected terminals is zero, the process returns to the step of determining the first distance according to the position of the first terminal and the position of the routing device.

[0157] Figure 5 A schematic diagram of the hardware structure of a routing device provided in an embodiment of the present application is shown.

[0158] The routing device may include a processor 501 and a memory 502 storing computer program instructions.

[0159] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0160] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In one example, the memory 602 may include a removable or non-removable (or fixed) medium, or the memory 502 is a non-volatile solid-state memory. The memory 502 may be inside or outside the integrated gateway disaster recovery device.

[0161] In one example, the memory 502 may be a read-only memory (ROM). In one example, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0162] The memory 502 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the video query method according to the first aspect of the present disclosure.

[0163] The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement Figure 1 A safety early warning method in the illustrated embodiment.

[0164] In one example, the routing device may further include a communication interface 503 and a bus 504. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 504 and communicate with each other.

[0165] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0166] Bus 504 includes hardware, software or both, and couples the components of routing equipment to each other. For example, but not limitation, bus may include accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, front side bus (Front Side Bus, FSB), Hyper Transport (Hyper Transport, HT) interconnection, industry standard architecture (Industry Standard Architecture, ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 504 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0167] The routing device can execute the security warning method in the embodiment of the present application, thereby realizing the combination Figure 1-Figure 4 Described safety warning method and device.

[0168] In addition, in combination with the security warning method in the above embodiment, the embodiment of the present application can provide a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the security warning methods in the above embodiment is implemented.

[0169] In an optional embodiment, in combination with the security warning method in the above embodiment, the embodiment of the present application can provide a computer program product for implementation, and the instructions in the computer program product are executed by the processor of the routing device, so that the routing device can implement any one of the security warning methods in the above embodiment.

[0170] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0171] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0172] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0173] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0174] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A safety early warning method, characterized in that: Applied to a routing device, the method comprises: When a first terminal is detected, obtaining identity information of the first terminal; When the identity information is not preset user identity information, determining a first distance according to a location of the first terminal and a location of the routing device; generating an early warning strategy according to the first distance and a preset network security distance, wherein the preset security distance is determined based on the network coverage of the routing device; An alarm is sent to a second terminal according to the early warning strategy, where the second terminal is a terminal bound to a preset user in the routing device.

2. The method according to claim 1, characterized in that Before generating an early warning strategy according to the first distance and a preset network security distance, the method further includes: Acquire space parameters of the space where the routing device is located and network parameters of the routing device, wherein the network parameters include network coverage; Determine a network center position based on the spatial parameters and the network coverage, wherein the network center position represents a location where the network distribution is concentrated in the space; A preset network security distance is determined based on the network center position and network parameters.

3. The method according to claim 2, characterized in that The network parameters also include at least one of network bandwidth, network attenuation coefficient and network strength coefficient; the determining of the preset network security distance based on the network center position and the network parameters includes: In a case where the network parameters include network bandwidth, network attenuation coefficient, and network strength coefficient, obtaining construction material information, weather change information, and network bandwidth corresponding to the space; Determine the network attenuation coefficient and the network strength coefficient in a preset network parameter comparison table based on the construction material information and weather change information; The preset network security distance is determined according to the network center position, network bandwidth, network attenuation coefficient and network strength coefficient.

4. The method according to claim 1, characterized in that: The determining of the early warning strategy based on the first distance and the preset safety distance includes: Dividing the warning distance based on the preset network security distance, the warning distance includes a first warning distance and a second warning distance; When the first distance is less than or equal to the first warning distance, sending a warning text message to the second terminal; When the first distance is less than or equal to the second warning distance, making a call to the second terminal; Wherein, the first warning distance is greater than the second warning distance.

5. The method according to claim 1, characterized in that In the case where the identity identification information is not preset user identity identification information, the method further includes: In response to the network access request of the first terminal, sending a verification request to the second terminal; When receiving the access consent command from the second terminal, a first access password is sent to the first terminal, so that the first terminal connects to the routing device based on the first access password.

6. The method according to claim 5, characterized in that Before the target terminal sends the verification request, the method further includes: Determine the access number of the first terminal based on the identity information; When the access number is not the first time and is less than or equal to the preset access number, determine a second access password based on the identity information, so that the first terminal connects to the routing device according to the second access password; When the access number is greater than the preset access number, the access number is cleared, and the process returns to the step of sending a verification request to the second terminal.

7. The method according to any one of claims 1 to 6, characterized in that Before determining the first distance according to the position of the first terminal and the position of the routing device, the method further includes: Acquire a connection terminal connected to the routing device; When the number of the connected terminals is zero, the process returns to the step of determining the first distance according to the position of the first terminal and the position of the routing device.

8. A safety warning device, characterized in that: include: An acquisition module, configured to acquire identity information of the first terminal when a first terminal is detected; a determination module, configured to determine a first distance according to a location of the first terminal and a location of the routing device when the identity information does not belong to a preset user; A generating module, configured to generate an early warning strategy according to the first distance and a preset network safety distance, wherein the preset safety distance is determined based on the network coverage of the routing device; The early warning module is used to issue an early warning to the second terminal according to the early warning strategy, and the second terminal is a terminal bound to a preset user in the routing device.

9. A routing device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the network security protection method as described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the network security protection method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that When the instructions in the computer program product are executed by the processor of the routing device, the routing device executes the network security protection method according to any one of claims 1 to 7.