CN113406696B - Method and equipment for realizing earthquake monitoring of mobile equipment - Google Patents

Method and equipment for realizing earthquake monitoring of mobile equipment Download PDF

Info

Publication number
CN113406696B
CN113406696B CN202110610083.6A CN202110610083A CN113406696B CN 113406696 B CN113406696 B CN 113406696B CN 202110610083 A CN202110610083 A CN 202110610083A CN 113406696 B CN113406696 B CN 113406696B
Authority
CN
China
Prior art keywords
seismic
sensor
virtual
processor
mobile device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110610083.6A
Other languages
Chinese (zh)
Other versions
CN113406696A (en
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Meihuan Technology Co ltd
INSTITUTE OF CARE-LIFE
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Chengdu Meihuan Technology Co ltd
INSTITUTE OF CARE-LIFE
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Meihuan Technology Co ltd, INSTITUTE OF CARE-LIFE, Beijing Xiaomi Mobile Software Co Ltd filed Critical Chengdu Meihuan Technology Co ltd
Priority to CN202110610083.6A priority Critical patent/CN113406696B/en
Publication of CN113406696A publication Critical patent/CN113406696A/en
Application granted granted Critical
Publication of CN113406696B publication Critical patent/CN113406696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G01V1/01
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V1/00Seismology; Seismic or acoustic prospecting or detecting
    • G01V1/28Processing seismic data, e.g. analysis, for interpretation, for correction
    • G01V1/288Event detection in seismic signals, e.g. microseismics
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V1/00Seismology; Seismic or acoustic prospecting or detecting
    • G01V1/28Processing seismic data, e.g. analysis, for interpretation, for correction
    • G01V1/30Analysis
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/10Alarms for ensuring the safety of persons responsive to calamitous events, e.g. tornados or earthquakes

Abstract

The invention provides a method and equipment for realizing earthquake monitoring of mobile equipment, and belongs to the technical field of earthquake monitoring. The method comprises the following steps: standardizing virtual seismic sensors and designating registers mapped with the virtual seismic sensors; allowing the bottom processor to identify suspected seismic events and calculate seismic key data; configuring the underlying processor for writing the seismic critical data to the register; the intervention main processor is used for obtaining the seismic key data through the sensor events of the virtual seismic sensor; configuring the main processor to transmit the seismic critical data to a seismic processing center.

Description

Method and equipment for realizing earthquake monitoring of mobile equipment
Technical Field
The invention relates to the technical field of earthquake monitoring, in particular to a method for realizing earthquake monitoring of mobile equipment, the mobile equipment and a computer readable storage medium.
Background
In the world, a few earthquake early warning systems exist at present, and generally rely on monitoring networks formed by traditional professional earthquake fixed monitoring stations and other devices, and the monitoring networks exist in a few countries. Thus, although these devices can detect the occurrence of seismic activity, they may detect earthquakes in only a few areas around the world, providing earthquake warning in areas where there is a monitoring network, and making it difficult to provide earthquake warning in areas outside of the monitoring network.
At present, the preservation quantity of mobile devices such as global smart phones and smart tablets reaches billions, most smart phones and smart tablets are provided with acceleration sensors, and the mobile devices are used for earthquake monitoring to perform some work in experimental environments. However, practice shows that the mobile device is mainly used as a mobile communication tool of a user, the mobile device inevitably faces random events which are larger than the mobile device, which will cause vibration of the mobile device, and if the mobile device detects the vibration of the mobile device, the mobile device needs to process the vibration, which will cause large power consumption of the mobile device in processing the monitored vibration data, and affect the user experience of the mobile device.
Therefore, how to use the mobile device for earthquake monitoring is a difficult problem to be solved.
Disclosure of Invention
The invention aims to provide a method and equipment for realizing earthquake monitoring of mobile equipment, which can avoid the difficulty of long-term communication between an earthquake monitoring program of the mobile equipment and an earthquake processing center and the influence of the execution of the earthquake monitoring program on the use of the mobile equipment by a user, thereby improving the practical usability and use cost of the mobile equipment for earthquake monitoring.
In order to achieve the above object, an embodiment of the present invention provides a method for implementing seismic monitoring of a mobile device, where the mobile device includes an underlying processor and a main processor, the method including:
standardizing virtual seismic sensors and designating registers mapped with the virtual seismic sensors;
permitting the bottom processor to identify suspected seismic events and calculate seismic key data;
configuring the underlying processor for writing the seismic critical data to the register;
intervening the main processor for obtaining the seismic critical data through sensor events of the virtual seismic sensor;
configuring the main processor for transmitting the seismic critical data to a seismic processing center.
Specifically, the mobile device further includes an acceleration sensor, and the normative virtual seismic sensor includes:
creating a virtual sensor instance on a hardware abstraction layer based on the acceleration sensor and the bottom processor, and obtaining a sensor handle of the virtual sensor instance, wherein the type identifier of the virtual sensor instance is a seismic sensor;
and taking the virtual sensor instance as a virtual seismic sensor.
Specifically, the normative virtual seismic sensor further includes:
registering the virtual seismic sensor in an operating system of the mobile device, wherein the virtual seismic sensor is permitted to be a wake-up sensor.
Specifically, the permitting the underlying processor to identify suspected seismic events and calculate seismic key data includes:
permitting the underlying processor to be configured with a monitoring application configured to:
acquiring real-time data of the acceleration sensor,
identifying whether the acquired real-time data is a suspected seismic event or not based on a characteristic identification algorithm of the seismic waves,
and when the real-time data is identified to be a suspected seismic event, calculating the seismic key data based on a seismic key data processing algorithm.
Specifically, before the intervention of the main processor for obtaining the seismic critical data through the sensor events of the virtual seismic sensor, the method further comprises:
permitting the host processor to be configured with a transmission application for the seismic critical data, the transmission application to:
obtaining the seismic key data from sensor events of the virtual seismic sensors.
Specifically, the transmission application is specifically configured to:
obtaining the seismic key data in sensor events of the virtual seismic sensor through a callback function, wherein,
the callback function is configured to register with an operating system of the mobile device through the sensor handle.
Specifically, before the intervention of the main processor for obtaining the seismic critical data through the sensor events of the virtual seismic sensor, the method further comprises:
configuring the underlying processor to send an interrupt signal to the primary processor while the primary processor is in a sleep state.
Specifically, the intervening main processor is configured to obtain the seismic key data through sensor events of the virtual seismic sensor, and includes any one of:
when the main processor is not in a dormant state and the sensor event is not generated, selecting the process of transmitting the application program to be in a blocking state;
when the main processor is not in the dormant state and the sensor event is generated, selecting the process of transmitting the application program as an operating state, and reading the sensor event;
and when the main processor is not in the dormant state, the process of the transmission application program is placed in a ready queue, wherein the process has the highest priority of the ready queue.
Specifically, the method further comprises:
intervening the main processor for authenticating the transmitting application,
and if the hardware unique identifier of the mobile equipment and the timestamp record of the manufacturer server of the mobile equipment accessed by the transmission application program are consistent with the hardware unique identifier and the timestamp record recorded on the manufacturer server, the authentication is passed.
Specifically, the configuring the main processor to transmit the seismic critical data to a seismic processing center includes:
configuring the transfer application to:
sending the obtained seismic key data to a seismic processing center, or
And sending the obtained earthquake key data to a manufacturer server of the mobile equipment, so that the manufacturer server forwards the earthquake key data to an earthquake processing center.
In yet another aspect, an embodiment of the present invention provides a mobile device, which includes an underlying processor and a main processor,
the bottom processor is licensed for identifying suspected seismic events and calculating seismic key data;
the underlying processor is configured to write the seismic critical data to a register, wherein the register is designated as a register mapped with a canonical virtual seismic sensor;
the main processor is interposed for obtaining the seismic critical data by sensor events of the virtual seismic sensors;
the host processor is configured for transmitting the seismic critical data to a seismic processing center.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the foregoing method.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a schematic diagram of the main steps of the method according to the embodiment of the present invention;
fig. 2 is a schematic diagram of an exemplary monitoring architecture according to an embodiment of the present invention.
Detailed Description
The following describes in detail embodiments of the present invention with reference to the drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
The applicant found that: with the installation of applications in mobile devices to attempt seismic monitoring, the following problems exist: 1. the application program is required to be in long connection with a server of the seismic processing center, the long connection has the problems of high power consumption, high data traffic consumption and the like, and the power consumption and the data traffic cost cause use burden on a user of the mobile equipment; 2. the process of the application program is easily killed by management programs such as background power management and the like, the application program is difficult to be online in real time, and the effect of real-time monitoring cannot be achieved. In this regard, embodiments of the present invention will provide a solution for seismic monitoring using mobile devices.
Example 1
The embodiment of the invention provides a method for realizing seismic monitoring of mobile equipment, which can be applied to the mobile equipment, wherein the mobile equipment can comprise a bottom layer processor and a main processor, and as shown in FIG. 1, the method can comprise the following steps:
s1) standardizing a virtual seismic sensor and a register which is mapped with the virtual seismic sensor;
s2) allowing the bottom processor to be used for identifying suspected earthquake events and calculating earthquake key data;
s3) configuring the bottom processor to write the seismic key data into the register;
s4) intervening in the main processor to obtain the seismic key data through sensor events of the virtual seismic sensor;
and S5) configuring the main processor to transmit the seismic key data to a seismic processing center.
In some implementations, the mobile device can include a cell phone, a smart tablet, etc., and the underlying processor and the main processor in the mobile device can both be microprocessors. The underlying processor may include one or more low power microprocessors such as Digital Signal Processors (DSPs), network Processors (NPUs) or deep learning Processors, microcontrollers, field Programmable Gate Arrays (FPGAs), hardware accelerators, etc., and has the characteristics of fast Processing of image, audio, and video data, efficient mathematical computation, and the capability of Processing sensor signals. The main processor may include a high power consumption microprocessor such as a Central Processing Unit (CPU), and the main processor has a high dominant frequency and can run most of codes and abundant applications in an operating system of the mobile device. In modern smart phones or tablets, a CPU, a DSP, an intellectual property core (IP core), and the like are generally integrated in a System-on-Chip (SoC) architecture, and the operating states of the CPU and the DSP may be determined by executing a specific instruction, monitoring a current of a specific circuit, reading a System log, observing infrared thermal imaging, and the like, so that whether the CPU and/or the DSP is in a sleep state may be determined. In the embodiment of the invention, aiming at the power consumption characteristics of the processor of the mobile equipment, the bottom processor is used for executing the earthquake monitoring, and the main processor is used for executing the earthquake key data transmission, so that the practical and feasible low-power consumption earthquake monitoring is realized.
Further, embodiments of the invention provide for the host processor to access and transfer data from the underlying processor using a standardized and implemented virtual seismic sensor. On a mobile device, the sensors may include physical sensors, including acceleration sensors, and may also include gyroscopes and/or magnetometers, and the like. A virtual (or simulated) sensor instance may be created on a mobile device for a particular operating system of the mobile device based on the sensor stack architecture defined by the operating system. For example, in the Android operating system, sensors such as a tilt detector, a linear accelerator, and a pedometer are all virtual sensor instances, such as a pedometer, which is a standardized virtual sensor instance defined according to a sensor stack architecture based on the underlying hardware of an acceleration sensor and an underlying processor. In view of this, in an exemplary example of the embodiment of the present invention, the virtual seismic sensor may be specified based on an Android operating system, where the specification may be to create a sensor according to a sensor stack architecture in an operating system of a mobile device, and specifically may include:
s101) based on an acceleration sensor and a bottom processor, creating a virtual sensor instance on a hardware abstraction layer, and obtaining a sensor handle of the virtual sensor instance, wherein the type identifier of the virtual sensor instance is a seismic sensor;
s102) taking the virtual sensor instance as a virtual seismic sensor.
Wherein, step S101) and step S102) may be executed by the manufacturer platform of the mobile device for the seismic processing center, or may be completed by the manufacturer platform license of the mobile device after being executed by the seismic processing center. In an advantageous embodiment, in step S101), in addition to the acceleration sensor, a gyroscope and/or a magnetometer, a temperature sensor, or the like may be used to assist, calibrate, the physical sensor, so as to achieve a higher accuracy of the virtual seismic sensor. In an operating system of the mobile device, the virtual seismic sensor can be registered with information such as the name, type, version, resolution, energy consumption and the like of the standard virtual seismic sensor; for example, in the Android operating system, the virtual seismic sensor may be registered to the sensor manager specifically with the aforementioned information in order to obtain system support; meanwhile, the virtual seismic sensor can be permitted to be a wake-up sensor or a sensor with a wake-up authority by the manufacturer platform, so that the mobile device main processor can be awakened in time in a dormant state, and data of the virtual seismic sensor can be transmitted within a certain time through an awakening mechanism. It should be noted that the vendor platform may be a (virtual or physical) server-based network element; the seismic processing center may be a (virtual or physical) server-based network element; in the embodiment of the present invention, a network element may be a virtual node or an entity device providing a service in a communication network; the permission can be that the manufacturer platform provides the seismic processing center with the required authority for implementing the seismic monitoring to the seismic processing center and/or the mobile equipment; with respect to whether or not to permit, illustratively, the permitted can be authenticated in any of the listed ways: whether any designated credentials or data are exchanged offline, whether any designated credentials or data are exchanged online, whether any designated credentials or data are present on the mobile device, whether any designated credentials or data are present as held by the seismic processing center, etc., although it is understood that other non-listed designated means or content may be present to authenticate; all statements herein may be understood as being within the scope of embodiments of the present invention.
The sensing data for the canonical virtual seismic sensors may be generated by the underlying processor and acceleration sensors. The sensed data may be recorded in a variety of ways, for example, registers mapped to virtual seismic sensors (with data) may be specified. In some cases, registers in the underlying processor may be directly designated as registers for data mapping with the virtual seismic sensors, at which time the sensed data may be synchronously transmitted so that the data generated by the underlying processor and the acceleration sensors are synchronously read in real time. In still other cases, a register in the underlying processor may be designated as a register having a data mapping with the virtual seismic sensor, and data generated by the underlying processor and the acceleration sensor may be recorded in the register, then retrieved from the register and mapped and recorded to a logical storage location, such as a buffer formed in a chain table, an array, etc., where the sensed data is data in the buffer, and the sensed data may be transmitted asynchronously, so as to reduce the difficulty of transmitting application data in the operating system of the mobile device. It is to be noted that the sensing data recording of the virtual seismic sensors can be implemented by using one or a combination of various ways according to actual needs.
In an advantageous disclosed embodiment, the vendor platform may specifically permit the underlying processor to be configured with a monitoring application configured for identifying suspected seismic events and calculating seismic critical data, which may be formed (e.g., compiled, packaged, etc.) by a seismic processing center. In particular, the monitoring application may be configured to:
s201) acquiring real-time data of the acceleration sensor;
s202) identifying whether the acquired real-time data is a suspected seismic event or not based on a seismic wave feature identification algorithm;
s203) when the real-time data are identified to be suspected seismic events, calculating seismic key data based on a seismic key data processing algorithm.
The seismic wave feature recognition algorithm may extract seismic feature data from real-time data (seismic data), determine a similarity probability between the seismic feature data and the seismic feature data corresponding to a reference seismic event, and if it is determined that the similarity probability exceeds a configured similarity probability threshold, recognize that the acquired real-time data is a suspected seismic event (the suspected seismic event may be a category, which is also equivalent to the case where the acquired real-time data is recognized as the category), that is, the seismic event that causes the mobile device to vibrate at present is the suspected seismic event. In the identification process, the current real-time data can be used, and the cached data of the acceleration sensor and the data after the current moment can be further used for identifying the seismic waves.
And selecting a corresponding data processing mode according to the actually used seismic key data. Illustratively, the seismic key data may include an identifier of a mobile device, a timestamp, latitude and longitude of the mobile device, and calculated P-wave arrival time, S-wave arrival time, intensity and Peak Displacement (PD), etc., and the identifier of the mobile device and the latitude and longitude, etc. data may not be currently transmitted but may be transmitted in a preconfigured manner at a specified time; for example, according to a calculation formula of the seismic key data such as the arrival time and intensity of the P-wave, a function corresponding to the calculation formula is used as a data processing mode used in a seismic key data processing algorithm. In the calculation process, the current real-time data and the cached data of the acceleration sensor can be used, and the data after the current moment can be further used to finish the calculation of the earthquake key data. The underlying processor may be configured to write the seismic critical data to the aforementioned register, thereby treating the seismic critical data as one of the sensed data of the virtual seismic sensor; it should be added that the sensing data of the virtual seismic sensor may also include data that is defined according to specific requirements and needs to be recorded, such as specific characteristic data of seismic waves.
The vendor platform may also permit the host processor to be configured with a transmission application for seismic critical data that is operable to:
s301) obtaining the seismic key data through the sensor events of the virtual seismic sensor.
Wherein the transfer application may be licensed as one of the applications of the operating system. The virtual seismic sensors may be assigned a reporting mode, and the sensor events of the virtual seismic sensors may be defined by a data structure of event content fields, which may be used to record one or more of the seismic critical data. For example, the reporting mode of the virtual seismic sensor in the Android operating system may be a continuous mode or a variable mode, etc., for example, the virtual seismic sensor may generate sensor events in the continuous mode according to a sampling rate parameter, which may be passed by the transmission application to a batch processing function in the sensor stack architecture.
The transfer application may be specifically configured to:
s311) obtaining seismic critical data in sensor events of the virtual seismic sensor through a callback function, wherein the callback function is configured to register in an operating system of the mobile device through a sensor handle; the callback function can also be called a listener, and can also be registered in an operating system of the mobile equipment through the type identifier of the sensor; the sensor handle and the type identifier of the sensor can be regarded as the sensor identifier. Therefore, the embodiment of the invention further realizes the purpose of sending the seismic key data generated by the bottom processor to the transmission application program through the virtual seismic sensor. Conversely, in general, in the operating system of the mobile device, the operating system usually masks an underlying processor (such as a DSP) to prevent an application program executed by a main processor in the operating system from directly accessing data of the underlying processor, which makes it difficult for a transmission application program to acquire data obtained by the underlying processor performing seismic monitoring.
In some cases, the underlying processor may be configured to send an interrupt signal to the main processor while the main processor of the mobile device is in a sleep state, thereby waking the main processor. Illustratively, this may be achieved by the aforementioned monitoring application, which may be used to trigger the sending of the interrupt electrical signal after identification of a suspected seismic event or after calculation of seismic critical data; wherein the sending of the interrupt signal may be triggered without determining whether the host processor is in a sleep state. It will be appreciated that the particular signal sent may be selected based on the sleep state of the main processor for program logic rationality. For example, when the host processor is in a sleep state, the sending of an interrupt signal may be triggered to wake up the host processor, while when the host processor is not in a sleep state, the sending of a message on the bus between the host processor and the underlying processor may be triggered to notify the host processor.
The host processor may be interposed for obtaining seismic critical data from sensor events of virtual seismic sensors, and may include any one of:
s401) when the main processor is not in a dormant state and a sensor event is not generated, selecting the process for transmitting the application program as a blocking state;
s402) when the main processor is not in a dormant state and a sensor event is generated, selecting a process for transmitting an application program as an operating state, and reading the sensor event to obtain earthquake key data in the sensor event;
s403), when the main processor is not in a dormant state, the process of the transmission application program is placed in a ready queue, wherein the process has the highest priority of the ready queue and is higher than the process of a typical application program in the ready queue, and the typical application program can comprise an entertainment application program, a social application program and the like.
Here, the execution order is not limited in steps S401) to S403). It should be noted that, in the process of seismic monitoring, the intervention may be that the hardware resource of the main processor is obviously used by the operating system or the application program (relative to the dormant state or the idle state), and the obvious use may be determined based on a specific instruction display, a current monitoring of a specific circuit, a system log record display or an infrared thermal display and the like.
In order to prevent implementation of security measures such as mobile device counterfeiting, device authentication may be performed on the mobile device, and the device authentication may include: an intervening host processor for authenticating the transmitting application; if the hardware unique identifier of the mobile equipment and the time stamp record of the manufacturer server for transmitting the application program to access the mobile equipment are both consistent with the hardware unique identifier and the time stamp record recorded on the manufacturer server, the authentication is passed; if one of the two is not consistent, the authentication is not passed and the vendor server of the vendor platform or the server of the seismic processing center may refuse to communicate with the mobile device. Wherein the device authentication may be performed after each boot of the mobile device and upon arrival of a specified authentication period, the mobile device may provide the hardware unique identifier and the timestamp record to the vendor server and receive the authentication result.
The authenticated mobile device may communicate with a vendor server and/or a server of the seismic processing center. Configuring a host processor for transmitting seismic critical data to a seismic processing center, comprising:
configuring the transfer application to:
s501) sending the obtained earthquake key data to a server of an earthquake processing center,
s502) sending the obtained earthquake key data to a manufacturer server of the mobile equipment, so that the manufacturer server forwards the earthquake key data to a server of an earthquake processing center.
The execution sequence is not limited in steps S501) to S502), and one of step S501) and step S502) may be specifically used, and step S502) may enable the vendor server to perform the data forwarding function and the data use witness function. The communication connection between the mobile equipment and the seismic processing center, the communication connection between the mobile equipment and the manufacturer server, and the communication connection between the manufacturer server and the seismic processing center can be encrypted; meanwhile, on the mobile equipment, encryption communication between the bottom processor and the main processor can be realized based on modes such as a security chip or system security service and the like, so that data security in a period from generation to uploading of the earthquake key data can be realized.
The embodiment of the invention provides an architecture for performing earthquake monitoring by using mobile equipment, wherein in the architecture, a bottom processor is used for executing earthquake monitoring, a main processor is used for executing the transmission of earthquake key data, a virtual earthquake sensor is proposed and used for the transmission of the earthquake key data of the bottom processor and the main processor, so that the execution of an example of the earthquake monitoring (program, code, instruction operation and the like) is isolated and protected in a bottom environment, the execution of the example of the earthquake key data transmission is limited in an operating system layer, the main processor and the bottom processor can timely obtain the earthquake key data to be transmitted by matching with the virtual earthquake sensor to break through an isolation shield of the operating system layer, the execution of the example of the earthquake monitoring can be executed in real time, the execution of the example of energy consumption is fundamentally limited, meanwhile, the counterfeiting and data tampering behaviors aiming at the mobile equipment for executing the monitoring are avoided, the earthquake monitoring on the mobile equipment with practical feasibility and reliability is successfully realized, and the mobile equipment is in the ground as the actual available earthquake monitoring equipment.
Specifically, the bottom processor is responsible for executing earthquake monitoring work through the monitoring application program, determining whether a suspected earthquake event exists in real time, calculating to obtain earthquake key data after the suspected earthquake event is determined, waking up or informing the main processor, obtaining the earthquake key data through the main processor based on the sensor event of the virtual earthquake sensor through the transmission application program, and finally completing uploading of the earthquake key data. The embodiment of the invention provides the virtual seismic sensor based on the physical sensor and the bottom processor of the mobile equipment for the first time, the normal dormancy of the main processor is not influenced in real time when a suspected seismic event is not monitored in the execution of the monitoring application program, the seismic key data are transmitted in time through the virtual seismic sensor when the suspected seismic event is monitored, and the application program is transmitted based on the execution of the hardware resource of the main processor, so that the fundamental limitation can be obtained, and the virtual seismic sensor has the characteristics of feasible use cost and power consumption; the key data (non-waveform data) of the earthquake are uploaded only when the suspected earthquake event is judged, and the characteristic of low flow consumption is achieved; the function of transmitting data to the server is arranged on an operating system layer, the process of transmitting the application program can not be killed by a system background management program, and compared with an earthquake monitoring scheme which is directly realized on the system layer by the application program, the earthquake monitoring system has the characteristic of reliability.
Example 2
The embodiment of the invention belongs to the same inventive concept as the embodiment 1, and provides a mobile device, which comprises a bottom layer processor and a main processor,
the bottom processor is licensed for identifying suspected seismic events and calculating seismic key data;
the underlying processor is configured to write the seismic critical data to a register, wherein the register is designated as a register mapped with a canonical virtual seismic sensor;
the main processor is interposed for obtaining the seismic critical data by sensor events of the virtual seismic sensors;
the host processor is configured for transmitting the seismic critical data to a seismic processing center.
In an exemplary embodiment of the present disclosure, as shown in fig. 2, the mobile device 100 of the embodiment of the present disclosure may be implemented by adjusting an operating system of the mobile device 100. The mobile device 100 has a Micro-Electro Mechanical Systems (MEMS) type sensor 101, the sensor 101 may include an acceleration sensor, a gyroscope, a magnetometer, etc., and the underlying processor 102 is configured with a monitoring application program after being adjusted, and the monitoring application program may be used for seismic data acquisition and seismic key data analysis processing of the sensor 101. The underlying processor 102 may write the seismic critical data into registers mapped with the canonical virtual seismic sensors 103, where the data may be mapped directly or via a buffer to the sensed data of the virtual seismic sensors 103. The underlying processor 102 may wake up or inform the main processor 104, the main processor 104 is allowed to be configured with a transmission application for transmission of seismic critical data, the main processor 104 is involved in obtaining the seismic critical data by sensor events of the virtual seismic sensors 103, in particular in obtaining the sensing data of the virtual seismic sensors 103 in a call-back manner by the transmission application, and finally the transmission application transmits the seismic critical data to a server 105, which may be a server of a seismic processing center or a vendor server of a vendor platform of the mobile device 100.
Specifically, the virtual seismic sensor is a virtual sensor instance; the virtual sensor instance is created at a hardware abstraction layer based on the acceleration sensor and the underlying processor; the type of the virtual sensor instance is identified as a seismic sensor.
In particular, the virtual seismic sensor is permitted to wake up as a sensor and register in the operating system of the mobile device.
In particular, the underlying processor is licensed with a monitoring application configured to:
acquiring real-time data of the acceleration sensor,
identifying whether the acquired real-time data is a suspected seismic event or not based on a characteristic identification algorithm of the seismic waves,
and when the real-time data is identified to be a suspected seismic event, calculating the seismic key data based on a seismic key data processing algorithm.
In particular, the host processor is licensed with a transmission application for the seismic critical data, the transmission application for:
obtaining the seismic key data through sensor events of the virtual seismic sensors.
Specifically, the transmission application is specifically configured to:
obtaining the seismic key data in sensor events of the virtual seismic sensor through a callback function, wherein,
the callback function is configured to register with an operating system of the mobile device through the sensor handle.
Specifically, the bottom layer processor is configured to send an interrupt signal to the main processor.
In particular, the main processor is interposed in particular for:
selecting a process of the transmitting application as a blocking state when the main processor is not in a sleep state and the sensor event is not generated;
when the main processor is not in the dormant state and the sensor event is generated, selecting the process of transmitting the application program as an operating state, and reading the sensor event;
and when the main processor is not in the dormant state, the process of the transmission application program is placed in a ready queue, wherein the process has the highest priority of the ready queue.
In particular, the main processor is interposed for: and authenticating the transmission application program, and if the hardware unique identifier of the mobile equipment and the timestamp record of the manufacturer server of the mobile equipment accessed by the transmission application program are consistent with the hardware unique identifier and the timestamp record recorded on the manufacturer server, the authentication is passed.
In particular, wherein the transfer application is configured to:
sending the obtained seismic key data to a seismic processing center, or
And sending the obtained earthquake key data to a manufacturer server of the mobile equipment, so that the manufacturer server forwards the earthquake key data to an earthquake processing center.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention do not describe every possible combination.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. While the foregoing storage media may be non-transitory, the storage media may include: a U-disk, a hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention can be made, and the embodiments of the present invention should also be regarded as the disclosure of the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (10)

