Alarm Information Generation Method and Device

By obtaining and analyzing the recording logs of terminal equipment, including inclination changes, altitude changes and vibration frequency, the problem of insufficient data coverage in natural disaster monitoring is solved, and more flexible and efficient environmental status monitoring and feedback is achieved.

CN114077528BActive Publication Date: 2025-07-01NANJING SHANGWANG NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111390947.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2025-07-01
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

In the monitoring of natural disasters, especially in high-risk areas, it is difficult to effectively monitor and feedback the environmental status, resulting in a small data coverage area, small data volume and low monitoring capabilities.

Method used

By obtaining the recording log uploaded by the terminal device, including inclination change, altitude change and vibration frequency, in response to abnormal change information, a reference recording log located within the preset distance range is obtained, and an alarm information is generated to send.

Benefits of technology

Coordinate with the actual status of the first terminal equipment and the second terminal equipment, improve the flexibility and monitoring capabilities of environmental status monitoring and feedback, and improve the early warning and monitoring capabilities of natural disasters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114077528B_ABST
    Figure CN114077528B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an alarm information generation method and device. A specific implementation of this method includes: obtaining a record log uploaded by a first terminal device, where the record log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; in response to the record log recording abnormal change information, obtaining reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device; in response to the abnormal change information existing in the reference record logs, generating an alarm information and sending it. This implementation mode coordinates the actual states of the first terminal device and the second terminal device within a certain distance range to complete the monitoring and feedback of the environmental state, and can improve the flexibility and monitoring ability for the environmental state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and particularly to a method and device for generating alarm information. Background Art

[0002] Natural disasters are important hidden dangers threatening the lives and property of the people and economic development. Therefore, in contemporary society, the monitoring and prevention of natural disasters are an important part of social life.

[0003] In the related art, corresponding monitoring devices need to be set in areas with a relatively high probability of natural disasters, such as mountainous areas and coastal areas, so as to give feedback and alarms when there is a risk of natural disasters. This method not only requires directional setting in specific areas with high setting difficulty, but also has a small data coverage area and a small amount of data obtained, which is not conducive to completing the analysis of the environmental state and has a low monitoring ability when the environmental state is abnormal. Summary of the Invention

[0004] The embodiments of the present application propose a method and device for generating alarm information.

[0005] In a first aspect, the embodiments of the present application provide an alarm information generation method, which is applied to a server and includes: obtaining a record log uploaded by a first terminal device, where the record log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; in response to the record log recording abnormal change information, obtaining reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device; and in response to the reference record logs having the abnormal change information, generating and sending an alarm information.

[0006] In some embodiments, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: the change of the inclination angle change and / or altitude information is non-linear.

[0007] In some embodiments, the alarm information generation method further includes: dividing a map including each terminal device into multiple regions according to altitude, where the terminal devices include the first terminal device and the second terminal device, and the terminal devices belonging to the same region are at the same altitude; and the obtaining the reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device in response to the record log recording abnormal change information includes: obtaining the reference record logs uploaded by each of the second terminal devices in the region where the first terminal device is located in response to the record log recording abnormal change information.

[0008] In some embodiments, in response to the existence of the abnormal change information in the reference record log, an alarm message is generated and sent, including: in response to the number of reference record logs with the abnormal change information in the same target area exceeding a quantity threshold, generating an area alarm message for the target area.

[0009] In some embodiments, the generating and sending of the alarm message in response to the existence of the abnormal change information in the reference record log includes: generating area vibration prediction information for each area based on the record logs of the terminal devices included in each area, and summarizing the area vibration prediction information to generate complete vibration prediction information; generating an alarm message based on the complete vibration prediction information and sending it.

[0010] In some embodiments, the alarm message generation method further includes: in response to the existence of incoherent information in the complete vibration prediction information, determining the area corresponding to the incoherent information as an abnormal area; sending a log update request to each terminal device in the abnormal area, and updating the area vibration prediction information of the abnormal area based on the returned updated record logs.

[0011] In a second aspect, an embodiment of the present application provides an alarm message generation method, which is applied to a terminal device and includes: continuously recording at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device, and generating a record log; in response to meeting a preset sending condition, sending the record log to a server.

[0012] In some embodiments, sending the record log to the server in response to meeting a preset sending condition includes: in response to the record log recording abnormal change information, sending the record log to the server.

