File downloading method and device, electronic equipment and storage medium

By determining whether the stored file parameters contain information about the file to be burned before downloading the file, the download method is determined, which solves the problem of low burning count limit, achieves strict control over repeated downloads, prevents users from repeatedly obtaining burning counts, and protects the rights and interests of burning file providers.

CN114691184BActive Publication Date: 2026-06-26SHENZHEN QIANHAI XIAOKE IMAGING TECH DESIGN CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN QIANHAI XIAOKE IMAGING TECH DESIGN CO LTD
Filing Date
2022-03-29
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

In existing technologies, setting a burning limit in the burning file results in a weak burning limit, allowing users to obtain more burning attempts by re-downloading the file, thus harming the rights of the burning file provider.

Method used

Before downloading the file, the target download method is determined by checking whether the stored file parameters associated with the host computer contain the file parameter information corresponding to the file to be burned. If download is allowed, the file to be burned is obtained and burned; otherwise, download is prohibited.

Benefits of technology

The limitation on the number of times files can be burned has been strengthened to prevent users from obtaining more burning opportunities by re-downloading files, thus protecting the rights of burning file providers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691184B_ABST
    Figure CN114691184B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a file downloading method and device, electronic equipment and storage medium. The method comprises: when receiving a file downloading request corresponding to a to-be-burned file, determining file parameter information in the file downloading request; determining a target downloading mode based on the file parameter information and stored file parameters associated with the host computer; if the target downloading mode is allowed to download, obtaining the to-be-burned file corresponding to the file downloading request, so as to burn based on the to-be-burned file. The problem that the number of burning times is limited and the strength of the limitation is low in the prior art by setting the number of burning limitation times in the burning file is solved, the strength of the limitation of the number of file burning times is improved, and the effect of avoiding repeated downloading of the file by the user for burning is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to computer processing technology, and more particularly to a file download method, apparatus, electronic device, and storage medium. Background Technology

[0002] A programmer is a tool for writing data to programmable integrated circuits. It can be used to program data onto chips such as microcontrollers, programmable logic devices, and memory to upgrade the chips. The basic setup for programming chips using a programmer includes: a host computer, a programmer, and a programming file. During operation, the programmer is connected to the host computer, which reads the programming file and downloads it to the programmer. The programmer's driver software then programs the file into the chip's program memory, enabling the chip to function. However, customers need to obtain the programming file from the developer beforehand. Furthermore, to protect their intellectual property rights, developers often limit the number of times the file can be programmed to prevent unlimited programming by customers and potential damage to their rights.

[0003] In existing technologies, the method for limiting the number of times a programming file can be burned typically involves pre-setting a burning limit in software. When a customer burns data onto a chip based on the programming file, the burning process stops if the actual number of burning attempts reaches the limit. However, if the user downloads the programming file again, they will regain a certain number of burning attempts, thus failing to effectively limit the number of burning attempts and seriously harming the rights of the programming file provider. Summary of the Invention

[0004] This invention provides a file download method, apparatus, electronic device, and storage medium to enhance the strength of the limit on the number of times a file can be burned, thereby preventing users from repeatedly downloading and burning files.

[0005] In a first aspect, embodiments of the present invention provide a file download method, the method comprising:

[0006] When a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined; wherein, the file parameter information includes the target programmer identifier and the target file identifier;

[0007] Based on the file parameter information and the stored file parameters associated with the host computer, the target download method is determined;

[0008] If the target download method is allowed, then obtain the file to be burned corresponding to the file download request, so that burning can be performed based on the file to be burned.

[0009] Secondly, embodiments of the present invention also provide a file downloading device, the device comprising:

[0010] The file parameter information determination module is used to determine the file parameter information in the file download request when a file download request corresponding to the file to be burned is received; wherein, the file parameter information includes the target programmer identifier and the target file identifier;

[0011] The target download method determination module is used to determine the target download method based on the file parameter information and the stored file parameters associated with the host computer.

