Control Method of USB Key and USB Key Device

By storing the CD image files and the download URL of the management software in the U-Shield, the U-Shield automatically downloads and installs the management software when it is connected to the computer device for the first time, solving the problem of high cost of the existing U-Shield, reducing production costs and improving efficiency.

CN112732276BActive Publication Date: 2025-05-27SHENZHEN EXCELSECU DATA TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202010970242.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-15
Publication Date
2025-05-27
Estimated Expiration
2040-09-15

AI Technical Summary

Technical Problem

The existing U-shield needs a large storage space to store management software when it is connected to a computer device for the first time, resulting in higher costs.

Method used

By storing the download URL of the CD image file and management software in the U-Shield, the computer device automatically runs the program through the CD image file at startup, establishes a network connection and downloads and installs the management software.

Benefits of technology

Saves space for storing management software in U-Shield, reduces U-Shield's production costs, and improves production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112732276B_ABST
    Figure CN112732276B_ABST
Patent Text Reader

Abstract

The present application provides a U-shield control method and a U-shield device, which relate to the field of information security. The U-shield is connected to a computer device, which is connected to a server, and the U-shield stores a disc image file; the method comprises: the computer device sends a read request to the U-shield; after receiving the read request, the U-shield sends the disc image file to the computer device; after receiving the disc image file, the computer device starts a running program according to the disc configuration file; the running program establishes a network connection with the server according to the download website; the running program downloads the management software and installs the management software on the computer device. The method can save storage space by storing the download website of the management software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of information security, and particularly relates to a control method for a USB key and a USB key device. Background Art

[0002] A USB key refers to a device shaped like a USB flash drive, with security performance like a shield, meaning a USB-type shield, so it is named a USB key. Its function is to protect the security of online banking funds when handling online banking services, avoid various risks such as hackers, fake websites, Trojan viruses, etc., ensure the security of customers' online payment funds, and is convenient to use.

[0003] Among them, in order to improve the user experience, when the USB key is first connected to a computer device, management software needs to be automatically installed. In the prior art, the functions of an optical disc are usually integrated into the USB key, and the management software is stored in the optical disc. After the USB key is first connected to a computer device, the USB key, like an optical disc, automatically installs the management software onto the computer device through the running program in the optical disc.

[0004] However, this method requires the USB key to have a large storage space to store the management software, resulting in a high cost of the USB key. Summary of the Invention

[0005] Embodiments of this application provide a control method for a USB key and a USB key device, which can achieve the purpose of reducing the production cost of the USB key by storing the download URL of the management software in the USB key.

[0006] In a first aspect, embodiments of this application provide a control method for a USB key. The USB key is connected to a computer device, and the computer device is connected to a server. The USB key stores an optical disc image file. The method includes: the computer device sends a read request to the USB key; after receiving the read request, the USB key sends the optical disc image file to the computer device; after receiving the optical disc image file, the computer device starts the running program according to the optical disc configuration file; the running program establishes a network connection with the server according to the download URL; the running program downloads the management software and installs the management software on the computer device.

[0007] Embodiments of this application provide a control method for a USB key. By storing the optical disc configuration file and the running program with a preset download URL of the management software in the USB key, when the USB key is used, the running program can be automatically run through the configuration of the optical disc configuration file, so that when the computer device connected to the server starts the running program, it can establish a network connection with the server according to the download URL, download and install the management software. Thus, the space for storing the management software in the USB key is saved, and the cost of the USB key is reduced.

[0008] In combination with the first aspect, in a possible implementation of the first aspect, the USB key also stores USB key characteristic information, and there is a corresponding relationship between the USB key characteristic information and the version of the management software. Among them, the download URLs of the management software preset in the running program include the download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys; after the USB key receives a read request sent by the computer device, the optical disc image file sent to the computer device includes: after the USB key receives a read request sent by the computer device, it sends the USB key characteristic information to the computer device as part of the optical disc image file. In this implementation, by only storing a general optical disc image file and the USB key characteristic information corresponding to the version of the management software in the USB key, the optical disc image file is modified using the USB key characteristic information.