[0013] In some embodiments, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: the change in the inclination angle change and / or altitude information is non-linear.

[0014] In some embodiments, sending the record log to the server in response to meeting a preset sending condition includes: in response to the amplitude of the inclination angle change of the terminal device exceeding an amplitude threshold, sending the record log to the server.

[0015] In some embodiments, the alarm message generation method further includes: in response to receiving a log update request, returning an updated record log.

[0016] In a third aspect, an embodiment of the present application provides an alarm information generation device, which is disposed in a server and includes: a record log acquisition unit configured to acquire a record log uploaded by a first terminal device, where the record log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; a reference record log acquisition unit configured to, in response to the record log recording abnormal change information, acquire reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device; and an alarm information generation and sending unit configured to, in response to the abnormal change information existing in the reference record logs, generate and send alarm information.

[0017] In some embodiments, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: the change in the inclination angle change and / or altitude information is non-linear.

[0018] In some embodiments, the alarm information generation device further includes: a region division unit configured to divide a map including each terminal device into multiple regions according to altitude, where the terminal devices include the first terminal device and the second terminal device, and the terminal devices belonging to the same region are at the same altitude; and the reference record log acquisition unit is further configured to, in response to the record log recording abnormal change information, acquire the reference record logs uploaded by each of the second terminal devices in the region where the first terminal device is located.

[0019] In some embodiments, the alarm information generation and sending unit is further configured to, in response to the number of reference record logs with the abnormal change information in the same target region exceeding a quantity threshold, generate a region alarm information for the target region.

[0020] In some embodiments, the alarm information generation and sending unit includes: a complete vibration prediction subunit configured to generate region vibration prediction information for each region based on the record logs of the terminal devices included in each region, and summarize the region vibration prediction information to generate complete vibration prediction information; and an alarm information generation and sending subunit configured to generate and send alarm information based on the complete vibration prediction information.

[0021] In some embodiments, the alarm information generation device further includes: an abnormal region determination unit configured to, in response to incoherence information existing in the complete vibration prediction information, determine the region corresponding to the incoherence information as an abnormal region; and a region vibration prediction information update unit configured to send a log update request to each terminal device in the abnormal region, and update the region vibration prediction information of the abnormal region based on the returned updated record logs.

[0022] Fourth aspect, an embodiment of the present application provides an alarm information generation device, which is disposed in a terminal device and includes: a record log generation unit configured to continuously record at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device, and generate a record log; a record log sending unit configured to send the record log to a server in response to meeting a preset sending condition.

[0023] In some embodiments, the record log sending unit is further configured to send the record log to the server in response to the record log recording abnormal change information.

[0024] In some embodiments, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: the change of the inclination angle change and / or altitude information is non-linear.

[0025] In some embodiments, the record log sending unit is further configured to send the record log to the server in response to the inclination angle change amplitude of the terminal device exceeding an amplitude threshold.

[0026] In some embodiments, the alarm information generation device further includes: returning an updated record log in response to receiving a log update request.

[0027] Fifth aspect, an embodiment of the present application provides a computer device, which includes: one or more processors; a storage device storing one or more programs thereon; when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the first aspect, or implement the method described in any implementation manner of the second aspect.

[0028] Sixth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the method described in any implementation manner of the first aspect, or implements the method described in any implementation manner of the second aspect.

[0029] The alarm information generation method and device provided by the embodiments of the present application obtain a record log uploaded by a first terminal device, where the record log includes at least one of the continuously recorded inclination angle change, altitude change, and vibration frequency of the terminal device; in response to the record log recording abnormal change information, obtain reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device; in response to the abnormal change information existing in the reference record logs, generate and send alarm information. This implementation manner coordinates the actual states of the first terminal device and the second terminal device within a certain distance range to complete the monitoring and feedback of the environmental state, and can improve the flexibility and monitoring ability for the environmental state. Brief Description of the Drawings

[0030] Other features, objects, and advantages of the present application will become more apparent by reading the following detailed description of non - restrictive embodiments with reference to the accompanying drawings:

[0031] Figure 1 is an exemplary system architecture to which some embodiments of the present application can be applied;

[0032] Figure 2 is a flowchart of the first embodiment of the method for generating an alarm message according to the present application;

[0033] Figure 3 is a flowchart of the second embodiment of the method for generating an alarm message according to the present application;

