Search

CN-122001807-A - Multicast communication method and system based on three-dimensional geographic position and electronic equipment

CN122001807ACN 122001807 ACN122001807 ACN 122001807ACN-122001807-A

Abstract

The invention relates to the technical field of communication and discloses a multicast communication method, a system and electronic equipment based on a three-dimensional geographic position, wherein the method comprises the steps of obtaining the three-dimensional geographic position of a target area; generating a space identifier of a target area based on a three-dimensional geographic position, carrying out service inquiry based on the space identifier to obtain a mapping relation corresponding to the target area, carrying out routing addressing on the target area based on the mapping relation to generate a flow table, generating a multicast communication message based on the space identifier, sending the multicast communication message to all receiving terminals of the target area according to the flow table, and screening effective terminals from all receiving terminals based on the multicast communication message so that each effective terminal receives and processes the multicast communication message. According to the invention, through the space identifier generated by the three-dimensional geographic position, the precision limitation of the traditional mapping relation and the limitation of two-dimensional plane communication are broken through, finer communication granularity is realized, three-dimensional space representation is supported, and the error, omission and range generalization of multicast are avoided.

Inventors

  • GAO SHUAI
  • ZHANG YUMING
  • YI YAO
  • Lan Jiangyu
  • SU WEI
  • ZHANG HONGKE

Assignees

  • 北京交通大学

Dates

Publication Date
20260508
Application Date
20260129