[0009] In combination with the first aspect, in a possible implementation of the first aspect, the running program establishes a network connection with the server according to the download URL, including: the running program obtains the USB key characteristic information, obtains the download URL of the corresponding version of the management software according to the USB key characteristic information, and establishes a network connection with the server according to the download URL. In this implementation, the USB key characteristic information is part of the optical disc image file, indicating that the optical disc image file has been modified according to the USB key characteristic information. Therefore, the running program can obtain the download URL of the corresponding version of the management software according to the modified optical disc image file and establish a network connection with the server according to the download URL.

[0010] In combination with the first aspect, in a possible implementation of the first aspect, the USB key characteristic information includes preset parameters and the real USB key characteristic value, and there is a one-to-one correspondence between the real USB key characteristic value and the version of the management software; the running program obtains the USB key characteristic information and obtains the corresponding download URL of the management software according to the USB key characteristic information, including: the running program searches for the preset parameters and obtains the real USB key characteristic value; the running program obtains the download URL of the corresponding version of the management software according to the real USB key characteristic value.

[0011] In combination with the first aspect, in a possible implementation of the first aspect, write the preset parameters and the pseudo USB key characteristic value into the optical disc configuration file, and determine the position information of the pseudo USB key characteristic value in the initial optical disc image file according to the preset parameters; send the initial optical disc image file and the position information to the USB key; the USB key replaces the pseudo USB key characteristic value in the initial optical disc image file with the pre-saved real USB key characteristic value according to the position information to obtain the optical disc image file.

[0012] In the second aspect, an embodiment of the present application provides a USB key device. The USB key device is connected to a computer device, and the computer device is connected to a server. The USB key device includes:

[0013] A storage module for storing optical disc image files, where the optical disc image files include an optical disc configuration file and a running program. A download URL of management software is preset in the running program. The management software is used to operate and manage a USB key, and the optical disc configuration file is used to configure the running program to run automatically.

[0014] A receiving module for receiving a reading request sent by a computer device.

[0015] A sending module for sending the optical disc image file to the computer device.

[0016] Combined with the second aspect, in a possible implementation manner of the second aspect, the optical disc configuration file contains USB key characteristic information, and there is a one-to-one correspondence between the USB key characteristic information and the version of the management software. Among them, the download URL of the management software preset in the running program includes the download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys.

[0017] Combined with the second aspect, in a possible implementation manner of the second aspect, the USB key device further includes: a replacement module: for receiving the initial optical disc image file and the position information of the pseudo-USB key characteristic value, and according to the position information, using the pre-saved real USB key characteristic value to replace the pseudo-USB key characteristic value in the initial optical disc image file to obtain the optical disc image file.

[0018] In a third aspect, an embodiment of the present application further provides a control device for a USB key, which is applied to a computer device. The control device includes: a sending module for sending a reading request to the USB key. The reading request is used to instruct the USB key to send the optical disc image file to the computer device.

[0019] A receiving module for receiving the optical disc image file sent by the USB key.

[0020] A processing module for starting the running program according to the optical disc configuration file, so that the running program establishes a network connection with the server according to the download URL, downloads and installs the management software.

[0021] Combined with the third aspect, in a possible implementation manner of the third aspect, the receiving module is further used to receive the optical disc image file containing the USB key characteristic information sent by the USB key. Among them, there is a corresponding relationship between the USB key characteristic information and the version of the management software. The download URL of the management software preset in the running program includes the download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys. The processing module is further used to enable the running program to obtain the USB key characteristic information, and according to the USB key characteristic information, obtain the download URL of the corresponding version of the management software, and establish a network connection with the server according to the download URL.

[0022] Fourth aspect, an embodiment of the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and is characterized in that when the processor executes the computer program, the method in the above third aspect or any possible implementation manner of the third aspect is implemented.

[0023] Fifth aspect, an embodiment of the present application further provides a computer program product, where a computer-readable storage medium stores a computer program, and is characterized in that when the computer program is executed by a processor, the method in the above third aspect or any possible implementation manner of the third aspect is implemented.

[0024] It can be understood that the beneficial effects of the above second aspect to fifth aspect can refer to the relevant descriptions in the above first aspect, and will not be elaborated here. Description of the Drawings

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0026] Figure 1 It is a schematic structural diagram of a USB key provided by an embodiment of the present application;

