CN114006743A - Method for extracting and querying land use state in real time based on big data - Google Patents

Method for extracting and querying land use state in real time based on big data Download PDF

Info

Publication number
CN114006743A
CN114006743A CN202111257669.5A CN202111257669A CN114006743A CN 114006743 A CN114006743 A CN 114006743A CN 202111257669 A CN202111257669 A CN 202111257669A CN 114006743 A CN114006743 A CN 114006743A
Authority
CN
China
Prior art keywords
land
code
query
max
real
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.)
Granted
Application number
CN202111257669.5A
Other languages
Chinese (zh)
Other versions
CN114006743B (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.)
Chongqing Planning And Natural Resources Information Center
Original Assignee
Chongqing Planning And Natural Resources Information Center
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 Chongqing Planning And Natural Resources Information Center filed Critical Chongqing Planning And Natural Resources Information Center
Priority to CN202111257669.5A priority Critical patent/CN114006743B/en
Publication of CN114006743A publication Critical patent/CN114006743A/en
Application granted granted Critical
Publication of CN114006743B publication Critical patent/CN114006743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Health & Medical Sciences (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Power Engineering (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for extracting and querying land use states in real time based on big data, which comprises the following steps: s1, logging in a land real-time query platform; and S2, inquiring the land use state according to the input inquiry words. The invention can realize real-time inquiry of the land.

Description

Method for extracting and querying land use state in real time based on big data
Technical Field
The invention relates to the technical field of land management, in particular to a method for extracting and querying land use states in real time based on big data.
Background
The patent application number 2020110337977, entitled "a land supply supervision system", includes a basic facility layer, a data layer, a business application layer and a service layer; the infrastructure layer takes a geographic information system as a basic platform, and simultaneously takes a city bureau information center as a data management center to form a multi-level management network among business departments, district and county branch bureaus and survey bureau organizations so as to establish a multi-level geographic information system; providing land supply related information by the data layer; the business application layer is established on the basis of the application support platform and the data layer to build business application; the service layer is a role user of the land supply supervision system; the land supply monitoring system with the process management and space attributes is established, information is uniformly stored in a database, and reporting, auditing, inquiring, counting, positioning, analyzing, updating, exporting and the like of land acquisition information, compensation information, supply information, temporary land information and transfer decision book information can be conveniently carried out through a platform.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides a method for extracting and querying the land use state in real time based on big data.
In order to achieve the above purpose, the present invention provides a method for extracting and querying a land use state in real time based on big data, which comprises the following steps:
s1, logging in a land real-time query platform;
and S2, inquiring the land use state according to the input inquiry words.
In a preferred embodiment of the present invention, step S1 includes the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal; the first unique ID code of the login terminal comprises one or any combination of a Bluetooth ID code, a mainboard ID code, an NFC ID code, a CPU ID code, a WiFi ID code and an SIM card ID code of the login terminal; the second unique ID code of the login terminal comprises one or any combination of a Bluetooth ID code, a mainboard ID code, an NFC ID code, a CPU ID code, a WiFi ID code and an SIM card ID code of the login terminal; and ID1code≠ID2 code,ID1code represents the first unique ID code of the login terminal, ID2code represents a second unique ID code of the login terminal;
s12, performing unique ID code processing on the unique ID code obtained in step S11, and obtaining a processed code thereof, where the method for obtaining the processed code includes:
Processing code=Asymmetric encryption{Md5[Sha256(ID1 code)]},
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
the asymmetry encryption { } represents an Asymmetric encryption algorithm realized by using a private key of a login terminal;
processing code represents a Processing code;
ID1code represents a first unique ID code of the login terminal;
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code; the calculation method of the analytic code comprises the following steps:
Parsing code=Asymmetric encryption′{Receive code},
the Asymmetric encryption' { } represents an Asymmetric decryption algorithm realized by using a public key corresponding to a private key of a login terminal;
the received code represents a processing code received by the land real-time query platform;
the Parsing code represents a Parsing code;
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that an account and a password are requested to be used for login. The login terminal can log in the query platform without complex operation of inputting an account number and a password, login safety is enhanced, and user experience is improved.
In a preferred embodiment of the present invention, the method includes a step S10 of binding the first unique ID code and the second unique ID code of the registered terminal, before the step S11, and the method of binding the first unique ID code and the second unique ID code of the registered terminal includes the steps of:
s101, scanning a two-dimensional code sent by a land real-time inquiry platform by using a login terminal to obtain a terminal code;
s102, analyzing the obtained terminal code to obtain a terminal analysis code; the method for obtaining the terminal analysis code comprises the following steps:
Terminal parsing code=Asymmetric encryption″{Terminal code},
the asymmetry encryption { } represents an Asymmetric decryption algorithm implemented by using a public key opposite to a platform private key;
terminal code represents a Terminal code;
the Terminal matching code represents a Terminal parsing code;
s103, uploading the obtained terminal analysis code to obtain an uploading code;
Upload code=Asymmetric encryption{Md5[Sha256(Terminal parsing code)]},
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
the asymmetry encryption { } represents an Asymmetric encryption algorithm realized by using a private key of a login terminal;
the uploadcode represents an Upload code;
the Terminal matching code represents a Terminal parsing code;
s104, sending the acquired uploading code to a login land real-time query platform, and analyzing the received uploading code by the land real-time query platform to obtain a first analysis code; the calculation method of the first analytic code comprises the following steps:
Parsing code1=Asymmetric encryption′{Receive code1},
the Asymmetric encryption' { } represents an Asymmetric decryption algorithm realized by using a public key corresponding to a private key of a login terminal;
Receive code1representing the uploading code received by the land real-time inquiry platform;
Parsing code1representing a first parse code;
s105, determining whether the first analysis code is transmitted to the login terminal within a predetermined time:
if the first analysis code is sent to the login terminal within the specified time, the first unique ID code and the second unique ID code of the login terminal are bound;
if the specified time is exceeded, the waiting is continued.
In a preferred embodiment of the present invention, the method for determining whether the first analysis code is transmitted to the logging terminal within the predetermined time in step S105 includes the steps of:
s1051, the land real-time inquiry platform judges whether a direct login binding trigger signal of a login terminal is received:
if the land real-time query platform receives a direct login binding trigger signal of the login terminal, executing the step S1052;
if the land real-time query platform does not receive the direct login binding trigger signal of the login terminal, continuing waiting;
s1052, the land real-time inquiry platform generates a platform code according to the received first unique ID code and the second unique ID code, and the method for generating the platform code comprises the following steps:
Platform code=Md5[Sha256(ID1 code-ID2 code)],
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
platform code represents a Platform code;
ID1code represents a first unique ID code;
ID2code represents a second unique ID code;
-representing a connector;
s1053, generating a check code for the platform code; the method for generating the check code comprises the following steps:
Verification code=Asymmetric encryption″′{Platform code},
wherein, the Verification code represents a check code;
platform code represents a Platform code;
asymmetry encryption' { } represents an Asymmetric encryption algorithm implemented by using a platform private key;
and S1054, generating the obtained check code into a two-dimensional code and sending the two-dimensional code to the mobile phone number.
In a preferred embodiment of the present invention, in step S1052, if the platform code matches the first analysis code and is the first analysis code received within the predetermined time, the first analysis code is sent to the login terminal within the predetermined time;
if the platform code is not consistent with the first analysis code or the first analysis code is not received within the specified time, the specified time is exceeded.
In a preferred embodiment of the present invention, step S2 includes the following steps:
s21, associating the query words input into the query box; the association is not limited to addresses from the database, e.g. entering "Yu", Chongqing, etc. are displayed according to the addresses in the database, e.g. entering "Yu Bei", then the double dragon lake streets in the north areas of Chongqing city Yu, the Longxi streets in the north areas of Chongqing city Yu, the huxing streets in the north areas of Chongqing city Yu, the double phoenix bridge streets in the north areas of Chongqing city Yu, the Xiantao streets in the north areas of Chongqing city Yu, the duck streets in the north areas of Chongqing city Yu, the people and streets in the north areas of Chongqing city Yu, the Qingyun streets in the north areas of Chongqing city Yu, the dragon mountain streets in the north areas of Chongqing city Yu, the dragon tower streets in the north areas of Chongqing city Yu, the big bamboo forest streets and the like can be displayed according to the address in the database, for example, the double Yuqing district, then the double-phoenix bridge street in the Chongqing city Yu north area, the double-phoenix bridge street in the Chongqing city Yu north area and the like can be displayed according to the address in the database. Judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words, wherein the calculation method of the inquiry code is as follows:
Access code=Md5[Predictive query],
wherein, the Predictive query represents an association query word;
md5[ ] represents the Md5 algorithm;
the Access code represents a query code;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code. And the associative query is realized, and the input efficiency is improved.
In a preferred embodiment of the present invention, the land use state includes one of or any combination of an area inside a contour line, a length of the contour line, an area occupied by a building, a life of the building, and a remaining life of the building.
In a preferred embodiment of the present invention, the method further comprises step S3, presenting the queried land in the form of outline box selection; the contour line acquisition mode comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, obtaining initial two points on the contour line according to the maximum distance value in the region set, wherein the calculation method of the initial two points on the contour line is as follows:
Figure BDA0003324622980000071
wherein (x)i,yi,zi)、(xj,yj,zj) Representing three-dimensional coordinate points in the region set, wherein I is not equal to j, I belongs to {1,2,3, …, I }, and I represents the total number of the three-dimensional coordinate points in the region set; d represents the maximum distance value in the set of regions;
max { } denotes a coordinate point of (x) when the maximum value in the set is takenmin,ymin,zmin) And (x)max,ymax,zmax), min,max∈{1,2,3,…,I};
S33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, an initial vector is constructed and recorded as
Figure BDA0003324622980000072
S34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Is the center of sphere, r is the radius, and the three-dimensional coordinate points falling into the sphere in the set of statistical regionsThe number is recorded as N, and N is more than or equal to 1; computing
Figure BDA0003324622980000073
Wherein the content of the first and second substances,
Figure BDA0003324622980000074
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure BDA0003324622980000075
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure BDA0003324622980000076
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; until reaching the end point (x)max,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) And fitting into a closed curve to obtain a contour line.
In a preferred embodiment of the present invention, the land in the query contour line is differentiated into adjacent contour line lands with different chroma in step S3, and the method for differentiating the adjacent contour line lands with different chroma comprises the following steps:
s3-1, acquiring the number of land area blocks formed by contour lines adjacent to the query contour line, and respectively recording the number of land area blocks as 1 st adjacent land, 2 nd adjacent land, 3 rd adjacent land, … … and Q & lt/EN & gt adjacent land, wherein Q is the total number of land area blocks formed by contour lines adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠BqPreferably, R0=255-RqOr G0=255-GqOr B0=255-Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line. And displaying the inquired land area in a color different from that of the adjacent land, so that the land area is convenient to distinguish.
The invention also discloses a system for extracting and inquiring the land use state in real time based on the big data, which comprises a logging land real-time inquiry module, a land use state module and a display module;
the data output end of the login real-time land inquiry module is connected with the data input end of the land use state module, and the data output end of the land use state module is connected with the data input end of the display module;
the login land real-time query module is used for logging in a land real-time query platform;
the land use state module is used for inquiring the land use state according to the input inquiry words;
the display module is used for displaying the inquired land in a contour line frame selection mode.
In a preferred embodiment of the invention, the land use status module comprises the following steps:
s21, associating the query words input into the query box; judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code.
In a preferred embodiment of the present invention, the logging-in-land real-time query module comprises the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal;
s12, processing the unique ID code acquired in the step S11 to obtain a processed code;
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code;
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that an account and a password are requested to be used for login.
In a preferred embodiment of the invention, the manner of contour line acquisition in the rendering module comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, acquiring initial two points on the contour line according to the maximum distance value in the region set;
s33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, forming an initial vector;
s34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Counting the number of three-dimensional coordinate points falling into the sphere in the region set, and recording the number as N, wherein the number is more than or equal to 1; computing
Figure BDA0003324622980000101
Wherein the content of the first and second substances,
Figure BDA0003324622980000102
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure BDA0003324622980000103
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure BDA0003324622980000104
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; until reaching the end point (x)max,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) Fitting into a closed curve to obtain a contour line;
or/and in the display module, the land in the query contour line is distinguished from the land in the adjacent contour line by different color degrees, and the method for distinguishing the land in the adjacent contour line by different color degrees comprises the following steps:
s3-1, acquiring the number of land area blocks formed by contour lines adjacent to the query contour line, and respectively recording the number of land area blocks as 1 st adjacent land, 2 nd adjacent land, 3 rd adjacent land, … … and Q & lt/EN & gt adjacent land, wherein Q is the total number of land area blocks formed by contour lines adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line.
In conclusion, by adopting the technical scheme, the invention can realize real-time inquiry on the land.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic block diagram of the process of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of illustrating the present invention and are not to be construed as limiting the present invention.
The invention discloses a method for extracting and querying land use states in real time based on big data, which comprises the following steps as shown in figure 1:
s1, logging in a land real-time query platform;
and S2, inquiring the land use state according to the input inquiry words.
In a preferred embodiment of the present invention, step S1 includes the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal; the first unique ID code of the login terminal comprises one or any combination of a Bluetooth ID code, a mainboard ID code, an NFC ID code, a CPU ID code, a WiFi ID code and an SIM card ID code of the login terminal; the second unique ID code of the login terminal comprises one or any combination of a Bluetooth ID code, a mainboard ID code, an NFC ID code, a CPU ID code, a WiFi ID code and an SIM card ID code of the login terminal; and ID1code≠ID2 code,ID1code represents the first unique ID code of the login terminal, ID2code represents a second unique ID code of the login terminal;
s12, performing unique ID code processing on the unique ID code obtained in step S11, and obtaining a processed code thereof, where the method for obtaining the processed code includes:
Processing code=Asymmetric encryption{Md5[Sha256(ID1 code)]},
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
the asymmetry encryption { } represents an Asymmetric encryption algorithm realized by using a private key of a login terminal;
processing code represents a Processing code;
ID1code represents a first unique ID code of the login terminal; for example, the first unique ID code of the login terminal is the bluetooth ID code 11FF0EE966a1 of the login terminal, and at this time:
Processing code=Asymmetric encryption{Md5[Sha256(ID1 code)]}
=Asymmetric encryption{Md5[Sha256(11FF0EE966A1)]}
=Asymmetric encryption{Md5[1e02b0d0fba33a34079ac0b12f5f653b0539d8afae1cb401db58c14c44f4edf4]}
=Asymmetric encryption{9d0f7b28a29cd58ab0faa60c9e6a14b8}
HH84hmXazK0vAAJNlUjke8Q1BM4lO Ww6KCWCXDfvynu6gwks emexfukyuh 5DCogM/zfol 145ieXj9sj3CKNAucWq3NF2ih1IvqPRES +0bdv vATP9K7eNiC7XiQIr XiUVg4Mx + WaK67znRQ14TJ39Cflh/T6Ao2 nyjqpprtgvrmoxz 3saHSeFV + TtJro7 asukggispoksk +5jbs tvL d68 iubtbtuvxvlirwo 26 tw2 zrppwe 4L4 zdejdejj 8Y/eagx 6857 wzqzsw 31 + 6857 wzvywr 3/T43 wzwzrs 7342 w 43/wzwzr 3 vzvzvzrgr 3; the private key is as follows:
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDJ2L3ZhkuC+y0L kO7AJCg/Ew8TI63St4HcMiHbCXu039Y73EVJGpH5XLdpTXVXnNCPubY05D+K/+od evTK1thlnnnUsqB+S3XwBMkQcZpAwWU/adompY2RzNLiCBbYuSqwBScGpVxIrUlc ZtSN97d5gggc1+Ge+RidMytsWUXrarO9xjHLhhn0ot32n/yLFRvYg2CH6mjV9qxk 9CHGl4E4faK85nZ8t2vyvb9BNTHnfyfJzdtLKTY6PojYM54CuMQK/aJM5KUXyv2j n8PrguVYjfX4Wp8NtHy4kqQESDHR+14ghMb8N7ccY/n/of+XIq8ZZz+qZRdJ7DzP v20tu33TAgMBAAECggEBAJLfrAXEut2sd7Ka25/kr4R2EdoTdECIV24q7Ie99s4+ sl0Mgz4Wn3GcDboKKwB9kyWCNRt3muVCItEgz09p1jzbfDtRX4eG0WK9mLDmeR/1 mf7yv1Kv1LvrFuhyim1ZD77VgPhNC0G3FlKuYKyNPGymOdEDJaHQECETQt2seDw8 ND42I9vGPovSQ5m4Lr+iXKGOpgu0rRGCzyBlqVWbX9lyf8Ghl1gKdOloHeFcFzkM IGgjZvRcmYxRovafPhpCYD174nU0AnyPIWzVtf1ZofJzOMX/AhlZ8Kz+k8YORe6a aj628fB9lj+lZl7FfNt7FblnWTRx2zyOBp9MpOso68ECgYEA+G+z/KUehPRERv4a VKOrcVkGrAylgIHizrM1rs2TAtNuU2xfQQ8zIrs1UQ9whshpWN/Hv7I8/QMDeD+P daABrpQPw5KQCnDAMDtXXRSZo2Ye9Agyg2CIKSJ66osGUZdmO/iSVBlGRVk93i3X PGTX2IMAxJjqyDlEfIXJHO4RA7UCgYEAz/3r44rt8nDBHEvREPNNg3tuv+93R2CT U2Q+dhcY6Bn6WIaW9u7RIeaYlPdv7ufAxIqT63TURV1Oeu2/fScPlO2x9f+nO8g7 CpV3aYdVqBfayMVMRJoVYe+Yg885Tuq+klMO6xhIzY1ncJ12nLY44WLAkSo9tsmo uMmqXNU3AGcCgYB0mcDJGBpd3mNZSpPDG9owZc9K2timms9/of7VHykbj25deySt 3Vtrtp/MfsmaiN9g1g7jOt2DBnIPcw168HE5pcZMTTKLo+Wf/YoAZtXBKgHnGR3U KW9elw9Hm56Ilt1l0kGjdQVVMRBnge5eKxpfRQUMQJUZCj/JjeUZTebwbQKBgE2M XA4Lt6okFiwprHqIbIcwV1uiujNXs7Zs8sju1a98OBYXoGPTKRBdvNgV5ZsKt5nQ HVS1y4tNPbyhtjrAfJPHiAmzVzP39ON+VPZ4qhwxQLaIsWYGmSBZx+ClO7XL2mAO LcrD1CknpsCbRSUq38xRGIFHYZksWQcE0cspCAfTAoGBANC9uqiVv6tQ3QrPv2z7 cjLYWj2VGIenzX0DuJY++rYS44LQVdwu2/1ABI5sGSMjHTj2thNcn2k0tENKexxf iMFVXXbgjimpH9dwW9bO/f9v/7paTyKsBX0Zd+SwepeTtTy7At4iZ/6DO7S1KBUg Ie5j/gC1G9BH17ygxt7ztIrW
-----END PRIVATE KEY-----
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code; the calculation method of the analytic code comprises the following steps:
Parsing code=Asymmetric encryption′{Receive code},
the Asymmetric encryption' { } represents an Asymmetric decryption algorithm realized by using a public key corresponding to a private key of a login terminal;
the received code represents a processing code received by the land real-time query platform;
the Parsing code represents a Parsing code; the processing code received by the land real-time query platform is HH84hmXazK0vAAJNlUjke8Q1BM4lO Ww6KCWCXDfvynu6 GWKEMExfuyUh 5D CogM/zFOLIl145ieXj9sj3CKNAucWq3NF2ih1IvqPRES +0bdv vATP9K7 eiC 7XiQIrXi UVg4Mx + WaK znRQ14TJ39Cflh/T6Ao2 nyJrQrQrPRwVRmOxHxZ 3 saeFVTtQUKigISGgPoksK +5 IfIfIfQBfTfTfTfQWyWfTfTfQ 7W 8W 7/XyFyFvXfXfXfXfXfXfXfXfXfXfXfR 7W 8W 7W 8W 7W 5W 8W 5W 8W 5W 8W 7W 5W 8W 5W 5W 7W 5W 5W 7W 7W 7W 5W 7W 5W 7W 5W 7W 7W 5W 7W 7W 7W 7W 5W 7W 5W 7W 5W 7W 5W 7W 5W 7W 5W 4W 5W 5W 4W 5W 5W 5W 5W 5W 5W 4W 5W 7W 4W 5W 4W 5W 5W 5W 5W 4W 5W 5W 4W 5W 5W 5W 5W 4W 5W 5W 7W 4W 4W 7W 4W 7W 5W 7W 7W 5W. Its public key is:
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAydi92YZLgvstC5DuwCQo PxMPEyOt0reB3DIh2wl7tN/WO9xFSRqR+Vy3aU11V5zQj7m2NOQ/iv/qHXr0ytbY ZZ551LKgfkt18ATJEHGaQMFlP2naJqWNkczS4ggW2LkqsAUnBqVcSK1JXGbUjfe3 eYIIHNfhnvkYnTMrbFlF62qzvcYxy4YZ9KLd9p/8ixUb2INgh+po1fasZPQhxpeB OH2ivOZ2fLdr8r2/QTUx538nyc3bSyk2Oj6I2DOeArjECv2iTOSlF8r9o5/D64Ll WI31+FqfDbR8uJKkBEgx0fteIITG/De3HGP5/6H/lyKvGWc/qmUXSew8z79tLbt9 0wIDAQAB
-----END PUBLIC KEY-----
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that an account and a password are requested to be used for login.
In a preferred embodiment of the present invention, the method includes a step S10 of binding the first unique ID code and the second unique ID code of the registered terminal, before the step S11, and the method of binding the first unique ID code and the second unique ID code of the registered terminal includes the steps of:
s101, scanning a two-dimensional code sent by a land real-time inquiry platform by using a login terminal to obtain a terminal code;
s102, analyzing the obtained terminal code to obtain a terminal analysis code; the method for obtaining the terminal analysis code comprises the following steps:
Terminal parsing code=Asymmetric encryption″{Terminal code},
the asymmetry encryption { } represents an Asymmetric decryption algorithm implemented by using a public key opposite to a platform private key;
terminal code represents a Terminal code;
the Terminal matching code represents a Terminal parsing code;
s103, uploading the obtained terminal analysis code to obtain an uploading code;
Upload code=Asymmetric encryption{Md5[Sha256(Terminal parsing code)]},
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
the asymmetry encryption { } represents an Asymmetric encryption algorithm realized by using a private key of a login terminal;
the uploadcode represents an Upload code;
the Terminal matching code represents a Terminal parsing code;
s104, sending the acquired uploading code to a login land real-time query platform, and analyzing the received uploading code by the land real-time query platform to obtain a first analysis code; the calculation method of the first analytic code comprises the following steps:
Parsing code1=Asymmetric encryption′{Receive code1},
the Asymmetric encryption' { } represents an Asymmetric decryption algorithm realized by using a public key corresponding to a private key of a login terminal;
Receive code1representing the uploading code received by the land real-time inquiry platform;
Parsing code1representing a first parse code;
s105, determining whether the first analysis code is transmitted to the login terminal within a predetermined time:
if the first analysis code is sent to the login terminal within the specified time, the first unique ID code and the second unique ID code of the login terminal are bound;
if the specified time is exceeded, the waiting is continued.
In a preferred embodiment of the present invention, the method for determining whether the first analysis code is transmitted to the logging terminal within the predetermined time in step S105 includes the steps of:
s1051, the land real-time inquiry platform judges whether a direct login binding trigger signal of a login terminal is received:
if the land real-time query platform receives a direct login binding trigger signal of the login terminal, executing the step S1052;
if the land real-time query platform does not receive the direct login binding trigger signal of the login terminal, continuing waiting;
s1052, the land real-time inquiry platform generates a platform code according to the received first unique ID code and the second unique ID code, and the method for generating the platform code comprises the following steps:
Platform code=Md5[Sha256(ID1 code-ID2 code)],
wherein the Sha256() represents the Sha256 algorithm;
md5[ ] represents the Md5 algorithm;
platform code represents a Platform code;
ID1code represents a first unique ID code;
ID2code represents a second unique ID code;
-representing a connector; for example, the first unique ID code is the bluetooth ID code 11FF0EE966a1 of the registered terminal, and the second unique ID code is the WiFi ID code 11FF0EE967D2 of the registered terminal, at this time:
Platform code=Md5[Sha256(ID1 code-ID2 code)]
=Md5[Sha256(11FF0EE966A1-11FF0EE967D2)]
=Md5[Sha256(11FF0EE966A111FF0EE967D2)],
=Md5[dce87aeb172b8075066e5f65156e3d8a826fcf68e002bf5deed58ab55ef38f17]
=b238acfe1d8a7a08e89e74d89ba50b49
s1053, generating a check code for the platform code; the method for generating the check code comprises the following steps:
Verification code=Asymmetric encryption″′{Platform code},
wherein, the Verification code represents a check code;
platform code represents a Platform code;
asymmetry encryption' { } represents an Asymmetric encryption algorithm implemented by using a platform private key;
and S1054, generating the obtained check code into a two-dimensional code and sending the two-dimensional code to the mobile phone number.
In a preferred embodiment of the present invention, in step S1052, if the platform code matches the first analysis code and is the first analysis code received within the predetermined time, the first analysis code is sent to the login terminal within the predetermined time;
if the platform code is not consistent with the first analysis code or the first analysis code is not received within the specified time, the specified time is exceeded.
In a preferred embodiment of the present invention, step S2 includes the following steps:
s21, associating the query words input into the query box; judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words, wherein the calculation method of the inquiry code is as follows:
Access code=Md5[Predictive query],
wherein, the Predictive query represents an association query word;
md5[ ] represents the Md5 algorithm;
the Access code represents a query code;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code.
In a preferred embodiment of the present invention, the land use state includes one of or any combination of an area inside a contour line, a length of the contour line, an area occupied by a building, a life of the building, and a remaining life of the building.
In a preferred embodiment of the present invention, the method further comprises step S3, presenting the queried land in the form of outline box selection; the contour line acquisition mode comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, obtaining initial two points on the contour line according to the maximum distance value in the region set, wherein the calculation method of the initial two points on the contour line is as follows:
Figure BDA0003324622980000181
wherein (x)i,yi,zi)、(xj,yj,zj) Representing three-dimensional coordinate points in the region set, wherein I is not equal to j, I belongs to {1,2,3, …, I }, and I represents the total number of the three-dimensional coordinate points in the region set; d represents the maximum distance value in the set of regions;
max { } denotes a coordinate point of (x) when the maximum value in the set is takenmin,ymin,zmin) And (x)max,ymax,zmax), min,max∈{1,2,3,…,I};
S33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, an initial vector is constructed and recorded as
Figure BDA0003324622980000191
S34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Counting the number of three-dimensional coordinate points falling into the sphere in the region set, and recording the number as N, wherein the number is more than or equal to 1; computing
Figure BDA0003324622980000192
Wherein the content of the first and second substances,
Figure BDA0003324622980000193
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure BDA0003324622980000194
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure BDA0003324622980000195
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; in returning to step S34, the number of three-dimensional coordinate points falling into the sphere in the statistical region set does not include the three-dimensional coordinate point included last time until the end point (x) is reachedmax,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) And fitting into a closed curve to obtain a contour line.
In a preferred embodiment of the present invention, the land in the query contour line is differentiated into adjacent contour line lands with different chroma in step S3, and the method for differentiating the adjacent contour line lands with different chroma comprises the following steps:
s3-1, acquiring the number of land area blocks formed by contour lines adjacent to the query contour line, and respectively recording the number of land area blocks as 1 st adjacent land, 2 nd adjacent land, 3 rd adjacent land, … … and Q & lt/EN & gt adjacent land, wherein Q is the total number of land area blocks formed by contour lines adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line.
The invention also discloses a system for extracting and inquiring the land use state in real time based on the big data, which comprises a logging land real-time inquiry module, a land use state module and a display module;
the data output end of the login real-time land inquiry module is connected with the data input end of the land use state module, and the data output end of the land use state module is connected with the data input end of the display module;
the login land real-time query module is used for logging in a land real-time query platform;
the land use state module is used for inquiring the land use state according to the input inquiry words;
the display module is used for displaying the inquired land in a contour line frame selection mode.
In a preferred embodiment of the invention, the land use status module comprises the following steps:
s21, associating the query words input into the query box; judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code.
In a preferred embodiment of the present invention, the logging-in-land real-time query module comprises the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal;
s12, processing the unique ID code acquired in the step S11 to obtain a processed code;
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code;
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that an account and a password are requested to be used for login.
In a preferred embodiment of the invention, the manner of contour line acquisition in the rendering module comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, acquiring initial two points on the contour line according to the maximum distance value in the region set;
s33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, forming an initial vector;
s34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Counting the number of three-dimensional coordinate points falling into the sphere in the region set, and recording the number as N, wherein the number is more than or equal to 1; computing
Figure BDA0003324622980000211
Wherein the content of the first and second substances,
Figure BDA0003324622980000212
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure BDA0003324622980000213
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure BDA0003324622980000214
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; until reaching the end point (x)max,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) Fitting into a closed curve to obtain a contour line;
or/and in the display module, the land in the query contour line is distinguished from the land in the adjacent contour line by different color degrees, and the method for distinguishing the land in the adjacent contour line by different color degrees comprises the following steps:
s3-1, acquiring the number of land area blocks formed by contour lines adjacent to the query contour line, and respectively recording the number of land area blocks as 1 st adjacent land, 2 nd adjacent land, 3 rd adjacent land, … … and Q & lt/EN & gt adjacent land, wherein Q is the total number of land area blocks formed by contour lines adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for extracting and querying land use states in real time based on big data is characterized by comprising the following steps:
s1, logging in a land real-time query platform;
and S2, inquiring the land use state according to the input inquiry words.
2. A method for extracting and querying land use state in real time based on big data according to claim 1, characterized by comprising the following steps in step S2:
s21, associating the query words input into the query box; judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code.
3. A method for extracting and querying land use state in real time based on big data according to claim 1, wherein in step S1, the method comprises the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal;
s12, processing the unique ID code acquired in the step S11 to obtain a processed code;
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code;
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that the user asks for logging in by using an account number and a password.
4. The method for extracting and querying the land use state in real time based on the big data as claimed in claim 1, wherein the land use state comprises one of or any combination of an area inside a contour line, a length of the contour line, an area occupied by a building, a service life of the building and a remaining service life of the building.
5. The method for extracting and querying the land use state in real time based on the big data as claimed in claim 1, further comprising a step S3 of displaying the queried land in a form of contour line frame selection; the contour line acquisition mode comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, acquiring initial two points on the contour line according to the maximum distance value in the region set;
s33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, forming an initial vector;
s34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Counting the number of three-dimensional coordinate points falling into the sphere in the region set, and recording the number as N, wherein the number is more than or equal to 1; computing
Figure FDA0003324622970000021
Wherein the content of the first and second substances,
Figure FDA0003324622970000022
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure FDA0003324622970000023
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure FDA0003324622970000031
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; until it reachesTo the end point (x)max,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) And fitting into a closed curve to obtain a contour line.
6. The method for extracting and querying land use states in real time based on big data as claimed in claim 5, wherein the land in the query contour line is differentiated into adjacent contour line lands with different color saturation in step S3, and the method for differentiating the adjacent contour line land with different color saturation comprises the following steps:
s3-1, acquiring the number of land area blocks formed by the contour line adjacent to the query contour line, and respectively recording the number of land area blocks as the 1 st adjacent land, the 2 nd adjacent land, the 3 rd adjacent land, the … … and the Q th adjacent land, wherein Q is the total number of land area blocks formed by the contour line adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line.
7. A land use state real-time extraction and query system based on big data is characterized by comprising a login land real-time query module, a land use state module and a display module;
the data output end of the login real-time land inquiry module is connected with the data input end of the land use state module, and the data output end of the land use state module is connected with the data input end of the display module;
the login land real-time query module is used for logging in a land real-time query platform;
the land use state module is used for inquiring the land use state according to the input inquiry words;
the display module is used for displaying the inquired land in a contour line frame selection mode.
8. The big data based land use status real-time extraction query system according to claim 7, wherein the land use status module comprises the following steps:
s21, associating the query words input into the query box; judging whether to trigger an association query word:
if the association query word is triggered, filling the triggered association query word in a query frame, and judging whether a search trigger command is triggered:
if the search trigger command is triggered, go to step S23;
if the search trigger command is not triggered, go to step S22;
s22, if the query word is continuously input in the query box, returning to the step S21;
s23, calculating the inquiry code of the associated inquiry words;
and S24, searching and obtaining the inquiry land corresponding to the inquiry code according to the inquiry code.
9. The big data based land use state real-time extraction and query system as claimed in claim 7, wherein the logging land real-time query module comprises the following steps:
s11, acquiring a first unique ID code and a second unique ID code of the login terminal;
s12, processing the unique ID code acquired in the step S11 to obtain a processed code;
s13, sending the acquired processing code and the second unique ID code of the login terminal to a login land real-time query platform, and analyzing the received processing code by the land real-time query platform to obtain an analysis code;
s14, judging whether the analytic code exists in the land real-time query platform database:
if the analytic code exists in the land real-time query platform database, executing the step S15;
if the analysis code does not exist in the land real-time query platform database, sending prompt information to the login terminal, wherein the prompt information is that an account and a password are required to be used for login;
s15, judging whether the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform:
if the binding code corresponding to the analysis code is consistent with the second unique ID code received by the land real-time inquiry platform, the login terminal successfully logs in the land real-time inquiry platform;
and if the binding code corresponding to the analysis code is inconsistent with the second unique ID code received by the land real-time inquiry platform, the login terminal fails to log in the land real-time inquiry platform, and prompt information is sent to the login terminal, wherein the prompt information is that the user asks for logging in by using an account number and a password.
10. A land use state real-time extraction and query system based on big data as claimed in claim 7, wherein the manner of contour line acquisition in the presentation module comprises the following steps:
s31, extracting three-dimensional coordinate points of the imported land data, and placing the three-dimensional coordinate points belonging to the same region in the same region set;
s32, acquiring initial two points on the contour line according to the maximum distance value in the region set;
s33, forming a three-dimensional coordinate point (x)min,ymin,zmin) As a starting point, (x)max,ymax,zmax) As an end point, forming an initial vector;
s34, forming a three-dimensional coordinate point (x)min,ymin,zmin) Counting the number of three-dimensional coordinate points falling into the sphere in the region set, and recording the number as N, wherein the number is more than or equal to 1; computing
Figure FDA0003324622970000051
Wherein the content of the first and second substances,
Figure FDA0003324622970000052
a vector representing the formation of the nth three-dimensional coordinate point of the sphere and the coordinates of the origin,
Figure FDA0003324622970000053
Cn=(Xn,Yn,Zn) Representing an nth three-dimensional coordinate point falling into the sphere; n is equal to {1,2,3, … N },
Figure FDA0003324622970000054
when the maximum angle value is expressed, the coordinate point is (X)max,Ymax,Zmax);
S35, order (x)min,ymin,zmin)=(Xmax,Ymax,Zmax) Returning to step S34; until reaching the end point (x)max,ymax,zmax) Until the end;
s36, converting the starting point (x)min,ymin,zmin) Endpoint (x)max,ymax,zmax) And all of (X)max,Ymax,Zmax) Fitting into a closed curve to obtain a contour line;
or/and in the display module, the land in the query contour line is distinguished from the land in the adjacent contour line by different color degrees, and the method for distinguishing the land in the adjacent contour line by different color degrees comprises the following steps:
s3-1, acquiring the number of land area blocks formed by the contour line adjacent to the query contour line, and respectively recording the number of land area blocks as the 1 st adjacent land, the 2 nd adjacent land, the 3 rd adjacent land, the … … and the Q th adjacent land, wherein Q is the total number of land area blocks formed by the contour line adjacent to the query contour line;
s3-2, obtaining the color saturation of the pixel point of the Q-th adjacent land, wherein Q is a positive integer less than or equal to Q and is recorded as (R)q,Gq,Bq),RqExpressing the red chroma, G, of the pixel points of the q-th adjacent landqExpressing the green chroma of the pixel point of the q-th adjacent land, BqExpressing the blue chroma of the pixel point of the qth adjacent land;
s3-3, obtaining the color saturation of the land corresponding to the query contour line according to the color saturation of the pixel points of all adjacent lands, wherein the color saturation of the land corresponding to the query contour line is as follows:
R0≠Rqor G0≠GqOr B0≠Bq
R0、G0、B0Respectively the red chroma, the green chroma and the blue chroma of the land corresponding to the query contour line.
CN202111257669.5A 2021-10-27 2021-10-27 Method for extracting and querying land use state in real time based on big data Active CN114006743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111257669.5A CN114006743B (en) 2021-10-27 2021-10-27 Method for extracting and querying land use state in real time based on big data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111257669.5A CN114006743B (en) 2021-10-27 2021-10-27 Method for extracting and querying land use state in real time based on big data