1. A method for implementing seismic monitoring of a mobile device, the mobile device including an underlying processor and a main processor, the method implemented in the mobile device by adapting an operating system of the mobile device, the method comprising:
specifying a virtual seismic sensor and a register specifying a mapping with the virtual seismic sensor, the virtual seismic sensor being registered with the operating system;
permitting the bottom-layer processor to identify a suspected seismic event and calculate seismic critical data, the bottom-layer processor configured with a monitoring application to trigger the bottom-layer processor to send an interrupt signal to the main processor after the suspected seismic event is identified or after the seismic critical data is calculated, such that the main processor is awakened by the bottom-layer processor;
configuring the underlying processor for writing the seismic critical data to the register;
intervening the main processor for obtaining the seismic critical data through sensor events of the virtual seismic sensor;
configuring the main processor for transmitting the seismic critical data to a seismic processing center, the main processor configured with a transmission application,
the transmission application is configured to obtain seismic critical data in sensor events of the virtual seismic sensor via a callback function, wherein the callback function is configured to register with the operating system via a sensor identification of the virtual seismic sensor.
2. The method of implementing mobile device seismic monitoring of claim 1, the mobile device further comprising an acceleration sensor, the canonical virtual seismic sensor comprising:
creating a virtual sensor instance at a hardware abstraction layer based on the acceleration sensor and the bottom processor, and obtaining a sensor handle of the virtual sensor instance, wherein the type identifier of the virtual sensor instance is a seismic sensor;
and taking the virtual sensor instance as a virtual seismic sensor.
3. The method of implementing mobile device seismic monitoring of claim 2, wherein the virtual seismic sensor is a canonical virtual seismic sensor, wherein the virtual seismic sensor is licensed as a wake-up sensor.
4. The method of implementing mobile device seismic monitoring of claim 2, wherein said permitting said underlying processor to identify suspected seismic events and to calculate seismic key data comprises:
permitting the underlying processor to be configured with a monitoring application configured to:
acquiring real-time data of the acceleration sensor,
identifying whether the acquired real-time data is a suspected seismic event or not based on a characteristic identification algorithm of the seismic waves,
and when the real-time data are identified to be suspected seismic events, calculating the seismic key data based on a seismic key data processing algorithm.
5. The method of implementing mobile device seismic monitoring of claim 2, wherein prior to said intervening said host processor being used to obtain said seismic critical data from sensor events of said virtual seismic sensors, the method further comprises:
permitting the host processor to be configured with a transmission application for the seismic critical data, the transmission application to:
obtaining the seismic key data from sensor events of the virtual seismic sensors.
6. The method of implementing mobile device seismic monitoring of claim 5, wherein said intervening said host processor is configured to obtain said seismic critical data from sensor events of said virtual seismic sensors, comprising any of:
when the main processor is not in a dormant state and the sensor event is not generated, selecting the process of transmitting the application program to be in a blocking state;
when the main processor is not in the dormant state and the sensor event is generated, selecting the process of transmitting the application program as an operating state, and reading the sensor event;
and when the main processor is not in the dormant state, putting the process of the transmission application program into a ready queue, wherein the process has the highest priority of the ready queue.
7. The method of implementing mobile device seismic monitoring of claim 5, further comprising:
intervening the main processor for authenticating the transmitting application,
and if the hardware unique identifier of the mobile equipment and the timestamp record of the manufacturer server of the mobile equipment accessed by the transmission application program are consistent with the hardware unique identifier and the timestamp record recorded on the manufacturer server, the authentication is passed.
8. The method of implementing mobile device seismic monitoring of claim 5, wherein said configuring said main processor for transmitting said seismic critical data to a seismic processing center comprises:
configuring the transfer application to:
sending the obtained seismic key data to a seismic processing center, or
And sending the obtained earthquake key data to a manufacturer server of the mobile equipment, so that the manufacturer server forwards the earthquake key data to an earthquake processing center.
9. A mobile device comprising an underlying processor and a main processor, the mobile device being the mobile device in the method for implementing mobile device seismic monitoring of any of claims 1 to 8,
the bottom processor is licensed for identifying suspected seismic events and calculating seismic key data;
the underlying processor is configured to write the seismic critical data to a register, wherein the register is designated as a register mapped with a canonical virtual seismic sensor registered with an operating system of the mobile device,
the underlying processor is configured with a monitoring application for triggering the underlying processor to send an interrupt signal to the main processor after a suspected seismic event is identified or after seismic critical data is calculated, such that the main processor is awakened by the underlying processor;
the main processor is interposed for obtaining the seismic critical data by sensor events of the virtual seismic sensors;
the main processor configured for transmitting the seismic critical data to a seismic processing center, the main processor configured with a transmission application,
the transmission application is configured to obtain seismic critical data in sensor events of the virtual seismic sensor via a callback function, wherein the callback function is configured to register with the operating system via a sensor identification of the virtual seismic sensor.
10. A computer readable storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 8.
CN202110610083.6A 2021-06-01 2021-06-01 Method and equipment for realizing earthquake monitoring of mobile equipment Active CN113406696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110610083.6A CN113406696B (en) 2021-06-01 2021-06-01 Method and equipment for realizing earthquake monitoring of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110610083.6A CN113406696B (en) 2021-06-01 2021-06-01 Method and equipment for realizing earthquake monitoring of mobile equipment