[0027] Figure 2 It is a schematic structural diagram of another USB key provided by an embodiment of the present application;

[0028] Figure 3 It is a schematic structural diagram of yet another USB key provided by an embodiment of the present application;

[0029] Figure 4 It is a schematic structural diagram of yet another USB key provided by an embodiment of the present application;

[0030] Figure 5 It is a schematic diagram of the manufacturing process of a USB key provided by an embodiment of the present application;

[0031] Figure 6 It is a schematic diagram of the manufacturing process of another USB key provided by an embodiment of the present application;

[0032] Figure 7 It is a schematic diagram of the flow of a control method for a USB key provided by an embodiment of the present application;

[0033] Figure 8 It is a schematic diagram of the flow of another control method for a USB key provided by an embodiment of the present application;

[0034] Figure 9It is a schematic flowchart of another U shield control method provided by an embodiment of the present application;

[0035] Figure 10 It is a schematic structural diagram of a U shield device provided by an embodiment of the present application;

[0036] Figure 11 It is a schematic structural diagram of a U shield control device provided by an embodiment of the present application. Detailed implementation manners

[0037] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0038] In the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; herein, "and / or" is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0039] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, the meaning of "a plurality of" is two or more.

[0040] In daily life, when a user handles online banking business on a computer device, the user first inserts the U shield into the USB port of the computer device, and then the running management software starts to ensure the user's capital security. After use, the user can eject the U shield from the computer device.

[0041] Among them, in order to improve the user experience, when the U shield is first connected to the computer device, it is necessary to automatically install the management software. In the prior art, the function of the optical disc is usually integrated into the U shield, and the management software is stored in the optical disc. This management software is used to manage the user's account information.

[0042] After the U shield is first connected to the computer device, like an optical disc, the U shield automatically installs the stored management software on the computer device through the running program in the optical disc. This method requires the U shield to have a large storage space to store the management software, resulting in a high cost of the U shield.

[0043] In addition, in practical applications, U shields usually come in different types. For example, there are personal online banking U shields, enterprise U shields, etc. Since different types of U shields correspond to different versions of management software, and different versions of management software require different optical disc image files for configuration and operation, if there are numerous versions of U shields, it will also increase the production cost.

[0044] Therefore, the embodiments of the present application provide a control method for a U shield, which does not store management software in the U shield and only saves storage space by storing the download URL of the management software. On this basis, only a general optical disc image file and U shield characteristic information corresponding to different versions of management software are stored in the U shield. The optical disc image file modified by the U shield characteristic information can be linked to the download URL of the required version of management software. Thus, the production cost of the U shield can be reduced, and the production efficiency of the U shield can be improved while reducing the production cost of the U shield.

[0045] The following will be combined with Figure 1 to provide a detailed description of a U shield provided by the embodiments of the present application. As Figure 1 shown, the U shield stores an optical disc image file (Smartcard.iso).

[0046] The optical disc image file includes an optical disc configuration file (autorun.inf) and a running program (Setup.exe). Among them, the download URL of the management software is preset in the running program (Setup.exe). The management software is used to manage the U shield. For example, the management software can manage the account information on the U shield, etc. The optical disc configuration file (autorun.inf) is used to configure the running program to run automatically, so that the running program can establish a network connection with the server according to the download URL and download the management software.

[0047] It should be noted that the so-called optical disc image file is similar to a rar or ZIP compressed package, and a specific series of files can be made into a single file according to a certain format to facilitate users to download and use. Here, the optical disc configuration file and the running program are made into a single file for the convenience of users.

[0048] Optionally, as a possible implementation, as Figure 2 shown, the U shield also stores U shield characteristic information. The U shield characteristic information has a corresponding relationship with the version of the management software.

[0049] At this time, the download URLs of the management software preset in the running program (Setup.exe) include the download URLs of multiple versions of the management software. Different versions of the management software are used to manage different types of USB tokens. For example, version A of the management software is used to manage the account information on the personal version of the USB token, and version B of the management software is used to manage the account information on the enterprise version of the USB token.