[0034] Figure 4 is a flowchart of the third embodiment of the method for generating an alarm message according to the present application;

[0035] Figure 5a , 5b , 5c is an effect diagram of an application scenario of the method for generating an alarm message according to the present application;

[0036] Figure 6 is a schematic structural diagram of a computer system of a computer device suitable for implementing some embodiments of the present application. Detailed Description of the Embodiments

[0037] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only for explaining the related invention and not for limiting the invention. Additionally, it should be noted that for the sake of description, only parts related to the relevant invention are shown in the drawings.

[0038] It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the drawings and embodiments.

[0039] Figure 1 Illustrates an exemplary system architecture 100 of an embodiment in which the method for generating an alarm message of the present application can be applied.

[0040] As Figure 1 shown, the system architecture 100 may include devices 101, 102, 103, 104 and a network 105. The network 105 is used to provide a medium for communication links between the devices 101, 102, 103, 104. The network 105 may include various connection types, such as wired, wireless target communication links, or fiber optic cables, etc.

[0041] Devices 101, 102, 103, and 104 can be hardware devices or software that support network connections to provide various network services. When the device is hardware, it can be various electronic devices including but not limited to minicomputers, smartphones, tablets, and servers, etc. At this time, as a hardware device, it can be implemented as a distributed device group composed of multiple devices or as a single device. When the device is software, it can be installed in the above-listed electronic devices. At this time, as software, it can be implemented as multiple software or software modules used to provide distributed services, or as a single software or software module. No specific limitation is made here.

[0042] In practice, a device can provide corresponding network services by installing a corresponding client application or server application. After the device installs the client application, it can be embodied as a client in network communication. Correspondingly, after installing the server application, it can be embodied as a server in network communication.

[0043] As an example, in Figure 1 , devices 101, 102, and 103 are embodied as the first terminal device and the second terminal device, and device 104 is embodied as a server. For ease of understanding, taking the scenario where devices 101, 102, and 103 are shared bicycles as an example, devices 101, 102, and 103 can be information collection devices set in the shared bicycle (target object) or independently set in the shared bicycle, used to record the inclination information, altitude, vibration frequency, etc. of the position and pose of the shared bicycle, and can generate a record log of the above-recorded information, and send it to device 104 embodied as a server periodically or in a manner such as returning after receiving a fetch request.

[0044] Since the process of coordinating the record logs of each first terminal device and the second device and performing data analysis requires a large amount of storage resources and computing resources, the warning information generation method provided in the embodiments of the present application is usually executed by device 104 embodied as a server. Of course, in some application scenarios, when devices 101, 102, and 103 have storage capabilities and computing capabilities that meet the computing requirements, the same operations can also be completed by the above devices 101, 102, and 103, and then the same results as those of 104 embodied as a server can be output. At this time, in this case, the exemplary system architecture 100 may not include device 104 and the network 105 for communicating between devices 101, 102, and 103 and device 104. Further, in the case where there are multiple devices with different computing capabilities at the same time, other devices or the devices used by users can provide corresponding computing for the devices set in the shared bicycle. The present application does not limit this.

[0045] It should be understood that Figure 1The number of networks and devices in [it] is merely illustrative. According to implementation requirements, there can be any number of networks and devices.

[0046] Continue to refer to Figure 2 , which shows the process 200 of the first embodiment of the alarm information generation method according to the present application applied to a server. The alarm information generation method may include the following steps:

[0047] Step 201, obtain the recorded log uploaded by the first terminal device.

[0048] In this embodiment, the server (such as Figure 1 the server 104 shown) obtains the recorded log uploaded by the first terminal device (such as Figure 1 the devices 101, 102, 103 shown). The recorded log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously. Among them, the recorded log may also include information such as the movement trajectory of the first terminal device, so as to record and feedback the inclination angle change, altitude change, and vibration frequency of the position where the first terminal device is located by using the movement trajectory.