Claims (10)

  1. 1. A multicast communication method based on three-dimensional geographic location, the method comprising: acquiring a three-dimensional geographic position of a target area; generating a spatial identification of the target area based on the three-dimensional geographic location; service inquiry is carried out based on the space identifier, and a mapping relation corresponding to the target area is obtained; routing addressing is carried out on the target area based on the mapping relation, and a flow table is generated; generating a multicast communication message based on the space identifier, and sending the multicast communication message to all receiving terminals in the target area according to the flow table; and screening the effective terminals from all the receiving terminals based on the multicast communication message so that each effective terminal receives and processes the multicast communication message.
  2. 2. The method of claim 1, wherein the three-dimensional geographic location comprises a plurality of latitude and longitude coordinates and an altitude range; The generating a spatial identification of the target area based on the three-dimensional geographic location includes: Checking whether the area formed by the longitude and latitude coordinates is rectangular or not; when the coordinate is not rectangular, correcting the longitude and latitude coordinates to obtain a plurality of corresponding corrected coordinates; Generating a subdivision trellis code based on the plurality of corrected coordinates; generating an altitude code based on the altitude range; And sequentially splicing a preset prefix identifier, a preset type identifier, the subdivision grid code, the height code and a preset extension bit into the space identifier, wherein the preset prefix identifier represents a network type, and the preset type identifier represents a service type.
  3. 3. The method of claim 2, wherein generating a subdivision trellis code based on the plurality of corrected coordinates comprises: adopting an expansion model based on geographic area mapping division to encode each correction coordinate to obtain the encoding of each layer of grid of the correction coordinate, and integrating the encoding of the grid of the correction coordinate according to the grid level sequence; performing layer-by-layer consistency check on the grid codes of the plurality of corrected coordinates, and determining a target effective layer; converting the target effective layer into a binary hierarchical code; for the grid coding of any correction coordinate, reserving the codes of the target effective layer and all layers before the target effective layer, setting the codes of all layers positioned behind the target effective layer as preset values, and obtaining the plane coding of the target area; determining regional boundaries of the plurality of correction coordinates in grids corresponding to the target effective layers; Acquiring standard longitude and standard latitude of a grid of a next layer of the target effective layer; determining a cross-lattice type of the target area based on the area boundary, the standard longitude and the standard latitude, and determining an expansion code corresponding to the cross-lattice type; And sequentially integrating the hierarchical coding, the plane coding and the extension coding into the subdivision grid coding.
  4. 4. A method according to claim 3, wherein the zone boundaries comprise a maximum relative longitude, a minimum relative longitude, a maximum relative latitude, and a minimum relative latitude; the determining a cross-lattice type of the target area based on the area boundary, the standard longitude and the standard latitude includes: determining that the stride type is a full stride when the maximum relative latitude is greater than the standard latitude, the minimum relative latitude is less than the standard latitude, the maximum relative longitude is greater than the standard longitude, and the minimum relative longitude is less than the standard longitude; when the maximum relative latitude is greater than the standard latitude, the minimum relative latitude is less than the standard latitude, and the maximum relative longitude is less than the standard longitude, determining that the cross-lattice type is left-side from top to bottom; When the maximum relative latitude is greater than the standard latitude, the minimum relative latitude is less than the standard latitude, and the minimum relative longitude is greater than the standard longitude, determining that the cross-lattice type is cross-upper, lower and right; Determining that the cross-lattice type is left-right upper-crossing when the maximum relative longitude is greater than the standard longitude, the minimum relative longitude is less than the standard longitude, and the minimum relative latitude is greater than the standard latitude; and determining that the cross-lattice type is right-left downward in a cross manner when the maximum relative longitude is greater than the standard longitude, the minimum relative longitude is less than the standard longitude and the maximum relative latitude is less than the standard latitude.
  5. 5. The method of claim 2, wherein the generating a altitude code based on the altitude range comprises: Determining an airspace category corresponding to the altitude range, and determining a first code corresponding to the airspace category; when the airspace category belongs to non-control, carrying out coarse granularity refinement on the altitude range corresponding to the airspace category to obtain a plurality of coarse granularity altitude ranges; When the coarse-granularity height range containing the altitude height range exists, determining a second code corresponding to the coarse-granularity height range, and when the coarse-granularity height range containing the altitude height range does not exist, determining the second code as a preset value, and stopping refinement; Performing medium granularity refinement on the coarse granularity height ranges to obtain a plurality of medium granularity height ranges; When the middle granularity height range containing the altitude height range exists, determining a third code corresponding to the middle granularity height range, and when the middle granularity height range containing the altitude height range does not exist, determining the third code as the preset value, and stopping refinement; Fine granularity refinement is carried out on the medium granularity height range, so that a plurality of fine granularity height ranges are obtained; determining a fourth code corresponding to the fine-grained height range when the fine-grained height range containing the altitude height range exists, and determining the fourth code as the preset value when the fine-grained height range containing the altitude height range does not exist, and stopping refinement; And determining a hierarchy identification based on the granularity corresponding to the refinement stop, and sequentially integrating the hierarchy identification, the first code, the second code, the third code and the fourth code into the high code.
  6. 6. The method according to claim 2, wherein said screening valid terminals from all receiving terminals based on said multicast communication message comprises: Analyzing the multicast communication message to obtain subdivision grid codes and height codes; acquiring a subdivision grid code and a height code generated by each receiving terminal; And matching the subdivision grid codes and the height codes of the multicast communication message with the subdivision grid codes and the height codes generated by the receiving terminal, and determining the receiving terminal as an effective terminal when the matching is successful.
  7. 7. The method of claim 1, wherein the performing service query based on the spatial identifier to obtain the mapping relationship corresponding to the target area includes: Generating a query request based on a service query message, wherein the service query message is generated based on the space identifier; and extracting the mapping relation corresponding to the target area from a mapping relation library based on the query request.
  8. 8. A multicast communication system based on three-dimensional geographic locations, the system comprising: the transmitting terminal is used for acquiring the three-dimensional geographic position of the target area, generating a space identifier of the target area based on the three-dimensional geographic position, and generating a multicast communication message based on the space identifier; The open network operating system is used for carrying out service inquiry based on the space identifier to obtain a mapping relation corresponding to the target area, and carrying out routing addressing on the target area based on the mapping relation to generate a flow table; the programmable switching equipment is used for sending the multicast communication message to all receiving terminals in the target area according to the flow table; And the receiving terminals are used for screening the effective terminals from all the receiving terminals based on the multicast communication message, so that each effective terminal receives and processes the multicast communication message.
  9. 9. An electronic device, comprising: A memory and a processor in communication with each other, the memory having stored therein computer instructions that, upon execution, perform the three-dimensional geographic location based multicast communication method of any of claims 1 to 7.
  10. 10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the three-dimensional geographic location based multicast communication method according to any of claims 1 to 7.

