Mirror image management method and device applied to rail transit, equipment and storage medium

By obtaining and registering equipment hardware fingerprints in the field of rail transit and generating mirror packages associated with hardware, the problems of low image management efficiency and consistency are solved, accurate distribution of mirrors and hardware matching are achieved, and management efficiency and security are improved.

CN118939473APending Publication Date: 2024-11-12CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410914878.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the field of rail transit, the existing mirror management methods are inefficient when facing the increase in scale, rapid mirror version updates and mirror version fallbacks, which affects the consistency between hardware devices and mirrors, making it difficult to achieve effective management and monitoring.

Method used

By obtaining the hardware device fingerprint of rail transit equipment for registration, creating a basic image, and generating a mirror package based on the hardware device fingerprint and basic image, ensuring the association relationship between the mirror and the specific hardware, and achieving accurate distribution of the image.

Benefits of technology

It improves the efficiency and security of mirror management, ensures the matching and consistency between mirror and hardware, saves manpower and material costs, and simplifies the system deployment and recovery process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939473A_ABST
    Figure CN118939473A_ABST
Patent Text Reader

Abstract

The invention discloses a mirror image management method and device applied to rail transit, equipment and a storage medium, and the method comprises the steps: obtaining a hardware equipment fingerprint uploaded by each piece of rail transit equipment, and carrying out the registration of each hardware equipment fingerprint; creating a basic mirror image of each piece of rail transit software; generating a mirror image packet according to the registered hardware equipment fingerprint and the basic mirror image; and determining target rail transit equipment corresponding to each mirror image packet, and sending the mirror image packets to the target rail transit equipment. The mirror image package is generated according to the hardware equipment fingerprint and the basic mirror image in the mirror image management process, so that the incidence relation between the mirror image and specific hardware is ensured, and accurate distribution of the mirror image can be realized based on the established incidence relation when the mirror image package is distributed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a mirror management method, device, equipment and storage medium applied to rail transit. Background Art

[0002] As urbanization accelerates, the complexity of rail transit is also increasing. The number of rail transit lines and equipment continues to grow, making the management and monitoring of equipment a huge challenge. The management of the software used by the equipment is crucial. The image file includes the operating system, platform software, application software, and data configuration files used by the equipment.

[0003] In actual projects, the matching of software and data configuration with hardware equipment is generally managed manually to ensure consistency. However, this image management method will cause serious efficiency problems when faced with problems such as increased scale, rapid image version updates, and image version rollbacks, and will affect the consistency between hardware equipment and images. Summary of the invention

[0004] The present invention provides a mirror management method, device, equipment and storage medium applied to rail transit to achieve secure storage of multi-mode data.

[0005] According to one aspect of the present invention, there is provided an image management method applied to rail transit, comprising: obtaining hardware device fingerprints uploaded by each rail transit device, and registering each of the hardware device fingerprints;

[0006] Create basic images for various rail transit software;

[0007] Generate an image package according to the registered hardware device fingerprint and the basic image;

[0008] The target rail transit equipment corresponding to each mirrored packet is determined, and the mirrored packet is sent to the target rail transit equipment.

[0009] According to another aspect of the present invention, there is provided a mirror image management device applied to rail transit, comprising:

[0010] The hardware device fingerprint registration module is used to obtain the hardware device fingerprint uploaded by each rail transit device and register the hardware device fingerprint;

[0011] Basic image creation module, used to create basic images of various rail transit software;

[0012] An image package generation module, used to generate an image package by binding the registered hardware device fingerprint with the basic image;

[0013] The mirror distribution module is used to determine the target rail transit equipment corresponding to each mirror package and send the mirror package to the target rail transit equipment.

[0014] According to another aspect of the present invention, a computer device is provided, the computer device comprising:

[0015] at least one processor; and

[0016] a memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can perform the method described in any embodiment of the present invention.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method described in any embodiment of the present invention when executed.

[0019] The technical solution of the embodiment of the present invention generates an image package according to the hardware device fingerprint and the basic image during the image management process, thereby ensuring the association between the image and the specific hardware, so that when the image package is distributed, the image can be accurately distributed based on the established association.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a flowchart of a mirror management method applied to rail transit provided according to Embodiment 1 of the present invention;

[0023] Figure 2 is a flowchart of a mirror management method applied to rail transit provided according to Embodiment 2 of the present invention;