[0012] The file to be burned module is used to obtain the file to be burned corresponding to the file download request if the target download method is allowed to download, so as to perform burning based on the file to be burned.

[0013] Thirdly, embodiments of the present invention also provide an electronic device, the device comprising:

[0014] One or more processors;

[0015] Storage device for storing one or more programs.

[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the file download method as described in any of the embodiments of the present invention.

[0017] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the file download method as described in any of the embodiments of the present invention.

[0018] The technical solution of this invention, when a file download request corresponding to a file to be burned is received, determines the file parameter information in the file download request. Based on the file parameter information and the stored file parameters associated with the host computer, the target download method is determined. If the target download method allows downloading, the file to be burned corresponding to the file download request is obtained, so that burning can be performed based on the file to be burned. This solves the problem in the prior art where setting a burning limit on the number of burning attempts in the burning file results in low burning attempt limit strength. By determining whether the target download method is allowed by checking whether the stored file parameters associated with the host computer contain the file parameter information corresponding to the file to be burned before downloading the file, the download operation continues only if it is allowed. This strictly controls repeated downloading of the file to be burned, preventing users from obtaining burning attempts again by re-downloading the file to be burned, thus improving the strength of the file burning attempt limit and achieving the technical effect of preventing users from repeatedly downloading files to obtain burning attempts. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of exemplary embodiments of the present invention, the accompanying drawings used in describing the embodiments are briefly introduced below. Obviously, the accompanying drawings described are only a portion of the drawings of the embodiments to be described in this invention, and not all of the drawings. For those skilled in the art, other drawings can be obtained from these drawings without any creative effort.

[0020] Figure 1 This is a flowchart of a file download method provided in Embodiment 1 of the present invention;

[0021] Figure 2 This is a structural block diagram of a file download device provided in Embodiment 3 of the present invention;

[0022] Figure 3 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation

[0023] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0024] Example 1

[0025] Figure 1This is a flowchart of a file download method provided in Embodiment 1 of the present invention. This embodiment is applicable to downloading and burning files. The method can be executed by the file download device in this embodiment, which can be implemented in software and / or hardware, optionally through an electronic device, such as a mobile terminal, PC, or server. The device can be configured in a computing device. The file download method provided in this embodiment specifically includes the following steps:

[0026] S110. When a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined.

[0027] The file to be programmed can be understood as the file to be downloaded and programmed. The programming file can be a Hex file, Bin file, or other file containing program code. In practical applications, programming files can be used to program data onto chips such as microcontrollers, programmable logic devices, and memory to upgrade or enable the chips. The file parameter information includes the target programmer identifier and the target file identifier. The target programmer identifier is the unique identifier of the programmer, and the target file identifier is the unique identifier of the programming file. Optionally, the file parameter information may also include the file name, file creation date, host computer identifier, and programming restriction information, etc. The programming restriction information may include the maximum number of programming attempts.

[0028] It's important to note that file burning requires both programmer software and programmer hardware. The programmer software sends the burning file to the programmer hardware; for example, the programmer software can be a host computer. The programmer hardware stores the burning file and burns the data from the file into the chip; for example, the programmer hardware can be a programmer. Before burning the file, communication can be established between the programmer and the user terminal via network / USB (Universal Serial Bus), or between the programmer and the host computer. This allows the host computer to open the burning file and download it to the programmer.

[0029] In practical applications, after the user terminal receives the programming file from the developer terminal, it cannot yet program the file; it needs to be downloaded to the programmer. A download request is considered received when the user clicks the download control corresponding to the file to be programmed using an input device. Furthermore, file parameter information such as the programmer identifier and file identifier corresponding to the file to be programmed, carried in the download request, can be obtained to determine whether the file to be programmed has already been downloaded based on these file parameter information.

[0030] It should be noted that when a file download request corresponding to the file to be burned is received, and the file parameter information in the file download request is determined, the file download request can also be processed, such as parsing the file download request to obtain the file parameter information carried in the file download request.