[0050] It can be understood that a unified optical disc image file and USB token feature information are stored in all types of USB tokens. Since there is a corresponding relationship between the USB token feature information and the version of the management software, the USB token feature information can be used as a part of the optical disc image file, that is, the optical disc image file can be modified into the optical disc image file of the required version. Furthermore, the running program can obtain the download URL of the corresponding version of the management software according to the USB token feature information, and establish a network connection with the server according to the download URL.

[0051] Here, the management software is not stored in the USB token, and only by storing the download URLs of multiple versions of the management software in the running program can the purpose of saving storage space be achieved, thereby improving the production efficiency of the USB token and reducing the production cost of the USB token.

[0052] Optionally, as a possible implementation, as Figure 3 shown, the USB token feature information includes preset parameters and USB token feature values.

[0053] Among them, the USB token feature information can be an ini-format smart card feature configuration file (Smartcard.ini). The preset parameters are used to represent sections, and a section refers to paragraph information. For example: [Smartcard]SN=000000000. Here, the section is [Smartcard], so the preset parameter is [Smartcard], and the USB token feature value refers to SN=0000000000. The size of the USB token feature value can be set as needed, and this application does not impose special restrictions on this.

[0054] It should be noted that the preset parameters can be set manually, or when a driver program is stored in the USB token, the preset parameters can be read from the USB token through the driver program. Thus, it can be understood that the preset parameters must be unique and are data included in the optical disc image file.

[0055] Optionally, as a possible implementation, as Figure 4 shown, the USB token feature value in the USB token optical disc image file is a pseudo-USB token feature value. At this time, the USB token further includes a real USB token feature value and location information, and the location information is used to represent the location of the pseudo-USB token feature value in the optical disc image file.

[0056] It can be understood that if the first piece of data in the optical disc image file is used as the starting point, the size of the position information is the difference between the number of bits of the pseudo-U shield eigenvalue in the optical disc image file relative to the starting point. Thus, it indicates the position of the pseudo-U shield eigenvalue in the optical disc image file.

[0057] An embodiment of the present application provides a U shield. The management software is not stored in the U shield, and only by the download URL of the management software, the purpose of saving storage space is achieved. On this basis, only a general optical disc image file and U shield characteristic information corresponding to different versions of the management software are stored in the U shield. The optical disc image file is modified using the U shield characteristic information, so that the computer device can be linked to the download URL of the required version of the management software according to the modified optical disc image file. Thus, the production cost of the U shield can be reduced.

[0058] As described above in conjunction with Figures 1 to 4 The U shield of the embodiment of the present application has been described in detail. Next, in conjunction with Figures 5 to 6 The manufacturing method of the U shield of the embodiment of the present application will be described in detail.

[0059] S11. Make an optical disc configuration file (autorun.inf) and a running program (Setup.exe).

[0060] Among them, the download URL of the management software is preset in the running program. The optical disc configuration file is used to configure the running program to run automatically, so that when the computer device connected to the server starts the running program, it can establish a network connection with the server according to the download URL and download and install the management software.

[0061] S12. Generate an optical disc image file (Smartcard.iso) using the optical disc configuration file (autorun.inf) and the running program (Setup.exe).

[0062] S13. Import the optical disc image file into the U shield.

[0063] Among them, the optical disc image file can be sent to the U shield through the USB channel.

[0064] An embodiment of the present application provides a manufacturing method of a U shield. By storing the optical disc configuration file and the running program with the download URL of the management software preset in the U shield, when the U shield is used, the running program can be configured to run automatically through the optical disc configuration file, so that when the computer device connected to the server starts the running program, it can establish a network connection with the server according to the download URL and download and install the management software. Thus, the space for storing the management software in the U shield is saved, and the cost of the U shield is reduced.

[0065] An embodiment of the present application also provides a method for manufacturing a USB key, which can be used to manufacture the USB keys shown in the above Figure 2 , Figure 3 and Figure 4 . Figure 6 FIG. shows a schematic flow chart of a method for manufacturing a USB key provided by an embodiment of the present application. As shown in Figure 6 , the manufacturing method includes the following S21 to S24.

[0066] S21. Manufacture a disc configuration file (autorun.inf) and a running program (setup.exe).