[0049] Among them, when the first terminal device does not have the ability to generate a recorded log or the cost of generating a recorded log by the first terminal device is higher than that of using the above-mentioned execution entity to generate a recorded log for the first terminal device, the first terminal device can also continuously send contents such as inclination angle change, altitude change, and vibration frequency to the above-mentioned execution entity. The above-mentioned execution entity can record and generate a recorded log according to the received contents. In this case, the above-mentioned execution entity can directly obtain the recorded log based on the local storage device. The local storage device can be a data storage module set in the above-mentioned execution entity, such as a server hard disk. Similarly, a non-local storage terminal independent of the above-mentioned execution entity and the first terminal device can also be used to store the above-mentioned contents and generate a corresponding recorded log, such as some user terminals, third-party databases, etc. Subsequently, the above-mentioned execution entity can obtain the corresponding recorded log by sending a recorded log acquisition request to the non-local storage terminal, so as to facilitate the user of the first terminal device to authorize whether the operator of the above-mentioned execution entity can obtain the recorded log. When the recorded log includes privacy information such as the user's trajectory information, information protection is provided for the user.

[0050] Step 202, in response to the recorded log recording abnormal change information, obtain the reference recorded logs uploaded by at least one second terminal device within a preset distance range of the first terminal device.

[0051] In this embodiment, when there is abnormal change information in the above-mentioned recorded log, at least one reference recorded log uploaded by a second terminal device within a preset distance range of the first terminal device is obtained. Among them, according to the different content types recorded in the recorded log, the manifestation form of the abnormal change information can also be different. For example, when the recorded content in the recorded log is the inclination angle change of the terminal device, a threshold value of the inclination angle change range of 30° can be correspondingly set. When there is an inclination angle change greater than 30°, it is determined that there is abnormal change information in the recorded log. Another example is that when the vibration frequency is recorded in the recorded log, the vibration frequency value recorded in the recorded log can be correspondingly set. When there is a vibration frequency record of 2 times / s, it is determined that there is abnormal change information in the recorded log.

[0052] Further, the map including each terminal device can be pre-divided into regions. Subsequently, when there is abnormal change information in the recorded log of the first terminal device, the second terminal device is determined based on the region where the first terminal device is located, so as to improve the determination efficiency of the second terminal device.

[0053] In this case, the region can also be divided according to different monitoring requirements in advance, so as to determine each terminal device that can be used to feedback the environmental state of the corresponding region according to the expectations of the corresponding monitoring, so as to improve the quality and efficiency of the monitoring.

[0054] In some embodiments, when the recorded log includes inclination angle change and / or altitude change, the abnormal change information includes: the change of the inclination angle change and / or altitude information is non-linear.

[0055] Specifically, when the inclination angle change and / or altitude change are recorded in the recorded log, it is also possible to judge whether the inclination angle change and / or altitude change that occur to the first terminal device are linear changes based on the inclination angle changes and / or altitude changes recorded in the recorded log, so as to distinguish whether the reasons for the inclination angle and altitude changes of the first terminal device come from normal situations or abnormal situations, so as to distinguish whether the influence on the first terminal device comes from sudden extreme situations such as earthquakes, typhoons, and tsunamis, and realize targeted environmental state monitoring.

[0056] Step 203, in response to the existence of the abnormal change information in the reference recorded log, generate an alarm message and send it.

[0057] In this embodiment, based on the reference record logs uploaded by at least one second terminal device obtained in the above step 202, the content at the time point of the abnormal change information in the reference record logs is extracted and parsed. When there is abnormal change information in the reference record logs, an alarm information is generated and sent. Among them, the abnormal change information recorded in the reference record logs can be of the same type as the abnormal change information recorded in the above record logs. For example, both the record logs and the reference record logs record abnormal inclination changes. Or they can be different. For example, the record logs record abnormal inclination changes, while the reference record logs record abnormal vibration frequency changes. At this time, according to the pre-configured conversion relationship between different content categories, it can be determined whether the abnormal change information recorded in the record logs and the abnormal change information recorded in the reference record logs are generated for the same reason, so as to determine whether there is abnormal change information in the reference record logs. For example, within 1 s, the record logs record that the inclination continuously changes to 10°, -5°, 10°, while the reference record logs record a vibration frequency of 3 times / s. If the two correspond, it can be determined that there is the abnormal change information in the reference record logs, so as to avoid misreading of information or inability to compare caused by differences in the acquisition capabilities of the first terminal device and the second terminal device and differences in the types of the acquired content.

[0058] Among them, when the content categories corresponding to the abnormal change information recorded in the record logs and the reference record logs are the same, an allowable error range can be pre-configured, so that when the difference between the abnormal change information recorded in the record logs and the reference record logs is within this error range, it is considered that the abnormal change information recorded in the record logs and the reference record logs is the same.