[0031] Optionally, when a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined, including: receiving the file download request generated by the operation triggered by the file to be burned; parsing and processing the file download request to obtain the file parameter information corresponding to the file to be burned.

[0032] The triggering operations can include click operations, touch operations, swipe operations, and drag operations.

[0033] Specifically, when a user triggers the download control corresponding to the file to be burned using an input device, a file download request is generated. At this point, it can be considered that the system has received the file download request generated by the trigger operation on the file to be burned. Furthermore, the file download request can be parsed to obtain file parameter information such as the file name, file generation date, host computer identifier, programmer identifier, file identifier, and programming restriction information corresponding to the file to be burned.

[0034] It should be noted that when a file download request corresponding to the file to be burned is received, before determining the file parameter information in the file download request, the developer terminal needs to process the file that can be burned. For example, it can pre-obtain file data such as the file name, file generation date, host computer identifier, programmer identifier, file identifier, and programming restriction information corresponding to the file to be burned A. Then, this file data can be bound to the file to be burned A so that when the user terminal parses the file download request corresponding to the file to be burned A, it can obtain the file parameter information corresponding to the file to be burned A.

[0035] Optionally, when a file download request corresponding to the file to be burned is received, before determining the file parameter information in the file download request, the method further includes: processing the file to be processed based on a verification algorithm to obtain the file identifier to be associated with the file to be processed, and obtaining the file association information corresponding to the file to be processed; merging the file identifier to be associated, the file association information, and the file to be processed to obtain the file to be encrypted; and encrypting the file to be encrypted to obtain the file to be burned.

[0036] The verification algorithm may include, but is not limited to, CRC (Cyclic Redundancy Check), Hash, or MD5 (Message-Digest Algorithm). The file to be processed can be understood as the original, unprocessed programming file. The file to be encrypted can be understood as the programming file that needs to be encrypted. File association information includes the file name, file creation date, programming restrictions, and programmer identifier. The programmer identifier can be the programmer serial number.

[0037] In this embodiment, the downloaded programming target file can be processed using a verification algorithm. The downloaded programming target file can be used as a file to be processed, obtaining its corresponding feature value, i.e., the file identifier to be associated. Simultaneously, information such as the file name and generation date can be obtained. The file to be processed, along with the file identifier, file name, generation date, programming restriction information, and programmer serial number (programmer identifier), can be merged into a single data file, serving as the file to be encrypted. An encryption algorithm (corresponding to the decryption algorithm within the host computer and the programmer) can be used to process the file to be encrypted, generating a final encrypted data file, which serves as the file to be burned. The generated file to be burned can then be directly provided to the user, allowing the user to burn programs based on it.

[0038] It should be noted that along with providing the generated file to be burned to the user, a host computer for opening the file will also be provided. Only after the host computer communicates with the programmer can it send the file to be burned to the programmer. To prevent users from repeatedly burning the file by downloading it to different programmers, during the file download process, the programmer identifier associated with the file is compared with the identifier of the programmer communicating with the host computer. If they do not match, downloading to a programmer that does not meet the download requirements is prohibited, thus strengthening the restrictions on file downloads.

[0039] Optionally, when a file download request corresponding to the file to be burned is received, after determining the file parameter information in the file download request, the method further includes: obtaining the programmer identifier to be compared corresponding to the programmer associated with the host computer; if the programmer identifier to be compared is consistent with the target programmer identifier, then obtaining the stored file parameters associated with the host computer.

[0040] Among them, the programmer serial number of the programmer that communicates with the host computer can be used as the programmer identifier to be compared.

[0041] In practical applications, after a user receives the file to be burned, they can open it using the accompanying host computer software. The host computer software communicates with the programmer, and at this point, it can confirm whether the programmer serial number corresponding to the programmer matches the target programmer identifier corresponding to the file to be burned. If so, it means that the programmer is the designated programmer for downloading the file to be burned. The software can then retrieve the file parameters stored in the programmer's memory to determine whether the file to be burned has already been downloaded to the programmer. If so, the user needs to be prevented from downloading.

