CN114022335B - Electronic identity authentication method and device based on dynamic timeliness and electronic equipment - Google Patents

Electronic identity authentication method and device based on dynamic timeliness and electronic equipment Download PDF

Info

Publication number
CN114022335B
CN114022335B CN202210021549.3A CN202210021549A CN114022335B CN 114022335 B CN114022335 B CN 114022335B CN 202210021549 A CN202210021549 A CN 202210021549A CN 114022335 B CN114022335 B CN 114022335B
Authority
CN
China
Prior art keywords
flight
electronic identity
validity period
identity
time
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.)
Active
Application number
CN202210021549.3A
Other languages
Chinese (zh)
Other versions
CN114022335A (en
Inventor
李睿
申震云
刘春磊
陈夕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Travelsky Mobile Technology Co Ltd
Original Assignee
China Travelsky Mobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Travelsky Mobile Technology Co Ltd filed Critical China Travelsky Mobile Technology Co Ltd
Priority to CN202210021549.3A priority Critical patent/CN114022335B/en
Publication of CN114022335A publication Critical patent/CN114022335A/en
Application granted granted Critical
Publication of CN114022335B publication Critical patent/CN114022335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an electronic identity authentication method, an electronic identity authentication device and electronic equipment based on dynamic timeliness, wherein the method comprises the following steps: receiving an electronic identity establishing request sent by a client; verifying the identity of the requester according to the identity information in the electronic identity creation request; if the identity of the requester is legal, determining the validity period of the electronic identity according to the latest flight travel data of the requester, and generating an electronic identity information certificate containing the validity period of the electronic identity; sending the electronic identity certificate to the client so that the client can display the electronic identity certificate within the validity period of the electronic identity; and if the flight itinerary data of the requester are detected to be changed, re-determining the validity period of the electronic identity according to the changed flight itinerary data. The validity period of the electronic identity is dynamically determined according to the real-time flight travel data of the passenger, the timeliness of the local electronic identity certificate of the client is limited while the efficient passing of the passenger is guaranteed, and the possibility that the electronic identity certificate is falsely used and abused is reduced.

Description

Electronic identity authentication method and device based on dynamic timeliness and electronic equipment
Technical Field
The application relates to the technical field of civil aviation information, in particular to an electronic identity authentication method and device based on dynamic timeliness and electronic equipment.
Background
In the process of going out, certain scene entity certificates are still indispensable, and are inevitably lost and damaged when being carried with people, so that time is wasted, the procedure of subsidy is very troublesome, and the electronic identity of the user is increasingly used as a professional certificate with legal efficacy and administrative efficacy and becomes a main basis for the activity of the citizen. After the electronic identity is opened, the electronic boarding check with the electronic identity mark can be checked for security check and registration, a personal identity card does not need to be shown, the boarding efficiency is improved, the time cost and the economic cost are reduced, a passenger can feel that the check is convenient and fast practically, and the travel experience of the passenger is improved.
Electronic identity technology, while more mature and more widely used, also presents some problems in use. Because airport buildings are dense, many shelters and crowded, sometimes, the electronic identity system cannot be accessed under the condition of no network, and the authenticity of the electronic identity cannot be verified, thereby limiting the application range of the electronic identity. In addition, the phenomenon of flooding false information and bad information caused by virtual abuse of the internet causes the electronic identity authorization abuse, and risks are brought to users.
Disclosure of Invention
The embodiment of the application provides an electronic identity authentication method, an electronic identity authentication device, electronic equipment and a storage medium based on dynamic timeliness, the validity period of an electronic identity is dynamically determined according to flight travel data of a passenger, the timeliness of a local electronic identity certificate of a client is limited while the efficient passing of the passenger is guaranteed, and the possibility that the electronic identity certificate is falsely used and abused is reduced.
In one aspect, an embodiment of the present application provides an electronic identity authentication method based on dynamic timeliness, including:
receiving an electronic identity creating request sent by a client, wherein the electronic identity creating request comprises: identity information of the requestor;
verifying the identity of the requester according to the identity information in the electronic identity creation request;
if the identity of the requester is legal, acquiring the latest flight itinerary data of the requester, determining the validity period of the electronic identity according to the acquired flight itinerary data, and generating an electronic identity information certificate containing the validity period of the electronic identity;
sending the electronic identity certificate to the client so that the client can display the electronic identity certificate within the time specified by the validity period of the electronic identity;
and if the flight itinerary data of the requester is detected to be changed, re-determining the electronic identity validity period according to the changed flight itinerary data, and sending a validity period updating instruction to the client, so that the client updates the electronic identity validity period in the electronic identity certificate to the re-determined electronic identity validity period.
Optionally, the determining an electronic identity validity period according to the latest flight travel data includes:
acquiring appointed time information of a corresponding flight from the latest flight travel data, wherein the type of the appointed time information comprises boarding time, predicted departure time or predicted arrival time;
acquiring historical delay data of a target flight taken by the requester;
predicting the predicted delay duration of the target flight according to delay data, boarding completion, current weather data, air traffic control data, airplane equipment state and airport data of a preamble flight, wherein the preamble flight refers to a plurality of flights taking off before the target flight;
and determining the validity period of the electronic identity according to the specified time information, the historical delay data and the predicted delay duration.
Optionally, the obtaining of the designated time information of the corresponding flight from the latest flight itinerary data includes:
obtaining the number of arriving airports contained in the up-to-date flight itinerary data;
if the number of the arrival airports is 1, determining the type of the appointed time information to be acquired according to the flight state in the latest flight travel data, and acquiring the appointed time information of the corresponding type from the latest flight travel data;
and if the number of the arrival airports is more than 1, acquiring the predicted departure time of the first flight or the predicted arrival time of the last flight from the latest flight travel data.
Optionally, the determining the type of the specified time information to be acquired according to the flight status in the latest flight itinerary data includes:
if the flight state is a plan, the type of the appointed time information needing to be acquired is boarding time, predicted takeoff time or predicted arrival time;
if the flight state is delayed, the type of the appointed time information needing to be acquired is the predicted takeoff time or the predicted arrival time;
if the flight status is takeoff or arrival, the type of the specified time information to be acquired is the estimated arrival time.
Optionally, the re-determining the validity period of the electronic identity according to the changed flight travel data includes:
and if the flight status of any flight from the second flight to the last flight of the requester is changed to be cancelled, re-determining the validity period of the electronic identity according to the expected takeoff time or the expected arrival time of the flight in the previous section of the cancelled flight before the change flight corresponding to the cancelled flight is obtained.
Optionally, the re-determining the validity period of the electronic identity according to the changed flight travel data includes:
and if the flight state of the flight taken by the requester is changed into delayed, standby or return flight and no new predicted takeoff time or predicted arrival time is acquired within the preset time after the flight state is changed, re-determining the validity period of the electronic identity based on the flight historical data and/or a preset validity period extension rule.
Optionally, the method further comprises:
and if the flight status is changed into cancellation or the electronic identity validity period of the electronic identity voucher is expired, sending an electronic identity destroying instruction to the client, so that the client clears the locally stored electronic identity voucher.
In one aspect, an embodiment of the present application provides an electronic identity authentication apparatus based on dynamic timeliness, including:
a receiving module, configured to receive an electronic identity creation request sent by a client, where the electronic identity creation request includes: identity information of the requestor;
the verification module is used for verifying the identity of the requester according to the identity information in the electronic identity creation request;
the electronic identity module is used for acquiring the latest flight itinerary data of the requester if the identity of the requester is legal, determining the validity period of the electronic identity according to the latest flight itinerary data, and generating an electronic identity information certificate containing the validity period of the electronic identity;
the sending module is used for sending the electronic identity certificate to the client so that the client can display the electronic identity certificate within the time specified by the electronic identity validity period;
and the electronic identity module is further used for re-determining the electronic identity validity period according to the changed flight itinerary data and updating the electronic identity validity period of the electronic identity certificate according to the re-determined electronic identity validity period if the flight itinerary data of the requester is detected to be changed.
In one aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods when executing the computer program.
In one aspect, an embodiment of the present application provides a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, implement the steps of any of the above-described methods.
In one aspect, an embodiment of the present application provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in any of the various alternative implementations of control of TCP transmission performance described above.
The electronic identity authentication method based on dynamic timeliness, the electronic device and the storage medium provided by the embodiment of the application can dynamically determine the validity period of the electronic identity according to the real-time flight travel data of a passenger, and store the generated identity certificate containing the validity period of the electronic identity to the local part of the client, so that the electronic identity verification under the offline condition is realized, the application range of the electronic identity is expanded, the timeliness of the local electronic identity certificate of the client is effectively limited while the efficient passing of the passenger is ensured through the dynamically changed validity period of the electronic identity, the electronic identity certificate is enabled to be effective only in the validity period of the electronic identity, so that the identity information cannot be excessively transmitted or excessively stored in the internet space, and the possibility that the electronic identity certificate is falsely used and abused is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an electronic identity authentication method based on dynamic timeliness according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of an electronic identity authentication method based on dynamic timeliness according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic identity authentication device based on dynamic timeliness according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be noted that, in the case of no conflict, the features in the following embodiments and examples may be combined with each other; moreover, based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without any creative effort belong to the protection scope of the present application.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
Any number of elements in the drawings are by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
In the concrete practice process, after the airport passenger opens the electronic identity, can rely on the electron boarding card that has the electronic identity sign to handle security check-up and registration, need not to show the personal ID card again, improve and take advantage of plane efficiency, reduce time cost and economic cost make the passenger feel the procedure conscientiously and handle conveniently, promote the passenger and go out to experience. However, because airport buildings are dense, many shelters are covered, people are crowded, and sometimes, a network cannot access the airport buildings, and an electronic identity system cannot be accessed under the condition of no network, so that the authenticity of the electronic identity cannot be verified, and the application range of the electronic identity is limited. In addition, the phenomenon of flooding false information and bad information caused by virtual abuse of the internet causes the electronic identity authorization abuse, and risks are brought to users.
The identity verification system combined with civil aviation public security can finish the non-sensitive inspection under line by acquiring the real certificate information, the face information, the travel information and the timeliness use authorization of a user and combining the electronic boarding check and the face recognition technology. After the user finishes boarding, the electronic identity can be out of date and invalid, the dual purposes of effective management of the electronic identity and full privacy protection are achieved, the use is fast and convenient, the working performance is stable and reliable, and the paperless process of the boarding check is further promoted.
Reference is made to fig. 1, which is a schematic view of an application scenario of the electronic identity authentication method based on dynamic timeliness according to the embodiment of the present application. The application scenario comprises a terminal device 101, a server 102, an authentication system 103 and a flight dynamic service system 104. The terminal device 101, the authentication system 103, the flight dynamic service system 104, and the server 102 may be connected through a wireless or wired network, and the terminal device 101 includes but is not limited to an electronic device such as a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, and the like. The server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like.
The terminal device 101 is provided with a client for providing airport electronic identity authentication, collects information such as identity documents and face images of passengers through the client in the terminal device 101, performs living body detection on the passengers, judges that no counterfeiting or forgery occurs in the collection process, and then generates an electronic identity creating request and sends the request to the server 102. After receiving the electronic identity creating request, the server 102 verifies the identity information of the traveler, acquires the travel information, flight information and the like of the traveler through the flight dynamic service system 104 after the identity verification is legal, determines the validity period of the electronic identity by integrating the flight information, the travel information and the like, generates an electronic identity information certificate containing the validity period of the electronic identity and sends the electronic identity information certificate to the terminal device 101, and meanwhile, can send the electronic identity information certificate of the traveler to the identity verification system 103. When a passenger needs to perform identity authentication in links of security check, boarding and the like, a client can be opened and an electronic identity certificate can be displayed, the electronic identity certificate can be information identification such as a two-dimensional code, the identity verification system 103 obtains the electronic identity certificate displayed by the passenger, compares the electronic identity certificate with the electronic identity certificate stored in the identity verification system 103 for the passenger, judges whether the electronic identity certificate is overdue or not, if the electronic identity certificate passes the electronic identity authentication, indicates that the passenger normally passes the electronic identity authentication, and if the electronic identity authentication does not pass the electronic identity authentication, can inform a worker to perform processing.
Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 1, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 1 will be described in the following method embodiments, and will not be described in detail herein.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
The following describes the technical solution provided in the embodiment of the present application with reference to the application scenario shown in fig. 1.
Referring to fig. 2, an embodiment of the present application provides an electronic identity authentication method based on dynamic timeliness, which is applicable to a server, and specifically includes the following steps:
s201, receiving an electronic identity creating request sent by a client, wherein the electronic identity creating request comprises: identity information of the requestor.
In particular implementation, the identity information of the requester includes but is not limited to: user name, user gender, certificate number, certificate validity period, certificate photo and face image. The certificate photo can be formed by encoding the face image with base 64.
In specific implementation, after logging in the client, the passenger can manually input the identity information through the client, can acquire the identity information through the image acquisition function of the terminal device, and can acquire the existing identity document information from other application programs. When the face image is collected through the client, living body detection can be carried out, and whether counterfeiting or counterfeiting occurs in the collecting process is judged. After the living body detection is carried out, the identity information of the requester is encrypted, the encryption method can adopt a state secret sm4, an electronic identity creating request is generated according to the identity information of the requester, then an access token authorized by the server is taken out through an apple and secret codes, the access token is added in the electronic identity creating request, and a service interface authorized by the server is accessed through transmission modes such as HTTPS and the like.
S202, verifying the identity of the requester according to the identity information in the electronic identity creation request.
In specific implementation, after receiving a request for creating an electronic identity sent by a client, a server first verifies whether the request for creating the electronic identity is legal, for example, whether the client accesses the server through an authorized interface, the server sends a Token (Token) to the authorized client, and if the request for creating the electronic identity does not carry the legal Token or the Token is expired, the request for creating the electronic identity is illegal, and at this time, the client needs to acquire the Token again. If the request for creating the electronic identity is legal, the request for creating the electronic identity is decrypted to obtain the identity information of the requester, identity authentication is carried out on the requester based on the identity information of the requester, for example, a face image is matched with an identity document image of the requester stored in a server identity system, when the matching degree exceeds a preset threshold value, the identity of the requester is legal, otherwise, the identity of the requester is determined to be illegal.
S203, if the identity of the requester is legal, the latest flight itinerary data of the requester is obtained, the electronic identity validity period is determined according to the latest flight itinerary data, and an electronic identity information certificate containing the electronic identity validity period is generated.
In specific implementation, the server may obtain, according to the identity information of the requester, flight itinerary data of the requester, where the flight itinerary data includes a flight number of one or more flights taken by the requester in the current itinerary, and information data of the flight is obtained from a flight dynamic service system based on the obtained flight number, and the information data may include basic information data and flight dynamic data updated in real time, where the basic information data of the flight includes a scheduled departure date, a departure airport, an arrival airport, a flight number, a driver, a scheduled departure time, a scheduled arrival time, a model, and other basic unchanged data, and the flight dynamic data includes, but is not limited to: flight status, estimated departure time, boarding time, estimated arrival time, event type related to the flight, event information, event update time and other data which can change dynamically. Wherein the flight status includes: planning, delaying, taking off, arriving, canceling, backing off, returning and the like.
Wherein, the validity period of the electronic identity comprises: the electronic identity generating time stamp, the electronic identity valid time length and the electronic identity invalidation time stamp. In the embodiment of the application, the electronic identity generation timestamp represents the time of electronic identity generation, the electronic identity failure timestamp represents the time of electronic identity failure, and the electronic identity generation timestamp plus the electronic identity effective duration is the electronic identity failure timestamp.
In specific implementation, the validity period of the electronic identity can be determined according to the time information such as the predicted takeoff time, the boarding time or the predicted arrival time of the flight taken by the passenger. For example, if a traveler wants to fly from place a to place B, when an electronic identity credential usable in both place a and place B needs to be generated, a certain time length may be added on the basis of a difference between an electronic identity creation time of the traveler and an expected arrival time of a flight, as an electronic identity valid time length, the added time length needs to consider a time from landing of an airplane to departure of the traveler and taking baggage out, and specifically, the electronic identity generation timestamp plus the electronic identity valid time length may be an electronic identity expiration timestamp in combination with airport historical data and experience setting; when only the electronic identity certificate used in the ground station A needs to be generated, the effective time of the electronic identity can be determined according to the difference between the electronic identity creating time of the passenger and the expected takeoff time of the flight, when the flight arrives at the ground station B, the electronic identity certificate used in the ground station B can be generated for the passenger, and the effective period of the electronic identity in the electronic identity certificate can be determined according to the expected arrival time of the flight.
S204, the electronic identity certificate is sent to the client, so that the client can display the electronic identity certificate within the time specified by the validity period of the electronic identity.
The electronic identity certificate can be displayed in a two-dimensional code mode and the like.
After the client receives the electronic identity certificate returned by the server, the electronic identity certificate is stored in the local part of the client, and the off-line verification of the sub-identity certificate within the validity period of the electronic identity certificate is supported, so that the identity can be successfully verified when the airport network is not good, and the passenger over-inspection efficiency is improved. For example, when the electronic identity certificate needs to be displayed, the traveler inputs an electronic identity certificate display request through the client, the client responds to the electronic identity certificate display request to verify whether the validity period of the electronic identity certificate is expired, and if the validity period of the electronic identity certificate is within, the electronic identity certificate is displayed. The passenger shows the electronic identity voucher to the identity verification system, the identity verification system scans the electronic identity voucher, the electronic identity voucher is decoded and decrypted, electronic identity information is obtained, verification is carried out based on the passenger identity information stored in the server, and the passenger can normally pass after the verification is passed.
Furthermore, the client can judge whether the electronic identity certificate is overdue according to the valid period of the electronic identity in the locally stored electronic identity certificate, and if the electronic identity certificate is overdue, the locally stored electronic identity certificate can be automatically cleared, so that the risks of abuse, misuse, data leakage and the like of the electronic identity certificate are avoided to the maximum extent.
In specific implementation, the server monitors each valid electronic identity certificate, and if the electronic identity validity period of a certain electronic identity certificate is detected to be expired, the server sends an electronic identity destruction instruction to the corresponding client, so that the client clears the locally stored electronic identity certificates after receiving the electronic identity destruction instruction.
In specific implementation, after the electronic identity certificate is sent to the client, if the flight itinerary data of the requester is detected to be changed, the electronic identity validity period is determined again according to the changed flight itinerary data, and the electronic identity validity period of the electronic identity certificate of the requester is updated according to the determined electronic identity validity period.
Specifically, after determining a new electronic identity validity period, the server may send a validity period update instruction to the client, where the validity period update instruction includes the re-determined electronic identity validity period, so that the client updates the electronic identity validity period in the electronic identity credential to the re-determined electronic identity validity period; or the server generates a new electronic identity certificate containing the newly determined electronic identity validity period, and sends an updating instruction to the client, wherein the updating instruction contains the new electronic identity certificate, so that the client stores the new electronic identity certificate and clears the locally stored electronic identity certificate.
According to the electronic identity authentication method based on dynamic timeliness, when the electronic identity certificate is generated, the electronic identity validity period can be dynamically determined according to real-time flight travel data of a passenger, the generated identity certificate containing the electronic identity validity period is stored to the local part of the client, electronic identity verification under an offline condition is achieved, the use range of the electronic identity is widened, the timeliness of the local electronic identity certificate of the client is effectively limited while efficient passing of the passenger is guaranteed through the dynamically changed electronic identity validity period, the electronic identity certificate is enabled to be effective only in the electronic identity validity period, accordingly, identity information cannot be excessively transmitted or excessively stored in the internet space, and the possibility that the electronic identity certificate is falsely used and abused is reduced.
In addition, based on the national password industry standard, the data transmitted between the client and the server are subjected to security processing such as encryption, privacy leakage is prevented, information security is guaranteed, the electronic identity certificate has the characteristics of easiness in storage, portability, multiple security guarantee and the like, and the probability of certificate loss and the possibility of being falsely used by people can be greatly reduced.
On the basis of any one of the above embodiments, in order to improve the accuracy of calculating the validity period of the electronic identity, so as to adapt to various emergency situations and emergency events occurring in the boarding process, ensure smooth passage of passengers, and comprehensively consider various factors when calculating the validity period of the electronic identity.
In specific implementation, in step S203, the specific method for determining the validity period of the electronic identity includes:
s2031, obtaining the appointed time information of the corresponding flight from the latest flight travel data.
The type of the designated time information may include boarding time, expected departure time, expected arrival time, or the like.
S2032, historical delay data of the target flight taken by the requester is obtained.
The historical delay data can include the historical average delay duration of the flight, and the corresponding historical delay data can be obtained by carrying out statistical analysis on the historical flight data of the target flight.
S2033, predicting the predicted delay time of the target flight according to the delay data of the preorder flight, the boarding completion degree, the current weather data, the empty pipe flow control data, the airplane equipment state and the airport data.
The number of flights included in the preceding flight can be set according to actual application requirements, for example, 3 flights which take before the target flight can be selected as the preceding flights. The boarding completion degree comprises the ratio of passengers who finish boarding to the total number of passengers scheduled to take the flight, and the boarding completion degree at a certain time point before the flight takes off can be specifically selected to participate in the prediction of delay data, such as the boarding completion degree of 1 hour or half hour before the flight takes off. Current weather data includes weather description, visibility, wind speed, etc. The airplane equipment state comprises the equipment state on the airplane of the target flight, and can comprise whether the equipment is out of order or not, what kind of failure occurs, the time required for removing the failure and the like. The airport data comprises attributes such as date, time, airport name, longitude and latitude, altitude, airport scale, runway number and the like, and can also comprise real-time data such as airport congestion degree, airport special situation and the like. Time factors, location factors, airline factors, and the like may also be considered in predicting the expected delay of the target flight.
Before training a flight delay prediction model, key features are found out from a large number of feature factors possibly causing flight delay by using a principal component analysis method, wherein the key features of the flight delay mainly comprise: the system comprises the following components of a pilot flight, delay data of the pilot flight, boarding completion degree, weather data, air traffic control data, airplane equipment state, airport data and the like, and can also be added with time factors, place factors, airline factors and the like. Then, based on historical flight data, obtaining a key feature set of each historical flight, wherein the key feature set comprises the key features, vectorizing the features in the key feature set of each historical flight, and obtaining real delay data of each historical flight, including whether delay is caused and delay time. The features in the key feature set can be divided into two types of continuity and discreteness, the continuity features are subjected to normalization processing, and the feature values of the continuity features are mapped to [0,1 ]; and carrying out discretization processing on the discrete type features. For example, for departure airports and arrival airports, the category information may be mapped into numerical values by mapping, and then weather information such as model, snow and rain, etc. is converted into numerical value information by using One-Hot Encoding. And finally, taking the key feature set and the delay data of one historical flight as a sample, thereby obtaining a sample data set containing a large amount of historical data, and training a flight delay prediction model by using the sample data set, so that the flight delay prediction model can predict the predicted delay time of the flight according to the real-time flight data. In addition, for the problems of data missing and data duplication in the sample data set, preprocessing operations such as missing value filling and duplicate removal can be performed on the training data.
In specific implementation, a Gradient Boosting Decision Tree (GBDT) model or a LightGBM model may be selected as the flight delay prediction model. The LightGBM model is one of GBDT models and is used for solving the problems encountered by the GBDT model in mass data processing, and the LightGBM model has the advantages of high training speed and high model precision. And when the data volume of the flight historical information is large, predicting the transfer time of the flight by using the LightGBM model, applying the prediction result to the abnormal flight recovery model, and generating the predicted delay time.
In the model training process, Root Mean Square Error (RMSE) and Mean Absolute Error (MAE) can be used to measure the performance of the flight delay prediction model, and the calculation formula is as follows:
Figure DEST_PATH_IMAGE001
(1)
Figure DEST_PATH_IMAGE002
(2)
wherein,y i The true value representing the sample, i.e. the true delay data;
Figure DEST_PATH_IMAGE003
representing the predicted value of the flight delay prediction model to the sample, namely predicted delay data; n represents the number of samples. The range of the RMSE and the MAE is [0, + ∞ ]), and when the predicted value is completely matched with the true value, the predicted value is equal to 0, namely a perfect model, and the error is larger, and the RMSE and the MAE are larger.
S2034, determining the validity period of the electronic identity according to the designated time information, the historical delay data and the predicted delay duration.
In specific implementation, the effective time length T of the electronic identity can be determined by the following formula:
Figure DEST_PATH_IMAGE004
wherein, t1Indicating specified time information, t0The time at which the electronic identity was generated is indicated,
Figure DEST_PATH_IMAGE005
indicating the average delay period of the history,
Figure 898968DEST_PATH_IMAGE006
indicating the expected delay duration, W1Represents and W2Is a preset weight.
In practical application, when monitoring that key characteristics influencing flight delay change, the flight delay prediction model and the latest data can be used for predicting the delay condition of a flight which is possibly influenced, so that the purpose of dynamically updating the flight delay condition in real time is achieved. For example, when the predicted takeoff time or takeoff state of a flight on a flight chain changes, the required characteristics are input through the built flight delay prediction model, so that the delay data of all subsequent flights on the flight chain where the flight is located is updated, and the predicted delay duration of the flight in the database is updated. In the flight delay condition real-time prediction system, for each airport and each flight, when the change of the predicted takeoff time or the change of the takeoff state of any flight is monitored, the characteristics of the flight on the current flight chain are input into a flight delay prediction model, and the predicted delay time of the flight and all subsequent flights on the flight chain where the flight is located are updated. And when the weather forecast state of the airport is monitored to be changed, calling a flight delay prediction model to update the predicted delay duration of all flights of the airport and all subsequent flights on the flight chain. Thus, the dynamic update and real-time adjustment of the delay status of all flights nationwide can be realized.
Further, when the effective time duration of the electronic identity is determined, a certain redundant time duration can be increased, for example, considering the time required from landing of an airplane to unloading of a passenger and baggage extraction, the fact that the passenger does not arrive at a boarding gate in time due to special reasons, and the like, can be specifically set by combining airport historical data and experience.
In specific implementation, the flight and the type of the designated time information which need to be acquired from the flight travel data can be selected according to actual requirements.
For example, the number of arriving airports contained in the most recent flight itinerary data may be obtained first; if the number of arriving airports is 1, determining the type of the appointed time information to be acquired according to the flight state in the latest flight travel data, and acquiring the appointed time information of the corresponding type from the latest flight travel data; and if the number of arriving airports is more than 1, acquiring the predicted departure time of the first flight or the predicted arrival time of the last flight from the latest flight travel data.
The arrival airports in the journey include all the airports that pass through the journey and the final destination airport, and do not include the departure airport.
For the case that the number of flight segments is one segment (that is, the number of arrival airports is 1), the traveler takes the airplane once in the journey, that is, only one departure airport and one arrival airport are involved in the whole journey, at this time, the server can obtain the corresponding flight number, obtain the latest flight state of the flight from the flight dynamic service system according to the flight number, and determine the type of the specified time information to be obtained based on the flight state. For example, if the flight status is a plan, the type of the designated time information to be acquired is boarding time, predicted departure time or predicted arrival time; if the flight state is delayed, the type of the appointed time information needing to be acquired is the predicted takeoff time or the predicted arrival time; if the flight status is takeoff or arrival, the type of the specified time information to be acquired is the estimated arrival time. And subsequently determining the validity period of the electronic identity based on the acquired specified time information.
Further, if the latest flight status of the flight is scheduled, the type of the specified time information to be obtained can be selected according to the use area of the electronic identity certificate. For example, if the electronic identity credential is used only at a takeoff airport, the type of designated time information to be obtained may be boarding time or expected takeoff time. If the electronic identity certificate can be used at both a take-off airport and a landing airport, the type of the appointed time information to be acquired is the predicted arrival time. If the electronic identity voucher is only used at a landing airport, the electronic identity validity period can be determined according to the predicted arrival time of a flight after the flight state is changed into take-off.
In specific implementation, if the latest flight status of the flight is delayed, what needs to be acquired in step S2031 is the predicted departure time or the predicted arrival time that is determined again after the delay of the corresponding flight.
In practical application, the predicted departure time and the predicted arrival time of the flight are generally given again after the flight is delayed, and the re-determined predicted departure time or predicted arrival time can be obtained from the flight dynamic service system. If the predicted takeoff time and the predicted arrival time are not determined again by the flight dynamic service system, the possible takeoff time can be predicted according to the historical delay data of the flight, and the electronic identity validity period is determined based on the predicted takeoff time.
In specific implementation, if the latest flight status of the flight is takeoff or arrival, the type of the specified time information to be acquired is estimated arrival time, and the electronic identity validity period is determined based on the estimated arrival time of the corresponding flight. This situation indicates that the passenger has left the departure airport and the electronic identity credential at the landing airport needs to be obtained. Specifically, a certain time length can be added on the basis of the difference between the electronic identity creation time of the passenger and the predicted arrival time of the flight, the added time length is used as the electronic identity valid time length, the time length required for taking luggage from the landing of the airplane to the taking-off of the passenger is taken into consideration, specifically, the electronic identity generation timestamp and the electronic identity valid time length can be the electronic identity invalidation timestamp by combining the historical data and experience setting of the airport.
In specific implementation, if the latest flight status of the flight is cancelled, the valid duration of the electronic identity cannot be set, and an electronic identity certificate cannot be generated. At the moment, a flight cancellation message can be fed back to the client to remind the passenger of ticket change or ticket refund.
Under some special conditions, the aircraft needs to return to a takeoff airport to land due to weather or faults of the aircraft per se after taking off on time, namely return flight. An aircraft cannot or should not fly to a destination airport in a flight plan during flight or the destination airport is not suitable for landing, and the act of landing at other airports is called a standby landing. If the passenger requests electronic identity creation when the flight status is 'return voyage' or 'standby voyage', the server inquires whether a new predicted takeoff time is configured for the flight or not from the flight dynamic service system, if so, the valid period of the electronic identity is determined according to the new predicted takeoff time, if not, possible takeoff time and arrival time can be predicted based on historical data of similar flight plans, and the valid period of the electronic identity is determined according to the predicted takeoff time or arrival time.
After the requester acquires the electronic identity certificate, if the flight status of the flight taken by the requester changes, the electronic identity validity period is determined again according to the changed flight travel data, and the electronic identity validity period of the electronic identity certificate is updated according to the determined electronic identity validity period. Specifically, after determining a new electronic identity validity period, the server may send a validity period update instruction to the client, where the validity period update instruction includes the re-determined electronic identity validity period, so that the client updates the electronic identity validity period in the electronic identity credential to the re-determined electronic identity validity period; or generating a new electronic identity certificate containing the re-determined electronic identity validity period, and sending an updating instruction to the client, wherein the updating instruction contains the new electronic identity certificate, so that the client stores the new electronic identity certificate and clears the locally stored electronic identity certificate.
In specific implementation, if the flight status of the flight taken by the requester is changed to delay, reserve or return, inquiring whether a new predicted takeoff time or predicted arrival time is configured for the flight from the flight dynamic service system, and if so, re-determining the validity period of the electronic identity according to the new predicted takeoff time or predicted arrival time. And if the flight state of the flight taken by the requester is changed into delayed, standby or return flight and no new predicted takeoff time or predicted arrival time is acquired within the preset time after the flight state is changed, re-determining the electronic identity validity period based on the flight historical data and/or a preset validity period extension rule.
For example, if the flight state is changed from planning to delay before takeoff, the data about the flight provided by an airport, an airline department and an air traffic control are acquired, the predicted takeoff time is predicted through a flight predicted time calculation model by combining the historical delay condition of the flight, and the effective duration of the electronic identity is calculated. The delay is possible again after the flight delay, the estimated takeoff time is recalculated according to ETD (estimated takeoff time) messages sent from an airport periodically under the delay state, and meanwhile, the effective duration of the electronic identity is adjusted.
For example, a flight takes a standby landing or a return flight after taking off, and if the flight can also take off normally, the electronic identity valid duration is adjusted according to the expected time for taking off again of the flight obtained by the flight service of the landing airport and the remaining flight duration. If the flight is cancelled due to the fact that the flight cannot take off, the server cancels the electronic identity certificate generated originally, the state of the electronic identity certificate is changed into the state of cancellation authorization, the effective duration of the electronic identity is set to be zero, meanwhile, the server sends an electronic identity destroying instruction to the client, and the client empties the electronic identity certificate stored locally after receiving the instruction.
In specific implementation, if the flight status of the requester is changed to cancel, an electronic identity destruction instruction is sent to the client, so that the client clears the locally stored electronic identity certificate.
For example, if the flight status changes from scheduled to cancelled before takeoff, the server cancels the electronic identity certificate generated originally, changes the status of the electronic identity certificate into cancellation authorization, sets the effective duration of the electronic identity to zero, simultaneously sends an electronic identity destruction instruction to the client, and the client empties the locally stored electronic identity certificate after receiving the instruction.
If the passenger changes the new flight after the flight is cancelled, reserved or returned, the new electronic identity certificate and the electronic identity validity period can be generated according to the related information of the new flight after the original electronic identity certificate is emptied.
In practical application, the flight status is changed from scheduled flight status to take-off flight status and from take-off flight status to arrival flight status, and these situations are normal status changes and generally do not need to determine the validity period of the electronic identity again. Of course, if the predicted departure time or the predicted arrival time is changed, the valid period of the electronic identity can be determined again according to the changed predicted departure time or the changed predicted arrival time.
For the case that the number of flight segments is multiple (that is, the number of arrival airports in the current journey is greater than 1), the passenger can take multiple flights in sequence, at this time, the server can obtain the flight numbers of the multiple flights according to the journey data, obtain the predicted departure time of the first flight segment or the predicted arrival time of the last flight segment from the flight dynamic service system, and determine the validity period of the electronic identity based on the predicted departure time of the first flight segment or the predicted arrival time of the last flight segment.
In one possible embodiment, if the electronic identity token is available throughout the journey, the electronic identity validity period may be determined based on the estimated time of arrival of the last flight, for example, the electronic identity validity period may be determined based on the difference between the electronic identity creation time of the traveler and the estimated time of arrival of the last flight in combination with historical delay data and the estimated delay duration.
After the requester acquires the electronic identity voucher corresponding to the whole journey, if the flight status of a certain flight taken by the requester in the current journey changes, the electronic identity validity period is determined again according to the changed flight journey data, and the electronic identity validity period of the electronic identity voucher is updated according to the determined electronic identity validity period. Specifically, after determining a new electronic identity validity period, the server may send a validity period update instruction to the client, where the validity period update instruction includes the re-determined electronic identity validity period, so that the client updates the electronic identity validity period in the electronic identity credential to the re-determined electronic identity validity period. In practical application, when the electronic identity validity period is determined again, the predicted delay time of the flight can be predicted again, and the electronic identity validity period is determined again according to the changed flight travel data, the changed historical delay data and the predicted delay time.
For example, before taking off, when the flight status of one flight changes from planned to delayed, the data about the flight provided by the airport, the department and the air traffic control are acquired, the predicted taking-off time of the flight is predicted through the flight predicted time calculation model by combining the historical delayed situation of the flight, and the effective duration of the electronic identity is adjusted based on the predicted taking-off time.
For example, a flight takes a standby landing or a return flight after taking off, and if the flight can also take off normally, the electronic identity valid duration is adjusted according to the expected time for taking off again of the flight obtained by the flight service of the landing airport and the remaining flight duration. If the flight is cancelled due to the fact that the flight cannot take off, the server cancels the electronic identity certificate generated originally, the state of the electronic identity certificate is changed into the state of cancellation authorization, the effective duration of the electronic identity is set to be zero, meanwhile, the server sends an electronic identity destroying instruction to the client, and the client empties the electronic identity certificate stored locally after receiving the instruction.
If a certain flight in the current journey of the requester is cancelled, before a change flight corresponding to the cancelled flight is obtained, the predicted departure time or the predicted arrival time of the flight in the previous section of the cancelled flight can be obtained, the predicted delay time of the flight is predicted again, the historical delay data of the flight is obtained, and the validity period of the electronic identity is determined again based on the data. After the change flight corresponding to the cancelled flight is acquired, the electronic identity validity period is determined again based on the whole travel data after the change flight, namely the electronic identity validity period is determined according to the predicted arrival time of the last flight, because in the travel of a plurality of flights, the change of any flight in the middle can cause the change of the subsequent flights.
And if the cancelled flight is the first flight in the current journey of the requester and the change flight corresponding to the cancelled flight is not acquired within the preset time, sending an electronic identity destruction instruction to the client, so that the client clears the locally stored electronic identity voucher. If the requester signs or purchases the new flight after the preset time after the cancellation of the first flight, the requester can construct a new electronic identity certificate for the corresponding itinerary of the new flight.
In another possible implementation, if the electronic identity token is used only at the departure airport of the first flight, the electronic identity validity period may be determined based on the difference between the electronic identity creation time of the passenger's first flight and the expected departure time of the first flight. When the user arrives at the take-off airport of the second flight, the electronic identity validity period can be determined according to the difference between the electronic identity establishing time of the second flight of the passenger and the expected take-off time of the second flight, and then the electronic identity certificate used at the take-off airport of the second flight is generated. By analogy, the passengers can obtain the corresponding electronic identity certificates after reaching the take-off airport of each flight, so that the situation that the electronic identity information is leaked or falsely used due to the overlong effective period of the electronic identity certificates when the travel is overlong is prevented.
In the above embodiment, if the flight status of a certain flight changes, the electronic identity validity period of the electronic identity credential used during taking the flight is determined again according to the changed flight status, and a validity period update instruction is sent to the client, where the validity period update instruction includes the re-determined electronic identity validity period, so that the client updates the electronic identity validity period in the electronic identity credential to the re-determined electronic identity validity period. The specific implementation manner may refer to an updating manner of the electronic identity validity period provided in the single-segment trip, and is not described in detail.
In a possible implementation manner, the server may obtain corresponding boarding pass information according to the flight travel data of the requester, integrate the boarding pass information into the electronic identity certificate, and send the electronic identity certificate to the client. Therefore, when the passenger passes the inspection and checks the ticket, the passenger does not need to show the identity authentication body certificate and the boarding card, and only needs to show the electronic identity certificate containing the boarding card information, so that the identity authentication and the boarding card authentication can be completed simultaneously. And the reading equipment deployed at the security inspection port or the boarding port scans the electronic identity voucher, decodes and decrypts the electronic identity voucher to obtain electronic identity information, and then transmits the electronic identity information to the verification module to verify the electronic identity. The electronic identity which is verified to be legal is sent to a security inspection system for final verification of people, certificates and tickets, and an electronic security inspection seal is issued after the electronic identity passes the verification, so that the passenger passing inspection efficiency is improved.
In a possible implementation manner, the server may obtain corresponding health epidemic prevention information according to flight itinerary data of the requester, integrate the health epidemic prevention information into the electronic identity certificate, and send the electronic identity certificate to the client. Therefore, the passenger does not need to separately show the identity card and the health epidemic prevention information during the over-inspection, and only needs to show the electronic identity certificate containing the health epidemic prevention information, so that the identity verification and the health epidemic prevention verification can be completed simultaneously. The electronic identity voucher is scanned by the reading equipment deployed at the security inspection port, decoded and decrypted to obtain electronic identity information, the electronic identity information and the health epidemic prevention information are verified by the verification module, and the electronic security inspection seal is issued after the electronic identity information and the health epidemic prevention information pass, so that passenger over-inspection efficiency is improved.
In a possible implementation manner, the server may obtain corresponding boarding pass information and health epidemic prevention information according to flight travel data of the requester, integrate the boarding pass information and the health epidemic prevention information into the electronic identity certificate, and send the electronic identity certificate to the client. The passenger only needs to show the electronic identity voucher containing the health epidemic prevention information and the boarding check information, so that the triple verification of identity, boarding check and health epidemic prevention can be completed simultaneously, and the passenger screening efficiency is improved.
In practical application, the server can periodically acquire flight dynamic information to determine whether the validity period of the electronic identity needs to be updated, and periodically detect whether a failed electronic identity certificate exists or not and clear the failed electronic identity certificate. The server also can synchronize the electronic identity certificate with the client regularly, so that the consistency of the data stored by the server and the client is ensured, and the client is prevented from not receiving the latest data in time when the network is disconnected.
Referring to fig. 3, based on the same inventive concept as the above-mentioned electronic identity authentication method based on dynamic timeliness, the embodiment of the present application further provides an electronic identity authentication apparatus 30 based on dynamic timeliness, which includes:
a receiving module 301, configured to receive an electronic identity creation request sent by a client, where the electronic identity creation request includes: identity information of the requestor;
a verification module 302, configured to verify an identity of the requestor according to the identity information in the electronic identity creation request;
the electronic identity module 303 is configured to, if the identity of the requester is legal, obtain the latest flight itinerary data of the requester, determine an electronic identity validity period according to the latest flight itinerary data, and generate an electronic identity information credential including the electronic identity validity period;
a sending module 304, configured to send the electronic identity credential to the client, so that the client can display the electronic identity credential within a time specified by the electronic identity validity period;
the electronic identity module 303 is further configured to, if it is detected that the flight itinerary data of the requester changes, re-determine an electronic identity validity period according to the changed flight itinerary data, and update the electronic identity validity period of the electronic identity credential according to the re-determined electronic identity validity period.
Optionally, the electronic identity module 303 is specifically configured to: acquiring appointed time information of a corresponding flight from the latest flight travel data, wherein the type of the appointed time information comprises boarding time, predicted departure time or predicted arrival time; acquiring historical delay data of a target flight taken by the requester; predicting the predicted delay duration of the target flight according to delay data, boarding completion, current weather data, air traffic control data, airplane equipment state and airport data of a preamble flight, wherein the preamble flight refers to a plurality of flights taking off before the target flight; and determining the validity period of the electronic identity according to the specified time information, the historical delay data and the predicted delay duration.
Optionally, the electronic identity module 303 is specifically configured to: obtaining the number of arriving airports contained in the up-to-date flight itinerary data; if the number of the arrival airports is 1, determining the type of the appointed time information to be acquired according to the flight state in the latest flight travel data, and acquiring the appointed time information of the corresponding type from the latest flight travel data; and if the number of the arrival airports is more than 1, acquiring the predicted departure time of the first flight or the predicted arrival time of the last flight from the latest flight travel data.
Optionally, the electronic identity module 303 is specifically configured to: if the flight state is a plan, the type of the appointed time information needing to be acquired is boarding time, predicted takeoff time or predicted arrival time; if the flight state is delayed, the type of the appointed time information needing to be acquired is the predicted takeoff time or the predicted arrival time; if the flight status is takeoff or arrival, the type of the specified time information to be acquired is the estimated arrival time.
Optionally, the electronic identity module 303 is specifically configured to: and if the flight state of the flight taken by the requester is changed into delayed, standby or return flight and no new predicted takeoff time or predicted arrival time is acquired within the preset time after the flight state is changed, re-determining the validity period of the electronic identity based on the flight historical data and/or a preset validity period extension rule.
Optionally, the electronic identity module 303 is further configured to: and if the flight status is changed into cancellation or the electronic identity validity period of the electronic identity voucher is expired, sending an electronic identity destroying instruction to the client, so that the client clears the locally stored electronic identity voucher.
The electronic identity authentication device based on the dynamic timeliness and the electronic identity authentication method based on the dynamic timeliness provided by the embodiment of the application adopt the same inventive concept, can obtain the same beneficial effects, and are not repeated herein.
Based on the same inventive concept as the above-mentioned electronic identity authentication method based on dynamic timeliness, the embodiment of the present application further provides an electronic device, which may specifically be a server and the like shown in fig. 1. As shown in fig. 4, the electronic device 40 may include a processor 401 and a memory 402.
The Processor 401 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charged Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 402 in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; the computer storage media may be any available media or data storage device that can be accessed by a computer, including but not limited to: various media that can store program codes include a removable Memory device, a Random Access Memory (RAM), a magnetic Memory (e.g., a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical Memory (e.g., a CD, a DVD, a BD, an HVD, etc.), and a semiconductor Memory (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile Memory (NAND FLASH), a Solid State Disk (SSD)).
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media that can store program codes include a removable Memory device, a Random Access Memory (RAM), a magnetic Memory (e.g., a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical Memory (e.g., a CD, a DVD, a BD, an HVD, etc.), and a semiconductor Memory (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile Memory (NAND FLASH), a Solid State Disk (SSD)).
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. An electronic identity authentication method based on dynamic timeliness is characterized by comprising the following steps:
receiving an electronic identity creating request sent by a client, wherein the electronic identity creating request comprises: identity information of the requestor;
verifying the identity of the requester according to the identity information in the electronic identity creation request;
if the identity of the requester is legal, acquiring the latest flight itinerary data of the requester, determining an electronic identity validity period according to the latest flight itinerary data, and generating an electronic identity information certificate containing the electronic identity validity period;
sending the electronic identity certificate to the client so that the client can display the electronic identity certificate within the time specified by the validity period of the electronic identity;
and if the flight itinerary data of the requester is detected to be changed, re-determining the electronic identity validity period according to the changed flight itinerary data, and updating the electronic identity validity period of the electronic identity certificate according to the re-determined electronic identity validity period.
2. The method of claim 1, wherein determining an electronic identity validity period based on the updated flight itinerary data comprises:
acquiring appointed time information of a corresponding flight from the latest flight travel data, wherein the type of the appointed time information comprises boarding time, predicted departure time or predicted arrival time;
acquiring historical delay data of a target flight taken by the requester;
predicting the predicted delay duration of the target flight according to delay data, boarding completion, current weather data, air traffic control data, airplane equipment state and airport data of a preamble flight, wherein the preamble flight refers to a plurality of flights taking off before the target flight;
and determining the validity period of the electronic identity according to the specified time information, the historical delay data and the predicted delay duration.
3. The method of claim 2, wherein obtaining the specified time information of the corresponding flight from the latest flight itinerary data comprises:
obtaining the number of arriving airports contained in the up-to-date flight itinerary data;
if the number of the arrival airports is 1, determining the type of the appointed time information to be acquired according to the flight state in the latest flight travel data, and acquiring the appointed time information of the corresponding type from the latest flight travel data;
and if the number of the arrival airports is more than 1, acquiring the predicted departure time of the first flight or the predicted arrival time of the last flight from the latest flight travel data.
4. The method of claim 3, wherein determining the type of the specific time information to be obtained according to the flight status in the latest flight itinerary data comprises:
if the flight state is a plan, the type of the appointed time information needing to be acquired is boarding time, predicted takeoff time or predicted arrival time;
if the flight state is delayed, the type of the appointed time information needing to be acquired is the predicted takeoff time or the predicted arrival time;
if the flight status is takeoff or arrival, the type of the specified time information to be acquired is the estimated arrival time.
5. The method according to any one of claims 1 to 4, wherein the re-determining the validity period of the electronic identity according to the changed flight itinerary data comprises:
and if the flight status of any flight from the second flight to the last flight of the requester is changed to be cancelled, re-determining the validity period of the electronic identity according to the expected takeoff time or the expected arrival time of the flight in the previous section of the cancelled flight before the change flight corresponding to the cancelled flight is obtained.
6. The method according to any one of claims 1 to 4, wherein the re-determining the validity period of the electronic identity according to the changed flight itinerary data comprises:
and if the flight state of the flight taken by the requester is changed into delayed, standby or return flight and no new predicted takeoff time or predicted arrival time is acquired within the preset time after the flight state is changed, re-determining the validity period of the electronic identity based on the flight historical data and/or a preset validity period extension rule.
7. The method according to any one of claims 1 to 4, further comprising:
and if the flight status is changed into cancellation or the electronic identity validity period of the electronic identity voucher is expired, sending an electronic identity destroying instruction to the client, so that the client clears the locally stored electronic identity voucher.
8. An electronic identity authentication device based on dynamic timeliness, comprising:
a receiving module, configured to receive an electronic identity creation request sent by a client, where the electronic identity creation request includes: identity information of the requestor;
the verification module is used for verifying the identity of the requester according to the identity information in the electronic identity creation request;
the electronic identity module is used for acquiring the latest flight itinerary data of the requester if the identity of the requester is legal, determining the validity period of the electronic identity according to the latest flight itinerary data, and generating an electronic identity information certificate containing the validity period of the electronic identity;
the sending module is used for sending the electronic identity certificate to the client so that the client can display the electronic identity certificate within the time specified by the electronic identity validity period;
and the electronic identity module is further used for re-determining the electronic identity validity period according to the changed flight itinerary data and updating the electronic identity validity period of the electronic identity certificate according to the re-determined electronic identity validity period if the flight itinerary data of the requester is detected to be changed.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
CN202210021549.3A 2022-01-10 2022-01-10 Electronic identity authentication method and device based on dynamic timeliness and electronic equipment Active CN114022335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210021549.3A CN114022335B (en) 2022-01-10 2022-01-10 Electronic identity authentication method and device based on dynamic timeliness and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210021549.3A CN114022335B (en) 2022-01-10 2022-01-10 Electronic identity authentication method and device based on dynamic timeliness and electronic equipment

Publications (2)

Publication Number Publication Date
CN114022335A CN114022335A (en) 2022-02-08
CN114022335B true CN114022335B (en) 2022-03-18

Family

ID=80069807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210021549.3A Active CN114022335B (en) 2022-01-10 2022-01-10 Electronic identity authentication method and device based on dynamic timeliness and electronic equipment

Country Status (1)

Country Link
CN (1) CN114022335B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114626577B (en) * 2022-02-21 2023-05-12 北京大学 Method for forecasting winter precipitation phase state by utilizing artificial intelligence
CN116186059B (en) * 2023-04-24 2023-06-30 民航成都信息技术有限公司 Flight data updating method, system, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801528A (en) * 2012-08-17 2012-11-28 珠海市载舟软件技术有限公司 Authentication system and method based on intelligent mobile communication equipment
CN103177297A (en) * 2013-04-02 2013-06-26 浙江中呼科技有限公司 Method for carrying out electronic identity recognition by utilizing two-dimensional code
CN106453341A (en) * 2016-10-21 2017-02-22 腾讯科技(北京)有限公司 Information processing method and device
CN107818600A (en) * 2017-12-08 2018-03-20 江小平 A kind of ticket-checking system and method
CN108881242A (en) * 2018-06-26 2018-11-23 北京小米移动软件有限公司 The acquisition methods and device of electronic ID card
CN109873897A (en) * 2017-12-04 2019-06-11 支录奎 Mobile phone type real-time online network identification card
CN110401542A (en) * 2019-08-05 2019-11-01 中国工商银行股份有限公司 Electronic identity voucher generation method, terminal and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140258136A1 (en) * 2013-03-07 2014-09-11 Gregory Duane Ellis Method for improving security of online transactions

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801528A (en) * 2012-08-17 2012-11-28 珠海市载舟软件技术有限公司 Authentication system and method based on intelligent mobile communication equipment
CN103177297A (en) * 2013-04-02 2013-06-26 浙江中呼科技有限公司 Method for carrying out electronic identity recognition by utilizing two-dimensional code
CN106453341A (en) * 2016-10-21 2017-02-22 腾讯科技(北京)有限公司 Information processing method and device
CN109873897A (en) * 2017-12-04 2019-06-11 支录奎 Mobile phone type real-time online network identification card
CN107818600A (en) * 2017-12-08 2018-03-20 江小平 A kind of ticket-checking system and method
CN108881242A (en) * 2018-06-26 2018-11-23 北京小米移动软件有限公司 The acquisition methods and device of electronic ID card
CN110401542A (en) * 2019-08-05 2019-11-01 中国工商银行股份有限公司 Electronic identity voucher generation method, terminal and server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Multi-Layer Defense Model for Securing Online Financial Transactions;Joseph Guadoni等;《2017 International Conference on Software Security and Assurance》;20180625;第75-79页 *
基于新分销能力消息标准的民航内容聚合平台的设计实现;周中雨 等;《计算机应用》;20210630;第41卷(第S1期);第114-118页 *

Also Published As

Publication number Publication date
CN114022335A (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN114022335B (en) Electronic identity authentication method and device based on dynamic timeliness and electronic equipment
Ma et al. Transit smart card data mining for passenger origin information extraction
CN108389052B (en) Method and device for preventing bank card from being embezzled, computer equipment and storage medium
Goenaga et al. Disruption and recovery: Initial assessment of COVID-19 traffic impacts in North Carolina and Virginia
JP6906487B2 (en) Demand forecasting device for shared vehicles, demand forecasting method and program for shared vehicles
WO2018058965A1 (en) Ground transportation route processing method, device, apparatus, and computer storage medium
AU2017200306B2 (en) A computer-implemented method and system for sharing information between passengers and air traffic management stakeholders
CN112199405B (en) Method and device for searching international air ticket change price
CN107292635B (en) Electronic passenger ticket refunding method and device
US20160189067A1 (en) Application-based commercial ground transportation management system
US20240013106A1 (en) Application-based commercial ground transportation clearinghouse system
CN111316262A (en) System, device and method for providing passenger or user information
JP5936765B2 (en) Data processing apparatus, data processing system, and data processing method
CN112330332B (en) Methods, computing devices, and media for identifying fraud risk with respect to node tasks
CN105654340A (en) Method and system for determining real flight of passenger
CN114971641A (en) Virtual commodity fraud identification method and device, computer equipment and storage medium
WO2022069592A1 (en) Method and system for identifying an optimised internet connectivity configuration
CN111984877A (en) Airport land-side passenger travel chain construction method, airport land-side passenger travel chain construction system, airport land-side passenger travel chain storage medium and terminal
CN114419357B (en) Data processing method, data processing device, computer and readable storage medium
Dandapat et al. Quantifying factors influencing urban bus passenger boarding and alighting dynamics in an emerging economy
Takebayashi et al. Impact of low cost carriers and multiple airport system
Xie et al. Simulation based estimation approach for departure passenger flow at airport terminal
CN112747767A (en) Travel mode determination method and device and computer readable storage medium
CN116166735B (en) Aviation data processing method and device, electronic equipment and storage medium
US20230327874A1 (en) Systems, methods, and devices for generation of peer validated geospatial and proof of reception of tracking 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