Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, 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 functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same. On the contrary, the embodiments of the disclosure include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a schematic flow chart of a method for identifying a risk region of a hazardous chemical substance according to an embodiment of the present disclosure.
It should be noted that an execution subject of the identification method for a hazardous chemical risk area of the embodiment is a hazardous chemical risk area identification device, which may be implemented in a software and/or hardware manner, and the device may be configured in a computer device, and the computer device may include, but is not limited to, a terminal, a server, and the like.
It should be noted that, in the technical solution of the present disclosure, the processes of acquiring, collecting, storing, using, processing, etc. of the information all conform to the regulations of the relevant laws and regulations, and do not violate the common customs.
As shown in fig. 1, the method for identifying a hazardous chemical risk area includes:
s101: area information of an area to be identified is determined.
Herein, a region for which hazardous chemical risk region identification is to be performed may be referred to as a region to be identified.
The area information refers to space-time data information related to the area to be identified, and the space-time data information may be, for example, space-time data information such as hazardous chemical substance transportation vehicle trajectory data information, point of Interest (POI) data information, and order data information of a hazardous chemical substance transportation company in the area to be identified.
In the embodiment of the disclosure, when determining the region information of the region to be recognized, identity information that can identify the region to be recognized may be determined first, and the identity information of the region to be recognized may include, for example, coordinate position information and region area information of the region to be recognized, and then the region to be recognized is located according to the coordinate position information and the region area information of the region to be recognized.
After the coordinate position information and the area information of the to-be-identified area are determined, the to-be-identified area can be positioned according to the coordinate position information and the area information of the to-be-identified area, then the spatio-temporal data distribution condition of the to-be-identified area after the positioning treatment can be determined, the data domain where the spatio-temporal data of the to-be-identified area is located is determined, then the trajectory data information and the interest point data information of the hazardous chemical substance transport vehicle of the to-be-identified area and the spatio-temporal data information of the hazardous chemical substance transport company in the to-be-identified area are determined from the corresponding data domain according to the identity information of the to-be-identified area, so that the area information of the to-be-identified area is determined, or the area information of the to-be-identified area can be determined in any other possible manner, and the determination is not limited.
S102: acquiring cross-domain space-time attribute characteristics corresponding to the area information, wherein the cross-domain space-time attribute characteristics represent attribute association characteristics between first space-time data and second space-time data of an area to be identified, the first space-time data corresponds to a first data domain, the second space-time data corresponds to a second data domain, and the first data domain is different from the second data domain.
The spatio-temporal data refers to data with time attributes or space attributes of an area to be identified and data containing the time attributes and the space attributes at the same time, the first spatio-temporal data refers to spatio-temporal data stored in a first data domain, and the second spatio-temporal data refers to spatio-temporal data stored in a second data domain.
For example, the point-of-interest data information of the area to be identified has a spatial attribute, the order data of the area to be identified has a time attribute, the hazardous chemical substance transport vehicle trajectory data of the area to be identified has both a time attribute and a spatial attribute, and the first spatiotemporal data and the second spatiotemporal data may be the point-of-interest data of the area to be identified, the vehicle trajectory data, the order data of the hazardous chemical substance transport company in the area to be identified, and the like.
The data domain refers to a position region where a source database of the space-time data storage is located, the first data domain refers to a data domain for storing first space-time data, the second data domain refers to a data domain for storing second space-time data, the first data domain and the second data domain are different, and correspondingly, the first space-time data stored in the first data domain is different from the second space-time data stored in the second data domain.
The cross-domain spatiotemporal attribute feature refers to a feature used for representing attribute association between first spatiotemporal data and second spatiotemporal data of an area to be identified.
In the embodiment of the disclosure, when cross-domain space-time attribute features corresponding to regional information are obtained, a space-time federal machine learning model can be trained, the space-time federal machine learning model has a feature extraction function, a task of performing space-time feature extraction on space-time data can be executed, then the space-time federal machine learning model can be deployed in a first data domain and a second data domain respectively, and the space-time federal machine learning model is used for performing feature extraction on the first space-time data of the first data domain and the second space-time data of the second data domain respectively so as to obtain the cross-domain space-time attribute features corresponding to the first space-time data and the second space-time data.
After the time-space characteristics corresponding to the first time-space data and the second time-space data are respectively extracted, the time-space characteristics of the first time-space data and the second time-space data can be subjected to cross-domain joint learning by using a time-space federal machine learning model deployed in a central server, so that the time-space characteristics output by the time-space federal machine learning model are obtained, and the time-space characteristics output by the time-space federal machine learning model of the central server are used as cross-domain time-space attribute characteristics.
S103: and determining whether the area to be identified is a dangerous chemical risk area or not according to the cross-domain space-time attribute characteristics.
The hazardous chemical risk area refers to an area where danger is easy to occur in a hazardous chemical work flow, the hazardous chemical risk area is easier to have a dangerous event compared with a common place or a normal hazardous chemical production place, and the hazardous chemical risk area can be a place where no related hazardous chemical is produced or stored, and the hazardous chemical risk area is illegally stored.
For example, the hazardous chemical risk area may be a small-sized chemical plant which is not qualified for production but performs production of hazardous chemicals and a warehouse where hazardous chemicals are illegally stocked, and is located more at a relatively remote location than a general site or a normal hazardous chemical production storage area, an area where hazardous chemical transport vehicles are gathered, and a hazardous chemical transport route.
After the area information of the area to be identified is determined and the cross-domain space-time attribute feature corresponding to the area information is obtained, whether the area to be identified is a hazardous chemical substance risk area or not can be determined according to the cross-domain space-time attribute feature.
In the embodiment of the disclosure, when determining whether the to-be-identified area is a hazardous chemical substance risk area according to cross-domain space-time attribute characteristics, a hazardous chemical substance risk area identification model can be constructed based on a space-time characteristic federal machine learning model for space-time characteristic extraction, the hazardous chemical substance risk area identification model is trained based on labeled sample data, model parameters are updated iteratively until the model converges to obtain a converged hazardous chemical substance risk area identification model, the converged hazardous chemical substance risk area identification model can execute a task of judging whether the to-be-identified area is a hazardous chemical substance risk area according to the cross-domain space-time attribute characteristics, then the cross-domain space-time attribute characteristics of the to-be-identified area can be input into the hazardous chemical substance risk area identification model, the cross-domain space-time attribute characteristics are processed by using the hazardous chemical substance risk area identification model to obtain a judgment result output by a classification layer of the hazardous chemical substance risk area identification model, and whether the to-be-identified area is a hazardous chemical substance risk area is determined.
The method and the device for identifying the dangerous chemical substance risk area can acquire sample data of the dangerous chemical substance risk area in a district which is historically checked by business personnel when the dangerous chemical substance risk area identification model is trained based on sample data with a label, the sample data of the dangerous chemical substance risk area can be list data of an illegal dangerous chemical substance factory and a legal dangerous chemical substance factory, the sample area is divided into an illegal area, a legal area and an uncertain area in a list, the illegal area can be understood as the dangerous chemical substance risk area, the legal area can be understood as the area which is not the dangerous chemical substance risk area, other areas which cannot be divided according to existing data are defined as uncertain areas, the sample data with the label is used for training a classification model in the dangerous chemical substance risk area identification model until the classification model is converged, and the converged dangerous chemical substance risk area identification model is used for determining whether the area to be identified is the dangerous chemical substance risk area according to cross-domain spatio-temporal attribute characteristics.
In other embodiments, an identification processing model including a data processing layer, a feature extraction layer, a full connection layer and a classification layer may be constructed, historical sample hazardous chemical substance transport vehicle trajectory data information, enterprise hazardous chemical substance order information and tagged area name order data are input to perform identification processing model training, model parameters are updated iteratively until the model converges, then cross-domain space-time attribute features are input into the identification processing model, an output result of the identification processing model is used as a judgment result of whether the area to be identified is a hazardous chemical substance risk area, so that whether the area to be identified is a hazardous chemical substance risk area or not is determined according to the cross-domain space-time attribute features, or any other possible manner can be adopted to determine whether the area to be identified is a hazardous chemical substance risk area or not according to the cross-domain space-time attribute features, and no limitation is made on the area.
In the embodiment, by determining the area information of the area to be identified, cross-domain space-time attribute characteristics corresponding to the area information are obtained, wherein the cross-domain space-time attribute characteristics represent attribute association characteristics between first space-time data and second space-time data of the area to be identified, the first space-time data corresponds to a first data domain, the second space-time data corresponds to a second data domain, the first data domain is different from the second data domain, and according to the cross-domain space-time attribute characteristics, whether the area to be identified is a hazardous chemical substance risk area or not is determined.
Fig. 2 is a schematic flow chart of a method for identifying a risk region of a hazardous chemical substance according to another embodiment of the present disclosure.
As shown in fig. 2, the method for identifying a dangerous chemical risk region includes:
s201: an initial federated machine learning model is constructed.
The federal machine learning model is a machine learning model which can learn data by adopting a federal learning method under the condition that data of a plurality of data is not exported, and the initial federal machine learning model is a federal machine learning model which is not trained by sample data.
In the embodiment of the disclosure, when an initial federated machine learning model is constructed, a machine learning model including a data processing layer, a feature extraction layer, a full connection layer and a classification layer may be constructed, and the obtained machine learning model is used as the constructed initial federated machine learning model.
S202: and training an initial federal machine learning model by combining a plurality of sample space-time attribute characteristics output by a plurality of federal contrast submodels respectively and a plurality of loss cost values corresponding to the plurality of federal contrast submodels respectively until the federal machine learning model converges, and taking the federal machine learning model obtained by training as a cross-domain space-time attribute recognition model.
The federal contrast submodel is obtained by local training in a corresponding data domain and is used for processing sample space-time data provided by the corresponding data domain to obtain sample space-time attribute characteristics corresponding to the sample space-time data.
The sample spatiotemporal data refers to spatiotemporal data of a sample area in a jurisdiction of historical spot check of business personnel, the sample area corresponding to the sample spatiotemporal data can comprise an illegal hazardous chemical plant and a legal hazardous chemical plant, and the sample area can be divided into an illegal area, a legal area and an uncertain area, wherein the area in 50m around a legal enterprise is defined as the legal area, namely, the area in 50m around the legal enterprise is not a hazardous chemical risk area, the area in 50m around the illegal hazardous chemical plant is defined as a hazardous chemical risk area, and other areas which can not be divided according to existing data are defined as uncertain areas.
The sample spatiotemporal attribute feature refers to a feature value which can be used for representing spatiotemporal attributes of sample spatiotemporal data.
The loss cost values refer to parameter values generated in the process of training each federal contrast submodel in a data domain locally, and the federal contrast submodels are trained in a plurality of data domains locally to generate a plurality of loss cost values.
The cross-domain space-time attribute identification model can be used for extracting cross-domain space-time attribute features of a plurality of data domains of the area to be identified.
After the initial federated machine learning model is constructed, the initial federated machine learning model can be trained by adopting a federated machine learning method and combining a plurality of sample space-time attribute characteristics respectively output by a plurality of federated comparison submodels and a plurality of loss cost values respectively corresponding to the plurality of federated comparison submodels.
In the embodiment of the disclosure, when an initial federal machine learning model is trained by using a federal machine learning method, a plurality of corresponding federal contrast submodels can be pre-trained locally in each data field to obtain a plurality of loss cost values respectively corresponding to the plurality of federal contrast submodels, sample time-space data provided by the plurality of data fields are respectively input into the local federal contrast submodels corresponding to the plurality of data fields, and the sample time-space data is subjected to feature extraction by using the federal contrast submodels to obtain corresponding sample time-space attribute time-space features output by the federal contrast submodels.
According to the method, after sample space-time data provided by corresponding data fields are processed by the federal contrast submodel to obtain sample space-time attribute characteristics corresponding to the sample space-time data, a federal learning method can be adopted, under the condition that the space-time data of a plurality of data fields are not exported, a plurality of sample space-time attribute characteristics output by a plurality of federal contrast submodels respectively are combined, a plurality of loss cost values corresponding to the plurality of federal contrast submodels respectively train an initial federal machine learning model, federal machine learning model parameters are updated in an iterative mode until the federal machine learning model converges, and the federal machine learning model trained to converge is used as a cross-domain space-time attribute recognition model.
In this embodiment, an initial federal machine learning model is constructed, a federal machine learning method is adopted, a plurality of sample space-time attribute features output by a plurality of federal contrast submodels respectively are combined, the initial federal machine learning model is trained with a plurality of loss cost values corresponding to the plurality of federal contrast submodels respectively until the federal machine learning model converges, and the obtained federal machine learning model is used as a cross-domain space-time attribute recognition model, so that training of the cross-domain space-time attribute recognition model can be realized under the condition that space-time data of each data domain is not exported, and privacy of the space-time data of each data domain is effectively guaranteed.
S203: a plurality of dwell points in the area to be identified is determined.
The residence point refers to the central point of the gathering area of the dangerous chemical substance transport vehicle track.
In the embodiment of the present disclosure, when determining a plurality of residence points in an area to be identified, vehicle trajectory data of a Global Positioning System (GPS) of a hazardous chemical substance transportation vehicle may be acquired, where a data field of the vehicle trajectory data mainly includes: the method comprises the steps of carrying out track denoising processing on vehicle track data by combining a vehicle license plate number, data sampling time and data sampling longitude and latitude and combining a service related background, removing abnormal track points caused by position deviation acquired by a positioning system to obtain vehicle track data after the track denoising processing, setting the dangerous chemical transport vehicle to reside for more than m seconds in a circular area with the diameter of r meters, confirming that a clustering center of a report point area of the dangerous chemical transport vehicle resides in the time, and calculating by adopting an incremental calculation mode to obtain a plurality of residence points of an area to be identified.
In other embodiments, for the case that the long-time residence point across days is divided into two to multiple residence points, when calculating the residence point of the to-be-identified area, the left end point of the time window may be increased forward by m-1 second to merge the residence points across days, so as to determine multiple residence points in the to-be-identified area, or may also determine multiple residence points in the to-be-identified area by any other possible manner, which is not limited thereto.
S204: and identifying resident area information from the area to be identified according to the plurality of resident points.
The residence area information refers to the residence area position and other related information of the hazardous chemical substance transport vehicle obtained after clustering the residence points of the area to be identified.
After determining the plurality of residence points in the area to be identified, the embodiment of the disclosure may identify residence area information from the area to be identified according to the plurality of residence points.
In the embodiment of the disclosure, when the resident region information is identified from the region to be identified according to the plurality of resident points, the plurality of resident points may be clustered, the resident points may be clustered by using a Spatial Clustering algorithm (DBSCAN), longitude information and latitude information of the resident points and hazardous chemical substance categories transported by hazardous chemical substance transport vehicles are used as features, a distance function is redefined, clustering of track points is visually observed on a map by using an elbow point method, and a hyper-parameter Clustering radius and a threshold value of the number of points in the neighborhood are adjusted to obtain the resident region.
After clustering is carried out on a plurality of residence points to obtain residence areas, the residence area can carry out association processing on hazardous chemical substance order information and interest point data information of an enterprise to obtain residence area vectors (the residence area vectors comprise residence area identity information, residence time, vehicle tracks, and types information, transportation amount, departure place and destination of hazardous chemical substances to be transported) after association processing, wherein the residence area identity information is geographical coordinate coding grid longitude and latitude coordinates of the center position of the residence area, and the residence area vectors obtained after association processing are used as residence area information identified from an area to be identified.
For example, as shown in fig. 3, fig. 3 is a schematic diagram of a dangerous chemical risk area identification process in the embodiment of the present disclosure, first, trajectory data of a dangerous chemical transport vehicle may be obtained, and an abnormal trajectory point caused by a position deviation acquired by a positioning system is removed to implement denoising processing on the trajectory data of the vehicle, then, a dwell point extraction may be performed on the vehicle trajectory data subjected to the denoising processing, then, the extracted dwell point may be subjected to clustering processing to identify dwell area information from an area to be identified according to a plurality of dwell points, and the identified dwell area information is used as area information of the area to be identified.
S205: the resident area information is taken as area information.
After the resident region information is identified from the region to be identified according to the plurality of resident points, the resident region information may be used as the region information of the region to be identified.
When the resident region information is used as the region information, the cross-domain space-time attribute characteristics corresponding to the region information can be acquired, and the following embodiments can be seen specifically.
In the embodiment, the resident area information is identified from the area to be identified according to the plurality of resident points by determining the plurality of resident points in the area to be identified, and the resident area information is used as the area information, so that the resident points can be determined to identify the resident area information as the area information, and the accurate area information can be obtained by adopting an incremental mode, thereby reducing the data calculation amount and the pressure of storage hardware, and assisting in improving the identification processing efficiency of the dangerous chemical risk area.
S206: inputting the region information into a cross-domain space-time attribute recognition model to obtain cross-domain space-time attribute characteristics which are output by the cross-domain space-time attribute recognition model and correspond to the region information, wherein the cross-domain space-time attribute recognition model is obtained by adopting a federal machine learning method for training.
The method includes the steps of constructing an initial federated machine learning model, training the initial federated machine learning model by combining a plurality of sample time-space attribute characteristics output by a plurality of federated comparison submodels respectively and a plurality of loss cost values corresponding to the federated comparison submodels respectively until the federated machine learning model converges to obtain a cross-domain time-space attribute recognition model, recognizing resident region information as region information, inputting the region information into the cross-domain time-space attribute recognition processing model, performing data analysis and feature extraction processing on the region information by using the cross-domain time-space attribute recognition processing model to obtain an output result of the cross-domain time-space attribute recognition model, and using the output result of the cross-domain time-space attribute recognition model as a cross-domain time-space attribute characteristic corresponding to the region information.
For example, as shown in fig. 4, fig. 4 is a schematic diagram illustrating a data flow of area characteristic mining, where more hazardous chemical substance transportation vehicles reside in a hazardous chemical substance risk area for loading and unloading, multiple residence points of an area to be identified may be determined according to vehicle trajectory data, then the multiple residence points may be clustered, residence area information may be identified from the area to be identified according to the multiple residence points, then alignment processing is performed on area identity information in the residence area information, the aligned residence area information is input to an encoding module for encoding, and then the encoded area information may be input to a cross-domain spatiotemporal attribute identification model to obtain cross-domain spatiotemporal attribute characteristics corresponding to the area information output by the cross-domain spatiotemporal attribute identification model.
S207: and determining whether the area to be identified is a dangerous chemical risk area or not according to the cross-domain space-time attribute characteristics.
For description of S207, reference may be made to the above embodiments, which are not described herein again.
In the embodiment, by determining the area information of the area to be identified, cross-domain space-time attribute characteristics corresponding to the area information are obtained, wherein the cross-domain space-time attribute characteristics represent attribute association characteristics between first space-time data and second space-time data of the area to be identified, the first space-time data corresponds to a first data domain, the second space-time data corresponds to a second data domain, the first data domain and the second data domain are different, and according to the cross-domain space-time attribute characteristics, whether the area to be identified is a hazardous chemical substance risk area or not is determined, the cross-domain space-time attribute characteristics corresponding to the area to be identified can be analyzed, effective utilization of space-time data of different data domains is realized, effective judgment on whether the area to be identified is a hazardous chemical substance risk area or not is realized by using the cross-domain space-time attribute characteristics, and therefore identification efficiency of hazardous chemical substance risk area identification can be effectively improved, the identification accuracy of the dangerous chemical risk area is effectively improved, an initial federal machine learning method is adopted by constructing an initial federal machine learning model, combining a plurality of sample space-time attribute characteristics output by a plurality of federal comparison submodels respectively, training the initial federal machine learning model with a plurality of loss cost values corresponding to the plurality of federal comparison submodels respectively until the federal machine learning model converges, and using the obtained federal machine learning model as a cross-domain space-time attribute identification model, so that the training of the cross-domain space-time attribute identification model can be realized under the condition that the space-time data of each data domain is not exported, the privacy of the space-time data of each data domain is effectively ensured, the resident area information is identified from the area to be identified according to a plurality of resident points by determining a plurality of resident points in the area to be identified, and the resident area information is used as the area information, therefore, the residence point can be determined to identify the residence area information as the area information, and the more accurate area information can be obtained by adopting an incremental mode, so that the data calculation amount and the pressure of storage hardware can be reduced, and the identification processing efficiency of the hazardous chemical substance risk area can be improved in an auxiliary manner.
Fig. 5 is a schematic flow chart of a method for identifying a risk region of a hazardous chemical substance according to another embodiment of the present disclosure.
As shown in fig. 5, the method for identifying a dangerous chemical risk region includes:
s501: an initial federated machine learning model is constructed.
For description of S501, reference may be made to the above embodiments, which are not described herein again.
S502: and respectively inputting the plurality of sample space-time attribute characteristics into an initial federated machine learning model to obtain sample characteristic characterization information output by the federated machine learning model.
The sample feature characterization information is data information that can be used for performing feature characterization processing on the sample spatiotemporal attribute features.
After the initial federated machine learning model is constructed, the time-space attribute characteristics of the multiple samples can be respectively input into the initial federated machine learning model, and the time-space attribute characteristics of the multiple samples are analyzed and subjected to characteristic characterization processing by the initial federated machine learning model, so that sample characteristic characterization information output by the federated machine learning model is obtained.
Optionally, in some embodiments, when the plurality of sample spatiotemporal attribute features are respectively input into the initial federated machine learning model to obtain sample feature characterization information output by the federated machine learning model, the plurality of sample spatiotemporal attribute features may be processed to obtain a positive sample spatiotemporal attribute feature pair, where the positive sample spatiotemporal attribute feature pair includes: processing the plurality of sample space-time attribute features with the sample space-time attribute features corresponding to the trajectory vectors belonging to the same residence area to obtain a negative sample space-time attribute feature pair, wherein the negative sample space-time attribute feature pair comprises: the method comprises the steps of inputting a positive sample space-time attribute feature pair and a negative sample space-time attribute feature pair into an initial federated machine learning model to obtain a positive sample feature characterization distance between the positive sample space-time attribute feature pair and a negative sample feature characterization distance between the negative sample space-time attribute feature pair output by the federated machine learning model, and taking the positive sample feature characterization distance and the negative sample feature characterization distance as sample feature characterization information, so that the sample space-time attribute features can be divided into the sample pairs and input into the initial federated machine learning model for analysis processing, the positive sample feature characterization distances of the positive sample space-time attribute pair are close to each other as possible, the negative sample feature characterization distances of the negative sample space-time attribute pair are far away as possible to obtain more accurate feature characterization distances as sample feature characterization information, and the sample feature characterization information can be used for obtaining a to-be-processed loss value of the federated machine learning model, thereby obtaining more accurate to-be-processed loss values, and ensuring the federated training effect of the federated machine learning model.
The track vector of the residence area comprises residence area identity information, residence time, vehicle track, the class information of transported dangerous chemicals, transportation amount, departure place and destination information.
The positive sample space-time attribute feature pair refers to a space-time attribute feature pair formed by space-time attribute features corresponding to sample space-time data belonging to the same residence area, and comprises the following components: sample spatio-temporal attribute features corresponding to trajectory vectors belonging to the same dwell region.
The negative sample space-time attribute feature pair is a space-time attribute feature pair consisting of space-time attribute features corresponding to sample space-time data belonging to different residence areas, and comprises the following components: sample spatio-temporal attribute features corresponding to trajectory vectors belonging to different dwell regions.
The embodiment of the disclosure can divide the multiple sample space-time attribute features when processing the multiple sample space-time attribute features to obtain the positive sample space-time attribute feature pairs, divide the sample space-time attribute features corresponding to the trajectory vectors belonging to the same dwell area into the positive sample space-time attribute feature pairs, divide the multiple sample space-time attribute features when processing the multiple sample space-time attribute features to obtain the negative sample space-time attribute feature pairs, and divide the sample space-time attribute features corresponding to the trajectory vectors belonging to different dwell areas into the negative sample space-time attribute feature pairs.
After a plurality of sample space-time attribute features are processed to obtain a positive sample space-time attribute feature pair and a negative sample space-time attribute feature pair, the positive sample space-time attribute feature pair and the negative sample space-time attribute feature pair can be input into an initial federated machine learning model, the initial federated machine learning model is utilized to carry out feature characterization distance calculation on the positive sample space-time attribute feature pair and the negative sample space-time attribute feature, so that the positive sample feature characterization distances of the positive sample space-time attribute feature pair are as close as possible, the negative sample feature characterization distances of the negative sample space-time attribute feature pair are as far as possible, the positive sample feature characterization distances between the positive sample space-time attribute feature pairs and the negative sample feature characterization distances between the negative sample space-time attribute feature pairs output by the initial federated machine learning model are obtained, and the obtained positive sample feature characterization distances and negative sample feature characterization distances are used as sample feature characterization information.
S503: and determining a loss value to be processed according to the sample characteristic characterization information, and determining a target loss value according to the loss value to be processed and the loss cost values.
The loss value to be processed refers to a loss value that can characterize the distance of the sample feature characterization distance in the sample feature characterization information.
The target loss value is a loss value that can be used to determine whether the federated machine learning model is trained to converge.
In the embodiment of the disclosure, when determining the loss value to be processed according to the sample characteristic characterization information, the loss function may be utilized
Calculating a value of loss to be treated, wherein 1[ k ] is not equal to i]The value range is {0,1}, when [ · is]Is a true functional expression of 1 when [. Cndot.)]Assuming that the function expression is 0, x is a sample characteristic characterization distance, tau is a constant, inputting the sample characteristic characterization distance into a loss function value for calculation to obtain a calculation result of the loss function, and taking the calculation result of the loss function as a loss value to be processed.
After the loss value to be processed is determined according to the sample characteristic characterization information, the target loss value can be determined according to the loss value to be processed and the loss cost values, the loss value to be processed and the loss cost values can be input into the loss value analysis processing model, the loss value to be processed and the loss cost values are analyzed by the loss value analysis processing model, the loss value output by the loss value analysis processing model is obtained, and the loss value obtained through output is used as the target loss value.
S504: and if the target loss value meets the loss condition, taking the Federal machine learning model obtained by training as a cross-domain space-time attribute identification model.
The loss condition refers to a judgment condition which is set in advance for a target loss value, and if the target loss value meets the loss condition, the Federal machine learning model obtained through training can be used as a cross-domain spatiotemporal attribute identification model.
In the embodiment of the disclosure, after the loss value to be processed is determined according to the sample characteristic characterization information and the target loss value is determined according to the loss value to be processed and the loss cost values, whether the target loss value meets the loss condition or not can be judged, and if the target loss value meets the loss condition, the federal machine learning model obtained by training is used as a cross-domain space-time attribute identification model.
In the embodiment, a plurality of sample space-time attribute features are respectively input into an initial federal machine learning model to obtain sample feature characterization information output by the federal machine learning model, a loss value to be processed is determined according to the sample feature characterization information, a target loss value is determined according to the loss value to be processed and a plurality of loss cost values, if the target loss value meets a loss condition, the federal machine learning model obtained by training is used as a cross-domain space-time attribute recognition model, so that the target loss value can be calculated, the training convergence of the federal machine learning model is judged according to the target loss value, the feature extraction effect of the cross-domain space-time attribute recognition model obtained by training is improved, and whether the region to be recognized is a dangerous chemical risk region or not is determined according to the cross-domain space-time attribute features, so that the dangerous chemical risk region recognition effect can be effectively improved.
S505: area information of an area to be identified is determined.
S506: and inputting the region information into the cross-domain space-time attribute identification model to obtain cross-domain space-time attribute characteristics which are output by the cross-domain space-time attribute identification model and correspond to the region information.
S507: and determining whether the area to be identified is a dangerous chemical risk area or not according to the cross-domain space-time attribute characteristics.
For the description of S505 to S507, reference may be made to the above embodiments, which are not described herein again.
In the embodiment, the cross-domain space-time attribute characteristics corresponding to the region information are obtained by determining the region information of the region to be identified, wherein, the cross-domain space-time attribute characteristic is an attribute correlation characteristic between first space-time data and second space-time data which characterize the region to be identified, the first space-time data corresponds to a first data domain, the second space-time data corresponds to a second data domain, and the first data domain is different from the second data domain, and determining whether the region to be identified is a dangerous chemical risk region according to the cross-domain space-time attribute characteristics, analyzing the cross-domain space-time attribute characteristics corresponding to the region to be identified, and realizing effective utilization of different data domain space-time data, and realizes the effective judgment of whether the area to be identified is the dangerous chemical risk area or not by utilizing the cross-domain space-time attribute characteristics, thereby effectively improving the identification efficiency of the risk area of the hazardous chemical substances, effectively improving the identification accuracy of the risk area of the hazardous chemical substances, respectively inputting a plurality of sample space-time attribute characteristics into an initial federated machine learning model to obtain sample characteristic characterization information output by the federated machine learning model, determining a loss value to be processed according to the sample characteristic characterization information, determining a target loss value according to the loss value to be processed and a plurality of loss cost values, if the target loss value meets the loss condition, the Federal machine learning model obtained by training is used as a cross-domain space-time attribute recognition model, thereby calculating a target loss value and judging the training convergence of the Federal machine learning model according to the target loss value so as to improve the characteristic extraction effect of the cross-domain space-time attribute recognition model obtained by training, and determining whether the region to be identified is a dangerous chemical risk region or not according to the cross-domain space-time attribute characteristics, so that the identification effect of the dangerous chemical risk region can be effectively improved.
Fig. 6 is a schematic flow chart of a method for identifying a risk region of a hazardous chemical substance according to another embodiment of the present disclosure.
As shown in fig. 6, the method for identifying a dangerous chemical risk region includes:
s601: an initial federated machine learning model is constructed.
For description of S601, reference may be made to the above embodiments for example, which are not described herein again.
S602: and obtaining a plurality of sample residing area information respectively output by a plurality of federal contrast submodels.
The sample resident area information refers to corresponding resident area information obtained after processing sample spatio-temporal data.
In the embodiment of the disclosure, when obtaining a plurality of sample residing area information respectively output by a plurality of federal contrast submodels, sample time-space data can be input into the federal contrast submodels, the sample time-space data is analyzed and processed by using the federal contrast submodels, vehicle trajectory data in the sample time-space data is calculated and processed to extract sample residing points in the sample time-space data, and then the sample residing area information can be identified according to the sample residing points to obtain a plurality of sample residing area information respectively output by the plurality of federal contrast submodels.
S603: and aligning the space-time attribute characteristics of the plurality of samples according to the resident area information of the samples.
The embodiment of the disclosure can acquire a plurality of sample residing area information respectively output by a plurality of federal contrast submodels before processing a plurality of sample time-space attribute characteristics to obtain a positive sample time-space attribute characteristic pair, and perform alignment processing on the plurality of sample time-space attribute characteristics according to the sample residing area information.
In the embodiment of the present disclosure, when aligning multiple sample time-space attribute features according to sample residence area information, the multiple sample time-space attribute features may be aligned according to area identity information in the sample residence area information based on a federal privacy Protection Set Intersection (PSI), so as to obtain aligned sample time-space attribute features.
S604: processing the plurality of sample space-time attribute features to obtain a positive sample space-time attribute feature pair, wherein the positive sample space-time attribute feature pair comprises: sample spatio-temporal attribute features corresponding to trajectory vectors belonging to the same dwell region.
S605: processing the multiple sample space-time attribute features to obtain a negative sample space-time attribute feature pair, wherein the negative sample space-time attribute feature pair comprises: sample spatio-temporal attribute features corresponding to trajectory vectors belonging to different dwell regions.
S606: and inputting the positive sample space-time attribute feature pairs and the negative sample space-time attribute feature pairs into an initial federated machine learning model to obtain positive sample feature characterization distances between the positive sample space-time attribute feature pairs and negative sample feature characterization distances between the negative sample space-time attribute feature pairs output by the federated machine learning model.
S607: and taking the positive sample characteristic distance and the negative sample characteristic distance as sample characteristic information.
S608: and determining a loss value to be processed according to the sample characteristic characterization information, and determining a target loss value according to the loss value to be processed and the loss cost values.
S609: and if the target loss value meets the loss condition, taking the Federal machine learning model obtained by training as a cross-domain space-time attribute identification model.
For an example, the descriptions of S604 to S609 refer to the above embodiments, which are not described herein again.
Optionally, in some embodiments, after a federal machine learning method is adopted, and an initial federal machine learning model is trained in combination with a plurality of loss cost values respectively output by a plurality of federal contrast submodels and a plurality of loss cost values respectively corresponding to the plurality of federal contrast submodels, a plurality of risk region labels respectively corresponding to a plurality of sample resident region information are determined, a plurality of sample spatio-temporal attribute features aligned according to the sample resident region information are determined, an initial artificial intelligence model is trained according to the aligned plurality of sample spatio-temporal attribute features and the plurality of risk region labels until the artificial intelligence model converges, the trained artificial intelligence model is used as a risk region identification model, so that the artificial intelligence model can be trained according to the sample spatio-temporal attribute features and the risk regions to obtain the risk region identification model, the identification processing effect of the risk region identification model is effectively ensured, and whether the risk region identification model trained to converge is a risk region of a hazardous article is identified according to the cross-domain spatio-temporal attribute features by using the risk region identification model, so that the accuracy of hazardous article risk region identification can be effectively improved.
The risk area marking refers to a risk area mark obtained after marking a risk area corresponding to the sample space-time data.
The initial artificial intelligence model refers to an untrained artificial intelligence model with a feature analysis processing function.
In the embodiment of the disclosure, when determining multiple risk area labels respectively corresponding to multiple pieces of sample residing area information, whether the multiple areas corresponding to the sample residing area information are risk areas or not can be labeled according to a spot check result of a service worker, the corresponding multiple residing areas are divided into risk areas and non-risk areas, and the risk areas and the non-risk areas are correspondingly labeled, so as to determine the multiple risk area labels respectively corresponding to the multiple pieces of sample residing area information.
After determining the multiple risk area labels respectively corresponding to the multiple sample resident area information, the disclosed embodiment can determine multiple sample space-time attribute characteristics aligned according to the sample resident area information, then can construct an initial artificial intelligence model, then can train the initial artificial intelligence model according to the aligned multiple sample space-time attribute characteristics and the multiple risk area labels, can input the aligned multiple sample space-time attribute characteristics and the multiple risk area labels into the constructed initial artificial intelligence model, train the artificial intelligence model, iteratively update model parameters until the artificial intelligence model converges, and use the artificial intelligence model trained to converge as a risk area identification model.
Optionally, in some embodiments, the initial artificial intelligence model comprises: the cross-domain space-time attribute recognition model, the full-connection layer connected with the cross-domain space-time attribute recognition model and the classification layer connected with the full-connection layer, so that an initial artificial intelligence model can be constructed based on the cross-domain space-time attribute recognition model, and the cross-domain space-time attribute recognition model is trained to be convergent, so that the training cost of the artificial intelligence model can be reduced, the training efficiency of training the artificial intelligence model to be convergent to obtain a risk area recognition model is improved, and the risk area recognition processing efficiency of hazardous chemicals is improved in an auxiliary mode.
In the embodiment of the disclosure, when an initial artificial intelligence model is constructed, a cross-domain space-time attribute identification model, a full connection layer connected with the cross-domain space-time attribute identification model, and a classification layer connected with the full connection layer may be obtained respectively, the cross-domain space-time attribute identification model, the full connection layer connected with the cross-domain space-time attribute identification model, and the classification layer connected with the full connection layer are constructed as the initial artificial intelligence model, and then the initial artificial intelligence model may be trained according to aligned multiple sample space-time attribute features and multiple risk region labels until the artificial intelligence model converges, and the artificial intelligence model obtained by training is used as a risk region identification model.
S610: area information of the area to be identified is determined.
S611: and inputting the region information into the cross-domain space-time attribute identification model to obtain cross-domain space-time attribute characteristics which are output by the cross-domain space-time attribute identification model and correspond to the region information.
For an example, the description of S610-S611 may refer to the above embodiments, which are not described herein again.
S612: and inputting the cross-domain space-time attribute characteristics into a risk region identification model trained in advance, and determining whether the region to be identified is a dangerous chemical risk region or not based on the output of the risk region identification model.
According to the method and the device for identifying the dangerous chemical substance risk area, after an artificial intelligence model trained to be convergent is used as a risk area identification model, cross-domain space-time attribute features can be input into the risk area identification model trained in advance, the cross-domain space-time attribute features of the area to be identified are identified and processed based on the risk area identification model, so that an output result of the risk area identification model is obtained, and then whether the area to be identified is a dangerous chemical substance risk area or not can be determined based on the output result of the risk area identification model.
For example, as shown in fig. 7, fig. 7 is a schematic diagram of a hazardous chemical substance risk region identification process in the embodiment of the present disclosure, an initial artificial intelligence model including a cross-domain spatiotemporal attribute identification model, a full connection layer connected to the cross-domain spatiotemporal attribute identification model, and a classification layer connected to the full connection layer may be constructed, the initial artificial intelligence model is trained to converge to obtain a risk region identification model, region information is encoded to obtain cross-domain spatiotemporal attribute features, and then the cross-domain spatiotemporal attribute features are input to a risk region identification model trained in advance to determine whether a region to be identified is a hazardous chemical substance risk region based on output of the risk region identification model.
In the embodiment, by determining the area information of the area to be identified, cross-domain space-time attribute features corresponding to the area information are obtained, wherein the cross-domain space-time attribute features represent attribute association features between first space-time data and second space-time data of the area to be identified, the first space-time data correspond to a first data domain, the second space-time data correspond to a second data domain, the first data domain is different from the second data domain, and according to the cross-domain space-time attribute features, whether the area to be identified is a hazardous article risk area is determined, the cross-domain space-time attribute features corresponding to the area to be identified can be analyzed, effective utilization of different data domain space-time data is achieved, whether the area to be identified is a hazardous article risk area is effectively judged by using the cross-domain space-time attribute features, so that the identification efficiency of the hazardous article risk area identification can be effectively improved, the identification accuracy of the hazardous article risk area is effectively improved, an artificial intelligent model is labeled according to the sample space-time attribute features and the risk area, so that the artificial intelligent model is constructed based on the cross-domain space-time-space attribute, the artificial model identification efficiency is improved, and the artificial risk model is effectively ensured, the identification efficiency of the risk area identification model, the risk area identification is improved, and the artificial model identification efficiency is improved.
Fig. 8 is a schematic structural diagram of a device for identifying a hazardous chemical risk area according to an embodiment of the disclosure.
As shown in fig. 8, the hazardous chemical substance risk area identification device 80 includes:
a first determining module 801, configured to determine area information of an area to be identified;
an obtaining module 802, configured to obtain cross-domain spatio-temporal attribute features corresponding to the region information, where the cross-domain spatio-temporal attribute features represent attribute association features between first spatio-temporal data and second spatio-temporal data of a region to be identified, where the first spatio-temporal data corresponds to a first data domain, the second spatio-temporal data corresponds to a second data domain, and the first data domain is different from the second data domain; and
and a second determining module 803, configured to determine whether the region to be identified is a dangerous chemical risk region according to the cross-domain spatiotemporal attribute feature.
In some embodiments of the present disclosure, the obtaining module 802 is specifically configured to:
inputting the region information into a cross-domain space-time attribute recognition model to obtain cross-domain space-time attribute characteristics which are output by the cross-domain space-time attribute recognition model and correspond to the region information, wherein the cross-domain space-time attribute recognition model is obtained by adopting a federal machine learning method for training.
In some embodiments of the present disclosure, as shown in fig. 9, fig. 9 is a schematic structural diagram of a hazardous chemical substance risk area identification device according to another embodiment of the present disclosure, and further includes:
a third determining module 804, configured to determine a plurality of residence points in the region to be identified before inputting the region information into the cross-domain spatio-temporal attribute identification model to obtain cross-domain spatio-temporal attribute features corresponding to the region information output by the cross-domain spatio-temporal attribute identification model;
an identifying module 805, configured to identify, according to the multiple residence points, residence area information from the area to be identified;
a processing module 806, configured to use the parking area information as the area information.
In some embodiments of the present disclosure, further comprising:
a building module 807 for building an initial federal machine learning model before determining the regional information of the region to be identified;
the training module 808 is used for training an initial federal machine learning model by adopting a federal machine learning method and combining a plurality of sample space-time attribute characteristics respectively output by a plurality of federal comparison submodels and a plurality of loss cost values respectively corresponding to the plurality of federal comparison submodels until the federal machine learning model converges, and taking the obtained federal machine learning model as a cross-domain space-time attribute recognition model;
the federal contrast submodel is obtained by local training in a corresponding data domain and is used for processing sample space-time data provided by the corresponding data domain to obtain sample space-time attribute characteristics corresponding to the sample space-time data.
In some embodiments of the present disclosure, the training module 808 is specifically configured to:
respectively inputting the plurality of sample space-time attribute characteristics into an initial federated machine learning model to obtain sample characteristic representation information output by the federated machine learning model;
determining a loss value to be processed according to the sample characteristic characterization information, and determining a target loss value according to the loss value to be processed and a plurality of loss cost values;
and if the target loss value meets the loss condition, taking the Federal machine learning model obtained by training as a cross-domain space-time attribute identification model.
In some embodiments of the present disclosure, among other things, the training module 808 is further configured to:
processing the plurality of sample space-time attribute features to obtain a positive sample space-time attribute feature pair, wherein the positive sample space-time attribute feature pair comprises: sample space-time attribute features corresponding to trajectory vectors belonging to the same dwell region;
processing the plurality of sample space-time attribute features to obtain a negative sample space-time attribute feature pair, wherein the negative sample space-time attribute feature pair comprises: sample spatio-temporal attribute features corresponding to trajectory vectors belonging to different dwell regions;
inputting the positive sample space-time attribute feature pairs and the negative sample space-time attribute feature pairs into an initial federated machine learning model to obtain positive sample feature characterization distances between the positive sample space-time attribute feature pairs and negative sample feature characterization distances between the negative sample space-time attribute feature pairs, which are output by the federated machine learning model;
and taking the positive sample characteristic characterization distance and the negative sample characteristic characterization distance as sample characteristic characterization information.
In some embodiments of the present disclosure, among other things, the training module 808 is further configured to:
before processing a plurality of sample time-space attribute characteristics to obtain a positive sample time-space attribute characteristic pair, obtaining a plurality of sample resident area information respectively output by a plurality of federal contrast submodels;
and aligning the space-time attribute characteristics of the plurality of samples according to the resident area information of the samples.
In some embodiments of the present disclosure, the second determining module 803 is specifically configured to:
and inputting the cross-domain space-time attribute characteristics into a risk region identification model trained in advance, and determining whether the region to be identified is a dangerous chemical risk region or not based on the output of the risk region identification model.
In some embodiments of the present disclosure, among other things, the training module 808 is further configured to:
after an initial federal machine learning model is trained by combining a plurality of time-space attribute characteristics respectively output by a plurality of federal contrast submodels and a plurality of loss cost values respectively corresponding to the plurality of federal contrast submodels by adopting a federal machine learning method, a plurality of risk region labels respectively corresponding to a plurality of sample resident region information are determined;
determining a plurality of sample space-time attribute characteristics aligned according to the sample residence area information;
and training an initial artificial intelligence model according to the aligned space-time attribute characteristics of the multiple samples and the multiple risk areas until the artificial intelligence model is converged, and taking the artificial intelligence model obtained by training as a risk area identification model.
In some embodiments of the present disclosure, wherein the initial artificial intelligence model comprises: the system comprises a cross-domain space-time attribute identification model, a full connection layer connected with the cross-domain space-time attribute identification model and a classification layer connected with the full connection layer.
Corresponding to the hazardous chemical substance risk area identification method provided in the embodiments of fig. 1 to 7, the present disclosure also provides a hazardous chemical substance risk area identification device, and since the hazardous chemical substance risk area identification device provided in the embodiments of the present disclosure corresponds to the hazardous chemical substance risk area identification method provided in the embodiments of fig. 1 to 7, the implementation manner of the hazardous chemical substance risk area identification method is also applicable to the hazardous chemical substance risk area identification device provided in the embodiments of the present disclosure, and will not be described in detail in the embodiments of the present disclosure.
In the embodiment, by determining the area information of the area to be identified, cross-domain space-time attribute characteristics corresponding to the area information are obtained, wherein the cross-domain space-time attribute characteristics represent attribute association characteristics between first space-time data and second space-time data of the area to be identified, the first space-time data corresponds to a first data domain, the second space-time data corresponds to a second data domain, the first data domain is different from the second data domain, and according to the cross-domain space-time attribute characteristics, whether the area to be identified is a hazardous chemical substance risk area or not is determined.
In order to implement the foregoing embodiment, the present disclosure further provides a computer device, including: the identification method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the identification method for the dangerous chemical risk area is realized.
In order to achieve the above embodiments, the present disclosure also proposes a non-transitory computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the hazardous chemical risk area identification method as proposed by the foregoing embodiments of the present disclosure.
In order to implement the foregoing embodiments, the present disclosure further provides a computer program product, which when executed by an instruction processor in the computer program product, performs the method for identifying a risk region of a hazardous chemical substance according to the foregoing embodiments of the present disclosure.
FIG. 10 illustrates a block diagram of an exemplary computer device suitable for use in implementing embodiments of the present disclosure. Thecomputer device 12 shown in fig. 10 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present disclosure.
As shown in FIG. 10,computer device 12 is in the form of a general purpose computing device. The components ofcomputer device 12 may include, but are not limited to: one or more processors orprocessing units 16, asystem memory 28, and abus 18 that couples various system components including thesystem memory 28 and theprocessing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro Channel Architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible bycomputer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/orcache Memory 32. Thecomputer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only,storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 10, and commonly referred to as a "hard drive").
Although not shown in FIG. 10, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected tobus 18 by one or more data media interfaces.Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 40 having a set (at least one) ofprogram modules 42 may be stored, for example, inmemory 28,such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment.Program modules 42 generally perform the functions and/or methodologies of the embodiments described in this disclosure.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device,display 24, etc.), with one or more devices that enable a user to interact withcomputer device 12, and/or with any devices (e.g., network card, modem, etc.) that enablecomputer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O)interface 22. Moreover,computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) viaNetwork adapter 20. As shown,network adapter 20 communicates with the other modules ofcomputer device 12 viabus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction withcomputer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, to name a few.
Theprocessing unit 16 executes various functional applications and data processing by executing programs stored in thesystem memory 28, for example, implementing the hazardous chemical risk area identification method mentioned in the foregoing embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present disclosure includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.