CN111080026B - People stream density early warning method and device - Google Patents

People stream density early warning method and device Download PDF

Info

Publication number
CN111080026B
CN111080026B CN201911360120.1A CN201911360120A CN111080026B CN 111080026 B CN111080026 B CN 111080026B CN 201911360120 A CN201911360120 A CN 201911360120A CN 111080026 B CN111080026 B CN 111080026B
Authority
CN
China
Prior art keywords
information
target area
area
granularity
ith
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
CN201911360120.1A
Other languages
Chinese (zh)
Other versions
CN111080026A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201911360120.1A priority Critical patent/CN111080026B/en
Publication of CN111080026A publication Critical patent/CN111080026A/en
Application granted granted Critical
Publication of CN111080026B publication Critical patent/CN111080026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • G06Q50/265Personal security, identity or safety
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2111Location-sensitive, e.g. geographical location, GPS

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Remote Sensing (AREA)
  • Primary Health Care (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Alarm Systems (AREA)

Abstract

The application discloses a people stream density early warning method and device, and relates to the technical field of data processing. The specific implementation scheme is as follows: and synchronizing a target area set in the intranet to the extranet, carrying out ith-level gridding processing on the target area by an extranet server of the extranet to obtain a second encrypted file containing the people flow thermal information of each ith granularity area and sending the second encrypted file to the isolation gatekeeper, and analyzing the second encrypted file by the isolation gatekeeper and sending a decryption result to the intranet server. The intranet server sends the decryption result to the first electronic device, so that the first electronic device determines whether to perform early warning on the human stream density. In the process, on the basis of an isolation network gate based on bidirectional data transmission, people stream density early warning is carried out by introducing the concept of thermodynamic diagram grading and gathering points, and the purpose of improving the accuracy of people stream density early warning is achieved.

Description

People stream density early warning method and device
Technical Field
The embodiment of the application relates to the technical field of data processing, in particular to a people stream density early warning method and device.
Background
With the rapid development of social economy, the living standard of people is continuously improved, and more people come in and go out of key areas such as scenic spots, airports, stations and the like every important festival or important activity. If the crowd in these key areas is too dense, the pedaling event is likely to occur.
In order to avoid trampling events, security protection staff need estimate the people stream density, when the people stream density exceeds a threshold value, early warning is sent out through the internet and the like in advance, and the phenomenon that the key area is crowded and disordered and even trampling events are caused because too many people streams continue to reach the key area in the future is avoided. In general, to prevent external attacks, a security network used by security workers is isolated from an external internet through a gatekeeper, the security network is also called an intranet or an isolation network, and the external internet is also called an extranet. In the people flow density estimation process, security personnel use an early warning program running on an external network to estimate the people flow density.
However, when the early warning program runs on the external network, the security is low, and the early warning program is easily attacked by hackers and the like, so that the early warning program cannot accurately or timely estimate the people stream density, and early warning failure is caused.
Disclosure of Invention
The embodiment of the application provides a people stream density early warning method and a people stream density early warning device, wherein the people stream density early warning is carried out by introducing the concept of thermodynamic diagram classification gathering points on the basis of a bidirectional data transmission network gate, and the purpose of improving the people stream density early warning accuracy is achieved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
In a first aspect, an embodiment of the present application provides a people stream density early warning method, where the method is applied to a first electronic device, the first electronic device is located in an intranet, and the intranet and an extranet are connected through an isolation gatekeeper, and the method includes: the first electronic equipment sends a first encrypted file to an isolation gateway, so that the isolation gateway decrypts the first encrypted file and sends a location identifier of a target area obtained after decryption to an extranet server located in the extranet, wherein the first encrypted file is generated by the first electronic equipment by using the location identifier of the target area; the first electronic equipment receives first information sent by the isolation gatekeeper, wherein the first information is obtained by decrypting a second encrypted file sent by the isolation gatekeeper to the external network server, and the first information carries the people flow thermodynamic information of the target area; the first electronic equipment pre-estimates the people stream density of the target area according to the first information; and the first electronic equipment determines whether to send out early warning according to the people flow density of the target area. By adopting the scheme, on the basis of the isolation network gate based on bidirectional data transmission, people flow density early warning is carried out by introducing the concept of thermodynamic diagram classification set points, and the purpose of improving the people flow density early warning accuracy is realized.
In a feasible design, the first information carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer. By adopting the scheme, the people flow thermodynamic information is stored in a layered mode, repeated data storage is avoided, and the correct aggregated information can be obtained no matter how security personnel operate the target area, such as amplification or reduction.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas. By adopting the scheme, the people flow thermodynamic information is stored in a layered mode, repeated data storage is avoided, and the correct aggregated information can be obtained no matter how security personnel operate the target area, such as amplification or reduction.
In a possible design, after determining whether to issue an early warning according to the density of people flowing in the target area, the first electronic device further includes: the first electronic equipment identifies an operation instruction of a user on the target area; the first electronic equipment responds to the operation instruction, a target sub-area is determined from the target area, a jth level is determined according to the area of the target sub-area, the jth level is the highest level of gridding of the target sub-area, j is not less than 2 and is an integer; the first electronic equipment determines the people flow thermal information of all jth granularity areas contained in the target sub-area from the first information; the first electronic equipment pre-estimates the people flow density of the target subregion according to the people flow thermodynamic information of each jth granularity region; and the first electronic equipment determines whether to send out early warning according to the people flow density of the target subregion. By adopting the scheme, the aim of flexibly determining whether to carry out people stream density early warning on the target subarea of the target area by security personnel is fulfilled.
In a possible design, before the first electronic device sends the first encrypted file to the isolated gatekeeper, the method further includes: the first electronic device displays a map; the first electronic equipment identifies a sliding track of a user on the map; the first electronic equipment determines the position identification of the target area according to the sliding track; and the first electronic equipment generates the first encrypted file according to the position identification of the target area. By adopting the scheme, the aim of flexibly selecting the target area in the internal network by the user is fulfilled.
In a possible design, after receiving the first information sent by the isolation gatekeeper, the first electronic device further includes: and the first electronic equipment renders the target area according to the first information, so that the colors of the sub-areas of different pedestrian volumes of the target area are different. By adopting the scheme, the color of the 1 st granularity area is rendered according to the pedestrian volume of the 1 st granularity area, so that the 1 st granularity areas with different pedestrian volumes in the target area display different colors, and then the distribution condition of the pedestrian volume in the target area can be rapidly judged by security staff.
In a second aspect, an embodiment of the present application provides a people stream density early warning method, where the method is applied to an isolation gatekeeper, and the isolation gatekeeper is used to establish a connection between an internal network and an external network, and the method includes: the method comprises the steps that an isolation gatekeeper receives a first encrypted file sent by first electronic equipment, wherein the first encrypted file is generated by the first electronic equipment according to a position identifier of a target area, and the first electronic equipment is located in an intranet; the isolation gatekeeper decrypts the first encrypted file to obtain the position identification of the target area; the isolation network gate sends the position identification of the target area to an external network server positioned in the external network, so that the external network server determines the people flow thermodynamic information of the target area according to the area identification of the target area; the isolation gatekeeper receives a second encrypted file sent by the external network server; the isolation network gate sends the first information to the first electronic device, the first information is obtained by decrypting a second encrypted file sent by the external network server by the isolation network gate, and the first information carries the people flow thermodynamic information of the target area.
In a feasible design, the first information carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
In a third aspect, an embodiment of the present application provides a people stream density early warning method, where the method is applied to an extranet server, and an extranet and an intranet where the extranet server is located establish connection through an isolation gatekeeper, and the method includes:
the method comprises the steps that an outer net server receives a position identifier of a target area sent by an isolation network gate, the position identifier of the target area is obtained by decrypting a first encrypted file by the isolation network gate, the first encrypted file is generated by first electronic equipment by using the position identifier and is sent to the isolation network gate, the first electronic equipment and an inner net server are located in an inner net, the outer net server is located in an outer net, and the inner net and the outer net are connected through the isolation network gate;
the extranet server determines the target area according to the position identification of the target area;
the extranet server determines the heat information of the people flow in the target area;
and the external network server sends a second encrypted file to the isolation network gate, wherein the second encrypted file is obtained by encrypting the people flow thermodynamic information of the target area by the external network server.
In a feasible design, the second encrypted file carries a mapping relation between each ith identifier and the people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is an i epsilon {1,2, \8230: \82304: \, N }, wherein N is more than or equal to 1 and is an integer.
In one possible design, the determining, by the extranet server, traffic thermal information of the target area includes: the extranet server carries out level 1 gridding processing on the target area to obtain a plurality of level 1 identifiers and a level 1 granularity area corresponding to the level 1 identifier; the extranet server queries a thermal database according to each 1 st identifier, and determines the heat information of the pedestrian volume in each 1 st granularity area, wherein the heat information of the pedestrian volume in the 1 st granularity area is used for representing the pedestrian volume in the 1 st granularity area; and the extranet server determines the heat information of the pedestrian flow of the target area according to the heat information of the pedestrian flow of each granularity area 1.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
In a fourth aspect, an embodiment of the present application provides a people stream density early warning device, the device is disposed at first electronic equipment, first electronic equipment is located the intranet, intranet and extranet establish the connection through keeping apart the gatekeeper, the device includes:
a sending module, configured to send a first encrypted file to the isolation gatekeeper, so that the isolation gatekeeper decrypts the first encrypted file, and sends a location identifier of a target area obtained after decryption to an extranet server located in the extranet, where the first encrypted file is an encrypted file generated by the first electronic device using the location identifier of the target area;
a receiving module, configured to receive first information sent by the isolation gatekeeper, where the first information is obtained by decrypting, by the isolation gatekeeper, a second encrypted file sent by the extranet server, and the first information carries the people flow thermodynamic information in the target area, and the second encrypted file is obtained by encrypting, by the extranet server, the people flow thermodynamic information in the target area;
and the processing module is used for predicting the people stream density of the target area according to the first information and determining whether to send out early warning according to the people stream density of the target area.
In a feasible design, the first information carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
In a feasible design, the processing module is further configured to identify an operation instruction of a user to the target region after determining whether to send an early warning according to the people flow density of the target region, determine a target sub-region from the target region in response to the operation instruction, determine a jth level according to an area of the target sub-region, where the jth level is a highest level of gridding of the target sub-region, j is not less than 2 and is an integer, determine people flow thermodynamic information of all jth granularity regions included in the target sub-region from the first information, pre-estimate the people flow density of the target sub-region according to the people flow thermodynamic information of each jth granularity region, and determine whether to send an early warning according to the people flow density of the target sub-region.
In one possible design, the apparatus further includes:
the display module is used for displaying a map before the sending module sends the first encrypted file to the isolation gateway;
the processing module is further configured to identify a sliding track of a user on the map, determine a location identifier of the target area according to the sliding track, and generate the first encrypted file according to the location identifier of the target area.
In a possible design, after the receiving module receives the first information sent by the isolation gatekeeper, the processing module is further configured to render the target area according to the first information, so that the color of each sub-area of different pedestrian volumes of the target area is different.
In a fifth aspect, an embodiment of the present application provides a people stream density early warning device, people stream density early warning device sets up on the isolation gatekeeper, the isolation gatekeeper is used for establishing the connection between intranet and the extranet, the device includes:
the receiving module is used for receiving a first encrypted file sent by first electronic equipment, wherein the first encrypted file is generated by the first electronic equipment according to a position identifier of a target area, and the first electronic equipment is located in an intranet;
the processing module is used for decrypting the first encrypted file to obtain the position identifier of the target area;
the sending module is used for sending the position identification of the target area to an extranet server positioned in the extranet so that the extranet server can determine the people flow thermodynamic information of the target area according to the area identification of the target area;
the receiving module is further configured to receive a second encrypted file sent by the extranet server;
the sending module is further configured to send the first information to the first electronic device, where the first information is obtained by decrypting, by the processing module, a second encrypted file sent by the extranet server, and the first information carries the people flow thermodynamic information of the target area.
In a feasible design, the first information carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
In a sixth aspect, an embodiment of the present application provides a people stream density early warning device, the device sets up at the extranet server, extranet and intranet at extranet server place establish the connection through keeping apart the gatekeeper, the device includes:
the system comprises a receiving module, a first encryption module and a second encryption module, wherein the receiving module is used for receiving a position identifier of a target area sent by an isolation gatekeeper, the position identifier of the target area is obtained by decrypting a first encryption file by the isolation gatekeeper, the first encryption file is generated by first electronic equipment by using the position identifier and is sent to the isolation gatekeeper, the first electronic equipment and an intranet server are positioned in an intranet, an extranet server is positioned in an extranet, and the intranet and the extranet are connected through the isolation gatekeeper;
the processing module is used for determining the target area according to the position identification of the target area and determining the people flow thermodynamic information of the target area;
and the sending module is used for sending a second encrypted file to the isolation network gate, wherein the second encrypted file is obtained by encrypting the people flow thermodynamic information of the target area by the external network server.
In a feasible design, the second encrypted file carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, the processing module is configured to perform a level 1 gridding process on the target region to obtain a plurality of level 1 identifiers and a level 1 granularity region corresponding to the level 1 identifier; querying a thermal database according to each 1 st identifier to determine the people flow thermal information of each 1 st granularity area, wherein the people flow thermal information of the 1 st granularity area is used for representing the people flow of the 1 st granularity area; and determining the people flow thermodynamic information of the target area according to the people flow thermodynamic information of each 1 st granularity area.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
In a seventh aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method of the first aspect or any possible implementation of the first aspect; or a method as described above in the second aspect or any possible implementation of the second aspect; or a method as any possible implementation of the third aspect or the third aspect above.
In an eighth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium having stored thereon computer instructions for causing an electronic device to perform the method of the first aspect or any possible implementation of the first aspect; or a method as described above in the second aspect or any possible implementation of the second aspect; or a method as any possible implementation of the third aspect or the third aspect above.
In a ninth aspect, an embodiment of the present application provides a people stream density early warning method, which is applied to an early warning system including an intranet, an extranet, and an isolation gatekeeper, where the intranet and the extranet establish a network connection through the isolation gatekeeper, and the method includes:
a first electronic device in the intranet sends first indication information to the isolation gatekeeper, wherein the first indication information is used for indicating a target area;
a first electronic device in the intranet receives second indication information sent by the isolation network gate, wherein the second indication information is used for indicating people flow heat power information of the target area;
and the first electronic equipment in the intranet determines whether to send out early warning or not according to the people flow and heat information of the target area.
One embodiment in the above application has the following advantages or benefits: and synchronizing a target area set in the intranet to the extranet, performing ith-level gridding processing on the target area by an extranet server of the extranet to obtain a second encrypted file containing the people flow thermodynamic information of each ith granularity area, sending the second encrypted file to the isolation network gate, analyzing the second encrypted file by the isolation network gate, and sending a decryption result to the intranet server. The intranet server sends the decryption result to the first electronic device, so that the first electronic device determines whether to perform early warning on the human stream density. In the process, on the basis of an isolation network gate based on bidirectional data transmission, people stream density early warning is carried out by introducing the concept of thermodynamic diagram grading and gathering points, and the purpose of improving the accuracy of people stream density early warning is achieved.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic operating environment diagram of a people flow density early warning method provided in an embodiment of the present application;
fig. 2 is an interaction flowchart of a people flow early warning method provided in the embodiment of the present application;
fig. 3 is a schematic process diagram of a people stream density early warning method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a people stream density early warning device provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of another people stream density early warning device provided in the embodiment of the present application;
fig. 6 is a schematic structural diagram of a people stream density early warning device provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of another people stream density early warning device provided in the embodiment of the present application;
fig. 8 is a block diagram of an electronic device for implementing a people stream density warning method according to an embodiment of the present disclosure.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application to assist in understanding, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In a specific security field, the need for early warning of the density of people in a key area is more and more common every major activity. The security worker in charge of people flow early warning is usually located in an intranet, and people flow data is usually located in the internet, namely an extranet. The isolation network gate realizes safe information exchange and resource sharing on the basis of ensuring safe isolation of the internal network and the external network. Since people stream data is in the internet, for example, many social tools push geographical location information to the server at regular time, so that the server can count how many users are in a target area in a time period. In the people flow density early warning process, at least two factors need to be considered: firstly, the data bandwidth is consumed, because the data of the people flow point is very dense after the internet map is segmented, but the data transmission from the internet to the intranet is often limited by the flow, so that effective data needs to be efficiently extracted, the transmission of excessive repeated data is avoided, the data bandwidth consumption of the internal network and the external network is reduced, and the data security is ensured. Secondly, in order to ensure data security, the early warning program is often in an isolated network, and the early warning program and the external network are not intercommunicated, so that after a target area is set in the internal network, how to synchronize the target area to the external network is difficult, and therefore people flow information of the target area is obtained and flows back to the internal network.
The current early warning schemes include the following two schemes:
according to the first scheme, the early warning program is directly operated on a general safe internet, namely the early warning program can still directly interact with the internet. Obviously, this approach does not take into account the second factor mentioned above, resulting in compromised security.
And in the second scheme, the thermal power file generated by the outer net is carried to the inner net for analysis by the isolation net at regular time by half manpower or full manpower. This scheme is owing to be artifical transport, and ageing nature must receive the influence. Moreover, the thermal documents carried by manpower cannot reflect the latest people flow situation, and the reference value is low. In addition, after the target area is updated each time, information such as coordinates of the target area needs to be synchronized to an external network by half manpower or full manpower, the process is long, errors are prone to occurring, and timeliness is further reduced.
In view of this, embodiments of the present application provide a people stream density early warning method, which performs people stream density early warning by introducing a concept of thermodynamic diagram classification aggregation points on the basis of an isolation gatekeeper based on bidirectional data transmission, so as to achieve the purpose of improving the people stream density early warning accuracy.
Fig. 1 is a schematic operating environment diagram of a people stream density early warning method provided in an embodiment of the present application. Referring to fig. 1, the operating environment includes an intranet, an extranet, and an isolation gatekeeper, and the isolation gatekeeper realizes secure information exchange and resource sharing on the basis of ensuring the secure isolation between the intranet and the extranet. The intranet is provided with a first electronic device, an intranet server and a first database, and the extranet is provided with a second electronic device, an extranet server and a second database.
Referring to fig. 1, an early warning program is run on a first electronic device in an intranet, and the early warning program provides a map interface for a security worker to draw a target area on the map interface. The first electronic device generates a first encrypted file by using the position identifier of the target area and the like, the first encrypted file is decrypted by the isolation gateway, the isolation gateway sends an analysis result, namely the position identifier of the target area to the extranet server, the extranet server determines the target area according to the position identifier of the target area, the target area is subjected to level 1 gridding, and then the people flow thermal information of the granularity 1 area corresponding to each level 1 identifier is obtained. And then, the extranet server obtains a second encrypted file according to the 1 st identifications and the people flow thermal information of the 1 st granularity area corresponding to each 1 st identification and sends the second encrypted file to the isolation gatekeeper, and the isolation gatekeeper analyzes the second encrypted file and sends a decryption result to the intranet server. The intranet server sends the decryption result to the first electronic device, so that the first electronic device determines whether to perform early warning on the human stream density. The method for warning the density of people stream provided by the embodiment of the present application is explained in detail below on the basis of fig. 1. For example, see fig. 2.
Fig. 2 is an interaction flowchart of a people flow early warning method provided in the embodiment of the present application. This embodiment explains this application embodiment in detail from the perspective of interaction of first electronic device, intranet server, isolation gatekeeper and extranet server, and this embodiment includes:
101. the first electronic equipment generates a first encrypted file by using the position identification of the target area.
Illustratively, after the first electronic device identifies the target area, the first electronic device generates a first encrypted file by using a location identifier of the target area, where the location identifier of the target area includes an area identifier of the target area, coordinates of the location, and the like.
For example, security personnel issue a "longitude: 104.07, latitude: 37.15", the first electronic device identifies that the target area is XX county city according to the longitude and latitude. Then, the first electronic device generates a first encrypted file from the county name of the county and city, the coordinates of the county and city region outline, and the like.
For another example, the first electronic device displays a map, the user, that is, the security worker slides on the map with a finger, and the first electronic device identifies a sliding track of the user on the map and determines the position identifier of the target area according to the sliding track. For example, if the user draws a circle on the map and a mountain is in the circle, the first electronic device identifies that the target area is a mountain scenic spot. By adopting the scheme, the aim of flexibly selecting the target area in the internal network by the user is fulfilled.
102. And the first electronic equipment sends the first encrypted file to an intranet server.
Illustratively, the intranet server is, for example, a File Transfer Protocol (FTP) server of an intranet, and after the first electronic device generates the first encrypted File, the first encrypted File is placed in the FTP server of the intranet.
The target area may be a preset area, and does not need to be input by security staff. At this time, when the early warning program is operated, the first electronic device automatically determines the first encrypted file and sends the first encrypted file to the intranet server without executing step 102.
103. And the intranet server sends the first encrypted file to an isolation gatekeeper.
104. And the isolation gatekeeper decrypts the first encrypted file to obtain the position identification of the target area.
105. And the isolation gatekeeper sends the position identification of the target area to the external network server.
106. And the extranet server determines the target area according to the position identification of the target area.
In this step, the external network server of the external network determines the target area according to the position identification of the target area, thereby achieving the purpose of synchronizing the target area set in the internal network to the external network.
107. And the extranet server determines the heat information of the people flow in the target area.
In the embodiment of the application, the extranet server is right the target area carries out the meshing processing of level 1, obtain a plurality of 1 st signs and the 1 st granularity area that the 1 st sign corresponds, the extranet server is according to each the thermal database is inquired to the 1 st sign, confirms each the regional flow of people heat power information of 1 st granularity, the regional flow of people heat power information of 1 st granularity is used for expressing the regional flow of people of 1 st granularity, the extranet server is according to each the regional flow of people heat power information of 1 st granularity determines the regional flow of people heat power information of target.
Wherein, the heat information of the human flow in the 1 st granularity area is used for representing the human flow in the 1 st granularity area.
For example, a server of an enterprise internet, such as various social tools, can learn the location information of a user using the social tools, which can be accurate to individuals. The servers of each internet enterprise store the location information of those individuals to a second database of the extranet, which may also be referred to as a thermal database. Since the granularity corresponding to the individual positioning information is the minimum gridding level (level 1), the database of the extranet stores the human traffic, namely the human traffic thermodynamic information, in each granularity 1 region. Therefore, in the above steps 107 and 108, after the extranet server performs the gridding processing of level 1, that is, the minimum level, on the target area, the thermodynamic database can be queried according to the 1 st identifier of the 1 st granularity area, so as to obtain the traffic of the 1 st granularity area corresponding to each 1 st identifier, and the sum of the traffic thermodynamic information of all the 1 st granularity areas is used as the traffic thermodynamic information of the target area.
108. And the external network server sends a second encrypted file to the isolation gatekeeper.
And the second encrypted file is obtained by encrypting the heat information of the people flow in the target area by the extranet server.
109. And the isolation gatekeeper decrypts the second encrypted file to obtain first information.
The first information is obtained by decrypting a second encrypted file sent by the external network server through the isolation gatekeeper, and the first information carries the people flow thermodynamic information of the target area.
110. And the isolation gatekeeper sends the first information to the intranet server.
111. The intranet server sends first information to the first electronic equipment.
112. And the first electronic equipment estimates the people flow density of the target area according to the first information.
Illustratively, the target area contains 1 st granularity areas corresponding to all 1 st identifiers, and therefore, the electronic device takes the sum of the people flow information of all 1 st granularity areas as the people flow information of the target area.
113. And the first electronic equipment determines whether to send out an early warning according to the people flow density of the target area.
Illustratively, the electronic device compares the people flow density of the target area with a preset people flow density threshold, if the current people flow density of the target area exceeds the preset threshold, it indicates that the people flow of the target area is too dense, the people flow is congested, and if no control is performed, a trampling event may occur, and the like. And when the people stream density does not exceed the preset threshold value, indicating that the people stream of the target area is within the bearing range of the target area. The preset threshold value is, for example, 5 persons/square meter.
In addition, in the above embodiment, after receiving the first information sent by the intranet server, the first electronic device further renders the target region according to the first information, so that the colors of the 1 st granularity regions of different pedestrian volumes are different. Exemplarily, one target area includes a plurality of 1 st granularity areas, and the first electronic device may render the color of the 1 st granularity area according to the traffic of people in the 1 st granularity area, so that the 1 st granularity areas with different traffic of people in the target area display different colors, and further, security personnel may quickly determine the distribution of the traffic of people in the target area.
According to the people stream density early warning method provided by the embodiment of the application, a target area set by an intranet is synchronized to the extranet, a extranet server of the extranet carries out level 1 gridding processing on the target area to obtain a second encrypted file containing people flow thermodynamic information of each granularity area 1 and sends the second encrypted file to an isolation gatekeeper, and the isolation gatekeeper analyzes the second encrypted file and sends a decryption result to the intranet server. The intranet server sends the decryption result to the first electronic device, so that the first electronic device determines whether to perform early warning on the human stream density. In the process, on the basis of an isolation network gate based on bidirectional data transmission, people stream density early warning is carried out by introducing the concept of thermodynamic diagram grading and gathering points, and the purpose of improving the accuracy of people stream density early warning is achieved.
Fig. 3 is a process schematic diagram of a people stream density early warning method provided in the embodiment of the present application. Referring to fig. 3, the people flow density early warning process provided in this embodiment includes 6 stages, and the 6 stages are described in detail below.
First, a first stage.
In this stage, security staff sets a target area in the intranet. Illustratively, an early warning program is operated on first electronic equipment of an intranet, the early warning program provides a map interface, and security staff define a target area on the map interface; alternatively, the security worker may add the area identifier of the target area, the polygon vertex coordinates, the radius, and the like to an Application Programming Interface (API) layer of the intranet. The first electronic device identifies a region name and coordinates of the target region. And then, the first electronic equipment stores the position identification of the target area to a first database of the intranet for subsequent front-end display and gridding processing to inquire the heat and power information of the pedestrian flow. On the other hand, the first electronic device generates a first encrypted file by using the position identifier of the target area, and sends the first encrypted file to an intranet server of an intranet. By adopting the scheme, the aims of editing the target area in the internal network and safely synchronizing the target area to the Internet are fulfilled.
Second, a second stage.
In this stage, the isolation network decrypts the first encrypted file and adds the target area to the area table of the external network. Illustratively, the isolation gatekeeper receives a first encrypted file sent by the intranet server, decrypts the first encrypted file to obtain a location identifier of the target area, and adds the target area to an area table of the extranet. By adopting the scheme, once the intranet generates the first encrypted file, the isolation gatekeeper immediately analyzes the encrypted file, so that the timeliness is ensured. After the target area is analyzed, the first electronic equipment calls a relevant API to add the analyzed target area to an area table of the Internet for subsequent gridding processing.
In this stage, the isolation gatekeeper may synchronize the first encrypted file to the extranet server, and the program having extranet access authority, which is running on the isolation gatekeeper front-end processor, may periodically poll and analyze the first encrypted file synchronized to the extranet server.
And thirdly, a third stage.
In this stage, the extranet server performs gridding processing on the target area. Illustratively, the extranet server scans the area table at regular time, and after acquiring the target area, performs gridding processing on the target area according to the area of the target area and the like to obtain each 1 st granularity area. This gridding process may also be referred to as a process of cutting the target region at a fit level. For example, see table 1, which is a schematic representation of the cut aggregation level of a target region.
TABLE 1
Figure BDA0002336965930000141
Referring to table 1, the extranet server obtains the area identifier and the area boundary vertex coordinates of the target area, and performs the level 1 meshing process on the target area, that is, the target area is cut into a plurality of 10m × 10m meshes, the meshes are referred to as the 1 st granularity area, and each 1 st granularity area has the corresponding 1 st identifier. The heat information of the flow of people of each 1 st granularity area is stored on a server of an external network. For example, after receiving the positioning information of the user, the server of each internet enterprise stores the positioning information in the second database of the extranet, and determines the 1 st granularity area where the position indicated by the positioning information is located in the storage process, so as to count the people flow in each 1 st granularity area, and obtain the people flow thermodynamic information of each 1 st granularity area.
In the embodiment, the first information carries mapping relationships between the ith identifications and the people flow thermal information in the ith granularity area corresponding to the ith identification, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is within an i ∈ {1,2, \ 8230; \8230, N }, wherein N is not less than 1 and is an integer. When i is more than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas,
in this embodiment, the extranet server may perform various levels of gridding processing on the target area, for example, an ith level of gridding processing, and it is assumed that, in an ith level to an nth level, the higher the gridding level is, the larger the area of the obtained grid is. Therefore, when i is larger than or equal to 2, the ith granularity area obtained through the gridding processing of the ith level is larger than the 1 st granularity area. The method comprises the steps that an extranet server carries out ith-level gridding processing on a target area, the target area is divided into a plurality of ith granularity areas, each ith granularity area corresponds to different ith identifications, the ith granularity areas comprise at least two ith-1 granularity areas, and then the people flow heat information of the ith granularity areas is determined according to the people flow heat information of the at least two ith-1 granularity areas.
For example, referring to table 1, when i =2, the area of one 2 nd grain size region (100 m × 100 m) is equal to the area of 101 st grain size regions (10 m × 10 m); for another example, when i =3, the area of one 3 rd grain size region (1 km × 1 km) is 10 nd grain size regions (100 m × 100 m).
In the embodiment of the application, the level 1 is the minimum cutting level, and the extranet server can query the thermal value database according to each level 1 identifier to obtain the people flow thermal information of each level 1 granularity area. In the 2 nd to N th grades, the people flow heat information of each i-th granularity area can be obtained according to the people flow heat information of the previous grade granularity area. For example, referring to table 1 again, the traffic thermal information of one 2 nd granularity region is the sum of the traffic thermal information of all 1 st granularity regions included in the 2 nd granularity region; and the people flow thermodynamic information of one 3 rd granularity area is the sum of the people flow thermodynamic information of all the 2 nd granularity areas contained in the 3 rd granularity area. It should be noted that, when determining the people flow thermodynamic information of each ith granularity area in the 2 nd-N th levels, only the sum needs to be concerned, and the positioning information of the ordinary users in each ith-1 th granularity area does not need to be accurately obtained. For example, the people flow thermodynamic information of a 4 th granularity region is the sum of the people flow thermodynamic information of all 3 rd granularity regions included in the 4 th granularity region, and people flow thermodynamic information of a 2 nd granularity region and a 1 st granularity region does not need to be concerned; similarly, the traffic thermodynamic information of one 3 rd granularity area is the sum of the traffic thermodynamic information of all the 2 nd granularity areas contained in the 3 rd granularity area, and the traffic thermodynamic information of each 1 st granularity area does not need to be concerned. Therefore, the hierarchical storage of the heat information of the people flow can be realized, the storage of repeated data is avoided, and the correct aggregated information can be obtained regardless of how security personnel operate the target area, such as amplification or reduction.
And thirdly, a fourth stage.
In this stage, the extranet server generates a second encrypted file. Illustratively, the extranet server queries the thermal database according to each 1 st identifier to obtain the people flow thermal information in each 1 st granularity area, and obtains a second encrypted file according to each 1 st identifier and the people flow thermal information in the 1 st granularity area corresponding to each 1 st identifier respectively. And then, sending the second encrypted file to an isolation network gate, and analyzing the people flow thermodynamic information of each 1 st granularity area by the isolation network gate.
In addition, when the extranet server generates the second encrypted file, the people flow thermodynamic information and the corresponding relation of the people flow thermodynamic information in the ith granularity area corresponding to each ith identifier and the ith identifier in the 2 nd-N level can be encrypted.
According to the above, it can be seen that: in the third and fourth stages, the extranet server automatically determines the people flow heat power information of each 1 st granularity area at regular time, generates the people flow heat power information of each ith granularity area in the 2 nd-N level according to the people flow heat power information of each 1 st granularity area, then generates a statistical information file according to the level, encrypts the statistical information file, puts the encrypted statistical information file into an FTP target of the Internet, and synchronizes the encrypted statistical information file to the intranet server of the intranet through an isolation network gate.
And a fifth stage.
In this stage, the isolation gatekeeper parses the second encrypted file and stores the parsing result in the K-V database. Illustratively, the isolation gatekeeper parses the second encrypted file to obtain the first information, and sends the first information to the intranet server. Meanwhile, the 1 st identification carried by the first information and the traffic thermodynamic information of the 1 st granularity area corresponding to the 1 st identification are stored into a K-V database in a key-value (K-V) mode. In addition, when the first information also carries the people flow heat information of each ith granularity area in the 2 nd-N level, the isolation network gate also stores each ith identification and the people flow heat information of the corresponding ith granularity area to a K-V database in a key value pair mode to wait for inquiring the heat value for use.
In the sixth stage, the intranet inquires the heat value.
In this stage, security personnel inquire the heat information of the flow of people through zooming the target area. Illustratively, a first electronic device of the intranet displays a map, security workers circle a target area on the map, and the extranet is triggered to acquire the people flow thermal information of each 1 st granularity area of the target area. After the first electronic device obtains the people flow heat power information and estimates the people flow density of the target area, the first electronic device identifies an operation instruction of a user to the map, responds to the operation instruction, determines a target sub-area from the target area, determines the jth level according to the area of the target sub-area, wherein j is not less than 2 and is an integer, the jth level is the highest level of gridding of the target sub-area, then the first electronic device determines all jth granularity areas contained in the target sub-area, and determines whether to give out an early warning according to the people flow density of the target sub-area.
For example, referring again to table 1, assume that the size of the target area initially defined by the security worker is 1km × 1km. And after the first electronic equipment estimates the people stream density of the target area, if the security worker measures the map to perform operation, such as amplification operation or reduction operation. Taking the zoom-in operation as an example, after the target area is zoomed in, the target sub area is displayed on the interface of the first electronic device, where the target sub area is, for example, 500m × 500m, and at this time, the first electronic device determines that the highest gridding level of the target sub area is 2, that is, the target sub area can be subjected to the gridding processing of level 1 and level 2, and cannot be subjected to the gridding processing of level 3. The first electronic device then determines 5 granularity 2 regions, each granularity 2 region being 100m x 100m. Then, the first electronic device queries a K-V database to obtain the people flow thermodynamic information of the 5 particle size 2 areas, takes the sum of the people flow thermodynamic information as the people flow thermodynamic information of the target sub-area, and estimates the people flow density of the target sub-area according to the sum to determine whether to start early warning or not. By adopting the scheme, the aim of flexibly determining whether to carry out people stream density early warning on the target subarea of the target area by security personnel is fulfilled.
In the above, a specific implementation of the people flow density early warning method mentioned in the embodiment of the present application is introduced, and the following is an embodiment of the apparatus of the present application, which may be used to implement the embodiment of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 4 is a schematic structural diagram of a people stream density early warning device provided in an embodiment of the present application. The people flow density early warning device 100 is deployed in a first electronic device, the first electronic device is located in an intranet, and the intranet is connected with an extranet through an isolation gatekeeper. As shown in fig. 4, in this embodiment, the people flow density early warning apparatus 100 may include:
a sending module 11, configured to send a first encrypted file to the isolation gatekeeper, so that the isolation gatekeeper decrypts the first encrypted file, and sends a location identifier of a target area obtained after decryption to an extranet server located in the extranet, where the first encrypted file is an encrypted file generated by the first electronic device using the location identifier of the target area;
a receiving module 12, configured to receive first information sent by the isolation gatekeeper, where the first information is obtained by decrypting, by the isolation gatekeeper, a second encrypted file sent by the extranet server, and the first information carries the people flow thermodynamic information in the target area, and the second encrypted file is obtained by encrypting, by the extranet server, the people flow thermodynamic information in the target area;
and the processing module 13 is configured to estimate the people stream density of the target area according to the first information, and determine whether to send out an early warning according to the people stream density of the target area.
In a feasible design, the first information carries a mapping relation between each ith identifier and the people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is an i epsilon {1,2, \8230, N }, wherein N is more than or equal to 1 and is an integer.
In a feasible design, when i is greater than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow thermodynamic information of the ith granularity area is obtained by the extranet server according to the people flow thermodynamic information of the at least two (i-1) th granularity areas.
In a feasible design, the processing module 13 is further configured to identify an operation instruction of a user to the target region after determining whether to send an early warning according to the people flow density of the target region, determine a target sub-region from the target region in response to the operation instruction, determine a jth level according to an area of the target sub-region, where the jth level is a highest level of gridding of the target sub-region, j is not less than 2 and is an integer, determine people flow thermodynamic information of all jth granularity regions included in the target sub-region from the first information, estimate the people flow density of the target sub-region according to the people flow thermodynamic information of each jth granularity region, and determine whether to send an early warning according to the people flow density of the target sub-region.
Fig. 5 is a schematic structural diagram of another people stream density early warning apparatus provided in an embodiment of the present application, please refer to fig. 5, where the people stream density early warning apparatus 100 further includes:
the display module 14 is configured to display a map before the sending module 11 sends the first encrypted file to the isolated gatekeeper;
the processing module 13 is further configured to identify a sliding track of a user on the map, determine a location identifier of the target area according to the sliding track, and generate the first encrypted file according to the location identifier of the target area.
In a possible design, after the receiving module 12 receives the first information sent by the isolation gatekeeper, the processing module 13 is further configured to render the target area according to the first information, so that the color of each sub-area of the target area with different pedestrian volumes is different.
The apparatus provided in the embodiment of the present application may be used in the method executed by the first electronic device in the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a people stream density early warning device provided in the embodiment of the present application. This people stream density early warning device 200 sets up on the isolation gatekeeper, the isolation gatekeeper is used for establishing the connection between intranet and the extranet, device 200 can include:
a receiving module 21, configured to receive a first encrypted file sent by a first electronic device, where the first encrypted file is generated by the first electronic device according to a location identifier of a target area, and the first electronic device is located in an intranet;
the processing module 22 is configured to decrypt the first encrypted file to obtain the location identifier of the target area;
a sending module 23, configured to send the location identifier of the target area to an extranet server located in the extranet, so that the extranet server determines, according to the area identifier of the target area, traffic thermodynamic information of the target area;
the receiving module 21 is further configured to receive a second encrypted file sent by the extranet server;
the sending module 23 is further configured to send the first information to the first electronic device, where the first information is obtained by decrypting, by the processing module 22, a second encrypted file sent by the extranet server, and the first information carries the people flow thermodynamic information of the target area.
In a feasible design, the first information carries a mapping relation between each ith identifier and people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
The apparatus provided in the embodiment of the present application can be used in the method executed by the isolation gatekeeper in the above embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of another people stream density early warning device provided in the embodiment of the present application. This people stream density early warning device 300 sets up at the extranet server, the extranet and the intranet at extranet server place establish the connection through keeping apart the gatekeeper, and this people stream density early warning device 300 includes:
a receiving module 31, configured to receive a location identifier of a target area sent by an isolation gatekeeper, where the location identifier of the target area is obtained by the isolation gatekeeper decrypting a first encrypted file, the first encrypted file is generated by a first electronic device using the location identifier and is sent to the isolation gatekeeper, the first electronic device and the intranet server are located in an intranet, the extranet server is located in an extranet, and the intranet and the extranet establish a connection through the isolation gatekeeper;
the processing module 32 is configured to determine the target area according to the position identifier of the target area, and determine the people flow thermodynamic information of the target area;
and a sending module 33, configured to send a second encrypted file to the isolation gatekeeper, where the second encrypted file is obtained by encrypting, by the extranet server, the traffic thermodynamic information of the target area.
In a feasible design, the second encrypted file carries mapping relations of the ith identifications and the people flow thermal information of the ith granularity area corresponding to the ith identifications, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \8230, N }, wherein N is not less than 1 and is an integer.
In a feasible design, the processing module 32 is configured to perform a level 1 gridding process on the target region to obtain a plurality of level 1 identifiers and a level 1 granularity region corresponding to the level 1 identifier; querying a thermal database according to each 1 st identifier to determine the people flow thermal information of each 1 st granularity area, wherein the people flow thermal information of the 1 st granularity area is used for representing the people flow of the 1 st granularity area; and determining the people flow thermodynamic information of the target area according to the people flow thermodynamic information of each 1 st granularity area.
In a feasible design, when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
Fig. 8 is a block diagram of an electronic device for implementing the people flow density early warning method according to the embodiment of the present application, where the electronic device may be the first electronic device, the isolation gatekeeper, or the extranet server described above. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 8, the electronic apparatus includes: one or more processors 41, memory 42, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, if desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 8 illustrates an example of one processor 41.
Memory 42 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor, so that the at least one processor executes the people stream density early warning method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the people stream density warning method provided by the present application.
Memory 42 serves as a non-transitory computer readable storage medium that may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the people flow density warning method in the embodiments of the present application (e.g., transmitting module 11, receiving module 12, and processing module 13 shown in fig. 4; further, a display module shown in fig. 5; further, receiving module 21, processing module 22, and transmitting module 23 shown in fig. 6; further, receiving module 31, processing module 32, and transmitting module 33 shown in fig. 7). The processor 41 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 42, that is, implements the people flow density early warning method in the above method embodiment.
The memory 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of an electronic device for performing human stream density warning, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 42 optionally includes memory located remotely from processor 41, which may be connected over a network to an electronic device for performing a people stream density warning. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device for executing the human stream density early warning method may further include: an input device 43 and an output device 44. The processor 41, the memory 42, the input device 43 and the output device 44 may be connected by a bus or other means, and fig. 8 illustrates the connection by a bus as an example.
The input device 43 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 44 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
The embodiment of the present application further provides a people stream density early warning method, which is applied to an early warning system including an intranet, an extranet and an isolation gatekeeper, where the intranet and the extranet establish network connection through the isolation gatekeeper, and the method includes: a first electronic device in the intranet sends first indication information to the isolation gatekeeper, wherein the first indication information is used for indicating a target area; a first electronic device in the intranet receives second indication information sent by the isolation network gate, wherein the second indication information is used for indicating people flow thermodynamic information of the target area; and the first electronic equipment in the intranet determines whether to send out early warning or not according to the people flow heat information of the target area.
According to the technical scheme of the embodiment of the application, the target area set by the intranet is synchronized to the extranet, the extranet server of the extranet performs ith-level gridding processing on the target area to obtain a second encrypted file containing the people flow thermal information of each ith granularity area and sends the second encrypted file to the isolation gatekeeper, and the isolation gatekeeper analyzes the second encrypted file and sends a decryption result to the intranet server. The intranet server sends the decryption result to the first electronic device, so that the first electronic device determines whether to perform early warning on the human stream density. In the process, on the basis of an isolation network gate based on bidirectional data transmission, people stream density early warning is carried out by introducing the concept of thermodynamic diagram classification set points, and the purpose of improving the people stream density early warning accuracy is achieved.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A people stream density early warning method is characterized in that the method is applied to first electronic equipment, the first electronic equipment is located in an internal network, the internal network and the external network are connected through an isolation gatekeeper, and the method comprises the following steps:
the first electronic equipment sends a first encrypted file to the isolation gatekeeper so that the isolation gatekeeper decrypts the first encrypted file and sends a position identifier of a target area obtained after decryption to an extranet server located in the extranet, wherein the first encrypted file is generated by the first electronic equipment by using the position identifier of the target area;
the first electronic device receives first information sent by the isolation gatekeeper, wherein the first information is obtained by decrypting a second encrypted file sent by the external network server by the isolation gatekeeper, the first information carries the people flow thermodynamic information of the target area, and the second encrypted file is obtained by encrypting the people flow thermodynamic information of the target area by the external network server;
the first electronic equipment pre-estimates the people stream density of the target area according to the first information;
the first electronic equipment determines whether to send out an early warning according to the people flow density of the target area;
the first information carries a mapping relation between each ith mark and people flow thermal information of an ith granularity area corresponding to the ith mark, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, i belongs to {1,2, \8230; \8230, N }, N is more than or equal to 1 and is an integer;
when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow thermodynamic information of the ith granularity area is obtained by the extranet server according to the people flow thermodynamic information of the at least two (i-1) th granularity areas.
2. The method of claim 1, wherein after determining whether to issue an early warning according to the people flow density of the target area, the first electronic device further comprises:
the first electronic equipment identifies an operation instruction of a user on the target area;
the first electronic equipment responds to the operation instruction, a target sub-area is determined from the target area, a jth level is determined according to the area of the target sub-area, the jth level is the highest level of gridding of the target sub-area, j is not less than 2 and is an integer;
the first electronic equipment determines the people flow thermal information of all jth granularity areas contained in the target sub-area from the first information;
the first electronic equipment pre-estimates the people flow density of the target subregion according to the people flow thermodynamic information of each jth granularity region;
and the first electronic equipment determines whether to send out an early warning according to the people flow density of the target subregion.
3. The method of claim 1, wherein before the first electronic device sends the first encrypted file to the isolated gatekeeper, further comprising:
the first electronic equipment displays a map;
the first electronic equipment identifies a sliding track of a user on the map;
the first electronic equipment determines the position identification of the target area according to the sliding track;
and the first electronic equipment generates the first encrypted file according to the position identification of the target area.
4. The method according to any one of claims 1 to 3, wherein after the first electronic device receives the first information sent by the isolation gatekeeper, the method further comprises:
and the first electronic equipment renders the target area according to the first information, so that the colors of the sub-areas of the target area with different pedestrian volumes are different.
5. A people flow density early warning method is characterized in that the method is applied to an isolation gatekeeper, the isolation gatekeeper is used for establishing connection between an internal network and an external network, and the method comprises the following steps:
the method comprises the steps that an isolation gatekeeper receives a first encrypted file sent by first electronic equipment, wherein the first encrypted file is generated by the first electronic equipment according to a position identifier of a target area, and the first electronic equipment is located in an intranet;
the isolation gatekeeper decrypts the first encrypted file to obtain the position identification of the target area;
the isolation network gate sends the position identification of the target area to an extranet server positioned in the extranet, so that the extranet server determines the people flow thermodynamic information of the target area according to the area identification of the target area;
the isolation gatekeeper receives a second encrypted file sent by the external network server;
the isolation gatekeeper sends first information to the first electronic device, wherein the first information is obtained by decrypting a second encrypted file sent by the external network server by the isolation gatekeeper, and the first information carries the people flow thermodynamic information of the target area;
the first information carries a mapping relation between each ith mark and people flow thermal information of an ith granularity area corresponding to the ith mark, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, i belongs to {1,2, \8230; \8230, N }, N is more than or equal to 1 and is an integer;
when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
6. A people flow density early warning method is characterized in that the method is applied to an extranet server, an extranet where the extranet server is located and an intranet are connected through an isolation gatekeeper, and the method comprises the following steps:
the method comprises the steps that an outer net server receives a position identifier of a target area sent by an isolation network gate, the position identifier of the target area is obtained by decrypting a first encrypted file by the isolation network gate, the first encrypted file is generated by first electronic equipment by using the position identifier and is sent to the isolation network gate, the first electronic equipment and an inner net server are located in an inner net, the outer net server is located in an outer net, and the inner net and the outer net are connected through the isolation network gate;
the extranet server determines the target area according to the position identification of the target area;
the extranet server determines the heat information of the people flow in the target area;
the external network server sends a second encrypted file to the isolation gatekeeper, wherein the second encrypted file is obtained by encrypting the people flow thermodynamic information of the target area by the external network server;
the second encrypted file carries a mapping relation between each ith identifier and the people flow thermal information of an ith granularity area corresponding to the ith identifier, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is i ∈ {1,2, \ 8230; \8230, N }, N is more than or equal to 1 and is an integer;
when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow thermodynamic information of the ith granularity area is obtained by the extranet server according to the people flow thermodynamic information of the at least two (i-1) th granularity areas.
7. The method of claim 6, wherein the extranet server determines traffic thermal information for the target area, comprising:
the extranet server carries out level 1 gridding processing on the target area to obtain a plurality of level 1 identifiers and a level 1 granularity area corresponding to the level 1 identifier;
the extranet server inquires a heat power database according to each 1 st identifier to determine the people flow heat power information of each 1 st granularity area, wherein the people flow heat power information of the 1 st granularity area is used for representing the people flow of the 1 st granularity area;
and the extranet server determines the heat information of the pedestrian flow of the target area according to the heat information of the pedestrian flow of each granularity area 1.
8. The utility model provides a people stream density early warning device, its characterized in that, the device deploys at first electronic equipment, first electronic equipment is located the intranet, intranet and extranet establish the connection through keeping apart the gatekeeper, the device includes:
a sending module, configured to send a first encrypted file to the isolation gatekeeper, so that the isolation gatekeeper decrypts the first encrypted file, and sends a location identifier of a target area obtained after decryption to an extranet server located in the extranet, where the first encrypted file is an encrypted file generated by the first electronic device using the location identifier of the target area;
a receiving module, configured to receive first information sent by the isolation gatekeeper, where the first information is obtained by decrypting, by the isolation gatekeeper, a second encrypted file sent by the extranet server, and the first information carries the people flow thermodynamic information in the target area, and the second encrypted file is obtained by encrypting, by the extranet server, the people flow thermodynamic information in the target area;
the processing module is used for predicting the people stream density of the target area according to the first information and determining whether to send out an early warning or not according to the people stream density of the target area; the first information carries a mapping relation between each ith mark and people flow thermal information of an ith granularity area corresponding to the ith mark, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, i belongs to {1,2, \8230; \8230, N }, N is more than or equal to 1 and is an integer; when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
9. The utility model provides a people stream density early warning device, its characterized in that people stream density early warning device sets up on the isolation gatekeeper, the isolation gatekeeper is used for establishing the connection between intranet and the extranet, the device includes:
the receiving module is used for receiving a first encrypted file sent by first electronic equipment, wherein the first encrypted file is generated by the first electronic equipment according to a position identifier of a target area, and the first electronic equipment is positioned in an intranet;
the processing module is used for decrypting the first encrypted file to obtain the position identifier of the target area;
a sending module, configured to send a location identifier of the target area to an extranet server located in the extranet, so that the extranet server determines, according to the area identifier of the target area, traffic thermodynamic information of the target area;
the receiving module is further configured to receive a second encrypted file sent by the extranet server;
the sending module is further configured to send first information to the first electronic device, where the first information is obtained by decrypting, by the processing module, a second encrypted file sent by the extranet server, and the first information carries the people flow and heat information of the target area; the first information carries a mapping relation between each ith mark and people flow thermal information of an ith granularity area corresponding to the ith mark, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, i belongs to {1,2, \8230; \8230, N }, N is more than or equal to 1 and is an integer; when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
10. The utility model provides a people stream density early warning device, its characterized in that, the device sets up at extranet server, extranet and intranet at extranet server place establish the connection through keeping apart the gatekeeper, the device includes:
the receiving module is used for receiving a position identifier of a target area sent by an isolation gatekeeper, the position identifier of the target area is obtained by decrypting a first encrypted file by the isolation gatekeeper, the first encrypted file is generated by first electronic equipment by using the position identifier and is sent to the isolation gatekeeper, the first electronic equipment and the intranet server are located in an intranet, the extranet server is located in an extranet, and the intranet and the extranet are connected through the isolation gatekeeper;
the processing module is used for determining the target area according to the position identification of the target area and determining the people flow and heat information of the target area;
the sending module is used for sending a second encrypted file to the isolation network gate, wherein the second encrypted file is obtained by encrypting the people flow thermodynamic information of the target area by the external network server; the second encrypted file carries a mapping relation between each ith identification and the people flow and heat information of an ith granularity area corresponding to the ith identification, the ith granularity area is obtained by carrying out ith-level gridding processing on the target area, and is an i ∈ {1,2, \8230; \8230, N }, N is more than or equal to 1 and is an integer; when i is larger than or equal to 2, the ith granularity area comprises at least two (i-1) th granularity areas, and the people flow heat information of the ith granularity area is obtained by the extranet server according to the people flow heat information of the at least two (i-1) th granularity areas.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4; or, the method of claim 5; alternatively, the method of claim 6 or 7.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing an electronic device to perform the method of any one of claims 1-4; or, the method of claim 5; alternatively, the method of claim 6 or 7.
CN201911360120.1A 2019-12-25 2019-12-25 People stream density early warning method and device Active CN111080026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911360120.1A CN111080026B (en) 2019-12-25 2019-12-25 People stream density early warning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911360120.1A CN111080026B (en) 2019-12-25 2019-12-25 People stream density early warning method and device

