Identity information verification method and device for rail transit application program
By automatically writing and comparing the identity information of virtual machines on the cloud platform, the problems of low efficiency and high error rate in identity information verification of traditional rail transit applications are solved, and efficient and accurate identity information verification is achieved.
Patent Information
- Application Number
- CN202510882277.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-09-26
AI Technical Summary
Identity verification for traditional rail transit applications is inefficient and error-prone, relying on manual identification and verification.
By writing the preset identity information into the virtual machine storage space when creating the target virtual machine on the cloud platform, and automatically comparing the actual identity information when starting, automatic verification of identity information is achieved.
It improves the efficiency of identity information verification, reduces the rate of manual errors, and ensures the accuracy and automation of identity information verification.
Smart Images

Figure CN120705853A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of cloud computing technology, and in particular relates to a method and device for verifying identity information for rail transit applications. Background Art
[0002] Traditional rail transit applications are typically deployed on physical machines, which are manually identified and verified. Only after the physical machine's identity information is confirmed to be correct can the rail transit application be launched. However, this method has drawbacks such as low efficiency. Summary of the Invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a method and device for verifying identity information for rail transit applications, which can improve the efficiency of identity information verification for rail transit applications.
[0004] In a first aspect, the present application provides an identity information verification method for a rail transit application, the method comprising:
[0005] The control node obtains preset identity information of a target virtual machine in response to the first input, and sends target parameters including the preset identity information to the target computing node; the target virtual machine is used to run a target rail transit application; the identity information includes first information about the rail transit line and second information about the rail transit platform where the target virtual machine is deployed, and third information about the target rail transit application;
[0006] The target computing node reads and sets the preset identity information based on the target parameters when creating the target virtual machine;
[0007] Each time the target virtual machine is started, it obtains its own actual identity information and verifies the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
[0008] According to the identity information verification method for rail transit applications of the present application, by passing the target parameters carrying the preset identity information of the target virtual machine into the target node, the target node writes the preset identity information of the target virtual machine into the storage space of the target virtual machine during the process of creating the target virtual machine based on the target parameters, thereby automating the verification of the virtual machine's identity information. When creating a target virtual machine for running rail transit applications on a cloud platform, the preset identity information of the target virtual machine is transmitted to the target virtual machine for automatic identification based on comparison, and the verification is performed by the application in the virtual machine. This can eliminate the manual verification process, improve the efficiency of identity information verification for rail transit applications, and reduce the error rate caused by manual verification.
[0009] According to one embodiment of the present application, the target computing node reads and sets the preset identity information based on the target parameters when creating the target virtual machine, including:
[0010] The target computing node creates the target virtual machine based on the target parameters, writes the preset identity information into a target virtual optical disc, and mounts the target virtual optical disc to a virtual optical drive of the target virtual machine.
[0011] According to one embodiment of the present application, verifying the actual identity information based on the preset identity information includes:
[0012] Reading the preset identity information from the target virtual optical disc in the virtual optical drive;
[0013] By comparing the preset identity information with the actual identity information, the actual identity information is verified.
[0014] According to one embodiment of the present application, the control node obtains preset identity information of the target virtual machine in response to the first input, including:
[0015] The control node receives the first input for the target interface;
[0016] In response to the first input, the control node combines various types of identity information of the virtual machine in the identity information database to obtain the preset identity information.
[0017] According to one embodiment of the present application, before the control node, in response to the first input, combines various types of identity information of virtual machines in the identity information database to obtain the preset identity information, the method further includes:
[0018] In response to the second input, the control node creates a plurality of identity information data tables for storing identity information in the identity information database; the identity information data tables correspond to types of identity information in a one-to-one manner.
[0019] According to one embodiment of the present application, after the control node creates an identity information data table for storing each type of identity information in response to the second input, and before the control node combines each type of identity information of the virtual machine in the identity information database in response to the first input to obtain the preset identity information, the method further includes:
[0020] The control node performs an editing operation on a target data table in response to a third input; the target data table includes at least one of the identity information data tables.
[0021] In a second aspect, the present application provides an identity information verification device for a rail transit application, the device comprising:
[0022] an acquisition module configured to control a node to acquire preset identity information of a target virtual machine in response to a first input, and to send target parameters including the preset identity information to a target computing node; the target virtual machine is configured to run a target rail transit application; the identity information includes first information about the rail transit line and second information about the rail transit platform where the target virtual machine is deployed, and third information about the target rail transit application;
[0023] A creation module, configured for the target computing node to read and set the preset identity information when creating the target virtual machine based on the target parameters;
[0024] The verification module is used to obtain the actual identity information of the target virtual machine after it is started, and verify the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
[0025] According to the identity information verification device for rail transit applications of the present application, by transmitting the target parameters carrying the preset identity information of the target virtual machine into the target node, the target node writes the preset identity information of the target virtual machine into the storage space of the target virtual machine during the process of creating the target virtual machine based on the target parameters, thereby automating the verification of the virtual machine's identity information. When creating a target virtual machine for running rail transit applications on a cloud platform, the preset identity information of the target virtual machine is transmitted to the target virtual machine for automatic identification based on comparison, and the verification is performed by the application in the virtual machine. This can eliminate the manual verification process, improve the efficiency of identity information verification for rail transit applications, and reduce the error rate caused by manual verification.
[0026] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the identity information verification method for rail transit applications as described in the first aspect above is implemented.
[0027] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the identity information verification method for rail transit applications as described in the first aspect above.
[0028] In a fifth aspect, the present application provides a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the identity information verification method for rail transit applications as described in the first aspect.
[0029] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the identity information verification method for rail transit applications as described in the first aspect above.
[0030] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0032] Figure 1 This is a flow chart of a method for verifying identity information of a rail transit application program provided in an embodiment of the present application;
[0033] Figure 2This is a schematic diagram of the principle of the identity injection link in the identity information verification method for rail transit applications provided in an embodiment of the present application;
[0034] Figure 3 This is a schematic diagram of the principle of the identity information verification step in the identity information verification method for a rail transit application provided in an embodiment of the present application;
[0035] Figure 4 This is a schematic diagram of the principle of the virtual machine creation step in the identity information verification method for rail transit application provided in an embodiment of the present application;
[0036] Figure 5 Schematic diagram of an identity information data table in an identity information verification method for a rail transit application provided in an embodiment of the present application;
[0037] Figure 6 This is a schematic diagram of the structure of an identity information verification device for a rail transit application provided in an embodiment of the present application;
[0038] Figure 7 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0040] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0041] Below, in conjunction with the accompanying drawings, the identity information verification method for rail transit applications, the identity information verification device for rail transit applications, the electronic device and the readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0042] The identity information verification method for rail transit applications may be applied to a terminal, and may be specifically executed by hardware or software in the terminal.
[0043] The terminal includes, but is not limited to, a portable communication device such as a mobile phone or tablet computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad). It should also be understood that, in some embodiments, the terminal may not be a portable communication device, but a desktop computer having a touch-sensitive surface (e.g., a touch screen display and / or a touch pad).
[0044] In the following embodiments, a terminal including a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, a mouse, and a joystick.
[0045] The embodiment of the present application provides an identity information verification method for a rail transit application. The execution subject of the identity information verification method for a rail transit application can be an electronic device or a functional module or functional entity in the electronic device that can implement the identity information verification method for a rail transit application. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablets, computers, cameras and wearable devices, etc. The identity information verification method for a rail transit application provided in the embodiment of the present application is described below using an electronic device as an example of the execution subject.
[0046] Figure 1 Schematic diagram of the process of verifying the identity information of a rail transit application provided by the embodiment of the present application. Figure 1 As shown, the identity information verification method for rail transit applications includes: step 110, step 120 and step 130.
[0047] Step 110: The control node obtains preset identity information of the target virtual machine in response to the first input, and sends target parameters containing the preset identity information to the target computing node; the target virtual machine is used to run the target rail transit application; the identity information includes first information of the rail transit line where the target virtual machine is deployed and second information of the rail transit platform, as well as third information of the target rail transit application.
[0048] In actual implementation, the identity information verification method for rail transit applications provided in the embodiments of the present application can be implemented based on various cloud computing platforms (hereinafter referred to as "cloud platforms"). The embodiments of the present application do not limit the specific cloud computing platform used. In some embodiments, a cloud platform based on the OpenStack architecture can be used.
[0049] The physical architecture of the aforementioned cloud computing platform can be composed of four major components: control nodes, compute nodes, network nodes, and storage nodes. Control nodes can be used to control other nodes. These control functions can include controlling virtual machine creation and migration, network allocation, and storage allocation. Compute nodes can be used to run virtual machines. Network nodes can facilitate communication between the cloud computing platform's external and internal communication networks. Storage nodes can be used to manage additional storage for virtual machines.
[0050] In some embodiments, the user may input the preset identity information of the target virtual machine into the control node through a first input. The first input may carry the preset identity information for indicating the target virtual machine.
[0051] In some embodiments, the identity information may include first information of the rail transit line where the target virtual machine is deployed, second information of the rail transit platform, and third information of the target rail transit application.
[0052] In some embodiments, the first information may be used to indicate information about a rail transit line, that is, may be used to determine which rail transit line the target virtual machine provides services for.
[0053] In some embodiments, the second information may be used to indicate information about a rail transit station, that is, to determine which station on the rail transit line the target virtual machine provides services for. For example, the second information may include the name of the rail transit station and the name of the platform.
[0054] In some embodiments, the third information may be used to indicate information of the target rail transit application. The above information may include
[0055] Information such as the architecture type of the target rail transit application.
[0056] In some embodiments, the first input may be an input to an input component in the interface. The input component may include at least one of an input box and a drop-down menu. The specific form of the first input is not limited in this embodiment of the application.
[0057] After receiving the first input, the control node may respond to the first input and obtain the preset identity information of the target virtual machine based on the indication of the information carried in the first input.
[0058] It should be noted that the target virtual machine may be a virtual machine for running a target rail transit application. Before starting the target rail transit application, the identity information of the target virtual machine needs to be verified.
[0059] After the control node obtains the preset identity information of the target virtual machine, it can transmit the target parameters to the target computing node by, for example, sending target parameters to the target computing node. The target parameters can be used to create the target virtual machine. Compared to related technologies, the target parameters in the embodiments of the present application also carry the identity information of the target virtual machine, that is, the identity information of the target virtual machine is also used as part of the parameters used to create the target virtual machine. For parameters other than the identity information of the target virtual machine, reference can be made to related technologies and are not limited in the embodiments of the present application.
[0060] Step 120: The target computing node reads and sets preset identity information based on the target parameters when creating the target virtual machine.
[0061] In actual execution, the target computing node can receive target parameters. After receiving the target parameters, the target computing node can create a target virtual machine based on the target parameters. The method steps for the target computing node to create a target virtual machine are similar to those in the related art and will not be repeated here. However, unlike the related art, in the embodiment of the present application, after the target virtual machine is created, the preset identity information of the target virtual machine is also read and set, so that the target virtual machine can preset the identity information at startup. For example, the target computing node can set the storage location of the preset identity information of the target virtual machine in the storage space of the target virtual machine, and write the preset identity information of the target virtual machine to the storage location.
[0062] Step 130 : Each time the target virtual machine is started, it obtains its own actual identity information and verifies the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
[0063] In actual execution, each time the target virtual machine is started, if the target rail transit application needs to be started, the actual identity information of the target virtual machine can be obtained, and the preset identity information of the target virtual machine can be obtained from the storage space of the target virtual machine.
[0064] In some embodiments, the target virtual machine obtains its actual identity information through mechanisms in related technologies such as self-checking, which will not be described in detail here. The specific method and steps for the target virtual machine to obtain its actual identity information are not limited in this embodiment of the application.
[0065] After obtaining its own preset identity information and its actual identity information, the target virtual machine can compare the preset and actual identity information to verify whether they are consistent. If the preset and actual identity information are consistent, the verification is successful, and the target virtual machine can start the target rail transit application. If the preset and actual identity information are consistent, the verification fails, and the target rail transit application is not started.
[0066] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, by passing the target parameters carrying the preset identity information of the target virtual machine into the target node, the target node writes the preset identity information of the target virtual machine into the storage space of the target virtual machine during the process of creating the target virtual machine based on the target parameters, thereby automating the verification of the virtual machine's identity information. When creating a target virtual machine for running a rail transit application on a cloud platform, the preset identity information of the target virtual machine is transmitted to the target virtual machine for automatic identification based on comparison, and the verification is performed by the application in the virtual machine. This can eliminate the manual verification process, improve the efficiency of identity information verification for rail transit applications, and reduce the error rate caused by manual verification.
[0067] In some embodiments of the present application, the target computing node reads and sets preset identity information based on target parameters when creating a target virtual machine, including: the target computing node creates a target virtual machine based on target parameters, writes the preset identity information to the target virtual optical disc, and mounts the target virtual optical disc to the virtual optical drive of the target virtual machine.
[0068] In actual execution, the target computing node can create a target virtual machine based on other parameters in the target parameters in addition to the preset identity information of the target virtual machine. The method and steps for the target computing node to create a target virtual machine based on the above other parameters are similar to those in the related art and will not be repeated here.
[0069] When creating a virtual machine, the target computing node can also write the preset identity information of the target virtual machine into the target virtual disc and mount the target virtual disc into the virtual optical drive of the target virtual machine. In other words, the storage space where the preset identity information of the target virtual machine is stored is the target virtual disc loaded into the virtual optical drive of the target virtual machine.
[0070] In some embodiments, a virtual machine identity information injection module may be added to the nova-compute computing service of the target computing node in the OpenStack-based cloud platform. The nova-compute computing service of the computing node in the OpenStack-based cloud platform may be used to create a virtual machine.
[0071] Figure 2 This is a schematic diagram of the principle of the identity injection link in the identity information verification method for rail transit applications provided in the embodiment of the present application. Figure 2 As shown, in some embodiments, the virtual machine identity information injection module can write the preset identity information of the target virtual machine into the text file identity.txt during the process of creating the target virtual machine, and write the text file identity.txt into the virtual disk file identity.img. During the process of creating the target virtual machine, the target virtual disc storing the preset identity information of the target virtual machine can be mounted to the cdrom device of the target virtual machine. It is understood that the target virtual disc can be described by the aforementioned virtual disk file identity.img; the cdrom device of the target virtual machine can serve as the virtual machine's virtual optical drive sr0.
[0072] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, the preset identity information of the target virtual machine is written into the target virtual CD, and the target virtual CD is mounted to the virtual CD-ROM drive of the target virtual machine. Since the information in the target virtual CD is not easily modified, the correct performance of the target virtual machine in storing the preset identity information is guaranteed, thereby improving the accuracy of identity information verification for rail transit applications.
[0073] In some embodiments of the present application, verifying the actual identity information based on the preset identity information includes: reading the preset identity information from the target virtual optical disc in the virtual optical drive.
[0074] During actual execution, the target virtual machine may read the target virtual optical disc from the virtual optical drive, and then obtain the preset identity information of the target virtual machine stored in the target virtual optical disc.
[0075] By comparing the preset identity information with the actual identity information, the actual identity information is verified.
[0076] During actual execution, after obtaining its own preset identity information and its actual identity information, the target virtual machine can compare its preset identity information with its actual identity information to verify whether it is consistent. If its preset identity information and its actual identity information are consistent, the verification is successful, and the target virtual machine can start the target rail transit application. If its preset identity information and its actual identity information are consistent, the verification fails, and the target rail transit application is not started.
[0077] Figure 3 Schematic diagram of the principle of identity information verification link in the identity information verification method for rail transit application provided by the embodiment of the present application. Figure 3 As shown, in some embodiments, the target virtual machine may include a virtual machine identity verification module. The virtual machine identity verification module may run within the target virtual machine. Each time the target virtual machine is started, the virtual machine identity verification module reads the preset identity information stored in the target virtual optical disc in the virtual optical drive sr0 for verification. If the verification is successful, the corresponding rail transit application, i.e., the target rail transit application, may be started.
[0078] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, the preset identity information of the target virtual machine stored in the target virtual CD in the virtual CD-ROM drive is read to verify the actual identity information of the target virtual machine. Since the information in the target virtual CD is not easily modified, the correct performance of the preset identity information stored in the target virtual machine is guaranteed, thereby improving the accuracy of identity information verification for rail transit applications.
[0079] In some embodiments of the present application, the control node obtains preset identity information of the target virtual machine in response to the first input, including: the control node receives the first input for the target interface.
[0080] In actual execution, the first input may be an input for a target interface. In some embodiments, the target interface may be an interface for selecting identity information of a target virtual machine. In some embodiments, the target interface may be an interface in a page for creating a target virtual machine.
[0081] In response to the first input, the control node combines various types of identity information of the virtual machine in the identity information database to obtain preset identity information.
[0082] In actual implementation, various types of identity information of virtual machines may be pre-stored in an identity information database, which may be a database in a storage node of the cloud platform.
[0083] In some embodiments, the identity information of a virtual machine may include line information, platform information, architecture type information, architecture version information, product type information, and product version information. Line information may be used to indicate the rail transit line where the target virtual machine is deployed. Platform information may be used to indicate the platform within the rail transit line where the target virtual machine is deployed. Architecture type information and architecture version information may be used to indicate the type and version of the architecture used by the target rail transit application, respectively. Product type information and product version information may be used to indicate the type and version of the target rail transit application, respectively.
[0084] It is understandable that the first information may include the aforementioned line information, etc. The second information may include the aforementioned station information, etc. The third information may include the aforementioned architecture type information, architecture version information, product type information, product version information, etc.
[0085] In some embodiments, the first input may be used to indicate the specific content of each type of identity information, specifically indicating which of all the content of that type of identity information for the virtual machine in the identity information database the specific content of each type of identity information refers to. For example, for line information, if the line information for the virtual machine in the identity information database includes line 1, line 2, and line 3, the first input may be used to indicate which of the line information in the preset identity information of the target virtual machine refers to.
[0086] In some embodiments, a target interface may be added to the page for creating a target virtual machine provided by the OpenStack-based cloud platform. On this target page, various types of identity information may be selected. The control node may combine the various types of identity information for the virtual machines in the identity information database according to the first input, and encapsulate the combined identity information into a complete set of virtual machine identity information, i.e., the preset identity information for the target virtual machine.
[0087] Figure 4 This is a schematic diagram of the principle of the virtual machine creation link in the identity information verification method for rail transit application provided in the embodiment of this application. Figure 4As shown, in some embodiments, an entry for receiving identity information parameters is added to the interface used by the control node to create the target virtual machine (which can be implemented through nova-API and is called the virtual machine creation interface). The identity information management interface added to nova-API queries the database (i.e., the aforementioned identity information database), selects identity information (specifically, selects each type of identity information), and obtains the preset identity information of the target virtual machine. The preset identity information of the target virtual machine, which is included in the target parameters, can then be transmitted to the target compute node through the identity information parameter receiving entry. The "api" refers to the Application Programming Interface.
[0088] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, by responding to a first input, various types of identity information of virtual machines in an identity information database are combined to obtain preset identity information. Users do not have to enter various types of identity information of virtual machines in text form one by one, but can select from various types of identity information of stored virtual machines. This can improve the efficiency of obtaining the preset identity information of the target virtual machine, and thus improve the efficiency of identity information verification for rail transit applications.
[0089] In some embodiments of the present application, before the control node responds to the first input and combines various types of identity information of the virtual machine in the identity information database to obtain the preset identity information, the method also includes: the control node responds to the second input and creates multiple identity information data tables for storing identity information in the identity information database; the identity information data tables correspond one-to-one to the types of identity information.
[0090] In actual implementation, a user can create multiple identity information data tables in the storage node's identity information database by inputting a second input, with each identity information data table storing a specific type of identity information for the virtual machine. The second input can include at least one of a click, drag, and text input operation within the interface. The specific form of the second input is not limited in this embodiment of the application.
[0091] Figure 5 Schematic diagram of the identity information data table in the identity information verification method for rail transit application provided in the embodiment of the present application. Figure 5As shown, in some embodiments, the control node can add multiple identity information data tables to the identity information database of the storage node (in the OpenStack-based cloud platform, the database is the nova database) through its own identity information management module, including: a line management table, a station management table, an architecture type management table, an architecture version management table, a product type management table, and a product version management table. The line management table, the station management table, the architecture type management table, the architecture version management table, the product type management table, and the product version management table can be used to store line information, station information, architecture type information, architecture version information, product type information, and product version information, respectively. Each type of information can include an ID (identity document) and a name, etc. Accordingly, the identity information management module can include the following submodules: a line management submodule, a station management submodule, an architecture type management submodule, an architecture version management submodule, a product type management submodule, and a product version management submodule, which can respectively operate the line management table, the station management table, the architecture type management table, the architecture version management table, the product type management table, and the product version management table.
[0092] In some embodiments, an identity information management interface can also be added to the nova API, which includes a line management sub-interface, a station management sub-interface, an architecture type management sub-interface, an architecture version management sub-interface, a product type management sub-interface and a product version management sub-interface. The above-mentioned line management sub-module, station management sub-module, architecture type management sub-module, architecture version management sub-module, product type management sub-module and product version management sub-module can respectively call the line management sub-interface, the station management sub-interface, the architecture type management sub-interface, the architecture version management sub-interface, the product type management sub-interface and the product version management sub-interface to operate the line management table, the station management table, the architecture type management table, the architecture version management table, the product type management table and the product version management table.
[0093] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, a control node responds to a second input, creates multiple identity information data tables for storing identity information in an identity information database, and pre-stores various types of identity information of virtual machines in the database, so that users do not have to enter various types of identity information of virtual machines in text form one by one, but can select from various types of identity information of stored virtual machines, which can improve the efficiency of obtaining the preset identity information of the target virtual machine, and thus improve the efficiency of identity information verification for rail transit applications.
[0094] In some embodiments of the present application, after the control node creates an identity information data table for storing each type of identity information in response to the second input, and before the control node combines various types of identity information of the virtual machine in the identity information database in response to the first input to obtain preset identity information, the method also includes: the control node performs an editing operation on the target data table in response to the third input; the target data table includes at least one identity information data table.
[0095] In actual implementation, the user can input a third input so that the control node responds according to the third input and performs an edit operation on at least one of the aforementioned multiple identity information data tables to edit one or more pieces of identity information. The specific form of the third input is not limited in this embodiment of the application.
[0096] In some embodiments, editing operations may include operations such as adding, deleting, modifying, and querying.
[0097] In some embodiments, as Figure 5 As shown, an identity management interface can be added to the management interface of the virtual machine, and the corresponding sub-interface in the identity information management interface added in the nova-api can be called through the identity management interface to perform at least one operation such as adding, deleting, modifying and querying the corresponding identity information data table.
[0098] According to the identity information verification method for rail transit applications provided in an embodiment of the present application, by controlling the node to respond to the third input, an editing operation is performed on the target data table including at least one identity information data table, which can more conveniently maintain the identity information data table for storing identity information, so that the user does not have to enter each type of identity information of the virtual machine in text form one by one, but can select from the various types of identity information of the stored virtual machine, which can improve the efficiency of obtaining the preset identity information of the target virtual machine, and thus improve the efficiency of identity information verification for rail transit applications.
[0099] The identity information verification method for a rail transit application provided in the embodiments of the present application can be executed by an identity information verification device for a rail transit application. In the embodiments of the present application, the identity information verification device for a rail transit application executing the identity information verification method for a rail transit application is used as an example to illustrate the identity information verification device for a rail transit application provided in the embodiments of the present application.
[0100] An embodiment of the present application also provides an identity information verification device for a rail transit application. Figure 6 Schematic diagram of the structure of the identity information verification device for rail transit application provided by the embodiment of the present application. Figure 6As shown, the identity information verification device for rail transit applications includes: an acquisition module 610 , a creation module 620 and a verification module 630 .
[0101] The acquisition module 610 is configured to control the node to obtain preset identity information of the target virtual machine in response to the first input, and to send target parameters including the preset identity information to the target computing node; the target virtual machine is configured to run the target rail transit application; the identity information includes first information about the rail transit line and second information about the rail transit platform where the target virtual machine is deployed, and third information about the target rail transit application;
[0102] A creation module 620 is configured to read and set preset identity information when creating a target virtual machine based on target parameters at the target computing node;
[0103] The verification module 630 is used to obtain the actual identity information of the target virtual machine each time it is started, and verify the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
[0104] According to the identity information verification device for rail transit applications provided in an embodiment of the present application, by transmitting the target parameters carrying the preset identity information of the target virtual machine into the target node, the target node writes the preset identity information of the target virtual machine into the storage space of the target virtual machine during the process of creating the target virtual machine based on the target parameters, thereby automating the verification of the virtual machine's identity information. When creating a target virtual machine for running a rail transit application on a cloud platform, the preset identity information of the target virtual machine is transmitted to the target virtual machine for automatic identification based on comparison, and the verification is performed by the application in the virtual machine. This can eliminate the manual verification process, improve the efficiency of identity information verification for rail transit applications, and reduce the error rate caused by manual verification.
[0105] In some embodiments, the creation module 620 includes:
[0106] The identity information injection unit is used for the target computing node to create a target virtual machine based on target parameters, write preset identity information into the target virtual CD, and mount the target virtual CD to the virtual CD-ROM drive of the target virtual machine.
[0107] In some embodiments, the verification module 630 may include:
[0108] The reading unit is used to read the preset identity information from the target virtual optical disc in the virtual optical drive;
[0109] The verification unit is used to verify the actual identity information by comparing the preset identity information with the actual identity information.
[0110] In some embodiments, the acquisition module 610 may include:
[0111] A receiving unit, configured to control the node to receive a first input for a target interface;
[0112] The combining unit is configured to control the node to combine various types of identity information of the virtual machine in the identity information database in response to the first input, so as to obtain preset identity information.
[0113] In some embodiments, the identity information verification device for rail transit applications may further include:
[0114] The creation unit is configured to control the node to create a plurality of identity information data tables for storing identity information in the identity information database in response to the second input; the identity information data tables correspond to the types of identity information on a one-to-one basis.
[0115] In some embodiments, the identity information verification device for rail transit applications may further include:
[0116] The editing unit is configured to control the node to perform an editing operation on a target data table in response to a third input; the target data table includes at least one identity information data table.
[0117] The identity information verification device for rail transit applications in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or a device other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an on-board electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), an ATM or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.
[0118] The identity information verification device for rail transit applications in the embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
[0119] The identity information verification device for rail transit applications provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0120] In some embodiments, as Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 710, a memory 720, and a computer program stored in the memory 720 and executable on the processor 710. When the program is executed by the processor 710, the various processes of the above-mentioned embodiment of the identity information verification method for rail transit applications are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0121] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0122] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the various processes of the above-mentioned identity information verification method embodiment for rail transit applications and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0123] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0124] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the above-mentioned identity information verification method for rail transit applications.
[0125] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0126] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned identity information verification method embodiment for rail transit applications, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0127] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0128] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0129] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0130] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
[0131] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0132] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A method for verifying identity information of a rail transit application, characterized in that: include: The control node obtains preset identity information of a target virtual machine in response to the first input, and sends target parameters including the preset identity information to the target computing node; the target virtual machine is used to run a target rail transit application; the identity information includes first information about the rail transit line and second information about the rail transit platform where the target virtual machine is deployed, and third information about the target rail transit application; The target computing node reads and sets the preset identity information based on the target parameters when creating the target virtual machine; Each time the target virtual machine is started, it obtains its own actual identity information and verifies the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
2. The identity information verification method for rail transit application according to claim 1, characterized in that: The target computing node reads and sets the preset identity information based on the target parameters when creating the target virtual machine, including: The target computing node creates the target virtual machine based on the target parameters, writes the preset identity information into a target virtual optical disc, and mounts the target virtual optical disc to a virtual optical drive of the target virtual machine.
3. The identity information verification method for rail transit application according to claim 2, characterized in that: The verifying the actual identity information based on the preset identity information includes: Reading the preset identity information from the target virtual optical disc in the virtual optical drive; By comparing the preset identity information with the actual identity information, the actual identity information is verified.
4. The identity information verification method for rail transit application according to any one of claims 1 to 3, characterized in that: The control node obtains preset identity information of the target virtual machine in response to the first input, including: The control node receives the first input for the target interface; In response to the first input, the control node combines various types of identity information of the virtual machine in the identity information database to obtain the preset identity information.
5. The identity information verification method for rail transit application according to claim 4, characterized in that: Before the control node combines various types of identity information of virtual machines in an identity information database in response to the first input to obtain the preset identity information, the method further includes: In response to the second input, the control node creates a plurality of identity information data tables for storing identity information in the identity information database; the identity information data tables correspond to types of identity information in a one-to-one manner.
6. The identity information verification method for rail transit application according to claim 5, characterized in that: After the control node creates an identity information data table for storing each type of identity information in response to the second input, and before the control node combines each type of identity information of the virtual machine in the identity information database in response to the first input to obtain the preset identity information, the method further includes: The control node performs an editing operation on a target data table in response to a third input; the target data table includes at least one of the identity information data tables.
7. An identity information verification device for rail transit applications, characterized in that: include: an acquisition module configured to control a node to acquire preset identity information of a target virtual machine in response to a first input, and to send target parameters including the preset identity information to a target computing node; the target virtual machine is configured to run a target rail transit application; the identity information includes first information about the rail transit line and second information about the rail transit platform where the target virtual machine is deployed, and third information about the target rail transit application; A creation module, configured for the target computing node to read and set the preset identity information when creating the target virtual machine based on the target parameters; The verification module is used to obtain the actual identity information of the target virtual machine each time it is started, and verify the actual identity information based on the preset identity information, so as to start the target rail transit application program if the verification is successful.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the identity information verification method for a rail transit application program as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the identity information verification method for a rail transit application program as described in any one of claims 1 to 6 is implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the identity information verification method for a rail transit application program as described in any one of claims 1 to 6 is implemented.