Description

Multicast communication method and system based on three-dimensional geographic position and electronic equipment Technical Field The invention relates to the technical field of communication, in particular to a multicast communication method, a system and electronic equipment based on three-dimensional geographic positions. Background Geographic multicast is a flexible and efficient one-to-many network communication paradigm, and has the core advantages of being capable of transmitting data packets to all receiving terminals in a target area, being particularly suitable for scenes with a large number of receiving terminals in the target area, and being capable of remarkably improving communication efficiency and reducing network overhead. The current mainstream geographic multicast scheme is implemented by mostly relying on IP (Internet Protocol ) geographic positioning technology. For example, the user may access eDNS the geographic location database to obtain the geographic locations mapped by the IP addresses of all the receiving terminals in the designated area, and send the data packets to the terminals one by one according to the geographic locations, thereby implementing multicast communication. However, the mapping relationship between the IP address and the geographic location in the above solution depends on manual collection, and in order to implement geographic multicast, the mapping relationship must be dynamically updated, but mapping failure is easily caused when the terminal moves or the IP is changed, and the maintenance cost is high. In addition, the database has a long updating period, and cannot keep pace with the rapid movement (such as unmanned aerial vehicle and mobile phone) of the terminal, so that multicast communication errors or omission are caused. In addition, the positioning accuracy of the mapping relation can only reach the city level or the street level, and the accurate positioning cannot be realized, so that the multicast range is generalized and the communication is inaccurate. Disclosure of Invention The invention provides a multicast communication method, a system and electronic equipment based on a three-dimensional geographic position, which are used for solving the problems of high maintenance cost of mapping relation, error, omission and generalization of multicast communication in the prior art based on an IP address. In a first aspect, the present invention provides a multicast communication method based on three-dimensional geographic location, the method comprising: acquiring a three-dimensional geographic position of a target area; generating a spatial identifier of the target area based on the three-dimensional geographic position; Service inquiry is carried out based on the space identifier, and a mapping relation corresponding to the target area is obtained; routing addressing is carried out on the target area based on the mapping relation, and a flow table is generated; generating a multicast communication message based on the space identifier, and transmitting the multicast communication message to all receiving terminals in the target area according to the flow table; And screening the effective terminals from all the receiving terminals based on the multicast communication messages so that each effective terminal receives and processes the multicast communication messages. According to the method, the three-dimensional geographic position of the target area is obtained, the space identifier is generated based on the three-dimensional geographic position, so that service inquiry is carried out according to the space identifier, a mapping relation is obtained, route addressing is carried out according to the mapping relation, and a flow table is generated. And generating a multicast communication message based on the space identifier, and sending the multicast communication message to the effective terminal of the target area according to the flow table. Compared with the traditional multicast communication based on the IP address, the method directly acquires the three-dimensional geographic information of the target area, does not need to additionally maintain the mapping relation, radically avoids the high maintenance cost caused by mapping update, breaks through the precision limitation of the traditional mapping relation and the limitation of two-dimensional plane communication through the spatial identification generated by the three-dimensional geographic position, realizes finer communication granularity, supports three-dimensional space representation, is beneficial to improving the spatial precision of the multicast communication, avoids the error, omission and range generalization of multicast, and is especially suitable for application scenes sensitive to the spatial granularity. In a second aspect, the present invention provides a multicast communication system based on three-dimensional geographic location, the system comprising: the transm