Publications (2)

Publication Number Publication Date
CN113406696A CN113406696A (en) 2021-09-17
CN113406696B true CN113406696B (en) 2023-04-07

Family

ID=77675754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110610083.6A Active CN113406696B (en) 2021-06-01 2021-06-01 Method and equipment for realizing earthquake monitoring of mobile equipment

Country Status (1)

Country Link
CN (1) CN113406696B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2475235A1 (en) * 1980-02-04 1981-08-07 Mobil Oil Corp REAL-TIME CONTROL UNIT FOR SEISMIC EXPLORATION DEVICE AND METHOD OF OPERATING SAME
CA2087767A1 (en) * 1992-04-15 1993-10-16 Krishnamurthi Kannan System for distributed power management in portable computers
CA2068469A1 (en) * 1992-05-12 1993-11-13 Rachid Kadri Computer with system monitoring features
WO2001026068A1 (en) * 1999-10-06 2001-04-12 Sensoria Corporation Wireless networked sensors
AU2004202911A1 (en) * 1999-05-28 2004-07-22 Afx Technology Group International Wireless transceiver network employing node-to-node data messaging
US6832251B1 (en) * 1999-10-06 2004-12-14 Sensoria Corporation Method and apparatus for distributed signal processing among internetworked wireless integrated network sensors (WINS)
CA2515061A1 (en) * 2004-08-10 2006-02-10 Gerald Kampel Personal activity sensor and locator device
CA2568975A1 (en) * 2005-11-21 2007-05-21 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in operating systems, such as for example windows
CN101427916A (en) * 2008-12-05 2009-05-13 张锦景 Movable network terminating unit and method for monitoring electric physiological data and pathological image
CN102736101A (en) * 2012-06-19 2012-10-17 成都高新减灾研究所 Distributed type earthquake early warning information processing method and system
WO2018213283A1 (en) * 2017-05-17 2018-11-22 Saudi Arabian Oil Company Suppressing noises in seismic data
CN111338769A (en) * 2019-12-31 2020-06-26 深圳云天励飞技术有限公司 Data processing method and device and computer readable storage medium
CN112148421A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Virtual machine migration method and device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5826081A (en) * 1996-05-06 1998-10-20 Sun Microsystems, Inc. Real time thread dispatcher for multiprocessor applications
AUPR187800A0 (en) * 2000-12-04 2001-01-04 Electrical & Instrumentation Services Australia Pty Ltd Circuit monitoring device
CN1204762C (en) * 2002-03-22 2005-06-01 华为技术有限公司 Redundant disaster method for realizing adscription of location registers throuth mobile communication operating system
US8635612B2 (en) * 2005-04-29 2014-01-21 Microsoft Corporation Systems and methods for hypervisor discovery and utilization
JP4217254B2 (en) * 2006-07-06 2009-01-28 トップ・ビジネスサポート株式会社 Mobile type seismic wave detection alarm device
US8250382B2 (en) * 2007-08-22 2012-08-21 International Business Machines Corporation Power control of servers using advanced configuration and power interface (ACPI) states
GB2462258B (en) * 2008-07-28 2012-02-08 Advanced Risc Mach Ltd Interrupt control for virtual processing apparatus
WO2011103553A2 (en) * 2010-02-22 2011-08-25 Saudi Arabian Oil Company System, machine, and computer-readable storage medium for forming an enhanced seismic trace using a virtual seismic array
US9437094B2 (en) * 2014-03-12 2016-09-06 Google Inc. Non-radioactive ionizing smoke detectors and methods for use thereof
US9756118B2 (en) * 2014-04-28 2017-09-05 Vmware, Inc. Virtual performance monitoring decoupled from hardware performance-monitoring units
US20150378762A1 (en) * 2014-06-30 2015-12-31 Vmware, Inc. Monitoring and dynamic configuration of virtual-machine memory-management
US20160146957A1 (en) * 2014-11-26 2016-05-26 Cgg Services Sa Systems and methods for distributed seismic recording and analysis
WO2017083556A1 (en) * 2015-11-11 2017-05-18 The Regents Of The University Of California Myshake: smartphone-based earthquake early warning system
CN106775652A (en) * 2016-11-24 2017-05-31 武汉斗鱼网络科技有限公司 The method and device waken up to the application program of terminal
TWI620154B (en) * 2017-04-11 2018-04-01 楊偉智 User equipment, earthquake alert server and earthquake alert method thereof
CN112188034A (en) * 2020-09-29 2021-01-05 北京小米移动软件有限公司 Image processing method, device, terminal equipment and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2475235A1 (en) * 1980-02-04 1981-08-07 Mobil Oil Corp REAL-TIME CONTROL UNIT FOR SEISMIC EXPLORATION DEVICE AND METHOD OF OPERATING SAME
CA2087767A1 (en) * 1992-04-15 1993-10-16 Krishnamurthi Kannan System for distributed power management in portable computers
CA2068469A1 (en) * 1992-05-12 1993-11-13 Rachid Kadri Computer with system monitoring features
AU2004202911A1 (en) * 1999-05-28 2004-07-22 Afx Technology Group International Wireless transceiver network employing node-to-node data messaging
WO2001026068A1 (en) * 1999-10-06 2001-04-12 Sensoria Corporation Wireless networked sensors
US6832251B1 (en) * 1999-10-06 2004-12-14 Sensoria Corporation Method and apparatus for distributed signal processing among internetworked wireless integrated network sensors (WINS)
CA2515061A1 (en) * 2004-08-10 2006-02-10 Gerald Kampel Personal activity sensor and locator device
CA2568975A1 (en) * 2005-11-21 2007-05-21 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in operating systems, such as for example windows
CN101427916A (en) * 2008-12-05 2009-05-13 张锦景 Movable network terminating unit and method for monitoring electric physiological data and pathological image
CN102736101A (en) * 2012-06-19 2012-10-17 成都高新减灾研究所 Distributed type earthquake early warning information processing method and system
WO2018213283A1 (en) * 2017-05-17 2018-11-22 Saudi Arabian Oil Company Suppressing noises in seismic data
CN112148421A (en) * 2019-06-29 2020-12-29 华为技术有限公司 Virtual machine migration method and device
CN111338769A (en) * 2019-12-31 2020-06-26 深圳云天励飞技术有限公司 Data processing method and device and computer readable storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
何鹏举 ; 张捷 ; 张亮亮 ; .基于WiFi的超低功耗温湿度网络传感器设计.测控技术.2013,(02),全文. *
徐硕 等.北斗卫星通信在强震动台网数据传输中的应用.地震地磁观测与研究.2013,全文. *
马星宇 ; 石珩臻 ; 胡跃辉 ; 任旖旎 ; 康吴伟 ; 金韬 ; 王阳 ; 代飘 ; .可穿戴式多通道传感系统功能需求分析及设计.电脑知识与技术.2016,(36),全文. *
高珑 ; 杨学军 ; .高性能低功耗的容错编译技术:错误流压缩算法.软件学报.2006,(12),全文. *