[0059] Further, in the process of generating the alarm information, corresponding prompt information, policy information, etc. can also be generated based on the content of the abnormal change information, and the generated alarm information is sent to the first terminal device, the second terminal device, the users who expect to use the first terminal device and / or the second terminal device, and the relevant personnel providing operation and maintenance work for the first terminal device and the second terminal device, so as to facilitate the relevant personnel to take precautions and make decisions.

[0060] The warning information generation method provided by the embodiment of the present application obtains the recorded log uploaded by the first terminal device, where the recorded log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; in response to the recorded log recording abnormal change information, obtains the reference recorded logs uploaded by at least one second terminal device within a preset distance range of the first terminal device; in response to the existence of the abnormal change information in the reference recorded logs, generates a warning information and sends it. This implementation method coordinates the actual states of the first terminal device and the second terminal device within a certain distance range to complete the monitoring and feedback of the environmental state, and can improve the flexibility and monitoring ability for the environmental state.

[0061] In some embodiments, the warning information generation method further includes: dividing the map including each terminal device into multiple regions according to altitude, where the terminal devices include the first terminal device and the second terminal device, and the terminal devices belonging to the same region are at the same altitude; and the step of, in response to the recorded log recording abnormal change information, obtaining the reference recorded logs uploaded by at least one second terminal device within a preset distance range of the first terminal device includes: in response to the recorded log recording abnormal change information, obtaining the reference recorded logs uploaded by each second terminal device in the region where the first terminal device is located.

[0062] Specifically, the map including each terminal device (the first terminal device and the second terminal device) can be divided into multiple regions based on altitude, so as to effectively monitor each terminal device at the same altitude, and use the recorded logs (or reference recorded logs) of the terminal devices at the same altitude for environmental monitoring, avoiding interference caused by factors such as altitude, and improving the monitoring quality.

[0063] In some embodiments, the step of, in response to the existence of the abnormal change information in the reference recorded logs, generating a warning information and sending it includes: in response to the number of reference recorded logs with the abnormal change information in the same target region exceeding the number threshold, generating a regional warning information corresponding to the target region.

[0064] Specifically, in the case where the regions of each terminal device (the first terminal device and the second terminal device) are divided, a corresponding number threshold can also be set for each region, where the number threshold can be determined according to the number of terminal devices existing in the region, or can be set according to the monitoring accuracy requirement. When the number of reference recorded logs with the abnormal change information in the region exceeds the number threshold, a response is made to directly generate a regional warning information corresponding to the region, so as to improve the feedback efficiency, quickly generate a warning information and feedback it, and reduce the possible losses caused by untimely warning.

[0065] Further reference is made to Figure 3 which shows the process 300 of the second embodiment of the warning information generation method of the present application after dividing the map including each terminal device into multiple regions based on the map altitude. The warning information generation method may include the following steps:

[0066] Step 301, divide the map including each terminal device into multiple regions according to the altitude.

[0067] In this embodiment, the map including each terminal device (the first terminal device and the second terminal device) can be divided into multiple regions based on the altitude, and each region includes terminal devices (the first terminal device and the second terminal device) at the same altitude.

[0068] In some embodiments, the altitude can also be divided into intervals according to the natural environment state, that is, the altitudes with similar natural environment states meeting the preset requirements are determined as the same altitude, so as to facilitate collaborative processing of regions with similar natural environment states and improve processing efficiency.

[0069] Step 302, in response to the abnormal change information recorded in the record log, obtain the reference record logs uploaded by each second terminal device located in the region where the first terminal device is located.

[0070] In this embodiment, in response to the abnormal change information recorded in the record log of the first terminal device, obtain the reference record logs uploaded by each second terminal device in the region where the first terminal device is located. This part is similar to the content in step 202 in the above Figure 2 shown embodiment. For the similar part, reference can be made to the relevant discussion in step 202 and will not be repeated.

[0071] Step 303, generate regional vibration prediction information for each region based on the record logs of the terminal devices included in each region, and summarize the regional vibration prediction information to generate complete vibration prediction information.