[0042] S120. Based on the file parameter information and the stored file parameters associated with the host computer, determine the target download method.

[0043] The target download method can be either prohibited or allowed.

[0044] It should be noted that if the file to be programmed is being downloaded to the programmer for the first time, the file parameter information corresponding to the file to be programmed will be stored in the programmer's memory during the download process. Even if the user deletes or removes the file to be programmed from the programmer, the file parameter information will not be deleted from the programmer's memory. If it is not the first time the file to be programmed is being downloaded to the programmer, the programmer's memory will already contain the file parameter information of the file to be programmed.

[0045] Specifically, after obtaining the file parameter information stored in the programmer that communicates with the host computer, it can be determined whether the stored file parameters contain the file parameter information corresponding to the file to be burned. If not, the target download method is to allow download; if so, the target download method is to prohibit download.

[0046] It should be noted that when determining the target download method based on file parameter information and stored file parameters associated with the host computer, the file parameter information can be compared with the stored file parameters to determine whether the stored file parameters contain the file parameter information, and further determine whether the target download method is to prohibit or allow download.

[0047] Optionally, based on file parameter information and stored file parameters associated with the host computer, the target download method is determined, including: obtaining the stored file parameters stored in the programmer communicating with the host computer; if the stored file parameters are consistent with the file parameter information, the target download method is to prohibit download; or, if the stored file parameters are inconsistent with the file parameter information, the target download method is to allow download.

[0048] In practical applications, the file parameter information stored in the programmer communicating with the host computer can be obtained. Then, the file parameter information corresponding to the file to be burned can be compared with the stored file parameters. If the stored file parameters do not include file parameter information, it indicates that this is the first download, and the corresponding download mode is "allowed download." If the stored file parameters include file parameter information, it indicates that this is not the first download, and the corresponding download mode is "disallowed download."

[0049] S130. If the target download method is allowed download, then obtain the file to be burned corresponding to the file download request, so as to burn the file based on the file to be burned.

[0050] In this embodiment, if the target download method is "download allowed", it means that the file download operation can be allowed. At this time, the host computer can be returned with the information that the download is allowed. After receiving the allow signal, the host computer can download the file to the programmer's memory and obtain the file to be burned.

[0051] It should be noted that when the target download method is allowed and the file to be burned corresponding to the file download request is obtained, a download permission message can be generated and sent to the host computer when the target download method is determined to be allowed, so that the host computer can perform the file download operation.

[0052] Optionally, if the target download method is allowed download, then obtain the file to be burned corresponding to the file download request, including: if the target download method is allowed download, generate an allowed download instruction and send the allowed download instruction to the host computer, so that the host computer performs the download operation based on the allowed download instruction and downloads the file to be burned to the programmer that communicates with the host computer, so that the programmer drives the file to be burned for burning.

[0053] In this embodiment, when the target download method is determined to be download-allowed, a download-allowed instruction can be generated and sent to the host computer. The host computer then executes the file download operation based on the download-allowed instruction and sends the file to be programmed to the programmer. The programmer stores the file to be programmed so that it can be used for subsequent programming. For example, file parameters such as file identifier, file name, and file creation date from the file download request can be sent to the programmer. The programmer checks its built-in storage area to see if these file parameters are already stored. If not, a download-allowed instruction is returned to the host computer. Upon receiving the download-allowed instruction, the host computer downloads the file to be programmed to the programmer's memory and simultaneously stores the file identifier, file name, creation date, and programming restriction information in the programmer's memory for comparison during each download, effectively preventing users from repeatedly downloading to obtain programming counts.

[0054] It should be noted that when the target download method is "download prohibited", the file to be burned corresponding to the file download request cannot be obtained. In this case, a "download prohibited" message can be generated and sent to the host computer so that the host computer will terminate the current file download operation, thereby limiting the user from repeatedly downloading the file to be burned and obtaining the burning count.