Also Published As

Publication number Publication date
CN113406696A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN111612168B (en) Management method and related device for machine learning task
EP3161623B1 (en) Inferring periods of non-use of a wearable device
US10516651B2 (en) Securely routing sensor data from sensors to a trusted execution environment (TEE)
JP5350356B2 (en) Method and apparatus for managing security events
US10474814B2 (en) System, apparatus and method for platform protection against cold boot attacks
JP2021523490A (en) Reliable contextual content
US10075443B2 (en) System, apparatus and method for stateful application of control data in a device
CN105531712A (en) Data flow based behavioral analysis on mobile devices
CN104620253A (en) Method and apparatus for maintaining secure time
Min-Allah et al. A survey of COVID-19 contact-tracing apps
CN102667746A (en) Triggering actions based on changes in a network connection
Hogan et al. Contact tracing apps: lessons learned on privacy, autonomy, and the need for detailed and thoughtful implementation
CN109643348A (en) System monitor
CN104662441A (en) Reliability for location services
US11416601B2 (en) Method and system for improved data control and access
WO2009051336A1 (en) Apparatus and method for managing terminal users
WO2020197805A1 (en) Cryptographic hardware watchdog
CN113821803A (en) Security architecture system, security management method and computing device
Hoepman A critique of the google apple exposure notification (GAEN) framework
CN113406696B (en) Method and equipment for realizing earthquake monitoring of mobile equipment
EP3879783A1 (en) Data security processing method and terminal thereof, and server
CN108235276A (en) Sensor node operating system and sensor node operation method based on Internet of Things
WO2020211251A1 (en) Monitoring method and apparatus for operating system
CN111263310A (en) Alarm processing method and device, terminal equipment and computing equipment
CN114287002A (en) Electronic device for controlling access to device resources and method of operation thereof

Legal Events

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