[0072] In this embodiment, in each region, vibration prediction information corresponding to each region is generated based on the record logs and reference record logs transmitted by the terminal devices included in each region. Among them, the vibration prediction information can be generated based on information such as the vibration frequency and altitude change transmitted by the terminal device, combined with the altitude of the region, to generate the regional vibration prediction information corresponding to the region. Among them, the vibration prediction information usually includes earthquake magnitude and wind force level. After generating the regional vibration prediction information for each region, it is summarized and spliced according to the geographical relationship between the regions to generate the complete vibration prediction information of the map.

[0073] In practice, generally, based on the gravity information of the first terminal device and / or the second terminal device itself, combined with the altitude change and vibration frequency generated by the first terminal device and / or the second terminal device, etc., the work information received by the first terminal device and / or the second terminal device is determined, and the energy generated by the regional vibration in the region is determined according to the work information, so as to determine the regional vibration prediction information.

[0074] Step 304, generate an alarm message based on the complete vibration prediction information and send it.

[0075] In this embodiment, an alarm message is generated and sent based on the complete vibration information generated in the above step 303. Further, according to the different recipients and acquisition requirements of the alarm message, as well as the location of the alarm message recipient, the corresponding area can be determined in the complete vibration prediction information to improve the flexibility of the alarm message configuration.

[0076] This embodiment is based on the above Figure 2 On the basis of the illustrated embodiment, further, the map can be divided based on the altitude, and then batch processing can be performed based on the conditions of each area to achieve effective monitoring of each area in the map.

[0077] In some embodiments, the alarm message generation method further includes: in response to the existence of incoherent information in the complete vibration prediction information, determining the area corresponding to the incoherent information as an abnormal area; sending a log update request to each terminal device in the abnormal area, and updating the regional vibration prediction information of the abnormal area based on the returned updated record log.

[0078] Specifically, during the process of generating the complete vibration prediction information, there is an area where the regional vibration prediction information cannot be determined, resulting in incoherent information in the complete vibration prediction information, or there is abnormal content in the complete vibration information generated based on the regional vibration prediction information of each area (for example, among areas A, B, and C with adjacent altitudes, the regional vibration prediction information determined for areas A and C can be linearly connected, while the regional vibration prediction information determined for area B cannot be linearly connected with areas A and C. At this time, it can be determined that the existing regional vibration prediction information for area B is abnormal). After determining the abnormal area corresponding to the incoherent information, a log update request is sent to each terminal device in the abnormal area, and the regional vibration prediction information of the abnormal area is updated based on the returned updated record log, so as to update the error content in the complete vibration prediction information and improve the quality of the complete vibration prediction information.

[0079] Continue to refer to Figure 4 which shows the flow 400 of the third embodiment of the alarm message generation method according to the present application, applied to a terminal device. The alarm message generation method may include the following steps:

[0080] Step 401: Continuously record at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device, and generate a record log.

[0081] In this embodiment, at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device can be collected by an inclination angle sensor, a barometric altitude sensor device, a vibration frequency sensor, etc. provided on the terminal device, and the collected results are continuously recorded to generate a corresponding record log.

[0082] Step 402: In response to meeting a preset sending condition, send the record log to the server.

[0083] In this embodiment, when the preset sending condition is met, the generated record log is sent to the server. The sending condition can usually be a time period condition, a collection frequency condition, etc. It can also be set to send the data within a preset time length and / or collection frequency range with the collection moment of the specific data as the origin to the server when specific data is collected.

[0084] In some embodiments, in response to meeting a preset sending condition, sending the record log to the server includes: in response to the record log recording abnormal change information, sending the record log to the server.

[0085] Specifically, when the record log records abnormal change information, a response is made to send the record log to the server. The abnormal change is usually determined based on a pre-configured threshold range, and the threshold range usually corresponds to a special scenario, so that the server can analyze the reason for the abnormal change and improve the monitoring quality.

[0086] For example, when the terminal device is embodied as a shared bicycle, it can be determined that when the inclination angle change of the shared bicycle is greater than 30°, the shared bicycle may be tilted due to external reasons. At this time, the record log is sent to the server so that the server can analyze the external reasons. In this way, the relevant information when abnormal change information occurs can be fed back to the server in a timely manner.

[0087] In some embodiments, the sending condition can also be set to respond when the inclination angle change amplitude of the terminal device exceeds an amplitude threshold, and send the record log to the server, so as to give feedback when the terminal device receives a physical impact corresponding to the amplitude threshold and reduce data interference.