[0055] Optionally, if the target download method is download prohibited, a download prohibition command is generated and sent to the host computer so that the host computer can stop the download operation based on the download prohibition command.

[0056] In practical applications, when the target download mode is set to "download prohibited," a download prohibition command can be generated and sent to the host computer. This allows the host computer to stop the file download operation based on the download prohibition command. For example, if the programmer's built-in storage area already contains file parameter information for the file to be programmed, a message disallowing further downloading can be returned to the host computer. Upon receiving this disallowed signal, the host computer will terminate the download of the file to the programmer.

[0057] The technical solution of this embodiment, when a file download request corresponding to a file to be burned is received, determines the file parameter information in the file download request, and based on the file parameter information and the stored file parameters associated with the host computer, determines the target download method. If the target download method allows downloading, the file to be burned corresponding to the file download request is obtained, so that burning can be performed based on the file to be burned. This solves the problem in the prior art where setting a burning limit on the number of burning attempts in the burning file results in low burning attempt limit strength. This solution achieves the goal of determining whether the target download method is allowed by judging whether the stored file parameters associated with the host computer contain the file parameter information corresponding to the file to be burned before the file download, and only continuing the download operation if it is allowed. This strictly controls repeated downloading of the file to be burned, prevents users from obtaining burning attempts again by re-downloading the file to be burned, improves the strength of the file burning attempt limit, and achieves the technical effect of protecting the rights and interests of the burning file provider.

[0058] Example 2

[0059] As an optional embodiment of the above embodiments, specific application scenario examples are provided to enable those skilled in the art to further understand the technical solutions of the embodiments of the present invention. Specifically, please refer to the following detailed content.

[0060] For example, a storage area can be allocated in the programmer's memory to store file parameter information such as the file identifier, file name, and file creation date of the file to be programmed when downloading the file to be programmed. For instance, the characteristic value of the downloaded programming file (the file to be processed) can be obtained in advance using verification algorithms such as CRC, Hash, or MD5, i.e., the file identifier to be associated. At the same time, file association information such as the file name and creation date of the file to be processed can be obtained. The file to be processed, along with the file identifier, file name, creation date, programming count limit information, and programmer serial number, can be merged into a single data file, i.e., the file to be encrypted. Furthermore, an encryption algorithm (corresponding to the decryption algorithm inside the host computer and the programmer) can be used to encrypt the file to be encrypted, generating an encrypted final data file, i.e., the file to be programmed. The generated file to be programmed can then be directly provided to the customer. After receiving the file to be programmed and the accompanying host computer software, the customer can establish a communication connection between the customer terminal and the programmer. When opening the file using the host computer software, communication between the software and the programmer is required. At this point, it's necessary to verify that the programmer's serial number matches the serial number of the file to be programmed. If they match, the download operation can proceed. However, before downloading the file via the host computer, it's necessary to check if the corresponding information has already been saved in the memory area. If it has, the file download is terminated; otherwise, it continues. To protect the security of the source data, the file given to the customer must be encrypted into a ciphertext file to prevent the customer from extracting the source data. For example, when a file download request is received, the file identifier, file name, generation date, and other file parameters can be sent to the programmer. The programmer checks its built-in storage area to see if these file parameters have already been stored. If they have, it returns a message to the host computer prohibiting further downloading, and the host computer terminates the download of the file to the programmer. If the file has not been stored, the host computer will be notified to allow downloading. Once the host computer receives the permission signal, it can download the file to be programmed to the programmer's memory, along with the file identifier, file name, generation date, and programming count limit information, for comparison during a single download.

