Information merging method, and two-dimensional map early warning display method and system
By combining the warning information with the elevation coordinate data of the three-dimensional coordinate points in the three-dimensional map, new three-dimensional coordinate information can be generated, which solves the problem of lack of early warning information transmission channels between the three-dimensional map and the two-dimensional map application system, and achieves the efficient transmission of early warning information and the effect of reducing development costs.
Patent Information
- Application Number
- CN202411430991.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
There is a lack of early warning information transmission channels between the existing three-dimensional map application system and the two-dimensional map application system, which requires independent adaptation and development by each two-dimensional map application system manufacturer, which increases the workload and debugging costs.
A method of combining early warning information and three-dimensional map coordinate information is proposed. By combining the early warning information with the elevation coordinate data of the three-dimensional coordinate points in the three-dimensional map, the combined information is transformed to obtain the decimal number, and the combined information is used to replace the elevation coordinate data in the original three-dimensional coordinate information to obtain the new three-dimensional coordinate information. The new three-dimensional coordinate information contains both the original three-dimensional coordinate information and carries early warning information, and can be transmitted to the two-dimensional map application system through the existing coordinate transmission channel.
The transmission of three-dimensional coordinate information and early warning information is realized, avoiding the need for each two-dimensional map application system manufacturer to develop separate data transmission channels, effectively reducing workload and debugging costs.
Smart Images