[0088] The warning information generation method provided by the embodiments of the present application is such that the terminal device continuously records at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device, and after generating a record log, responds when a preset sending condition is met, and sends the record log to the server, so that the server can complete the monitoring and feedback of the environmental state based on the record logs uploaded by different terminal devices, which can improve the flexibility and monitoring ability of the environmental state.

[0089] In some embodiments, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: the change in the inclination angle change and / or altitude information is non-linear.

[0090] Specifically, when recording the inclination angle change and / or altitude change in the record log, when the change in the inclination angle change and / or altitude information is non-linear, the record log is fed back, so that the server can distinguish whether the influence on the first terminal device comes from sudden extreme situations such as earthquakes, typhoons, and tsunamis, and achieve targeted environmental state monitoring.

[0091] In some embodiments, the warning information generation method further includes: in response to receiving a log update request, returning an updated record log.

[0092] Specifically, when receiving a log update request, the record log is obtained based on the receiving time, and the obtained record log is returned as the updated record log, so as to provide updated data to the sender of the log update request and improve the content value of the record log.

[0093] For ease of understanding, an application scenario of the warning information generation method is provided below. In this application scenario, server A can receive the record log transmitted by the first terminal device B in the first area and the reference record log transmitted by the second terminal device C, generate a warning information, and then return it to the first terminal device B, the second terminal device C, and the user D who expects to use the first terminal device B, specifically as follows:

[0094] After server A obtains the record log uploaded by the first terminal device B, it determines that Figure 5a there is a non-linear inclination angle change in the record log as shown, and after obtaining the location information of the first terminal device B, it determines the reference record log uploaded by the second terminal C within a preset distance range of the first terminal device.

[0095] Based on the time when the abnormal change information is generated in the record log, it is determined that Figure 5bThe same abnormal change information also exists in the reference record log shown at this moment, and a response is made when the similarity between the abnormal change information always existing in the record log and the reference log meets the preset requirements (the error range of the inclination change amplitude value is within 5%, and the error range of the change time is within 1 s), an alarm message is generated and sent. As shown in 5c for reference, after server A generates "abnormal environmental status", it is pushed to the first terminal device B and the second terminal device C, and when controlling the first terminal device B and the second terminal device C to interact with the user, "abnormal environmental status" is presented for alarm. After server A generates "abnormal environmental status in the first area", it is pushed to user D for alarm.

[0096] The following refers to Figure 6 , which shows the structural schematic diagram of a computer system 600 of a computer device (such as Figure 1 the devices 101, 102, 103, 104 shown) suitable for use in implementing the embodiments of the present application. Figure 6 The computer device shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of the present application.

[0097] As Figure 6 shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage section 608 into the random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. The input / output (I / O) interface 605 is also connected to the bus 604.

[0098] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 605 including such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed so that the computer program read from it can be installed into the storage section 608 as needed.

[0099] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication section 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above functions defined in the method of the present application are executed.

[0100] It should be noted that the computer-readable medium described in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0101] Computer program code for performing the operations of this application can be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or electronic device. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions noted in the blocks may occur in a different order than noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0103] The units involved in the embodiments described in this application can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: A processor includes a recorded log acquisition unit, a reference recorded log acquisition unit, and an alarm information generation and sending unit. Among them, the names of these units do not constitute a limitation to the unit itself in this case. For example, the recorded log acquisition unit can also be described as "acquiring the recorded log uploaded by the first terminal device, where the recorded log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously". Another example, it can be described as: A processor includes a recorded log generation unit and a recorded log sending unit. Among them, the names of these units do not constitute a limitation to the unit itself in this case. For example, the recorded log generation unit can be described as "continuously recording at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device and generating a recorded log; the recorded log sending unit".

[0104] As another aspect, this application also provides a computer-readable medium. This computer-readable medium can be included in the computer device described in the above embodiments; or it can exist alone without being assembled into the computer device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the computer device, the computer device is caused to: acquire the recorded log uploaded by the first terminal device, where the recorded log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; in response to the recorded log recording abnormal change information, acquire the reference recorded log uploaded by at least one second terminal device within a preset distance range of the first terminal device; in response to the abnormal change information existing in the reference recorded log, generate alarm information and send it.