[0067] Among them, multiple download URLs of management software of different versions are preset in the running program, and the management software of different versions is used to manage different types of USB keys.

[0068] S22. Generate an initial disc image file (Smartcard.iso) by using the disc configuration file (autorun.inf) and the running program (Setup.exe).

[0069] S23. Set preset parameters and pseudo-USB key characteristic values, and determine the position information of the pseudo-USB key characteristics in the initial disc image file according to the preset parameters.

[0070] S24. Import the initial disc image file and the position information into the USB key.

[0071] Among them, the disc image file and the position information can be sent to the USB key through a USB channel.

[0072] Optionally, after the above S24, the method further includes:

[0073] S25. The USB key replaces the pseudo-USB key characteristic value in the initial disc image file with the real USB key characteristic value saved in advance according to the preset parameters and the position information to obtain a disc image file.

[0074] Optionally, after the above S23, the method further includes:

[0075] S26. Search for the initial disc image file according to the preset parameters and the position information, modify the initial disc image file by using the real USB key characteristic value, and import the modified disc image file into the USB key.

[0076] Among them, the modified disc image file can be sent to the USB key through a USB channel.

[0077] It should be noted that since the modification has been made by using the real USB key characteristic value, at this time, the real USB key characteristic value can be imported into the USB key at the same time, or it can also be deleted and not retained.

[0078] Exemplarily, the preset parameter included in the U shield characteristic information is: [SmartCard], and the U shield characteristic value is SN = 0000000000.

[0079] If there are originally 1000 bytes in the initial optical disc image file, when searching for the pseudo U shield characteristic value in the initial optical disc image file starting from the 1st byte, the position information corresponding to the pseudo U shield characteristic value is obtained as 100 bytes. That is to say, the 101st byte is the 1st byte of the pseudo U shield characteristic value.

[0080] In addition, a real U shield characteristic value is also set, and the numerical length of the real U shield characteristic value is the same as that of the pseudo U shield characteristic value. For example, the real U shield characteristic value is set to 0000000001 to represent the personal version, 0000000010 to represent the enterprise version, etc.

[0081] Based on this, the data starting from the 101st byte of the initial optical disc image file and having the same length as 0000000000 will be replaced with 0000000001. At this time, the replaced optical disc image file will correspond to the personal version; or it will be replaced with 0000000010. At this time, the replaced optical disc image file will correspond to the enterprise version.

[0082] The embodiment of the present application provides a method for manufacturing a U shield. The management software is not stored in the U shield, and only the download URL of the management software is used to achieve the purpose of saving storage space. On this basis, only a general optical disc image file and the U shield characteristic information corresponding to different versions of the management software are stored in the U shield, and the optical disc image file is modified by using the U shield characteristic information, so that the management software can be downloaded by connecting to the download URL of the required version of the management software. Thus, the production cost of the U shield can be reduced.

[0083] The above combination Figures 5 to 6 has made a detailed description of the method for manufacturing the U shield in the embodiment of the present application. Next, in combination with Figures 7 to 9 a detailed description of the control method of the U shield in the embodiment of the present application will be given.

[0084] The embodiment of the present application also provides a control method for a U shield, and this control method is the control method corresponding to the U shield shown in the above Figure 1 Here, the U shield has been connected to the computer device, and the computer is connected to the server. Figure 7 The flowchart of a control method for a U shield provided by the embodiment of the present application is shown. As Figure 7 shown, this control method includes the following S110 to S150.

[0085] S110. The computer device sends a read request to the U shield.

[0086] After the U shield receives the reading request sent by the computer device, it sends the optical disc image file to the computer device.

[0087] Among them, the optical disc image file includes an optical disc configuration file and a running program; the running program is preset with a download website of the management software, and the management software is used to manage the U shield.

[0088] S130. After the computer device receives the optical disc image file sent by the U shield, it starts the running program according to the optical disc image file.

[0089] S140. The running program establishes a network connection with the server according to the download website.

[0090] S150. The running program downloads the management software and installs the management software on the computer device.