Publications (2)

Publication Number Publication Date
CN111080026A CN111080026A (en) 2020-04-28
CN111080026B true CN111080026B (en) 2022-12-13

Family

ID=70317834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911360120.1A Active CN111080026B (en) 2019-12-25 2019-12-25 People stream density early warning method and device

Country Status (1)

Country Link
CN (1) CN111080026B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073746B (en) * 2020-09-09 2022-05-17 中国联合网络通信集团有限公司 Live broadcast behavior guiding method, terminal, edge server and computer equipment
CN113065753B (en) * 2021-03-25 2022-05-27 上海钧正网络科技有限公司 Operation and maintenance region hierarchical management method, device, terminal and medium based on road network demand heat
CN113705852A (en) * 2021-05-13 2021-11-26 北京金山云网络技术有限公司 Crowd density early warning method and device, electronic equipment and storage medium
CN113761322B (en) * 2021-09-02 2024-02-09 南方电网数字电网研究院有限公司 Data query method, system, electronic device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8630455B2 (en) * 2010-07-20 2014-01-14 SET Corporation Method and system for audience digital monitoring
CN105791022B (en) * 2016-04-14 2019-07-30 北京中电万联科技股份有限公司 A kind of crowding detection early warning system
CN106251578B (en) * 2016-08-19 2019-05-07 深圳奇迹智慧网络有限公司 Stream of people's early warning analysis method and system based on probe
CN106341397A (en) * 2016-08-25 2017-01-18 柏盟(北京)科技发展有限公司 Industrial safety isolation GAP
CN108271115A (en) * 2016-12-30 2018-07-10 中国移动通信集团内蒙古有限公司 A kind of method of estimation and device of regional population's density
CN108933774A (en) * 2018-05-04 2018-12-04 北京明朝万达科技股份有限公司 Data interaction system and method