[0024] Figure 3is a structural diagram of a mirror image management device applied to rail transit provided according to Embodiment 3 of the present invention;

[0025] Figure 4 It is a structural diagram of a computer device provided by Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0028] Embodiment 1

[0029] Figure 1 A flowchart of an image management method applied to rail transit is provided for the first embodiment of the present invention. This embodiment is applicable to the management of images in rail transit scenarios. The method can be executed by an image management device applied to rail transit. The image management device applied to rail transit can be implemented in the form of hardware and / or software. The storage device for multi-mode data can be integrated in an electronic device. Figure 1 As shown, the method includes:

[0030] Step S101, obtaining the hardware device fingerprint uploaded by each rail transit device, and registering each hardware device fingerprint.

[0031] Optionally, obtaining the hardware device fingerprint uploaded by each rail transit device includes: sending a hardware device fingerprint acquisition instruction to each rail transit device, wherein each rail transit device combines the collected hardware identifiers to obtain a character string according to the instruction, and sends the hardware device fingerprint generated by hashing the character string to the computer device; receiving the hardware device fingerprint fed back by each rail transit device based on the instruction.

[0032] Optionally, registering the fingerprint of each hardware device includes: registering the fingerprint of each hardware device in a database; obtaining attribute information of each rail transit equipment, wherein the attribute information includes device identification, physical location and network information; associating the attribute information of each rail transit equipment with the corresponding hardware device fingerprint in the database.

[0033] Among them, the image management technology mainly includes the steps of image creation, image storage, image distribution and image update. First, by completely copying the system, device or file, an image file that is exactly the same as the original environment is created. Then, these image files are stored in the image warehouse for subsequent use and management. In addition, it is also necessary to effectively manage the stored images, including version control, permission management and image search. Then, when necessary, the image can be quickly distributed to each device to complete the rapid deployment and recovery of the system. Finally, as the system is updated and changed, the image needs to be updated to ensure that the image is consistent with the actual system. These are all important components of general image management technology. Through these technologies, the efficiency of system deployment and recovery can be greatly improved, and the difficulty and complexity of system operation and maintenance can be reduced. In this application, it is mainly aimed at the large number of dedicated hardware computing devices in the field of rail transit, and the image needs to be matched with the hardware and the operation of the image can be traced. This application is aimed at the huge rail transit network, which can provide a unified management platform to facilitate the operation and maintenance personnel to uniformly manage the images of various departments and stations, improve management efficiency and security, and save a lot of manpower and material costs.

[0034] Specifically, the computer device in this embodiment can be a central server for centralized management of each rail transit device in the rail transit scene, and the central server will obtain the hardware device fingerprint of each rail transit device within the control range, wherein the hardware device fingerprint is used as the identity of each rail transit device. Each rail transit device specifically collects its own hardware identifier, such as CPU ID, hard disk serial number, MAC address or BIOS serial number, etc. Of course, this embodiment is only an example, and does not limit the specific type and data of the hardware identifier, and the above-mentioned hardware identifier can be obtained through an application or other collection tool. This embodiment does not limit the specific acquisition method of each hardware identifier. And after each rail transit device receives multiple hardware identifiers of its own, it will combine all the collected hardware identifiers together to form a long string, which should contain all the hardware identifiers to ensure that it is unique. In addition, the combined string is hashed by a hash function, such as SHA-256, to generate a fixed-length string, and the string is sent to the central server as its own hardware device fingerprint. Of course, this embodiment is only an example, and does not limit the specific acquisition method of each hardware device fingerprint.

[0035] Among them, in this implementation, after obtaining the hardware device fingerprint of each rail transit equipment, each hardware device fingerprint obtained will be registered in a secure database, and other attribute information of the rail transit equipment will usually be obtained during the registration process, such as device identification, physical location and network information, and the hardware device fingerprint of each rail transit equipment will be associated with the attribute information of the device to facilitate the subsequent identification and verification of the rail transit equipment. And in the hardware device fingerprint registration management, the fingerprint can be retrieved, viewed, deleted, and the association information between the fingerprint and the device can be modified according to the management regulations. Of course, this implementation is only an example, and does not limit the specific management method and management content of the hardware device fingerprint.

[0036] Step S102, creating a basic image of each rail transit software.

