CN114240466A - Remote sensing product authenticity checking method based on micro-service architecture - Google Patents
Remote sensing product authenticity checking method based on micro-service architecture Download PDFInfo
- Publication number
- CN114240466A CN114240466A CN202111591837.4A CN202111591837A CN114240466A CN 114240466 A CN114240466 A CN 114240466A CN 202111591837 A CN202111591837 A CN 202111591837A CN 114240466 A CN114240466 A CN 114240466A
- Authority
- CN
- China
- Prior art keywords
- priority
- data
- data corresponding
- service
- micro
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a remote sensing product authenticity checking method based on a micro-service architecture, wherein each service module is used as an independent processing and calculating unit, and the transverse or longitudinal expansion capability of each micro-service module is supported through the priority relation between data obtained in each step in each micro-service module. The invention realizes the systematic engineering of the remote sensing product authenticity inspection process and improves the inspection efficiency; each micro service has the flexibility of horizontal or longitudinal expansion, each service can be upgraded and updated independently without depending on other services, developers can finish the service upgrade release process independently and quickly, the isolation of system faults and resources is ensured, and when abnormal conditions of the system occur, such as memory leakage, database connection is not closed, and the like, only a single micro service is influenced, other services run normally, the stable operation of the authenticity checking system is ensured, and the algorithm model supports the distributed cluster computing capability.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a remote sensing product authenticity checking method based on a microservice architecture.
Background
The research of the authenticity checker of the remote sensing product is closely concerned and paid attention by related organizations in the international early stage of the development of the remote sensing technology, and a large amount of time is spent before and after each satellite is launched for system calibration and authenticity verification, so that the real, credible and available quantitative data can be provided for users. At present, research and test work of relevant data authenticity verification is also developed according to application requirements in the remote sensing field of China. The existing manual remote sensing product authenticity inspection process needs to import remote sensing image data to be inspected, convert the type of an image to be inspected, collect a training sample set, import a training sample set file and input a specific algorithm model to train to obtain an authenticity inspection precision result in remote sensing image processing software, and the manual remote sensing product authenticity inspection process is complex in whole process steps, long in inspection time and low in efficiency; the traditional authenticity checking system achieves system level, refines authenticity checking flow, is engineered with the authenticity checking flow, simplifies the authenticity checking flow and improves checking efficiency. However, as the user population increases, the service volume increases, and the traditional architecture has the problems of reduced inspection performance, complex system expansion and upgrading and the like.
In view of the above situation, a remote sensing product authenticity checking method based on a micro service architecture is needed.
Disclosure of Invention
The invention aims to provide a remote sensing product authenticity checking method based on a microservice architecture, so as to solve the problems in the background technology.
In order to solve the technical problems, the invention provides the following technical scheme: a remote sensing product authenticity checking method based on a micro-service architecture comprises the following steps:
s1, after logging in, the user enters product service, selects the type of the product to be detected, uploads the file of the product to be detected, carries out qualification inspection on the format and the size of the product to be detected, and prompts abnormal information for the file to be detected which is unqualified;
s2, reading metadata information from the product to be inspected which passes the qualification inspection, setting basic information of the product to be inspected by a user, uploading the product to be inspected to an FTP file server for storage, and simultaneously storing the product information to be inspected and the metadata information of the file in a database in a data service;
s3, inquiring qualified ground measurement data through data service according to latitude and time information in the metadata information of the product to be inspected, associating the ground measurement data according to the metadata information of the product to be inspected, selecting the ground measurement data as sample data required by inspection by a user, further creating an optical satellite common product and service software authenticity inspection order in order service, marking as an inspection order, and storing order information in a database;
s4, a background inspector carries out authenticity inspection processing on an inspection order submitted by a user to obtain a pixel level sample data set/same name point record with the same specification as that of a product to be inspected;
s5, selecting a corresponding model algorithm for planetary matching processing according to the pixel level sample data set/homonymy point record, storing the matching result data pair into a database, and returning to a page for displaying;
s6, selecting a corresponding model algorithm, carrying out error calculation and correlation analysis processing on the matching result data pair, and storing a processing result into a database, wherein the processing result is authenticity inspection result data of a product to be inspected;
and S7, inquiring the authenticity verification result of the verified product through the order identification, and generating a verification report by the file service according to the data records.
When ground measurement data meeting the conditions are inquired in S3, ground measurement truth value data meeting the conditions are inquired in a database according to time and space conditions (longitude and latitude of a remote sensing product to be checked is read by a system) input by a user; when a corresponding model algorithm is selected in S5 to be subjected to planetary ground matching processing, different product star-ground matching steps are different, and if the product is a geometric product, a geometric product star-ground matching module manually edits and screens the same-name points matched with the orthometric product to be tested and the reference data through a human-computer interaction interface to obtain the same-name point matching data pairs of a plurality of sample areas in the same experimental area for subsequent product authenticity test; and according to the longitude and latitude of the processed pixel-level inspection sample data, performing satellite-ground matching in the image to be inspected, selecting a proper image window according to the spatial resolution of different satellites, and extracting a matched data pair of the inspection image and the ground measurement sample data. Then, by using the data measured by the plurality of sample areas, the same steps are adopted to obtain the matching data pairs of the plurality of sample areas in the same experimental area; when the matching result data pair is subjected to error calculation and correlation analysis processing in S6, the error calculation is affected by the model algorithm selected by the user (the model algorithms in S5 and S6 are the same), the error calculation methods corresponding to different model algorithms are different, the system reads the model algorithm result (the matching result data pair), and performs error calculation according to the specified error calculation method, and the correlation analysis processing refers to a process of displaying the obtained inspection result and the process file.
Furthermore, in the detection process of the remote sensing product authenticity check method, 7 service modules such as product service, data service, file service, pixel-level management service, order service, external service, authenticity check service and the like are divided in a micro-service mode, and each service module is developed in a micro-service mode and deployed in a distributed cluster mode; each service module is used as an independent processing and computing unit to support the transverse or longitudinal expansion capability of each micro service module, and is used as an algorithm model in the cluster deployment authenticity check service to support the distributed cluster computing capability.
The invention can split the whole inspection flow according to the functional module, and each micro service is split into different micro service modules as an independent processing and computing unit, thereby supporting each micro service unit to have horizontal or longitudinal expansion capability, and supporting distributed cluster computing capability as an algorithm model in a cluster type deployment authenticity inspection service. Compared with the prior art, the method has the advantages that the operation capability and the system stability are improved, the inspection efficiency is improved, and the like.
Further, the metadata information in S2 includes: latitude and longitude information, a coordinate system and a central point coordinate;
the basic information includes: satellite, load, product level, spatial resolution, cloud cover, and acquisition time.
Further, the method for obtaining the pixel-level sample data set/same-name point record with the same specification as the product to be inspected in the step S4 includes the following steps:
s4.1, checking an order list, and inquiring basic information of the order, information of a product to be checked and ground measurement data records through an order mark;
and S4.2, selecting an algorithm model to perform pixel level processing/homonymy point selection on the product to be inspected and sample data, storing the obtained pixel level processing/homonymy point selection result data into a database, and associating the pixel level processing/homonymy point selection result data with an inspection order to obtain a pixel level sample data set/homonymy point record with the same specification as the product to be inspected.
In the invention S4.2, when the algorithm model is selected to carry out pixel level processing/homonymy point selection on the product and sample data to be detected, the algorithm model is constructed by internal algorithm personnel and is integrated by a system.
Furthermore, each service module is used as an independent processing and calculating unit, and the horizontal or longitudinal expansion capability of each micro service module is supported through the priority relation between the data obtained in each step in each micro service module,
the method for acquiring the priority relationship among the data acquired in each step in each micro service module comprises the following steps:
s1-1, numbering the data obtained in each step in each micro service module respectively;
s1-2, summarizing numbers corresponding to data respectively obtained in each step in all micro service modules, arranging and combining the summarized numbers pairwise, wherein each combination comprises two numbers to form a number pair, and sequentially inputting the number pairs into a blank set one by one to form a first set;
s1-3, extracting the number pairs in the first set one by one, respectively judging the priority of the data corresponding to each number in each number pair, and binding the judgment result with the corresponding number pair;
s1-4, determining the priority relation between the data corresponding to each number according to the judgment result of each number pair binding.
The data obtained in each step are numbered, so that the data are conveniently marked; the combination arrangement is carried out because the data corresponding to each number can be compared conveniently, and the priority relation among the data corresponding to each number is further judged; judging the priority relation among the data, so as to judge whether the micro service modules can be expanded horizontally or longitudinally; the first set is set for storing each number pair, so that the condition of missing comparison when the priority of data corresponding to two numbers in the number pair is compared is avoided; and binding the judgment result with the corresponding number so as to avoid losing the priority comparison result and facilitate the rapid locking of the priority relationship between the data corresponding to each number.
Further, in the S1-1, in the process of numbering the data obtained in each step in each micro service module, a-B is used to represent the number corresponding to the B-th step in the a-th micro service module;
the method for determining the priority of the data corresponding to each number in each number pair in S1-3 includes the following steps:
s2-1, if the number pair is { A1-B1, A2-B2}, respectively obtaining the number n1 of data types in the data corresponding to A1-B1 and the number n2 of data types in the data corresponding to A2-B2;
s2-2, removing the number of the j1 in the corresponding data A1-B1The remaining data by type are marked as A1-B1jiJ1 is a positive integer of n1 or less,
the data obtained by removing the jth 2 data type from the data corresponding to A2-B2 is recorded as A2-B2j2J2 is a positive integer not more than n 2;
s2-3, when j1 is different, the corresponding data of A1-B1 is transformed into A1-B1jiThen, whether the corresponding data of A2-B2 will be changed or not is determined,
S2-4, when j2 is different, the corresponding data of A2-B2 is transformed into A2-B2j2Then, whether the corresponding data of A1-B1 will be changed or not is determined,
S2-5, judging the priority relation between the data corresponding to A1-B1 and the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 is a different value, the corresponding result of A1-B1 existsWhen the priority of the data corresponding to A1-B1 is lower than that of the data corresponding to A2-B2,
when j1 is a different value, the corresponding result of A2-B2 existsAnd j2 are different values, the results corresponding to A1-B1 are allThen, the priority of the data corresponding to A1-B1 is judged to be higher than that of the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 are different values, the results corresponding to A1-B1 are allWhen the priority of the data corresponding to A1-B1 is not directly related to the data corresponding to A2-B2, the priority of the data corresponding to A1-B1 and the priority of the data corresponding to A2-B2 cannot be directly confirmed.
The invention uses A-B to represent the number corresponding to the step B in the micro service module A, because the same micro service module is considered to correspond to different steps, and the data generated by different steps are different and the sequence can also be different, so that different steps in different micro services need to be numbered; the data type number n1 in the data corresponding to the data from a1 to B1 and the data type number n2 in the data corresponding to the data from a2 to B2 are obtained because one data may be composed of data portions of different types, when the data is damaged, the damaged data may be only a certain portion of the one data, and the influence of the damaged different data portions in the same data on other data may be different.
Further, the number pairs with the confirmed priority relationship are marked with a first label, the number pairs with the priority having no direct relationship are marked with a second label,
all the number pairs marked first are summarized and a second set is constructed,
all the number pairs marked with the second label are summarized and a third set is constructed.
The second set and the third set are respectively constructed in the invention, so that the priority chains are supplemented in subsequent steps, and in the process of supplementing the priority chains in each step, the number pairs of corresponding marks (including the first mark and the second mark) in the sets are prevented from being selected and used, and the omission is avoided.
Further, the method for determining the priority relationship between the data corresponding to each number according to the determination result of the binding of each number in S1-4 includes the following steps:
s3-1, acquiring a second set, and randomly selecting a number pair from the second set, and recording the number pair as a { first number and a second number };
s3-2, creating a blank priority chain, inserting the priority relationship between the data corresponding to the first number and the data corresponding to the second number into the blank priority chain, wherein the position of the number corresponding to the data with high priority in the priority chain is higher than the position of the number corresponding to the data with low priority in the priority chain, and each number corresponds to a node in the priority chain;
s3-3, selecting the number pairs of the second set with the rest number pairs containing the first number or the second number respectively,
if the number pair containing the first number or the second number is selected, the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number,
if the number pair containing the first number or the second number is not selected, a priority chain is created again, one number pair in the remaining number pairs of the second set is continuously selected, and the newly created priority chain is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number;
s3-4, selecting the number pairs again in the remaining number pairs of the second set according to the numbers in the selected number pairs, and continuing to supplement the priority chains according to the method in S3-3;
s3-5, repeating the operation in S3-4, directly selecting all the number pairs in the second set to obtain a first priority chain set;
s3-6, selecting the number pairs in the third set one by one to supplement each priority chain in the first priority chain set to obtain a second priority chain set;
s3-7, acquiring the priority relation of the data corresponding to each serial number according to the second priority chain set,
in the second priority set, the data corresponding to the corresponding numbers of the nodes in the same priority chain have priority relationship, and the number at the position of the node in the priority chain before the node has higher priority,
data corresponding to the corresponding numbers of the nodes on different priority chains does not have priority relation;
the method for supplementing the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number according to the priority relationship between the data corresponding to the two numbers in the selected numbers comprises the following steps:
s4-1, acquiring a priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number, acquiring a selected number pair containing the first number, and recording the other number except the first number in the number pair as a third number;
s4-2, respectively acquiring the priority relationship between the data corresponding to the first number and the data corresponding to the third number and the priority relationship between the data corresponding to the second number and the data corresponding to the third number;
s4-3, if the data corresponding to the first number is higher in priority than the data corresponding to the third number, and the data corresponding to the second number is higher in priority than the data corresponding to the third number, inserting the third number into the priority chain acquired in S4-1, and the position of the node where the third number is located is all behind the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number has higher priority than the data corresponding to the third number, and the data corresponding to the second number has lower priority than the data corresponding to the third number, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located between the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number is lower than the data corresponding to the third number in priority, and the data corresponding to the second number is lower than the data corresponding to the third number in priority, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located is earlier than the positions of the nodes where the first number and the second number are located,
if the priorities of the data corresponding to the first number and the second number, the priorities of the data corresponding to one number and the third number cannot be directly confirmed, and the priorities of the data corresponding to one number and the third number are not equal, a branched chain is generated in the priority chain acquired by S4-1, the position of a node where the third number is located on the branched chain, and the positions of the nodes where the numbers are located are connected with the branched chain, wherein the priorities of the data corresponding to the third number are not equal in the first number and the second number;
in the invention, a branched chain is generated in a priority chain acquired by S4-1, the position of a node where a third number is located is positioned on the branched chain, and in the first number and the second number, the number with the priority different from that of data corresponding to the third number is positioned, and in the process that the position of the node where the number is located is connected with the branched chain, if the priority of the number with the priority different from that of the data corresponding to the third number is greater than that of the data corresponding to the third number, the branched chain belongs to a front-end branched chain of the node where the number is located, and otherwise, the branched chain belongs to a rear-end branched chain of the node where the number is located, and the priority of the data corresponding to the third number is different from that of the data corresponding to the third number; the priority corresponding to each node on the front-end branched chain is higher than that corresponding to the node with the number, and the priority corresponding to each node on the rear-end branched chain is lower than that corresponding to the node with the number.
S4-4, acquiring the selected number pair containing the second number, and supplementing a priority chain containing the priority relationship between the data corresponding to the two numbers in the number pair containing the second number and the priority relationship between the data corresponding to the first number and the data corresponding to the second number by using the priority relationship between the two numbers in the number pair containing the second number, wherein the principle of the method is the same as that of the method in S4-2 to S4-3;
the method for supplementing each priority chain in the first priority chain set by selecting the number pairs in the third set one by one comprises the following steps:
s5-1, selecting a number pair in the third set, and recording two numbers in the number pair as a fourth number and a fifth number respectively;
s5-2, judging whether the nodes of all the priority chains in the first priority chain set contain the fourth number and the fifth number,
if the fourth number and the fifth number are included, each priority chain in the first set of priority chains is not complemented,
if only one of the fourth number and the fifth number is included, a blank priority chain is created again in the first priority chain set, the number which is not included in the fourth number and the fifth number is inserted into the created blank priority chain,
and if the fourth number and the fifth number are not contained, two blank priority chains are created again in the first priority chain set, the fourth number is inserted into one blank priority chain created, and the fifth number is inserted into the other blank priority chain created.
The invention creates a blank priority chain to avoid the influence of other numbers on the priority chain in the initial state and prevent the priority relationship between the numbers corresponding to the nodes on the priority chain from being mixed, thereby causing the error of the priority relationship; in the process of supplementing the priority chains, the number pairs in the second set are changed by the length and the number of the priority chains, and the number pairs in the third set are changed by only the number of the priority chains; the first number, the second number, the third number, the fourth number and the fifth number are arranged in the invention to distinguish the numbers in the number pair; when the number pairs containing the first number or the second number are not selected, a priority chain is created again, and the priority relationship between the data corresponding to the two numbers in the remaining number pairs in the second set needs to be supplemented in the new priority chain in consideration of the fact that the priority relationship between the nodes in the original priority chain is completely extracted.
Furthermore, when the horizontal or vertical expansion capability of each micro service module is supported through the priority relationship among the data obtained in each step of each micro service module,
when the micro-service module performs the transverse expansion capability, judging whether the corresponding numbers of different steps of different micro-service modules have priority relations,
when the priority relationship exists, the step in the micro service module corresponding to the serial number with high priority can be expanded transversely to the step in the micro service module corresponding to the serial number with low priority,
when the priority relation does not exist, different steps of different micro service modules cannot be expanded transversely;
when the micro service module performs the longitudinal expansion capability, whether the priority relationship exists between the corresponding numbers of different steps in the same micro service module is judged,
when the priority relationship exists, the step corresponding to the high-priority number can be longitudinally expanded to the step corresponding to the low-priority number in the numbers corresponding to the different steps of the micro service module,
when the priority relation does not exist, the longitudinal expansion between different steps in the micro service module cannot be carried out.
Compared with the prior art, the invention has the following beneficial effects: the invention realizes the systematic engineering of the remote sensing product authenticity inspection process and improves the inspection efficiency; compared with the traditional authenticity checking system architecture, each micro service has the flexibility of horizontal or longitudinal expansion, dynamic rapid expansion can be carried out according to the actual operation business growth condition of the software, the independent upgradability of the software is ensured, each service can be independently upgraded and updated without depending on other services, continuous release can be carried out by combining a continuous integration tool, developers can independently and rapidly complete the service upgrading release process, the system fault and the resource isolation are ensured, when the system is in an abnormal condition, such as memory leakage, database connection is not closed, and the like, only a single micro service can be influenced, other services can normally operate, the stable operation of the authenticity checking system is ensured, and the algorithm model supports the distributed cluster computing capability.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow chart of a remote sensing product authenticity checking method based on a micro-service architecture;
FIG. 2 is a schematic flow chart of a method for acquiring a priority relationship between data obtained in each step of each micro-service module in the remote sensing product authenticity checking method based on the micro-service architecture of the invention;
FIG. 3 is a schematic flow chart of a method for determining the priority among data corresponding to each serial number in each serial number pair in the remote sensing product authenticity check method S1-3 based on the micro-service architecture according to the present invention;
fig. 4 is a schematic flow chart of a method for determining the priority relationship between data corresponding to each number according to the determination result of the binding of each number in the remote sensing product authenticity check method S1-4 based on the micro service architecture.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-4, the present invention provides a technical solution: a remote sensing product authenticity checking method based on a micro-service architecture comprises the following steps:
s1, after logging in, the user enters product service, selects the type of the product to be detected, uploads the file of the product to be detected, carries out qualification inspection on the format and the size of the product to be detected, and prompts abnormal information for the file to be detected which is unqualified;
s2, reading metadata information from the product to be inspected which passes the qualification inspection, setting basic information of the product to be inspected by a user, uploading the product to be inspected to an FTP file server for storage, and simultaneously storing the product information to be inspected and the metadata information of the file in a database in a data service;
s3, inquiring qualified ground measurement data through data service according to latitude and time information in the metadata information of the product to be inspected, associating the ground measurement data according to the metadata information of the product to be inspected, selecting the ground measurement data as sample data required by inspection by a user, further creating an optical satellite common product and service software authenticity inspection order in order service, marking as an inspection order, and storing order information in a database;
s4, a background inspector carries out authenticity inspection processing on an inspection order submitted by a user to obtain a pixel level sample data set/same name point record with the same specification as that of a product to be inspected;
s5, selecting a corresponding model algorithm for planetary matching processing according to the pixel level sample data set/homonymy point record, storing the matching result data pair into a database, and returning to a page for displaying;
s6, selecting a corresponding model algorithm, carrying out error calculation and correlation analysis processing on the matching result data pair, and storing a processing result into a database, wherein the processing result is authenticity inspection result data of a product to be inspected;
and S7, inquiring the authenticity verification result of the verified product through the order identification, and generating a verification report by the file service according to the data records.
When ground measurement data meeting the conditions are inquired in S3, ground measurement truth value data meeting the conditions are inquired in a database according to time and space conditions (longitude and latitude of a remote sensing product to be checked is read by a system) input by a user; when a corresponding model algorithm is selected in S5 to be subjected to planetary ground matching processing, different product star-ground matching steps are different, and if the product is a geometric product, a geometric product star-ground matching module manually edits and screens the same-name points matched with the orthometric product to be tested and the reference data through a human-computer interaction interface to obtain the same-name point matching data pairs of a plurality of sample areas in the same experimental area for subsequent product authenticity test; and according to the longitude and latitude of the processed pixel-level inspection sample data, performing satellite-ground matching in the image to be inspected, selecting a proper image window according to the spatial resolution of different satellites, and extracting a matched data pair of the inspection image and the ground measurement sample data. Then, by using the data measured by the plurality of sample areas, the same steps are adopted to obtain the matching data pairs of the plurality of sample areas in the same experimental area; when the matching result data pair is subjected to error calculation and correlation analysis processing in S6, the error calculation is affected by the model algorithm selected by the user (the model algorithms in S5 and S6 are the same), the error calculation methods corresponding to different model algorithms are different, the system reads the model algorithm result (the matching result data pair), and performs error calculation according to the specified error calculation method, and the correlation analysis processing refers to a process of displaying the obtained inspection result and the process file.
In the detection process, 7 service modules such as product service, data service, file service, pixel-level management service, order service, external service, authenticity check service and the like are divided in a micro-service mode, and each service module is developed in the micro-service mode and deployed in a distributed cluster mode; each service module is used as an independent processing and computing unit to support the transverse or longitudinal expansion capability of each micro service module, and is used as an algorithm model in the cluster deployment authenticity check service to support the distributed cluster computing capability.
The invention can split the whole inspection flow according to the functional module, and each micro service is split into different micro service modules as an independent processing and computing unit, thereby supporting each micro service unit to have horizontal or longitudinal expansion capability, and supporting distributed cluster computing capability as an algorithm model in a cluster type deployment authenticity inspection service. Compared with the prior art, the method has the advantages that the operation capability and the system stability are improved, the inspection efficiency is improved, and the like.
The metadata information in S2 includes: latitude and longitude information, a coordinate system and a central point coordinate;
the basic information includes: satellite, load, product level, spatial resolution, cloud cover, and acquisition time.
The method for obtaining the pixel level sample data set/same name point record with the same specification as the product to be detected in the S4 comprises the following steps:
s4.1, checking an order list, and inquiring basic information of the order, information of a product to be checked and ground measurement data records through an order mark;
and S4.2, selecting an algorithm model to perform pixel level processing/homonymy point selection on the product to be inspected and sample data, storing the obtained pixel level processing/homonymy point selection result data into a database, and associating the pixel level processing/homonymy point selection result data with an inspection order to obtain a pixel level sample data set/homonymy point record with the same specification as the product to be inspected.
In the invention S4.2, when the algorithm model is selected to carry out pixel level processing/homonymy point selection on the product and sample data to be detected, the algorithm model is constructed by internal algorithm personnel and is integrated by a system.
Each service module is used as an independent processing and calculating unit, and the transverse or longitudinal expansion capability of each micro-service module is supported through the priority relation among the data obtained in each step in each micro-service module,
the method for acquiring the priority relationship among the data acquired in each step in each micro service module comprises the following steps:
s1-1, numbering the data obtained in each step in each micro service module respectively;
s1-2, summarizing numbers corresponding to data respectively obtained in each step in all micro service modules, arranging and combining the summarized numbers pairwise, wherein each combination comprises two numbers to form a number pair, and sequentially inputting the number pairs into a blank set one by one to form a first set;
s1-3, extracting the number pairs in the first set one by one, respectively judging the priority of the data corresponding to each number in each number pair, and binding the judgment result with the corresponding number pair;
s1-4, determining the priority relation between the data corresponding to each number according to the judgment result of each number pair binding.
The data obtained in each step are numbered, so that the data are conveniently marked; the combination arrangement is carried out because the data corresponding to each number can be compared conveniently, and the priority relation among the data corresponding to each number is further judged; judging the priority relation among the data, so as to judge whether the micro service modules can be expanded horizontally or longitudinally; the first set is set for storing each number pair, so that the condition of missing comparison when the priority of data corresponding to two numbers in the number pair is compared is avoided; and binding the judgment result with the corresponding number so as to avoid losing the priority comparison result and facilitate the rapid locking of the priority relationship between the data corresponding to each number.
In the step S1-1, in the process of numbering the data obtained in each step in each micro service module, a-B is used to represent the number corresponding to the B-th step in the a-th micro service module;
the method for determining the priority of the data corresponding to each number in each number pair in S1-3 includes the following steps:
s2-1, if the number pair is { A1-B1, A2-B2}, respectively obtaining the number n1 of data types in the data corresponding to A1-B1 and the number n2 of data types in the data corresponding to A2-B2;
s2-2, marking the data corresponding to the A1-B1 except the data type of the j1 as A1-B1jiJ1 is a positive integer of n1 or less,
the data obtained by removing the jth 2 data type from the data corresponding to A2-B2 is recorded as A2-B2j2J2 is a positive integer not more than n 2;
s2-3, when j1 is different, the corresponding data of A1-B1 is transformed into A1-B1jiThen, whether the corresponding data of A2-B2 will be changed or not is determined,
S2-4, when j2 is different, the corresponding data of A2-B2 is transformed into A2-B2j2Then, whether the corresponding data of A1-B1 will be changed or not is determined,
S2-5, judging the priority relation between the data corresponding to A1-B1 and the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 is a different value, the corresponding result of A1-B1 existsWhen the priority of the data corresponding to A1-B1 is lower than that of the data corresponding to A2-B2,
when j1 is a different value, the corresponding result of A2-B2 existsAnd j2 are different values, the results corresponding to A1-B1 are allThen, the priority of the data corresponding to A1-B1 is judged to be higher than that of the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 are different values, the results corresponding to A1-B1 are allWhen the priority of the data corresponding to A1-B1 is not directly related to the data corresponding to A2-B2, the priority of the data corresponding to A1-B1 and the priority of the data corresponding to A2-B2 cannot be directly confirmed.
In this embodiment, if the number pair is {1-01, 2-03}, the number of data types in the data corresponding to 1-01 is 2, the number of data types in the data corresponding to 2-03 is 2,
when j1 is equal to 1, 1-01 corresponding data is transformed into 1-011When the corresponding data of 2-03 changes, the situation is recorded as
When j1 is 2, 1-01 corresponding data is transformed into 1-012When the corresponding data of 2-03 is not changed, the situation is recorded as
When j2 is equal to 1, 2-03 corresponding data conversion is 2-031When the corresponding data of 1-01 is not changed, the situation is recorded as
When j2 is 2, 2-03 corresponding data conversion is 2-032When the corresponding data of 1-01 is not changed, the situation is recorded as
Since j1 is 1, 2-03 corresponds to a result ofAnd j2 is 1 or 2, 1-01 correspond to the results respectivelyOr
It is determined that the priority of the 1-01 corresponding data is higher than that of the 2-03 corresponding data.
The invention uses A-B to represent the number corresponding to the step B in the micro service module A, because the same micro service module is considered to correspond to different steps, and the data generated by different steps are different and the sequence can also be different, so that different steps in different micro services need to be numbered; the data type number n1 in the data corresponding to the data from a1 to B1 and the data type number n2 in the data corresponding to the data from a2 to B2 are obtained because one data may be composed of data portions of different types, when the data is damaged, the damaged data may be only a certain portion of the one data, and the influence of the damaged different data portions in the same data on other data may be different.
The number pairs with the confirmed priority relationship are marked with the first label, the number pairs with the priority having no direct relationship are marked with the second label,
all the number pairs marked first are summarized and a second set is constructed,
all the number pairs marked with the second label are summarized and a third set is constructed.
The second set and the third set are respectively constructed in the invention, so that the priority chains are supplemented in subsequent steps, and in the process of supplementing the priority chains in each step, the number pairs of corresponding marks (including the first mark and the second mark) in the sets are prevented from being selected and used, and the omission is avoided.
The method for determining the priority relationship among the data corresponding to the numbers according to the judgment result of the binding of the numbers in the S1-4 comprises the following steps:
s3-1, acquiring a second set, and randomly selecting a number pair from the second set, and recording the number pair as a { first number and a second number };
s3-2, creating a blank priority chain, inserting the priority relationship between the data corresponding to the first number and the data corresponding to the second number into the blank priority chain, wherein the position of the number corresponding to the data with high priority in the priority chain is higher than the position of the number corresponding to the data with low priority in the priority chain, and each number corresponds to a node in the priority chain;
s3-3, selecting the number pairs of the second set with the rest number pairs containing the first number or the second number respectively,
if the number pair containing the first number or the second number is selected, the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number,
if the number pair containing the first number or the second number is not selected, a priority chain is created again, one number pair in the remaining number pairs of the second set is continuously selected, and the newly created priority chain is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number;
s3-4, selecting the number pairs again in the remaining number pairs of the second set according to the numbers in the selected number pairs, and continuing to supplement the priority chains according to the method in S3-3;
s3-5, repeating the operation in S3-4, directly selecting all the number pairs in the second set to obtain a first priority chain set;
s3-6, selecting the number pairs in the third set one by one to supplement each priority chain in the first priority chain set to obtain a second priority chain set;
s3-7, acquiring the priority relation of the data corresponding to each serial number according to the second priority chain set,
in the second priority set, the data corresponding to the corresponding numbers of the nodes in the same priority chain have priority relationship, and the number at the position of the node in the priority chain before the node has higher priority,
data corresponding to the corresponding numbers of the nodes on different priority chains does not have priority relation;
the method for supplementing the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number according to the priority relationship between the data corresponding to the two numbers in the selected numbers comprises the following steps:
s4-1, acquiring a priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number, acquiring a selected number pair containing the first number, and recording the other number except the first number in the number pair as a third number;
s4-2, respectively acquiring the priority relationship between the data corresponding to the first number and the data corresponding to the third number and the priority relationship between the data corresponding to the second number and the data corresponding to the third number;
s4-3, if the data corresponding to the first number is higher in priority than the data corresponding to the third number, and the data corresponding to the second number is higher in priority than the data corresponding to the third number, inserting the third number into the priority chain acquired in S4-1, and the position of the node where the third number is located is all behind the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number has higher priority than the data corresponding to the third number, and the data corresponding to the second number has lower priority than the data corresponding to the third number, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located between the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number is lower than the data corresponding to the third number in priority, and the data corresponding to the second number is lower than the data corresponding to the third number in priority, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located is earlier than the positions of the nodes where the first number and the second number are located,
if the priorities of the data corresponding to the first number and the second number, the priorities of the data corresponding to one number and the third number cannot be directly confirmed, and the priorities of the data corresponding to one number and the third number are not equal, a branched chain is generated in the priority chain acquired by S4-1, the position of a node where the third number is located on the branched chain, and the positions of the nodes where the numbers are located are connected with the branched chain, wherein the priorities of the data corresponding to the third number are not equal in the first number and the second number;
in the invention, a branched chain is generated in a priority chain acquired by S4-1, the position of a node where a third number is located is positioned on the branched chain, and in the first number and the second number, the number with the priority different from that of data corresponding to the third number is positioned, and in the process that the position of the node where the number is located is connected with the branched chain, if the priority of the number with the priority different from that of the data corresponding to the third number is greater than that of the data corresponding to the third number, the branched chain belongs to a front-end branched chain of the node where the number is located, and otherwise, the branched chain belongs to a rear-end branched chain of the node where the number is located, and the priority of the data corresponding to the third number is different from that of the data corresponding to the third number; the priority corresponding to each node on the front-end branched chain is higher than that corresponding to the node with the number, and the priority corresponding to each node on the rear-end branched chain is lower than that corresponding to the node with the number.
S4-4, acquiring the selected number pair containing the second number, and supplementing a priority chain containing the priority relationship between the data corresponding to the two numbers in the number pair containing the second number and the priority relationship between the data corresponding to the first number and the data corresponding to the second number by using the priority relationship between the two numbers in the number pair containing the second number, wherein the principle of the method is the same as that of the method in S4-2 to S4-3;
the method for supplementing each priority chain in the first priority chain set by selecting the number pairs in the third set one by one comprises the following steps:
s5-1, selecting a number pair in the third set, and recording two numbers in the number pair as a fourth number and a fifth number respectively;
s5-2, judging whether the nodes of all the priority chains in the first priority chain set contain the fourth number and the fifth number,
if the fourth number and the fifth number are included, each priority chain in the first set of priority chains is not complemented,
if only one of the fourth number and the fifth number is included, a blank priority chain is created again in the first priority chain set, the number which is not included in the fourth number and the fifth number is inserted into the created blank priority chain,
and if the fourth number and the fifth number are not contained, two blank priority chains are created again in the first priority chain set, the fourth number is inserted into one blank priority chain created, and the fifth number is inserted into the other blank priority chain created.
The invention creates a blank priority chain to avoid the influence of other numbers on the priority chain in the initial state and prevent the priority relationship between the numbers corresponding to the nodes on the priority chain from being mixed, thereby causing the error of the priority relationship; in the process of supplementing the priority chains, the number pairs in the second set are changed by the length and the number of the priority chains, and the number pairs in the third set are changed by only the number of the priority chains; the first number, the second number, the third number, the fourth number and the fifth number are arranged in the invention to distinguish the numbers in the number pair; when the number pairs containing the first number or the second number are not selected, a priority chain is created again, and the priority relationship between the data corresponding to the two numbers in the remaining number pairs in the second set needs to be supplemented in the new priority chain in consideration of the fact that the priority relationship between the nodes in the original priority chain is completely extracted.
When the horizontal or vertical expansion capability of each micro service module is supported through the priority relation among the data obtained in each step of each micro service module,
when the micro-service module performs the transverse expansion capability, judging whether the corresponding numbers of different steps of different micro-service modules have priority relations,
when the priority relationship exists, the step in the micro service module corresponding to the serial number with high priority can be expanded transversely to the step in the micro service module corresponding to the serial number with low priority,
when the priority relation does not exist, different steps of different micro service modules cannot be expanded transversely;
when the micro service module performs the longitudinal expansion capability, whether the priority relationship exists between the corresponding numbers of different steps in the same micro service module is judged,
when the priority relationship exists, the step corresponding to the high-priority number can be longitudinally expanded to the step corresponding to the low-priority number in the numbers corresponding to the different steps of the micro service module,
when the priority relation does not exist, the longitudinal expansion between different steps in the micro service module cannot be carried out.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A remote sensing product authenticity checking method based on a micro-service architecture is characterized by comprising the following steps:
s1, after logging in, the user enters product service, selects the type of the product to be detected, uploads the file of the product to be detected, carries out qualification inspection on the format and the size of the product to be detected, and prompts abnormal information for the file to be detected which is unqualified;
s2, reading metadata information from the product to be inspected which passes the qualification inspection, setting basic information of the product to be inspected by a user, uploading the product to be inspected to an FTP file server for storage, and simultaneously storing the product information to be inspected and the metadata information of the file in a database in a data service;
s3, inquiring qualified ground measurement data through data service according to latitude and time information in the metadata information of the product to be inspected, associating the ground measurement data according to the metadata information of the product to be inspected, selecting the ground measurement data as sample data required by inspection by a user, further creating an optical satellite common product and service software authenticity inspection order in order service, marking as an inspection order, and storing order information in a database;
s4, a background inspector carries out authenticity inspection processing on an inspection order submitted by a user to obtain a pixel level sample data set/same name point record with the same specification as that of a product to be inspected;
s5, selecting a corresponding model algorithm for planetary matching processing according to the pixel level sample data set/homonymy point record, storing the matching result data pair into a database, and returning to a page for displaying;
s6, selecting a corresponding model algorithm, carrying out error calculation and correlation analysis processing on the matching result data pair, and storing a processing result into a database, wherein the processing result is authenticity inspection result data of a product to be inspected;
and S7, inquiring the authenticity verification result of the verified product through the order identification, and generating a verification report by the file service according to the data records.
2. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 1, characterized in that: in the detection process, 7 service modules such as product service, data service, file service, pixel-level management service, order service, external service, authenticity check service and the like are divided in a micro-service mode, and each service module is developed in the micro-service mode and deployed in a distributed cluster mode; each service module is used as an independent processing and computing unit to support the transverse or longitudinal expansion capability of each micro service module, and is used as an algorithm model in the cluster deployment authenticity check service to support the distributed cluster computing capability.
3. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 1, characterized in that: the metadata information in S2 includes: latitude and longitude information, a coordinate system and a central point coordinate;
the basic information includes: satellite, load, product level, spatial resolution, cloud cover, and acquisition time.
4. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 2, characterized in that: the method for obtaining the pixel level sample data set/same name point record with the same specification as the product to be detected in the S4 comprises the following steps:
s4.1, checking an order list, and inquiring basic information of the order, information of a product to be checked and ground measurement data records through an order mark;
and S4.2, selecting an algorithm model to perform pixel level processing/homonymy point selection on the product to be inspected and sample data, storing the obtained pixel level processing/homonymy point selection result data into a database, and associating the pixel level processing/homonymy point selection result data with an inspection order to obtain a pixel level sample data set/homonymy point record with the same specification as the product to be inspected.
5. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 2, characterized in that: each service module is used as an independent processing and calculating unit, and the transverse or longitudinal expansion capability of each micro-service module is supported through the priority relation among the data obtained in each step in each micro-service module,
the method for acquiring the priority relationship among the data acquired in each step in each micro service module comprises the following steps:
s1-1, numbering the data obtained in each step in each micro service module respectively;
s1-2, summarizing numbers corresponding to data respectively obtained in each step in all micro service modules, arranging and combining the summarized numbers pairwise, wherein each combination comprises two numbers to form a number pair, and sequentially inputting the number pairs into a blank set one by one to form a first set;
s1-3, extracting the number pairs in the first set one by one, respectively judging the priority of the data corresponding to each number in each number pair, and binding the judgment result with the corresponding number pair;
s1-4, determining the priority relation between the data corresponding to each number according to the judgment result of each number pair binding.
6. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 5, characterized by comprising the following steps: in the step S1-1, in the process of numbering the data obtained in each step in each micro service module, a-B is used to represent the number corresponding to the B-th step in the a-th micro service module;
the method for determining the priority of the data corresponding to each number in each number pair in S1-3 includes the following steps:
s2-1, if the number pair is { A1-B1, A2-B2}, respectively obtaining the number n1 of data types in the data corresponding to A1-B1 and the number n2 of data types in the data corresponding to A2-B2;
s2-2, marking the data corresponding to the A1-B1 except the data type of the j1 as A1-B1jiJ1 is a positive integer of n1 or less,
the data obtained by removing the jth 2 data type from the data corresponding to A2-B2 is recorded as A2-B2j2J2 is a positive integer not more than n 2;
s2-3, when j1 is different, the corresponding data of A1-B1 is transformed into A1-B1jiThen, whether the corresponding data of A2-B2 will be changed or not is determined,
S2-4, when j2 is different, the corresponding data of A2-B2 is transformed into A2-B2j2Then, whether the corresponding data of A1-B1 will be changed or not is determined,
S2-5, judging the priority relation between the data corresponding to A1-B1 and the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 is a different value, the corresponding result of A1-B1 existsWhen the priority of the data corresponding to A1-B1 is lower than that of the data corresponding to A2-B2,
when j1 is a different value, the corresponding result of A2-B2 existsAnd j2 are different values, the results corresponding to A1-B1 are allThen, the priority of the data corresponding to A1-B1 is judged to be higher than that of the data corresponding to A2-B2,
when j1 is different, the results corresponding to A2-B2 are allAnd j2 are different values, the results corresponding to A1-B1 are allWhen the priority of the data corresponding to A1-B1 is not directly related to the data corresponding to A2-B2, the priority of the data corresponding to A1-B1 and the priority of the data corresponding to A2-B2 cannot be directly confirmed.
7. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 6, characterized in that: the number pairs with the confirmed priority relationship are marked with the first label, the number pairs with the priority having no direct relationship are marked with the second label,
all the number pairs marked first are summarized and a second set is constructed,
all the number pairs marked with the second label are summarized and a third set is constructed.
8. The remote sensing product authenticity checking method based on the micro-service architecture according to claim 7, characterized in that: the method for determining the priority relationship among the data corresponding to the numbers according to the judgment result of the binding of the numbers in the S1-4 comprises the following steps:
s3-1, acquiring a second set, and randomly selecting a number pair from the second set, and recording the number pair as a { first number and a second number };
s3-2, creating a blank priority chain, inserting the priority relationship between the data corresponding to the first number and the data corresponding to the second number into the blank priority chain, wherein the position of the number corresponding to the data with high priority in the priority chain is higher than the position of the number corresponding to the data with low priority in the priority chain, and each number corresponds to a node in the priority chain;
s3-3, selecting the number pairs of the second set with the rest number pairs containing the first number or the second number respectively,
if the number pair containing the first number or the second number is selected, the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number,
if the number pair containing the first number or the second number is not selected, a priority chain is created again, one number pair in the remaining number pairs of the second set is continuously selected, and the newly created priority chain is supplemented according to the priority relationship between the data corresponding to the two numbers in the selected number;
s3-4, selecting the number pairs again in the remaining number pairs of the second set according to the numbers in the selected number pairs, and continuing to supplement the priority chains according to the method in S3-3;
s3-5, repeating the operation in S3-4, directly selecting all the number pairs in the second set to obtain a first priority chain set;
s3-6, selecting the number pairs in the third set one by one to supplement each priority chain in the first priority chain set to obtain a second priority chain set;
s3-7, acquiring the priority relation of the data corresponding to each serial number according to the second priority chain set,
in the second priority set, the data corresponding to the corresponding numbers of the nodes in the same priority chain have priority relationship, and the number at the position of the node in the priority chain before the node has higher priority,
data corresponding to the corresponding numbers of the nodes on different priority chains does not have priority relation;
the method for supplementing the priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number according to the priority relationship between the data corresponding to the two numbers in the selected numbers comprises the following steps:
s4-1, acquiring a priority chain containing the priority relationship between the data corresponding to the first number and the data corresponding to the second number, acquiring a selected number pair containing the first number, and recording the other number except the first number in the number pair as a third number;
s4-2, respectively acquiring the priority relationship between the data corresponding to the first number and the data corresponding to the third number and the priority relationship between the data corresponding to the second number and the data corresponding to the third number;
s4-3, if the data corresponding to the first number is higher in priority than the data corresponding to the third number, and the data corresponding to the second number is higher in priority than the data corresponding to the third number, inserting the third number into the priority chain acquired in S4-1, and the position of the node where the third number is located is all behind the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number has higher priority than the data corresponding to the third number, and the data corresponding to the second number has lower priority than the data corresponding to the third number, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located between the positions of the nodes where the first number and the second number are located,
if the data corresponding to the first number is lower than the data corresponding to the third number in priority, and the data corresponding to the second number is lower than the data corresponding to the third number in priority, inserting the third number into the priority chain obtained in S4-1, and the position of the node where the third number is located is earlier than the positions of the nodes where the first number and the second number are located,
if the priorities of the data corresponding to the first number and the second number, the priorities of the data corresponding to one number and the third number cannot be directly confirmed, and the priorities of the data corresponding to one number and the third number are not equal, a branched chain is generated in the priority chain acquired by S4-1, the position of a node where the third number is located on the branched chain, and the positions of the nodes where the numbers are located are connected with the branched chain, wherein the priorities of the data corresponding to the third number are not equal in the first number and the second number;
s4-4, acquiring the selected number pair containing the second number, and supplementing a priority chain containing the priority relationship between the data corresponding to the two numbers in the number pair containing the second number and the priority relationship between the data corresponding to the first number and the data corresponding to the second number by using the priority relationship between the two numbers in the number pair containing the second number, wherein the principle of the method is the same as that of the method in S4-2 to S4-3;
the method for supplementing each priority chain in the first priority chain set by selecting the number pairs in the third set one by one comprises the following steps:
s5-1, selecting a number pair in the third set, and recording two numbers in the number pair as a fourth number and a fifth number respectively;
s5-2, judging whether the nodes of all the priority chains in the first priority chain set contain the fourth number and the fifth number,
if the fourth number and the fifth number are included, each priority chain in the first set of priority chains is not complemented,
if only one of the fourth number and the fifth number is included, a blank priority chain is created again in the first priority chain set, the number which is not included in the fourth number and the fifth number is inserted into the created blank priority chain,
and if the fourth number and the fifth number are not contained, two blank priority chains are created again in the first priority chain set, the fourth number is inserted into one blank priority chain created, and the fifth number is inserted into the other blank priority chain created.
9. The method for checking the authenticity of a remote sensing product based on a microservice architecture as claimed in claim 8, wherein: when the horizontal or vertical expansion capability of each micro service module is supported through the priority relation among the data obtained in each step of each micro service module,
when the micro-service module performs the transverse expansion capability, judging whether the corresponding numbers of different steps of different micro-service modules have priority relations,
when the priority relationship exists, the step in the micro service module corresponding to the serial number with high priority can be expanded transversely to the step in the micro service module corresponding to the serial number with low priority,
when the priority relation does not exist, different steps of different micro service modules cannot be expanded transversely;
when the micro service module performs the longitudinal expansion capability, whether the priority relationship exists between the corresponding numbers of different steps in the same micro service module is judged,
when the priority relationship exists, the step corresponding to the high-priority number can be longitudinally expanded to the step corresponding to the low-priority number in the numbers corresponding to the different steps of the micro service module,
when the priority relation does not exist, the longitudinal expansion between different steps in the micro service module cannot be carried out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111591837.4A CN114240466B (en) | 2021-12-23 | 2021-12-23 | Remote sensing product authenticity checking method based on micro-service architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111591837.4A CN114240466B (en) | 2021-12-23 | 2021-12-23 | Remote sensing product authenticity checking method based on micro-service architecture |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114240466A true CN114240466A (en) | 2022-03-25 |
CN114240466B CN114240466B (en) | 2023-04-18 |
Family
ID=80762108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111591837.4A Active CN114240466B (en) | 2021-12-23 | 2021-12-23 | Remote sensing product authenticity checking method based on micro-service architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114240466B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022790A (en) * | 2016-05-09 | 2016-10-12 | 中国科学院遥感与数字地球研究所 | Quantitative remote sensing product authenticity examination system |
CN109961204A (en) * | 2017-12-26 | 2019-07-02 | 中国移动通信集团浙江有限公司 | Quality of service analysis method and system under a kind of micro services framework |
CN110855748A (en) * | 2019-10-21 | 2020-02-28 | 中国电子科技集团公司第二十九研究所 | Remote sensing image data automatic standardized processing method, device and medium based on FTP |
CN111259006A (en) * | 2019-11-19 | 2020-06-09 | 中国科学院计算机网络信息中心 | Universal distributed heterogeneous data integrated physical aggregation, organization, release and service method and system |
US20210149879A1 (en) * | 2019-11-19 | 2021-05-20 | Dell Products L.P. | System and Method of Allocation and Centralized Transaction Handling Across Multiple Micro Service Clients |
-
2021
- 2021-12-23 CN CN202111591837.4A patent/CN114240466B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022790A (en) * | 2016-05-09 | 2016-10-12 | 中国科学院遥感与数字地球研究所 | Quantitative remote sensing product authenticity examination system |
CN109961204A (en) * | 2017-12-26 | 2019-07-02 | 中国移动通信集团浙江有限公司 | Quality of service analysis method and system under a kind of micro services framework |
CN110855748A (en) * | 2019-10-21 | 2020-02-28 | 中国电子科技集团公司第二十九研究所 | Remote sensing image data automatic standardized processing method, device and medium based on FTP |
CN111259006A (en) * | 2019-11-19 | 2020-06-09 | 中国科学院计算机网络信息中心 | Universal distributed heterogeneous data integrated physical aggregation, organization, release and service method and system |
US20210149879A1 (en) * | 2019-11-19 | 2021-05-20 | Dell Products L.P. | System and Method of Allocation and Centralized Transaction Handling Across Multiple Micro Service Clients |
Non-Patent Citations (1)
Title |
---|
刘其悦: "遥感卫星几何产品真实性检验方法与应用", 《测绘工程》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114240466B (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Waller et al. | Disease models implicit in statistical tests of disease clustering | |
Yeum et al. | Postevent reconnaissance image documentation using automated classification | |
CN107679146A (en) | Power grid data quality verification method and system | |
CN104778179B (en) | A kind of Data Migration test method and system | |
CN108415846A (en) | A kind of method and apparatus generating minimal automation test use cases | |
CN102207956A (en) | Database management method, database management system and program thereof | |
CN106503108A (en) | Geographical position search method and device | |
CN112732567B (en) | Mock data testing method and device based on ip, electronic equipment and storage medium | |
CN113761580A (en) | Data analysis method based on block chain system | |
CN114240466B (en) | Remote sensing product authenticity checking method based on micro-service architecture | |
CN108090031A (en) | Gas concentration lwevel inverting optimization method and system | |
CN109917456B (en) | Method and system for quickly extracting seismic information | |
CN103186551B (en) | Exception analysis method and analogue system based on web application platform | |
Merrill et al. | Use of density equalizing map projections (DEMP) in the analysis of childhood cancer in four California counties | |
CN114882242A (en) | Violation image identification method and system based on computer vision | |
CN115169578A (en) | AI model production method and system based on meta-space data markers | |
CN113486105A (en) | Natural resource historical service data integration method and device for CIM | |
Chuangchang et al. | Modelling urban growth over time using grid-digitized method with variance inflation factors applied to spatial correlation | |
CN113971126A (en) | Test case generation method and system based on automobile instrument test | |
CN112187708B (en) | Automatic supplementing method and equipment for certificate chain of digital certificate | |
CN110457705B (en) | Method, device, equipment and storage medium for processing point of interest data | |
CN113469649A (en) | Project progress analysis method and device, electronic equipment and storage medium | |
CN113434397A (en) | Task system testing method and device, electronic equipment and storage medium | |
CN113485919A (en) | Test method, test device and computer readable storage medium | |
Patten et al. | Geographic And Taxonomic Occurrence R‐based Scrubbing (gatoRs): An R package and workflow for processing biodiversity data |
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 |