[0061] The technical solution of this embodiment, when a file download request corresponding to a file to be burned is received, determines the file parameter information in the file download request. Based on the file parameter information and the stored file parameters associated with the host computer, it determines the target download method. If the target download method allows downloading, it obtains the file to be burned corresponding to the file download request, so that burning can be performed based on the file to be burned. This solves the problem in the prior art where setting a burning limit on the number of burning attempts in the burning file results in low burning attempt limit strength. By determining whether the target download method is allowed by checking whether the stored file parameters associated with the host computer contain the file parameter information corresponding to the file to be burned before the file download, the technical solution strictly controls repeated downloading of the file to be burned, preventing users from obtaining burning attempts again by re-downloading the file to be burned, thus improving the strength of the file burning attempt limit and achieving the technical effect of preventing users from repeatedly downloading files to obtain burning attempts.

[0062] Example 3

[0063] Figure 2 This is a structural block diagram of a file download device provided in Embodiment 3 of the present invention. The device includes: a file parameter information determination module 210, a target download method determination module 220, and a file to be burned acquisition module 230.

[0064] The file parameter information determination module 210 is used to determine the file parameter information in the file download request when a file download request corresponding to the file to be burned is received; wherein the file parameter information includes a target programmer identifier and a target file identifier; the target download method determination module 220 is used to determine the target download method based on the file parameter information and the stored file parameters associated with the host computer; the file to be burned acquisition module 230 is used to acquire the file to be burned corresponding to the file download request if the target download method is allowed to download, so as to perform burning based on the file to be burned.

[0065] The technical solution of this embodiment, when a file download request corresponding to a file to be burned is received, determines the file parameter information in the file download request. Based on the file parameter information and the stored file parameters associated with the host computer, it determines the target download method. If the target download method allows downloading, it obtains the file to be burned corresponding to the file download request, so that burning can be performed based on the file to be burned. This solves the problem in the prior art where setting a burning limit on the number of burning attempts in the burning file results in low burning attempt limit strength. By determining whether the target download method is allowed by checking whether the stored file parameters associated with the host computer contain the file parameter information corresponding to the file to be burned before the file download, the technical solution strictly controls repeated downloading of the file to be burned, preventing users from obtaining burning attempts again by re-downloading the file to be burned, thus improving the strength of the file burning attempt limit and achieving the technical effect of preventing users from repeatedly downloading files to obtain burning attempts.

[0066] Optionally, based on the above-mentioned device, the file parameter information determination module 210 includes: a file download request receiving unit and a file parameter information determination unit.

[0067] The file download request receiving unit is used to receive file download requests generated by the trigger operation of the file to be burned.

[0068] The file parameter information determination unit is used to parse and process the file download request to obtain file parameter information corresponding to the file to be burned.

[0069] Optionally, based on the above-mentioned device, the device may further include: a file to be burned determination module, wherein the file to be burned determination module includes a file association information determination unit, a file to be encrypted determination unit, and a file to be burned determination unit.

[0070] The file association information determination unit is used to process the file to be processed based on a verification algorithm to obtain the file identifier to be associated with the file to be processed, and to obtain the file association information corresponding to the file to be processed; wherein, the file association information includes the file name, file generation date, programming restriction information and programmer identifier;

[0071] The file to be encrypted determination unit is used to merge the file identifier to be associated, the file association information and the file to be processed to obtain the file to be encrypted.

[0072] The file to be burned determination unit is used to encrypt the file to be encrypted to obtain the file to be burned.

[0073] Optionally, based on the above-mentioned device, the device may further include: a programmer identifier comparison module, wherein the programmer identifier comparison module includes a programmer identifier determination unit and a file parameter comparison unit.

[0074] The programmer identifier determination unit is used to obtain the programmer identifier to be compared corresponding to the programmer associated with the host computer.

[0075] The file parameter comparison unit is used to obtain the stored file parameters associated with the host computer if the programmer identifier to be compared matches the target programmer identifier.

[0076] Optionally, based on the above-mentioned device, the target download method determination module 220 includes a stored file parameter determination unit and a target download method determination unit.

[0077] The stored file parameter determination unit is used to obtain the stored file parameters stored in the programmer that communicates with the host computer;