[0037] Optionally, creating a basic image for each rail transit software includes: obtaining associated information of each rail transit software, wherein the associated information includes an operating system, an application program, and operating data; packaging the associated information of each rail transit software in a specified format to obtain a basic image, and saving the basic image in an image management system.

[0038] Specifically, in this embodiment, the creation of the basic image is usually completed through special software tools, which can obtain the associated information of each traffic software, such as the operating system, application program and operation data, etc. Of course, this embodiment is only an example, and does not limit the specific content of the associated information, and packages the operating system, application program and data of each traffic software into a single file, namely the basic image. Therefore, the basic image contains all the information of the traffic software, which can be used to copy and restore the system on other hardware devices, and a copy of the basic image will be saved in the image management system.

[0039] It should be noted that, in this embodiment, when the associated information of each traffic software is packaged, it can be packaged according to a specified format. This embodiment does not limit the specific format used when packaging the associated information.

[0040] Step S103, generating an image package according to the registered hardware device fingerprint and the basic image.

[0041] Optionally, an image package is generated by binding the registered hardware device fingerprint with the base image, including: binding the hardware device fingerprint with the corresponding base image to generate an application image; using a private key in the image management system to sign the hardware device fingerprint and the base image in the application image to generate a digital signature; and generating an image package according to each application image and the corresponding digital signature.

[0042] Specifically, in this embodiment, the image management system will bind and associate the image with a specific hardware device, and the associated information will be recorded in the image management system for tracing, and after the binding is completed, the status will be marked as bound but not distributed. Among them, when binding and associating, the hardware device fingerprint is specifically added to the base image specified by the user, and then a digital signature technology, such as RSA asymmetric signature technology, is used in the image management system to sign the hardware device fingerprint and the base image in the application image using a private key to generate a digital signature. At this time, the binding of the base image and the hardware device fingerprint, as well as the production of the digital signature, is completed.

[0043] Among them, in this embodiment, after the image and hardware are bound, each application image and the corresponding digital signature will be packaged in the image management system, and an image package will be generated. Therefore, multiple image packages that are applied to different rail transit equipment will be generated in the image management system. In this embodiment, the specific number of image packages generated is not limited, and they are all within the scope of protection of this application.

[0044] It should be noted that the digital signature technology used in this embodiment is a technology based on an asymmetric encryption algorithm, which is used to verify the integrity, authenticity and source credibility of data. It encrypts the data using a private key to generate a unique digital signature. This digital signature can be decrypted and verified by the public key to confirm the integrity and authenticity of the data. Through digital signature technology, it can be ensured that the data has not been tampered with during transmission or storage, and the source of the data can be verified. This makes digital signatures widely used in many fields, such as electronic documents, e-mails, software downloads, and electronic transactions. Digital signature technology relies on an asymmetric encryption algorithm, which includes a public key and a private key. The private key is kept confidential by the signer, while the public key is public. Encryption is performed with a private key, and only the corresponding public key can decrypt.

[0045] Step S104: determine the target rail transit equipment corresponding to each mirrored packet, and send the mirrored packet to the target rail transit equipment.

[0046] Optionally, determining the target rail transit equipment corresponding to each mirror package and sending the mirror package to the target rail transit equipment includes: determining the hardware fingerprint information contained in each mirror package and the attribute information associated with the hardware fingerprint information in the database; determining the target rail transit equipment according to the hardware fingerprint information, and determining the sending method according to the attribute information; and sending the mirror package to the target rail transit equipment according to the sending method.

[0047] Specifically, in this embodiment, after the binding of the image and the hardware is completed, the generated image package will be distributed to the rail transit equipment, and during the distribution, the target rail transit equipment is determined based on the hardware fingerprint information contained in the image package. In addition, the attribute information associated with the hardware fingerprint information will be extracted from the database. Since the attribute information includes the sending method, such as the physical location or network information, etc., when the target rail transit equipment and the sending method corresponding to each image package are all clear, the image package will be sent to the corresponding target rail transit equipment according to the sending method. Since the target rail transit equipment is determined based on the binding information established previously, when the image is distributed, the image package can be accurately distributed to the corresponding rail transit equipment, thereby ensuring the consistency and matching of the image and the hardware.

[0048] The present application generates an image package according to the hardware device fingerprint and the basic image during the image management process, thereby ensuring the association between the image and the specific hardware, so that when the image package is distributed, the image can be accurately distributed based on the established association.

[0049] Embodiment 2