Figure CN119722966A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of map data processing, and in particular to a method for merging warning information with three-dimensional map coordinate information, a two-dimensional map warning display method, and a corresponding system. Background Art
[0002] Displaying warning information on a 3D map is one of the important functions of a 3D map application system. It can intuitively and quickly let monitoring personnel know relevant information when an alarm occurs (for example, high temperature, fire, thick smoke, harmful gases, etc.), so that monitoring personnel can respond in time. At present, some 2D map application system developers hope to be able to receive access to the 3D map application system and receive warning information from the 3D map application system so as to display the warning information on the 2D map.
[0003] In actual applications, it is found that the current three-dimensional map application system and the two-dimensional map application system are configured with a coordinate transmission channel (used to realize the three-dimensional coordinate data transmission from the three-dimensional map application system to the two-dimensional map application system), but there is no warning information transmission channel. Therefore, it is necessary to develop a new data transmission channel (i.e., develop a new interface) between the three-dimensional map application system and the two-dimensional map application system for transmitting warning information. However, due to all the differences in the system framework structure, interface protocol, etc. of different two-dimensional map application systems, when developing a new data transmission channel for transmitting warning information, the manufacturers of each two-dimensional map application system need to carry out various independent adaptation developments, resulting in a large amount of workload and debugging costs. Summary of the invention
[0004] The present disclosure aims to solve at least one of the technical problems existing in the prior art, and proposes a method for merging warning information with three-dimensional map coordinate information, a two-dimensional map warning display method and a corresponding system.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for merging warning information with three-dimensional map coordinate information, which is applied to a three-dimensional map application system. The method for merging information includes:
[0006] Acquire the warning information generated by the front-end sensing device, and acquire the original three-dimensional coordinate information of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map, wherein the original three-dimensional coordinate information includes: original two-dimensional plane coordinate data and original one-dimensional elevation coordinate data;
[0007] Merge the warning information with the original one-dimensional elevation coordinate data to obtain a corresponding decimal number of merged information;
[0008] The decimal number of the combined information is used as new one-dimensional elevation coordinate data to replace the original one-dimensional elevation coordinate data in the original three-dimensional coordinate information to obtain new three-dimensional coordinate information.
[0009] In some embodiments, the warning information includes several items of warning data;
[0010] The step of merging the warning information with the original one-dimensional elevation coordinate data to obtain a corresponding decimal number of the merged information includes:
[0011] Convert each of the warning data and the original one-dimensional elevation coordinate data into a binary code with a corresponding preset numerical value;
[0012] Arrange and merge the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data according to a preset arrangement order to obtain a combined information binary codeword;
[0013] The combined information binary codeword is converted from binary to decimal to obtain a corresponding combined information decimal number.
[0014] In some embodiments, the plurality of items of alarm data include: a plurality of items of alarm description data and alarm level weights pre-configured for the front-end sensing device;
[0015] Among them, different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are configured with different alarm level weights.
[0016] In some embodiments, the plurality of items of alarm description data include: at least one of an alarm number, an alarm type, and an alarm time.
[0017] In a second aspect, the embodiment of the present disclosure further provides a two-dimensional map warning display method, which is applied to a two-dimensional map application system end. The two-dimensional map warning display method includes:
[0018] Acquire new three-dimensional coordinate information, the new three-dimensional coordinate information including: original two-dimensional plane coordinate data of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map and new one-dimensional elevation coordinate data, the new one-dimensional elevation coordinate data is a combined information decimal number, the combined information decimal number is used to represent the information after the warning information generated by the front-end sensing device is combined with the original one-dimensional elevation coordinate data of the three-dimensional coordinate point;
[0019] Decoding the combined information decimal number to obtain at least part of the warning information;
[0020] Determining a display scheme corresponding to at least part of the obtained warning information;
[0021] The original two-dimensional plane coordinate data is displayed at a corresponding position in the two-dimensional map using the display scheme.
[0022] In some embodiments, the warning information includes several items of warning data;
[0023] The decimal number of the merged information is obtained by converting the binary codeword of the merged information into decimal by the three-dimensional map application system, and the binary codeword of the merged information is obtained by arranging and merging the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data according to a preset arrangement order;
[0024] The step of decoding the combined information decimal number to obtain at least part of the content of the early warning information includes:
[0025] Convert the combined information decimal number to binary to obtain a corresponding combined information binary codeword;
[0026] Performing an AND operation on the combined information binary codeword using a preset mask, and obtaining a binary code corresponding to at least one piece of alarm data according to the AND operation result;
[0027] The binary code of the obtained alarm data is decoded to obtain the true value of the alarm data.
[0028] In some embodiments, the plurality of items of alarm data include: a plurality of items of alarm description data and alarm level weights pre-configured for the front-end sensing device;
[0029] Among them, different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are configured with different alarm level weights;
[0030] In the step of performing an AND operation on the preset mask and the combined information binary codeword, and obtaining a binary code corresponding to at least one piece of alarm data according to the AND operation result, the obtained at least one piece of alarm data includes: at least one piece of alarm description data and the alarm level weight;
[0031] The step of displaying the original two-dimensional plane coordinate data at the corresponding position in the two-dimensional map using the display scheme comprises:
[0032] Adjust the original two-dimensional plane coordinate data according to the alarm level weight to obtain corresponding new two-dimensional plane coordinate data;
[0033] The new two-dimensional plane coordinate data is displayed at the position represented by the two-dimensional map using the display scheme.
[0034] In some embodiments, the original two-dimensional plane coordinate data includes: first-dimensional coordinate data x org and the second dimension coordinate data y org ;
[0035] The new two-dimensional plane coordinate data includes: the first dimension coordinate data x new and the second dimension coordinate data y new ;
[0036] x new =x org +AlarmWeight
[0037] y new =y org +AlarmWeight
[0038] Among them, AlarmWeight represents the weight of the alarm level.
[0039] In a third aspect, the present disclosure also provides a three-dimensional map application system, including:
[0040] one or more first processors;
[0041] A first memory, used to store one or more first programs;
[0042] When the one or more first programs are executed by the one or more first processors, the one or more first processors implement the information merging method provided in the first aspect.
[0043] In a fourth aspect, the present disclosure also provides a two-dimensional map application system, including:
[0044] one or more second processors;
[0045] A second memory, used to store one or more second programs;
[0046] When the one or more second programs are executed by the one or more second processors, the one or more second processors implement the two-dimensional map warning display method provided in the second aspect.
[0047] In a fifth aspect, the embodiments of the present disclosure further provide a comprehensive map application system, including: a three-dimensional map application system as provided in the third aspect and a two-dimensional map application system as provided in the fourth aspect.
[0048] The present invention provides a method for merging warning information with three-dimensional map coordinate information, which comprises merging the warning information with the elevation coordinate data of a three-dimensional coordinate point in a three-dimensional map, converting the merged information into a decimal number, and then using the merged information decimal number to replace the elevation coordinate data in the original three-dimensional coordinate information to obtain corresponding new three-dimensional coordinate information; the new three-dimensional coordinate information not only includes the original three-dimensional coordinate information but also carries the warning information; the three-dimensional map application system can transmit the new three-dimensional coordinate information to other two-dimensional map application systems through the existing coordinate transmission channel to realize the transmission of the three-dimensional coordinate information and the warning information, so the manufacturers of each two-dimensional map application system do not need to develop an additional separate data transmission channel for the warning information, which can effectively reduce the workload and debugging cost brought by the demand for obtaining the warning information. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A systematic structural block diagram of the application scenario involved in the present disclosure;
[0050] Figure 2 A flowchart of a method for combining early warning information with three-dimensional map coordinate information provided by the present disclosure;
[0051] Figure 3 This is a flow chart of an optional implementation method of step S102 in the embodiment of the present disclosure;
[0052] Figure 4 A schematic diagram of merging binary codes corresponding to all alarm data and original one-dimensional elevation coordinate data to obtain a combined information binary codeword in an embodiment of the present disclosure;
[0053] Figure 5 A flowchart of a two-dimensional map warning display method provided by an embodiment of the present disclosure;
[0054] Figure 6 This is a flow chart of an optional implementation method of step S202 in the embodiment of the present disclosure;
[0055] Figure 7 A schematic diagram of using alarm level weights to disperse warning information in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present invention thorough and complete and to enable those skilled in the art to fully understand the scope of the present invention.
[0057] The terms used herein are only used to describe specific embodiments and are not intended to limit the present invention. As used herein, the singular forms "a", "an" and "the" are also intended to include plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprise" and / or "comprising" are used in this specification, the existence of steps, operations, data, information and / or components is specified, but the existence or addition of one or more other steps, operations, data, information and / or components thereof is not excluded.
[0058] It will be understood that, although the terms first, second, etc. may be used herein to describe various objects, these objects should not be limited by these terms.
[0059] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present invention, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0060] Figure 1 This is a systematic structural block diagram of the application scenario involved in this disclosure. Figure 1 As shown, the application scenarios involved in the present disclosure include the following two types of independent objects: a three-dimensional map application system and a two-dimensional map application system, wherein the number of the three-dimensional map application system and the two-dimensional map application system can be one or more, and the present disclosure does not limit this.
[0061] In addition, the warning information in the present disclosure is generated by the front-end sensing device, which refers to the sensing device arranged in the real physical space according to the monitoring needs, such as high temperature sensing device (monitoring temperature and generating corresponding warning information when the temperature exceeds the threshold), smoke sensing device (monitoring smoke concentration and generating corresponding warning information when the smoke concentration exceeds the threshold), harmful gas sensing device (monitoring the concentration of harmful gases, such as formaldehyde gas, sulfur dioxide gas, ammonia gas, etc., and generating corresponding warning information when the concentration of harmful gases exceeds the threshold), etc. Among them, the warning information is information used to prompt that the sensing index at the corresponding position exceeds the corresponding preset range, that is, there is an alarm. The warning information generally includes several items of alarm data, which refers to data information used to describe the alarm status, such as alarm code, alarm type, alarm time, alarm severity, etc.
[0062] In the present disclosure, the location, quantity, specific type, etc. of the deployed front-end sensing devices, as well as the specific warning data included in the early warning information, are not limited.
[0063] Figure 2The present invention provides a flowchart of a method for combining early warning information with three-dimensional map coordinate information. Figure 2 As shown, the information merging method includes: applied to a three-dimensional map application system, the information merging method includes:
[0064] Step S101: Acquire warning information generated by the front-end sensing device, and acquire original three-dimensional coordinate information of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map.
[0065] The original three-dimensional coordinate information includes: original two-dimensional plane coordinate data and original one-dimensional elevation coordinate data. The original three-dimensional coordinate information can be expressed in coordinate form as (x org ,y org , z org ), the original two-dimensional plane coordinate data can be expressed in coordinate form as (x org ,y org ), x org and org Represents the first dimension coordinate data and the second dimension coordinate data respectively, z org Represents the original one-dimensional elevation coordinate data.
[0066] When a certain front-end sensing device arranged in the real physical space detects an alarm, it will generate corresponding warning information and send the warning information to the three-dimensional map application system. In some embodiments, when the three-dimensional map application system receives the alarm information sent by the front-end sensing device, it will perform data integrity, validity, and real-time verification on the alarm information, and eliminate invalid data, such as expired, unreasonable values, false alarms and other unreasonable data. After the alarm information is verified, the original three-dimensional coordinate information of the three-dimensional coordinate point corresponding to the front-end sensing device that generated the alarm information in the three-dimensional map is determined from the system.
[0067] Step S102: merge the warning information with the original one-dimensional elevation coordinate data, and obtain a corresponding merged information decimal number.
[0068] Step S103: Use the decimal number of the merged information as new one-dimensional elevation coordinate data to replace the original one-dimensional elevation coordinate data in the original three-dimensional coordinate information to obtain new three-dimensional coordinate information.
[0069] Since the one-dimensional elevation coordinate data are all represented by decimal numbers, the warning information and the original one-dimensional elevation coordinate data are merged and processed, and then converted into the merged information decimal number, so that the data format of the merged information is exactly the same as the data format of the one-dimensional elevation coordinate data. Therefore, the merged information decimal number can be directly used as the new one-dimensional elevation coordinate data to replace the original one-dimensional elevation coordinate data in the original three-dimensional coordinate information, and the data format of the obtained new three-dimensional coordinate information is exactly the same as the data format of the original three-dimensional coordinate information. At this time, the new three-dimensional coordinate information not only contains the original three-dimensional coordinate information and the warning information, but also the new three-dimensional coordinate information can be directly transmitted to other two-dimensional map application systems using the existing coordinate transmission channel.
[0070] In the embodiment of the present disclosure, the warning information is merged with the elevation coordinate data of the three-dimensional coordinate points in the three-dimensional map, and the merged information is converted into a decimal number, and then the decimal number of the merged information is used to replace the elevation coordinate data in the original three-dimensional coordinate information to obtain the corresponding new three-dimensional coordinate information; the new three-dimensional coordinate information not only contains the original three-dimensional coordinate information but also carries the warning information; the three-dimensional map application system can transmit the new three-dimensional coordinate information to other two-dimensional map application systems through the existing coordinate transmission channel to realize the transmission of three-dimensional coordinate information and warning information. Therefore, the manufacturers of each two-dimensional map application system do not need to develop an additional separate data transmission channel for the warning information, which can effectively reduce the workload and debugging costs brought about by the demand for obtaining warning information.
[0071] Figure 3 FIG. 1 is a flow chart of an optional implementation method of step S102 in the embodiment of the present disclosure. Figure 3 As shown, in some embodiments, the warning information includes several items of warning data; in this case, step S102 includes:
[0072] Step S1021, converting each warning data and original one-dimensional elevation coordinate data into binary codes with corresponding preset numerical bits.
[0073] A corresponding binary encoding algorithm (such as an encoding algorithm used in a common binary converter) may be designed in advance for each item of alarm data to convert the real value of the corresponding alarm data into a binary code with a corresponding preset number of bits. A corresponding data value-binary encoding correspondence table may be designed in advance for each item of alarm data, and the data value-binary encoding correspondence table records the binary codes corresponding to different data values (the data types may be strings, Chinese characters, numbers, etc.).
[0074] The true value of the one-dimensional elevation coordinate data is generally a decimal number, so the decimal-to-binary conversion process can be used to obtain the binary code corresponding to the one-dimensional elevation coordinate data.
[0075] The specific values of the preset numerical bits of the binary code corresponding to each warning data and the original one-dimensional elevation coordinate data can be pre-designed and adjusted according to actual conditions, and this disclosure does not limit them.
[0076] Step S1022: Arrange and merge the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data in a preset arrangement order to obtain a merged information binary codeword.
[0077] Step S1023: convert the combined information binary codeword from binary to decimal to obtain a corresponding combined information decimal number.
[0078] In some embodiments, the plurality of items of alarm data include: a plurality of items of alarm description data and alarm level weights pre-configured for the front-end sensing device; wherein the alarm level weights configured for different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are different.
[0079] The alarm level weight is used to represent the importance (severity) of the alarm, where the more important (serious) the alarm is, the greater the corresponding alarm level weight. The value-taking rules of the alarm level weight, such as how many different values are included and how many specific values are taken, can be pre-designed and adjusted according to actual needs, and this disclosure does not limit it.
[0080] In some embodiments, the plurality of items of alarm description data include at least one of: alarm number, alarm type, and alarm time.
[0081] The following will describe step S102 in conjunction with an example. Take the case where the warning information includes two alarm description data and one alarm level weight, and the two alarm description data are the alarm number and the alarm type, respectively. The preset numerical bits of the binary code corresponding to the alarm number, alarm type, and alarm level weight are all 4 bits, and the preset numerical bits of the binary code corresponding to the original one-dimensional elevation coordinate data are 8 bits.
[0082] As an example, the actual value of the alarm number in the warning information (data type is a string) is "01", the alarm type (data type is Chinese) is "dense smoke warning", the alarm level weight (data type is a decimal number) is "1", and the original three-dimensional coordinate information is "(128,64,160)".
[0083] Assume that the binary encoding results obtained by step S1021 are as follows: the 4-bit binary code "0001" corresponding to the true value "01" of the alarm number, the 4-bit binary code "0001" corresponding to the true value "dense smoke warning" of the alarm type, the 4-bit binary code "0001" corresponding to the true value "1" of the alarm level weight, the 4-bit binary code "10100000" corresponding to the true value "160" of the original one-dimensional elevation coordinate data
[0084] Figure 4 A schematic diagram of merging the binary codes corresponding to all the alarm data and the original one-dimensional elevation coordinate data to obtain a combined information binary codeword in the embodiment of the present disclosure. Figure 4 As shown, in step S1022, assuming that the preset arrangement order of the binary code is from front to back: the binary code corresponding to the alarm number, the binary code corresponding to the alarm type, the binary code corresponding to the alarm level weight, and the binary code of the original one-dimensional elevation coordinate data, then through step S1022, a 20-bit merged information binary code word "00010001000110100000" can be obtained; the binary code "0001" of the 1st to 4th bits of the merged information binary code word represents the alarm number, the binary code "0001" of the 5th to 8th bits represents the alarm type, the binary code "0001" of the 9th to 12th bits represents the alarm level weight, and the binary code "10100000" of the 13th to 20th bits represents the original one-dimensional elevation coordinate data.
[0085] In step S1023, the merged information binary code "00010001000110100000" is converted from binary to decimal to obtain the corresponding merged information decimal number "70048", which is used as the new one-dimensional elevation coordinate data, thereby realizing the merging of the original one-dimensional elevation coordinate data and the warning information.
[0086] In step S103, the original one-dimensional elevation coordinate data "160" in the original three-dimensional coordinate information "(128, 64, 160)" is replaced with "70048" to obtain new three-dimensional coordinate information "(128, 64, 70048)".
[0087] It should be noted that the two-dimensional map application system in the present disclosure adopts the existing display method to display warning information in the three-dimensional map. This part is not the invention point of the present disclosure and will not be elaborated in the present disclosure.
[0088] Figure 5 This is a flow chart of a two-dimensional map warning display method provided by an embodiment of the present disclosure. Figure 5 As shown, the two-dimensional map warning display method is applied to the two-dimensional map application system end, and the two-dimensional map warning display method includes:
[0089] Step S201, obtaining new three-dimensional coordinate information.
[0090] Among them, the new three-dimensional coordinate information includes: the original two-dimensional plane coordinate data of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map and a new one-dimensional elevation coordinate data. The new one-dimensional elevation coordinate data is a merged information decimal number. The merged information decimal number is used to represent the information after the warning information generated by the front-end sensing device is merged with the original one-dimensional elevation coordinate data of the three-dimensional coordinate point.
[0091] Step S202: Decode the decimal number of the merged information and obtain at least part of the content of the warning information.
[0092] In step S202, by decoding the decimal number of the combined information, the true value of at least part of the warning data in the warning information can be obtained.
[0093] As an example, the real value of part of the warning data in the warning information can be obtained through step S202.
[0094] As another example, the true values of all warning data in the warning information can be obtained through step S202.
[0095] As another example, the true value of part of the warning data and the true value of the one-dimensional elevation coordinate data in the warning information can be obtained through step S202.
[0096] As another example, the true values of all warning data and the true values of one-dimensional elevation coordinate data in the warning information can be obtained through step S202.
[0097] Step S203: Determine a display scheme corresponding to at least part of the content in the obtained warning information.
[0098] In step S203, a corresponding real solution may be determined based on at least part of the content in the obtained warning information.
[0099] As an example, assume that the obtained warning information includes: the true value of the alarm type and the true value of the alarm level weight; the display scheme includes two parts: 1) determining the display logo shape; 2) determining the display color. In the present disclosure, a warning type-display logo shape correspondence table can be designed in advance for the alarm type, and a level weight-display color correspondence table can be designed for the alarm level weight, wherein the warning type-display logo shape correspondence table records the display logo shapes corresponding to different alarm type values, and the level weight-display color correspondence table records the display logo shapes corresponding to different alarm level weights.
[0100] As an example, the real value of the alarm type is "dense smoke warning", and the real value of the alarm level weight is "1". In step S203, by querying the alarm type-display logo shape correspondence table and the level weight-display color correspondence table, the display logo shape corresponding to the alarm type "dense smoke warning" and the display color corresponding to the alarm level weight "1" can be queried. Thus, the display scheme is determined.
[0101] As an example, the display logo shape corresponding to the alarm type "dense smoke warning" is an inverted triangle ▽, and the display color corresponding to the alarm level weight "1" is red. In this case, the display scheme is a red inverted triangle ▽. When the monitoring personnel see a red inverted triangle somewhere on the two-dimensional map, it means that there is a dense smoke warning at that place and the alarm level weight is 1.
[0102] In actual applications, the corresponding rules between different warning information and display plans can be set in advance according to actual needs. In step S203, the rules are matched according to at least part of the content in the warning information obtained in step S202 to determine the display plan, which can reflect at least part of the content of the warning information.
[0103] Step S204: display the original two-dimensional plane coordinate data at the corresponding position in the two-dimensional map using a display solution.
[0104] In the embodiment of the present disclosure, the two-dimensional map application system decodes the decimal number of the merged information and obtains at least part of the content in the warning information, and then determines the display scheme corresponding to at least part of the content in the obtained warning information, and finally displays the original two-dimensional plane coordinate data at the corresponding position in the two-dimensional map with the display scheme, thereby realizing the display of the warning information on the two-dimensional map.
[0105] In some embodiments, the combined information decimal number is obtained by converting the combined information binary codeword from binary to decimal by the three-dimensional map application system, and the combined information binary codeword is obtained by arranging and merging the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data in a preset arrangement order. For details, please refer to the embodiment shown in the above.
[0106] Figure 6 FIG. 2 is a flow chart of an optional implementation method of step S202 in the embodiment of the present disclosure. Figure 6 As shown, step S202 includes:
[0107] Step S2021, convert the decimal number of the merged information into binary number to obtain the corresponding binary codeword of the merged information.
[0108] Step S2022: perform an AND operation on the preset mask and the combined information binary codeword, and obtain a binary code corresponding to at least one item of alarm data according to the AND operation result.
[0109] Step S2023: Decode the binary code of the obtained alarm data to obtain the true value of the alarm data.
[0110] Among them, several items of alarm data include: several items of alarm description data and alarm level weights pre-configured for the front-end sensing device; the alarm level weights configured for different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are different.
[0111] In some embodiments, the at least one item of alarm data obtained in step S2031 includes: at least one item of alarm description data and an alarm level weight. Further optionally, the plurality of items of alarm description data include: at least one of an alarm number, an alarm type, and an alarm time.
[0112] Still taking the case where the warning information includes two alarm description data and one alarm level weight, and the two alarm description data are the alarm number and the alarm type respectively, the preset numerical bits of the binary code corresponding to the alarm number, alarm type, and alarm level weight are all 4 bits, and the preset numerical bits of the binary code corresponding to the original one-dimensional elevation coordinate data are 8 bits.
[0113] Assume that the two-dimensional map application system receives new three-dimensional coordinate information "(128,64,70048)". At this time, the original two-dimensional plane coordinate data is (128,64) and the new one-dimensional elevation coordinate data is "70048".
[0114] By converting the combined information decimal number "70048" into binary, a combined information binary code word "00010001000110100000" with a numerical position of 20 bits is obtained.
[0115] As an example, when only the police incident number needs to be obtained, the binary code corresponding to the police incident number is the 1st to 4th bits in the combined information binary codeword. At this time, a preset mask "111100000000000000000" can be designed in advance for extracting the police incident number, that is, a total of 20 bits, and the first 4 bits are all 1, and the last 16 bits are all 0. By performing an AND operation with the combined information binary codeword "00010001000110100000", the AND operation result is "00010000000000000000", and then extracting the first 4 bits of the code "0001", it can be determined that the binary code of the police incident number is "0001", and then by binary decoding "0001" (for example, decoding using a binary decoder corresponding to the police incident number or a pre-designed correspondence table), the police incident number corresponding to "0001" is "01".
[0116] As another example, when only the alarm type needs to be obtained, the binary code corresponding to the alarm type is the 5th to 8th bits in the combined information binary codeword. At this time, a preset mask "00001111000000000000" can be designed in advance for extracting the alarm type, totaling 20 bits, and the 5th to 8th bits are all 1, and the other 16 bits are all 0. By performing an AND operation with the combined information binary codeword "00010001000110100000", the AND operation result is "00000001000000000000", and then extracting the 5th to 8th bit code "0001", it can be determined that the binary code of the alarm type is "0001", and then by binary decoding "0001" (for example, decoding using a binary decoder corresponding to the alarm type or a pre-designed correspondence table), the alarm type corresponding to "0001" is obtained as "dense smoke warning".
[0117] That is to say, when the number of bits of the preset mask is the same as the number of bits of the binary codeword of the merged information, the corresponding preset mask can be designed according to the alarm data and the original one-dimensional elevation coordinate data required by the two-dimensional map application system. That is, in the 20-bit preset mask, the positions corresponding to the alarm data or the original one-dimensional elevation coordinate data that need to be extracted are all set to 1, and the positions corresponding to the alarm data or the original one-dimensional elevation coordinate data that do not need to be extracted are all set to 0.
[0118] As a case, the two-dimensional map application system needs to extract all the alarm data and the original one-dimensional elevation coordinate data (generally, the two-dimensional map application system does not need the elevation coordinate data). At this time, the preset mask can be pre-designed as "1111111111111111111111", and the AND operation is performed with the merged information binary code word "00010001000110100000", and the AND operation result is "00010001000110100000", and then according to the merged information binary code word encoding rule, it can be concluded that the binary code "0001" of the 1st to 4th bits in the merged information binary code word represents the alarm number, the binary code "0001" of the 5th to 8th bits represents the alarm type, the binary code "0001" of the 9th to 12th bits represents the alarm level weight, and the binary code "10100000" of the 13th to 20th bits represents the original one-dimensional elevation coordinate data.
[0119] Then, according to the binary coding rules of each alarm data and the original one-dimensional elevation coordinate data, the binary codes of each alarm data and the original one-dimensional elevation coordinate data are decoded to obtain the true value corresponding to the 4-bit binary code "0001" of the alarm number is "01", the true value corresponding to the 4-bit binary code "0001" of the alarm type is "dense smoke warning", the true value corresponding to the 4-bit binary code "0001" of the alarm level weight is "1", and the true value corresponding to the 8-bit binary code "10100000" of the original one-dimensional elevation coordinate data is "160".
[0120] It should be noted that in the present disclosure, a preset mask is used to extract the information required by the two-dimensional map application system, which can realize on-demand extraction of the two-dimensional map application system on the one hand, and effectively protect the merged information on the other hand.
[0121] In actual applications, it is found that due to the existence of elevation coordinates in three-dimensional maps, the same original two-dimensional plane coordinate data will correspond to multiple front-end sensing devices, and different warning information will correspond to the same original two-dimensional plane coordinate data. For example, a multi-story building is equipped with a corresponding smoke sensing device on each floor. The two-dimensional plane coordinate data of the three-dimensional coordinate points corresponding to these smoke sensing devices in the three-dimensional map are the same, but the one-dimensional elevation coordinates are different. In the two-dimensional map, since the one-dimensional elevation coordinates are removed, these different smoke sensing devices located on different floors of the same multi-story building will correspond to the same two-dimensional plane coordinate data. At this time, when the warning information is displayed in the two-dimensional map, multiple warning information will be stacked and displayed at the same position (that is, the position represented by the corresponding same two-dimensional plane coordinate data), affecting the monitoring personnel's viewing of the warning information. In order to effectively improve the above technical problems, the present disclosure provides corresponding solutions.
[0122] Figure 7 FIG. 1 is a schematic diagram of using the alarm level weight to display the warning information in a dispersed manner in the embodiment of the present disclosure. Figure 7 As shown, in some embodiments, step S204 includes:
[0123] Step S2041, adjusting the original two-dimensional plane coordinate data according to the alarm level weight to obtain corresponding new two-dimensional plane coordinate data.
[0124] In some embodiments, the original two-dimensional plane coordinate data includes: first-dimensional coordinate data x org and the second dimension coordinate data y org ;
[0125] The new two-dimensional plane coordinate data includes: the first dimension coordinate data x new and the second dimension coordinate data y new ;
[0126] x new =x org +AlarmWeight
[0127] y new =y org +AlarmWeight
[0128] Among them, AlarmWeight represents the weight of the alarm level.
[0129] Of course, the above-mentioned situation of directly adding each dimension of the original two-dimensional plane coordinate data to the weight of the alarm level to obtain the new two-dimensional plane coordinate data is only an optional implementation scheme in the present disclosure, which will not limit the technical scheme of the present disclosure. For example, in the present disclosure, each dimension of the original two-dimensional plane coordinate data can also be subtracted from the weight of the alarm level, or other algorithms can be designed based on the weight of the alarm level.
[0130] Step S2042: Display the new two-dimensional plane coordinate data at the position represented by the two-dimensional map using a display scheme.
[0131] In the disclosed embodiment, the alarm level weight is represented by a decimal number, which can be directly calculated with the coordinate data in the original two-dimensional plane coordinate data.
[0132] In the present disclosure, the alarm level weights are reused, and the alarm level weights of the front-end sensing devices are pre-designed, that is, different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are configured with different alarm level weights, and the original two-dimensional plane coordinate data are adjusted by the alarm level weights of each front-end sensing device to obtain corresponding new two-dimensional plane coordinate data, so that the warning information of different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data forms scattered points when displayed in the two-dimensional plane, thereby avoiding the problem of stacking during the display of the warning information.
[0133] It should be noted that in the present disclosure, the alarm level weight will be reused to adjust the original two-dimensional plane coordinate data. In order to avoid the new two-dimensional plane coordinate data being too far away from the original two-dimensional plane coordinate data, resulting in low position accuracy, the value of the alarm level weight does not need to be designed to be too large.
[0134] The disclosed embodiment also provides a three-dimensional map application system, which includes: one or more first processors and a first memory; wherein the first memory is used to store one or more first programs; when the one or more first programs are executed by the one or more first processors, the one or more first processors implement the information merging method of warning information and three-dimensional map coordinate information provided in any of the previous embodiments. For a specific description, please refer to the previous content, which will not be repeated here.
[0135] The disclosed embodiment also provides a two-dimensional map application system, which includes: one or more second processors and a second memory; wherein the second memory is used to store one or more second programs; when the one or more second programs are executed by the one or more second processors, the one or more second processors implement the two-dimensional map warning display method provided by any of the previous embodiments. For a specific description, please refer to the previous content, which will not be repeated here.
[0136] It should be noted that, in some embodiments, the three-dimensional map application system and the two-dimensional map application system also include one or more I / O interfaces connected between the corresponding processor and the memory, and configured to implement information exchange between the processor and the memory.
[0137] In the present disclosure, a processor is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; a memory is a device with data storage capabilities, including but not limited to a random access memory (RAM, more specifically SDRAM, DDR, etc.), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), and a flash memory (FLASH); an I / O interface (read-write interface) is connected between the processor 101 and the memory, and can realize information exchange between the processor and the memory, including but not limited to a data bus (Bus), etc.
[0138] In some embodiments, the processor, memory, and I / O interface are connected to each other and, in turn, to other components of the computing device via a bus.
[0139] In some embodiments, the processor comprises a field programmable gate array.
[0140] The disclosed embodiment also provides a comprehensive map application system, including: the three-dimensional map application system provided in the previous embodiment and the two-dimensional map application system provided in the previous embodiment.
[0141] According to an embodiment of the present disclosure, a computer readable medium is further provided. The computer readable medium stores a computer program, wherein when the program is executed by a processor, the steps in any of the information merging methods in the above embodiments and / or the steps in any of the two-dimensional map warning display methods in the above embodiments are implemented.
[0142] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, including a computer program carried on a machine-readable medium, the computer program containing a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the system of the present disclosure are executed.
[0143] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0145] The circuits or subcircuits involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The described circuits or subcircuits may also be arranged in a processor, for example, may be described as: a processor comprising: a receiving circuit and a processing circuit, the processing module comprising a writing subcircuit and a reading subcircuit. The names of these circuits or subcircuits do not, in some cases, constitute limitations on the circuits or subcircuits themselves, for example, a receiving circuit may also be described as "receiving a video signal".
[0146] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.
Claims
1. A method for combining early warning information with three-dimensional map coordinate information, characterized in that: Applied to the three-dimensional map application system, the information merging method includes: Acquire the warning information generated by the front-end sensing device, and acquire the original three-dimensional coordinate information of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map, wherein the original three-dimensional coordinate information includes: original two-dimensional plane coordinate data and original one-dimensional elevation coordinate data; The warning information is combined with the original one-dimensional elevation coordinate data to obtain a corresponding combined information decimal number; The decimal number of the combined information is used as new one-dimensional elevation coordinate data to replace the original one-dimensional elevation coordinate data in the original three-dimensional coordinate information to obtain new three-dimensional coordinate information.
2. The information merging method according to claim 1, characterized in that: The warning information includes several items of warning data; The step of merging the warning information with the original one-dimensional elevation coordinate data to obtain a corresponding decimal number of the merged information includes: Convert each of the warning data and the original one-dimensional elevation coordinate data into a binary code with a corresponding preset numerical value; Arrange and merge the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data according to a preset arrangement order to obtain a combined information binary codeword; The combined information binary codeword is converted from binary to decimal to obtain a corresponding combined information decimal number.
3. The information merging method according to claim 2, characterized in that: The plurality of alarm data include: a plurality of alarm description data and alarm level weights pre-configured for the front-end sensing device; Among them, different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are configured with different alarm level weights.
4. The information merging method according to claim 3, characterized in that: The plurality of items of alarm description data include: at least one of the alarm number, the alarm type, and the alarm time.
5. A two-dimensional map warning display method, characterized in that: Applied to a two-dimensional map application system, the two-dimensional map warning display method includes: Acquire new three-dimensional coordinate information, the new three-dimensional coordinate information including: original two-dimensional plane coordinate data of the three-dimensional coordinate point corresponding to the front-end sensing device in the three-dimensional map and new one-dimensional elevation coordinate data, the new one-dimensional elevation coordinate data is a combined information decimal number, the combined information decimal number is used to represent the information after the warning information generated by the front-end sensing device is combined with the original one-dimensional elevation coordinate data of the three-dimensional coordinate point; Decoding the combined information decimal number to obtain at least part of the warning information; Determining a display scheme corresponding to at least part of the obtained warning information; The original two-dimensional plane coordinate data is displayed at a corresponding position in the two-dimensional map using the display scheme.
6. The two-dimensional map warning display method according to claim 5 is characterized in that: The warning information includes several items of warning data; The decimal number of the merged information is obtained by converting the binary codeword of the merged information into decimal by the three-dimensional map application system, and the binary codeword of the merged information is obtained by arranging and merging the binary codes corresponding to all the alarm data and the binary codes corresponding to the original one-dimensional elevation coordinate data according to a preset arrangement order; The step of decoding the combined information decimal number to obtain at least part of the content of the early warning information includes: Convert the combined information decimal number to binary to obtain a corresponding combined information binary codeword; Performing an AND operation on the combined information binary codeword using a preset mask, and obtaining a binary code corresponding to at least one piece of alarm data according to the AND operation result; The binary code of the obtained alarm data is decoded to obtain the true value of the alarm data.
7. The two-dimensional map warning display method according to claim 6, characterized in that: The plurality of alarm data include: a plurality of alarm description data and alarm level weights pre-configured for the front-end sensing device; Among them, different front-end sensing devices corresponding to the same original two-dimensional plane coordinate data are configured with different alarm level weights; In the step of performing an AND operation on the preset mask and the combined information binary codeword, and obtaining a binary code corresponding to at least one piece of alarm data according to the AND operation result, the obtained at least one piece of alarm data includes: at least one piece of alarm description data and the alarm level weight; The step of displaying the original two-dimensional plane coordinate data at the corresponding position in the two-dimensional map using the display scheme comprises: Adjust the original two-dimensional plane coordinate data according to the alarm level weight to obtain corresponding new two-dimensional plane coordinate data; The new two-dimensional plane coordinate data is displayed at the position represented by the two-dimensional map using the display scheme.
8. The two-dimensional map warning display method according to claim 7, characterized in that: The original two-dimensional plane coordinate data includes: the first dimension coordinate data x org and the second dimension coordinate data y org ; The new two-dimensional plane coordinate data includes: the first dimension coordinate data x new and the second dimension coordinate data y new ; x new =x org +AlarmWeight and new =and org +AlarmWeight Among them, AlarmWeight represents the weight of the alarm level.
9. A three-dimensional map application system, characterized in that: include: one or more first processors; A first memory, used to store one or more first programs; When the one or more first programs are executed by the one or more first processors, the one or more first processors implement the information merging method as claimed in any one of claims 1 to 4.
10. A two-dimensional map application system, characterized in that: include: one or more second processors; A second memory, used to store one or more second programs; When the one or more second programs are executed by the one or more second processors, the one or more second processors implement the two-dimensional map warning display method as described in any one of claims 5 to 8.