Publications (2)

Publication Number Publication Date
CN114006743A true CN114006743A (en) 2022-02-01
CN114006743B CN114006743B (en) 2022-06-10

Family

ID=79924402

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111257669.5A Active CN114006743B (en) 2021-10-27 2021-10-27 Method for extracting and querying land use state in real time based on big data

Country Status (1)

Country Link
CN (1) CN114006743B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115391475A (en) * 2022-08-31 2022-11-25 重庆市规划和自然资源信息中心 Method for searching space containing arithmetic operator based on ElasticSearch technology
CN117274500A (en) * 2023-10-31 2023-12-22 重庆市规划和自然资源信息中心 Method for building house by building boundary point coordinates

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102565810A (en) * 2011-12-30 2012-07-11 武汉大学 Method for extracting land utilization landmark boundary outline on remote sensing image
CN112000677A (en) * 2020-09-28 2020-11-27 王春丰 Cluster intelligent generation system based on land use big data and use method thereof
CN113190508A (en) * 2021-04-26 2021-07-30 重庆市规划和自然资源信息中心 Management-oriented natural language identification method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102565810A (en) * 2011-12-30 2012-07-11 武汉大学 Method for extracting land utilization landmark boundary outline on remote sensing image
CN112000677A (en) * 2020-09-28 2020-11-27 王春丰 Cluster intelligent generation system based on land use big data and use method thereof
CN113190508A (en) * 2021-04-26 2021-07-30 重庆市规划和自然资源信息中心 Management-oriented natural language identification method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
党星海等: "基于KQGIS平台的城镇地籍数据库建设", 《地理信息世界》 *
赵俊三等: "基于网络和GIS技术的土地登记公开查询系统研究", 《国土资源信息化》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115391475A (en) * 2022-08-31 2022-11-25 重庆市规划和自然资源信息中心 Method for searching space containing arithmetic operator based on ElasticSearch technology
CN117274500A (en) * 2023-10-31 2023-12-22 重庆市规划和自然资源信息中心 Method for building house by building boundary point coordinates
CN117274500B (en) * 2023-10-31 2024-04-12 重庆市规划和自然资源信息中心 Method for building house by building boundary point coordinates