[0050] Figure 2The flowchart of the mirror management method applied to rail transit provided in the second embodiment of the present invention, based on the above embodiment, after sending the mirror package to the target rail transit equipment according to the sending method, also includes: verifying the mirror application through each target rail transit equipment. Figure 2 As shown, the method includes:

[0051] Step S201, obtaining the hardware device fingerprint uploaded by each rail transit device, and registering each hardware device fingerprint.

[0052] Optionally, obtaining the hardware device fingerprint uploaded by each rail transit device includes: sending a hardware device fingerprint acquisition instruction to each rail transit device, wherein each rail transit device combines the collected hardware identifiers to obtain a character string according to the instruction, and sends the hardware device fingerprint generated by hashing the character string to the computer device; receiving the hardware device fingerprint fed back by each rail transit device based on the instruction.

[0053] Optionally, registering the fingerprint of each hardware device includes: registering the fingerprint of each hardware device in a database; obtaining attribute information of each rail transit equipment, wherein the attribute information includes device identification, physical location and network information; associating the attribute information of each rail transit equipment with the corresponding hardware device fingerprint in the database.

[0054] Step S202, creating a basic image of each rail transit software.

[0055] Optionally, creating a basic image for each rail transit software includes: obtaining associated information of each rail transit software, wherein the associated information includes an operating system, an application program, and operating data; packaging the associated information of each rail transit software in a specified format to obtain a basic image, and saving the basic image in an image management system.

[0056] Step S203: Generate an image package according to the registered hardware device fingerprint and the basic image.

[0057] Optionally, an image package is generated by binding the registered hardware device fingerprint with the base image, including: binding the hardware device fingerprint with the corresponding base image to generate an application image; using a private key in the image management system to sign the hardware device fingerprint and the base image in the application image to generate a digital signature; and generating an image package according to each application image and the corresponding digital signature.

[0058] Step S204: determine the target rail transit equipment corresponding to each mirrored packet, and send the mirrored packet to the target rail transit equipment.

[0059] Optionally, determining the target rail transit equipment corresponding to each mirror package and sending the mirror package to the target rail transit equipment includes: determining the hardware fingerprint information contained in each mirror package and the attribute information associated with the hardware fingerprint information in the database; determining the target rail transit equipment according to the hardware fingerprint information, and determining the sending method according to the attribute information; and sending the mirror package to the target rail transit equipment according to the sending method.

[0060] Step S205: Verify the digital signature in the mirror package using the public key through each target rail transit device.

[0061] Among them, in this implementation, when each target rail transit equipment needs to use the image package, the public key distributed by the image management will be used to verify the digital signature in the image package. In the verification process, the digital signature is decrypted by the public key, and the decryption result is compared with the basic image and hardware device fingerprint before encryption with the private key.

[0062] Step S206, determine whether the digital signature verification fails, if so, execute step S207, otherwise, execute step S208.

[0063] Among them, when it is determined that the decryption result is different from the basic image and hardware device fingerprint before the private key encryption, it is determined that the verification has failed, indicating that the content in the image package has been modified and refused to be used. At this time, step S207 is executed. When the two are the same, it is determined that the verification is successful, indicating that the content in the image package has not been modified. At this time, step S208 is executed.

[0064] Step S207, receiving the instruction of refusing to load the image fed back by the target rail transit equipment.

[0065] Among them, when it is determined that the digital signature verification fails, since it indicates that the content in the image package has been modified, the image package in the current target rail transit equipment is invalid. At this time, the target rail transit equipment will generate an instruction to refuse to load the image, and will also feedback the generated refusal to load instruction to the central server. When the central server receives the instruction, it indicates that the target transportation equipment has failed to load the image. At this time, the matched image package will be re-sent to the target transportation equipment.

[0066] Step S208: verifying the hardware device fingerprint through each target rail transit device.

[0067] Specifically, in this embodiment, each target rail transit device will re-acquire its current latest hardware device fingerprint in the previous manner, and compare the latest acquired hardware device fingerprint with the hardware device fingerprint extracted from the mirror package for consistency to verify the hardware device fingerprint in the mirror package.

[0068] Step S209, determining whether the hardware device fingerprint is successfully verified, if so, executing step S210, otherwise, executing step S207.