[0091] The embodiment of the present application provides a control method for a U shield. After the U shield is connected to the computer device and receives the reading request, the U shield sends the optical disc image file to the computer device. Thus, after the computer device receives the optical disc image file, the optical disc configuration file can configure the running program to run automatically, so that the running program establishes a network connection with the server according to the download website, downloads and installs the management software. Thus, without affecting the normal use of the U shield, the space for storing the management software in the U shield is saved, and the cost of the U shield is reduced.

[0092] The embodiment of the present application also provides a control method for a U shield, and this control method is the control method corresponding to the U shield shown in the above Figure 2 and Figure 3 Here, the U shield has been connected to the computer device, and the computer is connected to the server. Figure 8 The flow diagram showing a control method for a U shield provided by the embodiment of the present application is as Figure 8 shown, and this control method includes the following S210 to S250.

[0093] S210. The computer device sends a reading request to the U shield.

[0094] S220. When the optical disc image file and the U shield characteristic information are stored in the U shield, after the U shield receives the reading request sent by the U shield, it uses the real U shield characteristic value to replace the pseudo U shield characteristic value in the initial optical disc image file, and the U shield sends the replaced optical disc image file to the computer device, or when the U shield has been replaced, it directly sends the replaced optical disc image file to the computer device.

[0095] Optionally, as a possible implementation manner, when the U shield further includes a pseudo U shield characteristic value and location information, the above S220 includes:

[0096] The USB key replaces the fake USB key eigenvalue in the initial optical disc image file with the real USB key eigenvalue according to the preset parameters and location information, and sends the replaced optical disc image file to the computer device.

[0097] S230. The computer device receives the replaced optical disc image file sent by the USB key and starts the running program according to the modified optical disc configuration file.

[0098] S240. The running program establishes a network connection with the server according to the download website.

[0099] S250. The running program downloads the management software and installs the management software on the computer device.

[0100] The embodiment of the present application provides a control method for a USB key. After the USB key is connected to the computer device and receives a read request, the USB key modifies the optical disc image file according to the USB key characteristic information, and then sends the modified optical disc image file to the computer device. Or, the USB key has already modified the optical disc image file according to the USB key characteristic information and directly sends the modified optical disc image file to the computer device. Thus, after the computer device receives the modified optical disc image file, the running program establishes a network connection with the server according to the download website, downloads and installs the management software. Thus, by storing a unified optical disc image file and modifying the version as needed, the production cost of the USB key can be reduced.

[0101] In addition, without affecting the normal use of the USB key, the space for storing the management software in the USB key is saved, and the cost of the USB key is reduced.

[0102] The embodiment of the present application also provides a control method for a USB key, and this control method is the control method corresponding to the USB key shown above Figure 4 Here, the USB key has been connected to the computer device, and the optical disc image file in the USB key has been modified. Figure 9 The flow diagram showing the control method for a USB key provided by the embodiment of the present application is as Figure 9 shown, and this control method includes the following S310 to S350.

[0103] S310. The computer device sends a read request to the USB key.

[0104] S320. After receiving the read request, the USB key sends the optical disc image file and the USB key characteristic information to the computer device.

[0105] S330. After receiving the optical disc image file and the USB key characteristic information sent by the USB key, the computer device modifies the initial optical disc image file according to the USB key characteristic information.

[0106] S340. The computer device starts and runs a program according to the optical disc configuration file in the modified optical disc image file.

[0107] S350. The running program obtains the U shield feature information, obtains the download URL of the management software corresponding to the U shield feature information, and establishes a network connection with the server according to the download URL.

[0108] Optionally, as a possible implementation manner, the above S350 includes:

[0109] The running program searches for preset parameters and obtains the real U shield feature value;

[0110] The running program obtains the download URL of the management software corresponding to the real U shield feature value.

[0111] S360. The running program downloads the management software and installs the management software on the computer device.

[0112] The embodiment of the present application provides a control method for a U shield. After the U shield is connected to the computer device and receives a read request and sends an optical disc image file and U shield feature information to the computer, the computer device modifies the optical disc image file according to the U shield feature information. Thus, according to the modified optical disc image file, the running program can establish a network connection with the server according to the download URL, download and install the management software. Thus, by storing a unified optical disc image file, the computer device can modify the version as needed, thereby reducing the production cost of the U shield.

