CN113794980A - Method and device for automatically uploading offline positioning data - Google Patents
Method and device for automatically uploading offline positioning data Download PDFInfo
- Publication number
- CN113794980A CN113794980A CN202110886178.0A CN202110886178A CN113794980A CN 113794980 A CN113794980 A CN 113794980A CN 202110886178 A CN202110886178 A CN 202110886178A CN 113794980 A CN113794980 A CN 113794980A
- Authority
- CN
- China
- Prior art keywords
- module
- positioning data
- area
- positioning
- offline
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and equipment for automatically uploading offline positioning data, and relates to the technical field of uploading of offline positioning data. The invention comprises the following steps: the main electronic module acquires offline positioning data from the positioning module and stores the positioning data and a time period corresponding to the positioning data into an M area of the storage module; when the device is shut down: the main power supply module cuts off power supply to the main electronic module, the positioning module and the storage module, and the secondary power supply module supplies power to the secondary electronic module, the positioning module and the storage module; the secondary electronic module acquires the offline positioning data from the positioning module and stores the offline positioning data and the corresponding time period into the S area of the storage module. According to the invention, through the mutual cooperation of the primary/secondary power supply module, the primary/secondary electronic module, the positioning module and the storage module, the offline positioning data generated under the offline environment of network abnormity, especially shutdown and the like can be automatically uploaded to the monitoring center, the integrity of the positioning information is ensured, and a data guarantee is provided for subsequent archiving and verification.
Description
Technical Field
The invention belongs to the technical field of offline positioning data uploading, and particularly relates to a method and equipment for automatically uploading offline positioning data.
Background
In public safety fields such as transportation, fire control, emergency command and the like, field personnel on duty are usually equipped with similar monitoring equipment such as a patrol instrument, an intelligent helmet and the like, and are used for carrying out video recording and evidence obtaining on the field on duty and providing current positioning information for a command center so as to carry out unified scheduling and management by the command center. In some cases, for example: fire rescue, emergency dispatch, field marathon, etc. may need to upload all positioning information of relevant personnel at the present time during working period, even all day to a command center for display, storage and recording, so as to be convenient for subsequent archiving and verification.
The current common solutions are: the monitoring equipment and the monitoring platform establish a data transmission channel through a wireless network (such as WiFi and 4G/5G), and after the monitoring equipment acquires the positioning information, the positioning information is uploaded to the monitoring center through the data transmission channel; when the network is not good or interrupted and the positioning information cannot be uploaded, the positioning information is cached, and the positioning information is uploaded again after the network is normal. However, this solution has a drawback: when the monitoring equipment is shut down due to the exhaustion of electric quantity or is manually and actively shut down, the positioning information in the shutdown time period is permanently lost, and the monitoring center cannot acquire and verify the position information of the staff on duty in the time period.
Disclosure of Invention
The invention aims to provide a method and equipment for automatically uploading offline positioning data, which solve the problem that the existing monitoring equipment cannot ensure the monitoring of the site position under the shutdown or network abnormal conditions by automatically uploading the offline positioning data generated under the offline environment such as the shutdown and the like to a monitoring center.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention relates to a method for automatically uploading offline positioning data, which comprises the steps of uploading data when a network is abnormal and uploading data when the network is shut down;
the data uploading process when the network is abnormal is as follows:
a00: the main electronic module acquires offline positioning data from the positioning module and stores the positioning data and a time period corresponding to the positioning data into an M area of the storage module;
a01: updating the write pointer of the M area and judging whether the current write pointer of the M area reaches the read pointer of the M area; if yes, the storage space is full; if not, executing A02;
a02: continuously storing the offline positioning data of the next period to the position of the current write pointer in the M area;
a03: after the network is recovered to be normal, transmitting the off-line positioning data stored in the M area to a monitoring center according to the sequence, and updating a reading pointer of the M area;
the data uploading process during shutdown is as follows:
b00: the main power supply module cuts off power supply to the main power module, the positioning module and the storage module;
b01: the secondary power supply module supplies power to the secondary electronic module, the positioning module and the storage module;
b02: the secondary electronic module acquires offline positioning data from the positioning module and stores the offline positioning data and the corresponding time period thereof into an S area of the storage module;
b03: updating the write pointer of the S area and judging whether the current write pointer of the S area reaches the read pointer of the S area; if yes, the storage space is full; if not, execute B04;
b04: continuously storing the offline positioning data of the next period to the position of the current write pointer in the S area;
b05: and when the system is started and the network is normal, transmitting the off-line positioning data stored in the S area to the monitoring center according to the sequence from beginning to end, and updating the reading pointer of the S area.
As a preferred technical solution, the storage module uses a flag bit to distinguish between the S area and the M area.
An automatic off-line positioning data uploading device comprises a main power supply module, a secondary power supply module, a main power supply module, a secondary electronic module, a positioning module and a storage module; the main power supply module is used for supplying power to the main electronic module, the positioning module and the storage module; the secondary power supply module is used for supplying power to the secondary electronic module, the positioning module and the storage module;
the main electronic module is used for acquiring positioning data from the positioning module and transmitting the positioning data to the monitoring center when the computer is started and the network is normal, and is also used for acquiring offline positioning data from the positioning module and storing the offline positioning data in the M area of the storage module when the network is abnormal; and the secondary electronic module is used for acquiring the offline positioning data from the positioning module and storing the offline positioning data into the S area of the storage module under the shutdown condition.
As a preferred technical scheme, the main electronic module comprises a video acquisition sensor, a microphone, a wireless transmission module and a display module; the video acquisition sensor and the microphone are used for acquiring audio and video data; the wireless transmission module is used for establishing a wireless data transmission channel with the monitoring center and transmitting data; and the positioning module is used for acquiring positioning data and offline positioning data.
As a preferred technical solution, after the computer is started and the network is normal, the offline positioning data stored in the S area is transmitted to the monitoring center according to the sequence, and the reading pointer of the S area is updated.
As a preferred technical scheme, after the network is recovered to normal, the offline positioning data stored in the M area is transmitted to the monitoring center according to the sequence, and the read pointer of the M area is updated.
The invention has the following beneficial effects:
according to the invention, through the mutual matching of the main/power supply module, the main/secondary electronic module, the positioning module and the storage module, the off-line positioning data generated under the off-line environment such as network abnormity, particularly shutdown and the like can be automatically uploaded to the monitoring center, the integrity of the positioning information is ensured, and data guarantee is provided for subsequent archiving and verification.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a data uploading process when a network is abnormal in an automatic offline positioning data uploading method according to the present invention;
fig. 2 is a flowchart illustrating a data uploading process when the system is powered off in the method for automatically uploading offline positioning data according to the present invention;
fig. 3 is a schematic structural diagram of an apparatus for automatically uploading offline positioning data according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention relates to a method for automatically uploading offline positioning data, which comprises the steps of uploading data when a network is abnormal and uploading data when the network is shut down; when the machine is started, the main power module supplies power to the main electronic module, the positioning module and the storage module, and the secondary power module and the secondary electronic module do not work; in a normal state of the network, the main electronic module acquires positioning data from the positioning module and uploads the positioning data to the monitoring center in real time;
referring to fig. 1, the data uploading process when the network is abnormal is as follows:
a00: the main electronic module acquires offline positioning data from the positioning module and stores the positioning data and a time period corresponding to the positioning data into an M area of the storage module;
a01: updating the write pointer of the M area and judging whether the current write pointer of the M area reaches the read pointer of the M area; if yes, the storage space is full; if not, executing A02;
a02: continuously storing the offline positioning data of the next period to the position of the current write pointer in the M area;
a03: after the network is recovered to be normal, transmitting the off-line positioning data stored in the M area to a monitoring center according to the sequence, and updating a reading pointer of the M area;
referring to fig. 2, the data uploading process during shutdown is as follows:
b00: the main power supply module cuts off power supply to the main power module, the positioning module and the storage module;
b01: the secondary power supply module supplies power to the secondary electronic module, the positioning module and the storage module;
b02: the secondary electronic module acquires offline positioning data from the positioning module and stores the offline positioning data and the corresponding time period thereof into an S area of the storage module;
b03: updating the write pointer of the S area and judging whether the current write pointer of the S area reaches the read pointer of the S area; if yes, the storage space is full; if not, execute B04;
b04: continuously storing the offline positioning data of the next period to the position of the current write pointer in the S area;
b05: and when the system is started and the network is normal, transmitting the off-line positioning data stored in the S area to the monitoring center according to the sequence from beginning to end, and updating the reading pointer of the S area.
In addition, the storage module adopts a flag bit to distinguish an S area and an M area; therefore, after the positioning data are uploaded to the monitoring center, the monitoring center can judge which positioning data are uploaded due to abnormal network and which positioning data are uploaded due to shutdown; meanwhile, the charging device is used for simultaneously charging the main power supply module and the secondary power supply module, when the charging device charges the main power supply module and the secondary power supply module, the main power supply module and the secondary power supply module do not supply power, and the main power supply module and the secondary power supply module do not work.
Referring to fig. 3, an apparatus for automatically uploading offline positioning data includes a main power module, a sub power module, a main electronic module, a sub electronic module, a positioning module, and a storage module; the main power supply module is used for supplying power to the main electronic module, the positioning module and the storage module; the secondary power supply module is used for supplying power to the secondary electronic module, the positioning module and the storage module; the main electronic module is used for acquiring positioning data from the positioning module and transmitting the positioning data to the monitoring center when the computer is started and the network is normal, and is also used for acquiring offline positioning data from the positioning module and storing the offline positioning data in the M area of the storage module when the network is abnormal; the secondary electronic module is used for acquiring offline positioning data from the positioning module under the shutdown condition and storing the offline positioning data into the S area of the storage module; in fact, the secondary electronic module adopts a design scheme with low power consumption, so that the power consumption is low, and long-time stable operation can be ensured.
Specifically, the main electronic module comprises a video acquisition sensor, a microphone, a wireless transmission module and a display module; the video acquisition sensor and the microphone are used for acquiring audio and video data; the wireless transmission module is used for establishing a wireless data transmission channel with the monitoring center and transmitting data; the positioning module is used for acquiring positioning data and offline positioning data; in fact, after the computer is started and the network is normal, the main electronic module obtains positioning data from the positioning module and uploads the positioning data to the monitoring center in real time; in addition, if the off-line positioning data exists in the storage module, the off-line positioning data is preferentially uploaded to the monitoring center.
When the intelligent network monitoring system is actually used, the main/secondary power supply module, the main/secondary electronic module, the positioning module and the storage module are matched with each other, so that offline positioning data generated under the offline environments of network abnormity, particularly shutdown and the like can be automatically uploaded to the monitoring center, the integrity of positioning information is ensured, and data guarantee is provided for subsequent archiving and verification.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above can be implemented by a program to instruct related hardware, and the corresponding program can be stored in a computer-readable storage medium.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.
Claims (6)
1. A method for automatically uploading offline positioning data is characterized by comprising data uploading when a network is abnormal and data uploading when the network is shut down;
the data uploading process when the network is abnormal is as follows:
a00: the main electronic module acquires offline positioning data from the positioning module and stores the positioning data and a time period corresponding to the positioning data into an M area of the storage module;
a01: updating the write pointer of the M area and judging whether the current write pointer of the M area reaches the read pointer of the M area; if yes, the storage space is full; if not, executing A02;
a02: continuously storing the offline positioning data of the next period to the position of the current write pointer in the M area;
a03: after the network is recovered to normal, transmitting the off-line positioning data stored in the M area to a monitoring center according to the sequence, and updating a read pointer of the M area;
the data uploading process during shutdown is as follows:
b00: the main power supply module cuts off power supply to the main power module, the positioning module and the storage module;
b01: the secondary power supply module supplies power to the secondary electronic module, the positioning module and the storage module;
b02: the secondary electronic module acquires offline positioning data from the positioning module and stores the offline positioning data and a time period corresponding to the offline positioning data into an S area of the storage module;
b03: updating the write pointer of the S area and judging whether the current write pointer of the S area reaches the read pointer of the S area; if yes, the storage space is full; if not, execute B04;
b04: continuously storing the offline positioning data of the next period to the position of the current write pointer in the S area;
b05: and after the computer is started and the network is normal, transmitting the off-line positioning data stored in the S area to the monitoring center according to the sequence, and updating the reading pointer of the S area.
2. The method and apparatus for automatically uploading offline positioning data according to claim 1, wherein the storage module uses a flag bit to distinguish between an S area and an M area.
3. The device for automatically uploading the offline positioning data is characterized by comprising a main power supply module, a secondary power supply module, a main electronic module, a secondary electronic module, a positioning module and a storage module; the main power supply module is used for supplying power to the main electronic module, the positioning module and the storage module; the secondary power supply module is used for supplying power to the secondary electronic module, the positioning module and the storage module;
the main electronic module is used for acquiring positioning data from the positioning module and transmitting the positioning data to the monitoring center when the computer is started and the network is normal, and is also used for acquiring offline positioning data from the positioning module and storing the offline positioning data in the M area of the storage module when the network is abnormal; and the secondary electronic module is used for acquiring the offline positioning data from the positioning module and storing the offline positioning data into the S area of the storage module under the shutdown condition.
4. The device for automatically uploading offline positioning data according to claim 3, wherein the main electronic module comprises a video acquisition sensor, a microphone, a wireless transmission module and a display module; the video acquisition sensor and the microphone are used for acquiring audio and video data; the wireless transmission module is used for establishing a wireless data transmission channel with the monitoring center and transmitting data; and the positioning module is used for acquiring positioning data and offline positioning data.
5. The device according to claim 4, wherein when the device is powered on and the network is normal, the main electronic module transmits the offline positioning data stored in the S area to the monitoring center in sequence, and updates the read pointer of the S area.
6. The method and device for automatically uploading offline positioning data according to claim 5, wherein after the network returns to normal, the main electronic module transmits the offline positioning data stored in the M area to the monitoring center in sequence, and updates the read pointer of the M area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110886178.0A CN113794980A (en) | 2021-08-03 | 2021-08-03 | Method and device for automatically uploading offline positioning data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110886178.0A CN113794980A (en) | 2021-08-03 | 2021-08-03 | Method and device for automatically uploading offline positioning data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113794980A true CN113794980A (en) | 2021-12-14 |
Family
ID=79181317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110886178.0A Pending CN113794980A (en) | 2021-08-03 | 2021-08-03 | Method and device for automatically uploading offline positioning data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113794980A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965427A (en) * | 2018-07-12 | 2018-12-07 | 北京万相融通科技股份有限公司 | A kind of method and device of offline inspection data processing |
CN211720745U (en) * | 2020-04-21 | 2020-10-20 | 广州粤建三和软件股份有限公司 | Remote data transmission terminal and system with storage and positioning functions |
US20210042247A1 (en) * | 2019-08-05 | 2021-02-11 | SK Hynix Inc. | Data processing system and operating method thereof |
CN112765054A (en) * | 2019-11-01 | 2021-05-07 | 中国科学院声学研究所 | High-speed data acquisition system and method based on FPGA |
-
2021
- 2021-08-03 CN CN202110886178.0A patent/CN113794980A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965427A (en) * | 2018-07-12 | 2018-12-07 | 北京万相融通科技股份有限公司 | A kind of method and device of offline inspection data processing |
US20210042247A1 (en) * | 2019-08-05 | 2021-02-11 | SK Hynix Inc. | Data processing system and operating method thereof |
CN112765054A (en) * | 2019-11-01 | 2021-05-07 | 中国科学院声学研究所 | High-speed data acquisition system and method based on FPGA |
CN211720745U (en) * | 2020-04-21 | 2020-10-20 | 广州粤建三和软件股份有限公司 | Remote data transmission terminal and system with storage and positioning functions |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107121606B (en) | Intelligent terminal for transformer substation operation and patrol | |
CN103076792B (en) | Perception transmission equipment administrating system | |
CN112653230A (en) | Robot battery protection method and device, electronic equipment and storage medium | |
CN205071221U (en) | Wearable job site situation record appearance | |
CN113794980A (en) | Method and device for automatically uploading offline positioning data | |
CN114092271A (en) | New energy charging pile user management method and system based on block chain | |
CN105323555A (en) | Wearable recorder for recording construction site conditions | |
CN108919734B (en) | Electric power information synchronous processing storage application system | |
CN216291210U (en) | Near-end networking law enforcement recording system | |
CN210693993U (en) | On-vehicle POE switch | |
CN207752092U (en) | A kind of power circuit abnormity early warning device | |
CN109669394B (en) | Milling machine construction data storage method | |
CN209805862U (en) | Production management terminal data acquisition system | |
CN105785899A (en) | Integrated monitoring system for intelligent station | |
CN218272624U (en) | Monitoring device for battery management system | |
CN110867060A (en) | Split type electric power data transmission system | |
CN111030853A (en) | Information monitoring system based on full life cycle of equipment | |
CN111555431B (en) | Power supply system of field meteorological station and application thereof | |
CN218181641U (en) | Positioning and warning device for tunnel personnel | |
CN116828153B (en) | Visual doorbell power supply control system based on two-wire digital cloud control | |
CN204423124U (en) | A kind of aluminium bar industries process control system | |
CN216083489U (en) | Video monitoring system for power exchange cabinet | |
CN219812190U (en) | Intelligent building site law enforcement record appearance and law enforcement record system | |
CN111030862B (en) | Equipment off-line management system based on acquisition terminal | |
CN202472766U (en) | Wireless patrol equipment |
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 |