[0069] When the newly acquired hardware device fingerprint is consistent with the hardware device fingerprint extracted from the image package, it is determined that the hardware device fingerprint verification is successful, and step S210 is executed. When the two are inconsistent, it is determined that the hardware device fingerprint verification fails, and step S207 is executed. In this embodiment, the hardware device fingerprint is verified to ensure the accuracy of image distribution.

[0070] It should be noted that when it is determined that the hardware device fingerprint verification fails, it means that the image package received by the current target rail transit device is not adapted to itself, so it can be determined that the image package distribution error, in this case the target rail transit device will also generate a refusal to load the image instruction, and will also feedback the generated refusal to load instruction to the central server, and when the central server receives the instruction, it means that the target transportation device has failed to load the image, at this time, it will resend the matching image package to the target rail transit device. Therefore, in the case of digital signature verification failure and hardware device fingerprint verification failure, the central server will resend the image package to the target rail transit device.

[0071] Step S210, determine to load the image package.

[0072] This application generates an image package based on the hardware device fingerprint and the basic image during the image management process, thereby ensuring the association between the image and the specific hardware, so that when the image package is distributed, the image can be accurately distributed based on the established association. And the image application is verified through each target rail transit equipment, thereby ensuring that the image is not modified during the process of image distribution and loading and use on the physical machine, and the accuracy of image distribution.

[0073] Embodiment 3

[0074] Figure 3 This is a schematic diagram of the structure of a mirror management device for rail transit provided in the third embodiment of the present invention. Figure 3 As shown, the apparatus includes: a hardware device fingerprint registration module 310 , a basic image creation module 320 , an image package generation module 330 and an image distribution module 340 .

[0075] The hardware device fingerprint registration module 310 is used to obtain the hardware device fingerprint uploaded by each rail transit device and register each hardware device fingerprint;

[0076] A basic image creation module 320 is used to create a basic image of each rail transit software;

[0077] The image package generation module 330 is used to generate an image package by binding the registered hardware device fingerprint with the basic image;

[0078] The mirror distribution module 340 is used to determine the target rail transit equipment corresponding to each mirror package and send the mirror package to the target rail transit equipment.

[0079] Optionally, the hardware device fingerprint registration module includes a hardware device fingerprint acquisition unit, which is used to send a hardware device fingerprint acquisition instruction to each rail transit device, wherein each rail transit device combines the collected hardware identifiers to obtain a character string according to the instruction, and sends the hardware device fingerprint generated by performing hash calculation on the character string to the computer device;

[0080] Receive hardware device fingerprints fed back by each rail transit device based on instructions.

[0081] Optionally, the hardware device fingerprint registration module includes a hardware device fingerprint registration unit, which is used to register each hardware device fingerprint in a database;

[0082] Obtaining attribute information of each rail transit equipment, wherein the attribute information includes equipment identification, physical location and network information;

[0083] The attribute information of each rail transit equipment is associated with the corresponding hardware device fingerprint in the database.

[0084] Optionally, a basic image creation module is used to obtain associated information of each rail transit software, wherein the associated information includes an operating system, an application program, and operating data;

[0085] The associated information of each rail transit software is packaged in a specified format to obtain a basic image, and the basic image is saved in the image management system.

[0086] Optionally, an image package generation module is used to bind the hardware device fingerprint with the corresponding basic image to generate an application image;

[0087] In the image management system, a private key is used to sign the hardware device fingerprint and the base image in the application image to generate a digital signature;

[0088] Generate an image package based on each application image and the corresponding digital signature.

[0089] Optionally, an image distribution module is used to determine the hardware fingerprint information contained in each image package, and the attribute information associated with the hardware fingerprint information in the database;

[0090] Determine the target rail transit equipment based on the hardware fingerprint information, and determine the sending method based on the attribute information;

[0091] Send the mirror package to the target rail transit equipment according to the sending method.

[0092] Optionally, the device further includes an image application verification module, which is used to verify the digital signature in the image package using a public key through each target rail transit device, and determine whether the digital signature verification fails. If so, receive a rejection instruction to load the image fed back by the target rail transit device;

[0093] Otherwise, the hardware device fingerprint is verified by each target rail transit device to determine whether the hardware device fingerprint is successfully verified. If so, the image package is loaded. Otherwise, the image loading refusal instruction fed back by the target rail transit device is received.

[0094] An image management device applied to rail transit provided by an embodiment of the present invention can execute an image management method applied to rail transit provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0095] Embodiment 4