[0078] The target download mode determination unit is configured to: if the stored file parameters match the file parameter information, then the target download mode is to prohibit downloading; or, if the stored file parameters do not match the file parameter information, then the target download mode is to allow downloading.

[0079] Optionally, based on the above-mentioned device, the target download method determination module 220 may further include a download permission instruction sending unit.

[0080] The download permission instruction sending unit is configured to generate a download permission instruction if the target download method is download permission, and send the download permission instruction to the host computer, so that the host computer performs a download operation based on the download permission instruction and downloads the file to be burned to the programmer communicating with the host computer, so that the programmer drives the file to be burned.

[0081] Optionally, based on the above-mentioned device, the target download method determination module 220 may further include a download prohibition instruction sending unit.

[0082] The download prohibition instruction sending unit is used to generate a download prohibition instruction if the target download method is download prohibition, and send the download prohibition instruction to the host computer so that the host computer performs a stop download operation based on the download prohibition instruction.

[0083] The file download device provided in the embodiments of the present invention can execute the file download method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0084] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of the present invention.

[0085] Example 4

[0086] Figure 3 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. Figure 3 A block diagram is shown of an exemplary electronic device 30 suitable for implementing embodiments of the present invention. Figure 3 The electronic device 30 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of the present invention.

[0087] like Figure 3 As shown, the electronic device 30 is presented in the form of a general-purpose computing device. The components of the electronic device 30 may include, but are not limited to: one or more processors or processing units 301, system memory 302, and bus 303 connecting different system components (including system memory 302 and processing unit 301).

[0088] Bus 303 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0089] Electronic device 30 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 30, including volatile and non-volatile media, removable and non-removable media.

[0090] System memory 302 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 304 and / or cache memory 305. Electronic device 30 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 306 may be used to read and write non-removable, non-volatile magnetic media (… Figure 3 Not shown; usually referred to as a "hard drive"). Although Figure 3Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 303 via one or more data media interfaces. Memory 302 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0091] A program / utility 308 having a set (at least one) of program modules 307 may be stored, for example, in memory 302. Such program modules 307 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 307 typically perform the functions and / or methods described in the embodiments of the present invention.

[0092] Electronic device 30 can also communicate with one or more external devices 309 (e.g., keyboard, pointing device, display 310, etc.), and with one or more devices that enable a user to interact with the electronic device 30, and / or with any device that enables the electronic device 30 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 311. Furthermore, electronic device 30 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 312. As shown, network adapter 312 communicates with other modules of electronic device 30 via bus 303. It should be understood that, although... Figure 3 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 30, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0093] The processing unit 301 executes various functional applications and data processing by running programs stored in the system memory 302, such as implementing the file download method provided in the embodiments of the present invention.

[0094] Example 5

[0095] Embodiment 5 of the present invention also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform a file download method. The method includes:

[0096] When a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined; wherein, the file parameter information includes the target programmer identifier and the target file identifier;

[0097] Based on the file parameter information and the stored file parameters associated with the host computer, the target download method is determined;

[0098] If the target download method is allowed, then obtain the file to be burned corresponding to the file download request, so that burning can be performed based on the file to be burned.