[0105] Or continuously record at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device and generate a recorded log; in response to meeting the preset sending condition, send the recorded log to the server.

[0106] The above description is only the preferred embodiments of this application and the description of the technical principles applied. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the technical solutions formed by mutually replacing the above features with the (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. A method for generating alarm information, which is applied to a server and includes: Dividing a map including each terminal device into multiple regions according to altitude, where the terminal devices include a first terminal device and a second terminal device, and the terminal devices belonging to the same region are at the same altitude; Obtaining a record log uploaded by the first terminal device, where the record log includes at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device recorded continuously; In response to the record log recording abnormal change information, obtaining reference record logs uploaded by at least one second terminal device within a preset distance range of the first terminal device, including: in response to the record log recording abnormal change information, obtaining reference record logs uploaded by each of the second terminal devices in the region where the first terminal device is located; In response to the existence of the abnormal change information in the reference record log, generating and sending an alarm information, including: in response to the existence of the abnormal change information in the reference record log, determining whether the abnormal change information recorded in the record log and the abnormal change information recorded in the reference record log are generated for the same reason according to the conversion relationship between different content categories configured in advance; in response to being generated for the same reason, generating and sending an alarm information.

2. The method according to claim 1, in response to the record log including an inclination angle change and / or an altitude change, the abnormal change information includes: The change of the inclination angle and / or altitude information is non-linear.

3. The method according to claim 1, wherein, The generating and sending an alarm information in response to the existence of the abnormal change information in the reference record log includes: In response to the number of reference record logs with the abnormal change information in the same target region exceeding a number threshold, generating a regional alarm information for the target region.

4. The method according to claim 1, wherein, The generating and sending an alarm information in response to the existence of the abnormal change information in the reference record log includes: Generating regional vibration prediction information for each region based on the record logs of the terminal devices included in each region, and summarizing the regional vibration prediction information to generate a complete vibration prediction information; Generating and sending an alarm information based on the complete vibration prediction information.

5. The method according to claim 4, further includes: In response to the existence of incoherent information in the complete vibration prediction information, determining the region corresponding to the incoherent information as an abnormal region; Sending a log update request to each terminal device in the abnormal region, and updating the regional vibration prediction information of the abnormal region based on the returned updated record logs.

6. A method for generating alarm information, which is applied to a terminal device and includes: Continuously recording at least one of the inclination angle change, altitude change, and vibration frequency of the terminal device, and generating a record log; In response to meeting a preset sending condition, send the recorded log to a server, where, in response to the recorded log recording abnormal change information, the server obtains reference recorded logs uploaded by at least one second terminal device within a preset distance range of the terminal device, including: in response to the recorded log recording abnormal change information, obtaining the reference recorded logs uploaded by each of the second terminal devices in the area where the terminal device is located, and the terminal device and the second terminal devices belonging to the same area are all at the same altitude; In response to the abnormal change information existing in the reference recorded log, generate and send an alarm message, including: in response to the abnormal change information existing in the reference recorded log, determine whether the abnormal change information recorded in the recorded log and the abnormal change information recorded in the reference recorded log are generated for the same reason according to the conversion relationship between different content categories configured in advance; in response to being generated for the same reason, generate and send an alarm message.

7. The method according to claim 6, wherein The step of, in response to meeting a preset sending condition, sending the recorded log to a server includes: In response to the recorded log recording abnormal change information, send the recorded log to the server.

8. The method according to claim 7, in response to the recorded log including an inclination angle change and / or an altitude change, the abnormal change information includes: The change of the inclination angle and / or altitude information is non-linear.

9. The method according to claim 8, wherein The step of, in response to meeting a preset sending condition, sending the recorded log to a server includes: In response to the change amplitude of the inclination angle of the terminal device exceeding an amplitude threshold, send the recorded log to the server.

10. The method according to claim 6, further includes: In response to receiving a log update request, return an updated recorded log.

11. A computer device includes: One or more processors; A storage device storing one or more programs thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-5, or implement the method according to any one of claims 6-10.

12. A computer-readable storage medium storing a computer program thereon, and when the computer program is executed by a processor, it implements the method according to any one of claims 1-5, or implements the method according to any one of claims 6-10.

Citation Information

Patent Citations

  • Information processing method, cloud server and mobile terminal

    CN104348894A

  • Composite geological disaster professional monitoring and early warning method and device

    CN112750280A