[0096] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0097] The components shown herein, their connections and relationships, and their functions, are intended to be exemplary only, and are not intended to limit implementations of the inventions described and / or claimed herein.

[0098] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0099] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0100] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the mirror management method applied to rail transit.

[0101] In some embodiments, the image management method applied to rail transit can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the image management method applied to rail transit described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the image management method applied to rail transit in any other appropriate manner (for example, by means of firmware).

[0102] Various implementations of the devices and techniques described above herein can be implemented in digital electronic circuit devices, integrated circuit devices, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), devices on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable device including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage device, at least one input device, and at least one output device, and transmit data and instructions to the storage device, the at least one input device, and the at least one output device.

[0103] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other storage device for image management of rail transit, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by an instruction execution device, device or equipment or used in combination with an instruction execution device, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor devices, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0105] To provide interaction with a user, the apparatus and techniques described herein may be implemented on a device having: a display device (e.g., a touch screen) for displaying information to a user; and keys through which a user may provide input to the device. Other types of apparatus may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0106] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0107] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A mirror management method applied to rail transit, characterized in that: Applicable to computer equipment, including: Obtaining hardware device fingerprints uploaded by each rail transit device, and registering each hardware device fingerprint; Create basic images for various rail transit software; Generate an image package according to the registered hardware device fingerprint and the basic image; The target rail transit equipment corresponding to each mirrored packet is determined, and the mirrored packet is sent to the target rail transit equipment.

2. The method according to claim 1, characterized in that The obtaining of hardware device fingerprints uploaded by each rail transit device includes: Sending a hardware device fingerprint acquisition instruction to each rail transit device, wherein each rail transit device combines the collected hardware identifiers to obtain a character string according to the instruction, and sends the hardware device fingerprint generated by performing hash calculation on the character string to the computer device; Receive the hardware device fingerprint fed back by each rail transit device based on the instruction.

3. The method according to claim 2, characterized in that The registering of fingerprints of each hardware device includes: Registering the fingerprint of each hardware device in a database; Acquire attribute information of each rail transit equipment, wherein the attribute information includes equipment identification, physical location and network information; The attribute information of each rail transit equipment is associated with the corresponding hardware device fingerprint in the database.

4. The method according to claim 3, characterized in that The creation of the basic image of each rail transit software includes: Acquire relevant information of each rail transit software, wherein the relevant information includes operating system, application program and operation data; The associated information of each rail transit software is packaged in a specified format to obtain the basic image, and the basic image is saved in the image management system.

5. The method according to claim 4, characterized in that The step of binding the registered hardware device fingerprint with the basic image to generate an image package includes: Binding the hardware device fingerprint with the corresponding base image to generate an application image; In the image management system, a private key is used to sign the hardware device fingerprint and the basic image in the application image to generate a digital signature; The image package is generated according to each of the application images and the corresponding digital signature.

6. The method according to claim 5, characterized in that The determining of the target rail transit equipment corresponding to each mirrored packet and sending the mirrored packet to the target rail transit equipment includes: Determining the hardware fingerprint information contained in each of the image packages, and the attribute information associated with the hardware fingerprint information in the database; Determine the target rail transit equipment according to the hardware fingerprint information, and determine the sending method according to the attribute information; The mirrored packet is sent to the target rail transit equipment according to the sending method.

7. The method according to claim 6, characterized in that After sending the mirrored packet to the target rail transit equipment according to the sending mode, the method further includes: Verify the digital signature in the image package by using the public key of each target rail transit device to determine whether the digital signature verification fails, and if so, receive a rejection instruction of loading the image fed back by the target rail transit device; Otherwise, the hardware device fingerprint is verified by each target rail transit device to determine whether the hardware device fingerprint is successfully verified. If so, it is determined to load the image package. Otherwise, a rejection instruction to load the image package is received from the target rail transit device.

8. A mirror image management device applied to rail transit, characterized in that: include: The hardware device fingerprint registration module is used to obtain the hardware device fingerprint uploaded by each rail transit device and register the hardware device fingerprint; Basic image creation module, used to create basic images of various rail transit software; An image package generation module, used to generate an image package by binding the registered hardware device fingerprint with the basic image; The mirror distribution module is used to determine the target rail transit equipment corresponding to each mirror package and send the mirror package to the target rail transit equipment.

9. A computer device, characterized in that: The device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer executable instruction storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.