[0099] The computer storage medium of this invention can be any combination of one or more computer-readable media. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0100] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0101] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0102] Computer program code for performing the operations of embodiments of the present invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. A file download method, characterized in that, include: The file to be processed is processed based on a verification algorithm to obtain the file identifier to be associated with the file to be processed, and to obtain the file association information corresponding to the file to be processed; wherein, the file association information includes the file name, file generation date, programming restriction information, and programmer identifier; the programming restriction information includes the maximum number of burning attempts; The file identifier to be associated, the file association information, and the file to be processed are merged to obtain the file to be encrypted. The file to be encrypted is encrypted to obtain the file to be burned; When a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined; wherein, the file parameter information includes the file name, file generation date, host computer identifier, target programmer identifier, file identifier, and programming restriction information corresponding to the file to be burned; Obtain the programmer identifier to be compared corresponding to the programmer associated with the host computer; If the programmer identifier to be compared matches the target programmer identifier, then the stored file parameters associated with the host computer are obtained; Retrieve stored file parameters from the programmer that communicates with the host computer; If the stored file parameters match the file parameter information, then the target download method is to prohibit downloading; If the stored file parameters do not match the file parameter information, the target download method is to allow download; If the target download method is allowed, then obtain the file to be burned corresponding to the file download request, so that burning is performed based on the file to be burned, including: If the target download method is allowed download, a allowed download instruction is generated and sent to the host computer, so that the host computer performs a download operation based on the allowed download instruction and downloads the file to be burned to the programmer that communicates with the host computer, so that the programmer drives the file to be burned. If the target download method is download prohibited, a download prohibition command is generated and sent to the host computer so that the host computer can execute a stop download operation based on the download prohibition command; The method further includes: if the stored file parameters do not include file parameter information, then confirming that it is the first file download; If the file to be burned is downloaded to the programmer for the first time, the file parameter information corresponding to the file to be burned will be stored in the programmer's memory during the download process. If this is not the first time the file to be burned has been downloaded to the programmer, the programmer's memory already contains the file parameter information of the file to be burned.

2. The method according to claim 1, characterized in that, When a file download request corresponding to the file to be burned is received, the file parameter information in the file download request is determined, including: Receive file download requests generated by trigger operations on the files to be burned; The file download request is parsed and processed to obtain file parameter information corresponding to the file to be burned.

3. A file download device, characterized in that, include: The file association information determination unit is used to process the file to be processed based on a verification algorithm to obtain the file identifier to be associated with the file to be processed, and to obtain the file association information corresponding to the file to be processed; wherein, the file association information includes the file name, file generation date, programming restriction information and programmer identifier; the programming restriction information includes the number of burning limits; The file to be encrypted determination unit is used to merge the file identifier to be associated, the file association information and the file to be processed to obtain the file to be encrypted. The file to be burned determination unit is used to encrypt the file to be encrypted to obtain the file to be burned; The file parameter information determination module is used to determine the file parameter information in the file download request when a file download request corresponding to the file to be burned is received; wherein, the file parameter information includes the file name, file generation date, host computer identifier, target programmer identifier, file identifier, and programming restriction information corresponding to the file to be burned; The programmer identifier determination unit is used to obtain the programmer identifier to be compared corresponding to the programmer associated with the host computer. The file parameter comparison unit is used to obtain the stored file parameters associated with the host computer if the programmer identifier to be compared matches the target programmer identifier. The stored file parameter determination unit is used to obtain the stored file parameters stored in the programmer that communicates with the host computer; The target download method determination unit is configured to determine the target download method as follows: if the stored file parameters match the file parameter information, then the target download method is to prohibit downloading; if the stored file parameters do not match the file parameter information, then the target download method is to allow downloading. The file to be burned module is used to obtain the file to be burned corresponding to the file download request if the target download method is allowed to download, so as to perform burning based on the file to be burned; The file to be burned acquisition module is specifically used to generate a download permission instruction if the target download method is download permission enabled, and send the download permission instruction to the host computer so that the host computer performs a download operation based on the download permission instruction and downloads the file to be burned to the programmer that communicates with the host computer so that the programmer drives the file to be burned for burning. The device is further configured to confirm that it is the first file download if the stored file parameters do not include file parameter information; if it is the first time the file to be burned is downloaded to the programmer, then the file parameter information corresponding to the file to be burned is stored in the programmer's memory during file download; if it is not the first time the file to be burned is downloaded to the programmer, then the programmer's memory has previously stored the file parameter information of the file to be burned.

4. An electronic device, characterized in that, The device includes: One or more processors; 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 file download method as described in any one of claims 1-2.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the file download method as described in any one of claims 1-2.