Also Published As

Publication number Publication date
CN114006743B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
CN114006743B (en) Method for extracting and querying land use state in real time based on big data
CN110084377B (en) Method and device for constructing decision tree
KR102079860B1 (en) Text address processing method and device
CN110070359B (en) Block chain-based data checking system, method, computing device and storage medium
US10325177B1 (en) System, device, and method for image anomaly detection
CN102246165B (en) Method and apparatus for representing and identifying feature descriptors utilizing a compressed histogram of gradients
CN106777177A (en) Search method and device
CN109597822B (en) User data storage and query method and user data processing device
US8700616B2 (en) Systems and methods for cross-street identification
CN106162804A (en) For providing the method and apparatus of the access information of wireless access focus
CN109214784A (en) A kind of method, client, server and the system of fire-fighting inspection management
WO2021042746A1 (en) Information recommendation method and apparatus, and storage medium and electronic device
CN109636582A (en) Credit information management method, device, equipment and storage medium
CN111815169A (en) Business approval parameter configuration method and device
CN114491187B (en) Intelligent natural resource monitoring integrated system
CN112631884A (en) Pressure measurement method and device based on data synchronization, computer equipment and storage medium
CN113868252A (en) Database mode matching method and device and SQL query statement generation method
CN113836228B (en) Construction method and device of management system, equipment and storage medium
CN110362626A (en) One kind being based on the convenience-for-people inquiry system of block chain network and application method
CN117217710A (en) Intelligent management method and system for virtual commodity and shortcut service
US10853198B2 (en) System to restore a transformation state using blockchain technology
CN115511645A (en) Method, device and equipment for detecting claim settlement picture and storage medium
CN108629391A (en) Color code decoding method, system and equipment
CN115470361A (en) Data detection method and device
KR100874354B1 (en) RFID authentication system, terminal, and method

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