[0113] In addition, without affecting the normal use of the U shield, the space for storing the management software in the U shield is saved, and the cost of the U shield is reduced.

[0114] It should be understood that the above is only to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the embodiments of the present application. Those skilled in the art can obviously make various equivalent modifications or changes according to the above examples given.

[0115] It should be understood that in various embodiments of the present application, the first, the second, etc. are only used to indicate that multiple objects are different. For example, the first preset parameter and the second preset parameter are only used to indicate different parameters. It should not have any impact on the parameters themselves and the quantity, etc. The above first, second, etc. should not impose any limitations on the embodiments of the present application.

[0116] It should also be understood that the manners, situations, categories, and the division of embodiments in the embodiments of the present application are only for the convenience of description and should not constitute special limitations. The features in various manners, categories, situations, and embodiments can be combined without conflict.

[0117] It should also be understood that the various numerical numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0118] It should also be understood that the above description of the embodiments of the present application focuses on emphasizing the differences between the embodiments. The same or similar parts not mentioned can be referred to each other. For the sake of brevity, they will not be elaborated here.

[0119] It should also be understood that in the embodiments of the present application, "pre - definition" can be implemented by pre - saving corresponding codes, tables or other ways that can be used to indicate relevant information in a device (for example, including a USB key and a computer device). The present application does not limit its specific implementation manner.

[0120] The above Figures 7 to 9 has made a detailed description of the control method of the USB key in the embodiments of the present application. Next, Figures 10 to 11 a detailed description of the control device of the USB key in the embodiments of the present application will be given.

[0121] The embodiments of the present application also provide a USB key device. This device can be a USB key, or the USB key can include this device. The USB key is connected to a computer device, and the computer device is connected to a server. As Figure 10 shown, the USB key device includes: a storage device 100, a receiving module 110, a sending module 120, and a replacement module 130.

[0122] The storage module 100 is used to store an optical disc image file. Among them, the optical disc image file includes an optical disc configuration file and a running program. The running program presets the download website of the management software, and the management software is used to operate and manage the USB key. The optical disc configuration file is used to configure the running program to run automatically;

[0123] The receiving module 110 is used to receive a reading request sent by the computer device. The reading request is used to instruct the USB key to send the optical disc image file to the computer device.

[0124] The sending module 120 is used to send the optical disc image file to the computer device.

[0125] Optionally, the optical disc configuration file contains USB key characteristic information, and there is a one - to - one correspondence between the USB key characteristic information and the version of the management software. Among them, the download website of the management software preset in the running program includes the download websites of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys.

[0126] Optionally, the USB key device further includes: a replacement module 130, configured to receive an initial optical disc image file and position information of the pseudo-USB key feature value, and according to the position information, use a pre-stored real USB key feature value to replace the pseudo-USB key feature value in the initial optical disc image file to obtain an optical disc image file.

[0127] An embodiment of the present application further provides a control device for a USB key. The device can be a computer device, or the computer device can include the device. As Figure 11 shown, the control device includes: a receiving module 210, a sending module 220, and a processing module 230.

[0128] The sending module 220 is configured to send a read request to the USB key. The read request is used to instruct the USB key to send an optical disc image file to the computer device.

[0129] The receiving module 210 is configured to receive the optical disc image file sent by the USB key.

[0130] The processing module 230 is configured to start a running program according to the optical disc configuration file, and enable the running program to establish a network connection with the server according to the download URL, and download and install the management software.

[0131] An embodiment of the present application provides a control device for a USB key. The device includes a sending module and a receiving module. The sending module sends a read request to the USB key, and the receiving module receives the optical disc image file sent by the USB key; then, the processing module enables the optical disc configuration file in the optical disc image file to start the running program, and enables the running program to establish a network connection with the server according to the download URL, and download and install the management software, so as to achieve the purpose of saving the storage space of the USB key and reducing costs.

[0132] Optionally, the receiving module 210 is further configured to receive an optical disc image file containing USB key feature information sent by the USB key.

[0133] Wherein, the USB key feature information has a corresponding relationship with the version of the management software. The download URLs of the management software preset in the running program include the download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys.