Also Published As

Publication number Publication date
CN111080026A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111080026B (en) People stream density early warning method and device
CN109815028B (en) System, method, apparatus and computer storage medium for data synchronization
US20230251811A1 (en) Computerized system and method for generating and dynamically updating a dashboard of multiple processes and operations across platforms
EP3152869B1 (en) Real-time model of states of monitored devices
US9953079B2 (en) Preference based system and method for multiple feed aggregation and presentation
US20150326460A1 (en) Network Flow Monitoring
CN111708858A (en) Map data processing method, device, equipment and storage medium
US10679084B2 (en) Augmented reality marker de-duplication and instantiation using marker creation information
US11652769B2 (en) Snippet(s) of content associated with a communication platform
US10936978B2 (en) Models for visualizing resource allocation
US9141958B2 (en) Method for providing data to a user
CN105069025A (en) Intelligent aggregation visualization and management and control system for big data
CN111693064A (en) Road condition information processing method, device, equipment and medium
US11844164B2 (en) Edge-based system architecture for building-scale interactive lighting
CN110519755A (en) Localization method, device, electronic equipment and storage medium
CA2983027A1 (en) Automatically relating content to people
Mohammed et al. Internet of Things-Building Information Modeling Integration: Attacks, Challenges, and Countermeasures
KR101969148B1 (en) Method and apparatus for providing visualization of network assets
US20210141778A1 (en) Computerized system and method for electronically generating a dynamically visualized hierarchical representation of electronic information
Gaba et al. Federated learning based secured computational offloading in cyber-physical IoST systems
Li et al. Network security situation awareness method based on visualization
CN117716682A (en) Operation productivity software system, server and method
US20170193455A1 (en) Dynamic processing for collaborative events
US20170118080A1 (en) Electronic communication management
Xiaobing et al. An insight into traffic safety management system platform based on cloud computing

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