[0134] The processing module 230 is further configured to enable the running program to obtain the USB key feature information, and obtain the download URL of the corresponding version of the management software according to the USB key feature information, and establish a network connection with the server according to the download URL.

[0135] An embodiment of the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the method described above is implemented.

[0136] The embodiments of the present application also provide a computer program product. A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0137] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program includes a method for controlling the above-mentioned USB key. The readable medium may be a Read-Only Memory (ROM) or a Random Access Memory (RAM), and the embodiments of the present application do not limit this.

[0138] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A control method for a USB key, characterized in that, the USB key is connected to a computer device, the computer device is connected to a server, and the USB key stores an optical disc image file; the method includes: the computer device sends a read request to the USB key; after receiving the read request, the USB key sends the optical disc image file to the computer device; wherein, the optical disc image file includes an optical disc configuration file and a running program, a download URL of management software is preset in the running program, the management software is used to operate and manage the USB key, and the optical disc configuration file is used to configure the running program to run automatically; after receiving the optical disc image file, the computer device starts the running program according to the optical disc configuration file; the running program establishes a network connection with the server according to the download URL; the running program downloads the management software and installs the management software on the computer device; the USB key also stores USB key characteristic information, the USB key characteristic information is an intelligent card characteristic configuration file in ini format, and the USB key characteristic information has a one-to-one correspondence with the version of the management software. Among them, the download URL of the management software preset in the running program includes download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of USB keys; after receiving the read request sent by the computer device, the USB key sending the optical disc image file to the computer device includes: after receiving the read request sent by the computer device, the USB key sends the USB key characteristic information as a part of the optical disc image file to the computer device; wherein, before the computer device sends a read request to the USB key, it also includes: writing preset parameters and a pseudo-USB key characteristic value into the optical disc configuration file, and determining the position information of the pseudo-USB key characteristic value in the initial optical disc image file according to the preset parameters; sending the initial optical disc image file and the position information to the USB key; the USB key replaces the pseudo-USB key characteristic value in the initial optical disc image file with a pre-stored real USB key characteristic value according to the position information to obtain the optical disc image file.

2. The control method for a USB key according to claim 1, characterized in that, the running program establishing a network connection with the server according to the download URL includes: the running program obtains the USB key characteristic information, obtains the download URL of the corresponding version of the management software according to the USB key characteristic information, and establishes a network connection with the server according to the download URL.

3. The control method for a USB key according to claim 2, characterized in that, the USB key characteristic information includes preset parameters and a real USB key characteristic value, and the real USB key characteristic value has a one-to-one correspondence with the version of the management software; the running program obtaining the USB key characteristic information and obtaining the corresponding download URL of the management software according to the USB key characteristic information includes: the running program searches for the preset parameters and obtains the real USB key characteristic value; The running program obtains the download URL of the management software corresponding to the version according to the true U shield eigenvalue.

4. A U shield device for executing the control method of the U shield according to any one of claims 1-3, characterized in that, it includes: a storage module for storing an optical disc image file, wherein the optical disc image file includes an optical disc configuration file and a running program, the running program is preset with a download URL of the management software, the management software is used to operate and manage the U shield, and the optical disc configuration file is used to configure the running program to run automatically; a receiving module for receiving a reading request sent by a computer device; a sending module for sending the optical disc image file to the computer device.

5. The U shield device according to claim 4, characterized in that, the optical disc configuration file contains U shield characteristic information, and the U shield characteristic information has a one-to-one correspondence with the version of the management software. Among them, the download URL of the management software preset in the running program includes the download URLs of multiple versions of the management software, and different versions of the management software are used to manage different types of U shields.

6. The U shield device according to claim 4, characterized in that, the U shield device further includes: a replacement module: for receiving the initial optical disc image file and the position information of the pseudo U shield eigenvalue, and according to the position information, using the pre-saved true U shield eigenvalue to replace the pseudo U shield eigenvalue in the initial optical disc image file to obtain the optical disc image file.

Citation Information

Patent Citations

  • Secure online banking method based on USB (universal serial bus) shield

    CN103400070A

  • Method, device and equipment for acquiring download file

    CN103440281A

  • Method for automatically upgrading BIOS according to different client versions

    CN104468189A

  • Installation method of device drive program

    CN1383063A