Engineering packaging method and system based on CANoe script and storage medium

Through the engineering packaging method based on CANoe scripts, the use of encryption and automated programs to process engineering files is solved, and the problems of low file management efficiency and insufficient data security are achieved, and safe and efficient project packaging and version management are achieved.

CN118916338APending Publication Date: 2024-11-08WUHAN KOTEI INFORMATICS
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411118399.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

During the software development and maintenance process, file management is inefficient, manual operations are cumbersome and error-prone, and source code files need to be properly protected to prevent leakage or tampering, making it difficult for existing technology to achieve safe and efficient engineering packaging.

Method used

Using the project packaging method based on CANoe script, the project folder is copied, the source code files are traversed and encrypted, useless files are deleted, and the project compression process is generated based on version information, and the project compression package is generated. The built-in encryption algorithm and automated program of CANoe script are used to achieve operations. integrated.

Benefits of technology

Improves work efficiency, reduces manual operations, protects source code files through encryption, prevents unauthorized access or tampering, and frees up storage space, simplifies the version management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916338A_ABST
    Figure CN118916338A_ABST
Patent Text Reader

Abstract

The invention discloses an engineering packaging method and system based on a CANoe script and a storage medium, and the method comprises the steps: copying an engineering folder, and obtaining an engineering copy folder; selecting a source code file, a log file, a temporary file and a configuration file in a preset format from the plurality of project files in the project copy folder, and determining version information according to the configuration file; encrypting the source code files in the preset formats through a target encryption algorithm built in the CANoe script to obtain encrypted files of the source code files in the preset formats; and deleting a source code file, a log file and a temporary file in a preset format from the project copy folder, and performing compression processing on the updated target project folder based on the version information to realize project packaging. According to the method, the source code file is protected through automatic encryption processing, unauthorized access or tampering is prevented, the temporary file is deleted, the storage space is released, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data security technology, and in particular to a project packaging method, system and storage medium based on CANoe script. Background Art

[0002] In the process of software development and maintenance, it is often necessary to deal with a large number of files, including source code, temporary files, log files, etc. As the project progresses, useless files will gradually accumulate, occupying valuable storage space; at the same time, source code files, as the core assets of the project, need to be properly protected to prevent leakage or tampering. In addition, in order to facilitate the distribution, backup and version management of the project, it is usually necessary to compress the entire project folder into a single file containing version information. However, these operations often rely on manual execution, which is inefficient and prone to errors.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a project packaging method, system and storage medium based on CANoe script, aiming to solve the technical problem of how to achieve safe and efficient project packaging.

[0005] To achieve the above object, the present invention provides a project packaging method based on CANoe script, and the project packaging method based on CANoe script includes:

[0006] Determine the project folder of the project to be released, and copy the project folder to obtain a project copy folder;

[0007] Traversing multiple project files in the project copy folder, selecting multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determining version information according to the configuration files;

[0008] Encrypting multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format, and saving the encrypted files corresponding to the source code files in each preset format to the project copy folder;

[0009] Deleting a plurality of source code files in a preset format, a plurality of log files, and a plurality of temporary files from the project copy folder, and updating the project copy folder to a target project folder;

[0010] The target project folder is compressed based on the version information to generate a project compression package, and the project is packaged according to the project compression package.

[0011] Optionally, the step of determining the project folder of the project to be released includes:

[0012] Select the project directory of the project to be released through the host computer software;

[0013] A project folder is read according to the project directory, and a plurality of files exist in the project folder.

[0014] Optionally, before the step of encrypting a plurality of source code files of preset formats respectively by using a target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files of each preset format, the step includes:

[0015] Determine the multiple encryption algorithms corresponding to the built-in encryption module of the CANoe script;

[0016] A pending encryption algorithm is selected from a plurality of encryption algorithms according to the project catalog, and the pending encryption algorithm is used as a target encryption algorithm.

[0017] Optionally, the step of encrypting a plurality of source code files in preset formats respectively by using a target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format includes:

[0018] Determine the encryption rules of the source code files corresponding to the project to be released;

[0019] According to the source code file encryption rule, multiple source code files in preset formats are encrypted respectively by using the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format.

[0020] In addition, to achieve the above object, the present invention also proposes a CANoe script-based project packaging system, the CANoe script-based project packaging system comprising:

[0021] The processing module is used to determine the project folder of the project to be released, and copy the project folder to obtain a project copy folder;

[0022] A selection module is used to traverse multiple project files in the project copy folder, select multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determine version information according to the configuration files;

[0023] An encryption module is used to encrypt a plurality of source code files of preset formats respectively by using a target encryption algorithm built into a CANoe script, obtain an encrypted file corresponding to each source code file of preset format, and save the encrypted file corresponding to each source code file of preset format to the project copy folder;

[0024] A deletion module, used for deleting a plurality of source code files in a preset format, a plurality of log files and a plurality of temporary files from the project copy folder, and updating the project copy folder to a target project folder;

[0025] The packaging module is used to compress the target project folder based on the version information, generate a project compression package, and implement project packaging according to the project compression package.

[0026] Optionally, the processing module is further used to select a project directory of the project to be released through the host computer software;

[0027] The processing module is further used to read a project folder according to the project directory, and the project folder contains multiple files.

[0028] Optionally, the selection module is further used to determine multiple encryption algorithms corresponding to the built-in encryption module of the CANoe script;

[0029] The selection module is also used to select a pending encryption algorithm from multiple encryption algorithms according to the project catalog, and use the pending encryption algorithm as a target encryption algorithm.

[0030] Optionally, the encryption module is further used to determine encryption rules for source code files corresponding to the project to be released;

[0031] The encryption module is also used to encrypt multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script according to the source code file encryption rule to obtain encrypted files corresponding to the source code files in each preset format.

[0032] In addition, to achieve the above-mentioned purpose, the present invention also proposes a CANoe script-based engineering packaging device, the device comprising: a memory, a processor, and a CANoe script-based engineering packaging program stored in the memory and runnable on the processor, the CANoe script-based engineering packaging program being configured to implement the steps of the CANoe script-based engineering packaging method as described above.

[0033] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a project packaging program based on a CANoe script is stored. When the project packaging program based on a CANoe script is executed by a processor, the steps of the project packaging method based on a CANoe script as described above are implemented.

[0034] The present invention first determines the project folder of the project to be released, and copies the project folder to obtain the project copy folder, then traverses multiple project files in the project copy folder, selects multiple source code files, multiple log files, multiple temporary files and configuration files in preset formats from multiple project files, and determines version information according to the configuration file; encrypts multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script, obtains the encrypted files corresponding to the source code files in each preset format, and saves the encrypted files corresponding to the source code files in each preset format to the project copy folder, then deletes multiple source code files, multiple log files and multiple temporary files in preset formats from the project copy folder, and updates the project copy folder to the target project folder, and finally compresses the target project folder based on the version information, generates a project compression package, and realizes project packaging according to the project compression package. The present invention realizes the integration of operations through an automated program, reduces manual operations, improves work efficiency, and protects source code files through encryption processing, and deletes original code files and useless files, not only preventing unauthorized access or tampering, but also releasing storage space. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a structural diagram of a CANoe script-based engineering packaging device in a hardware operating environment involved in an embodiment of the present invention;

[0036] Figure 2 It is a flow chart of the first embodiment of the project packaging method based on CANoe script of the present invention;

[0037] Figure 3 This is a diagram of the CANoe project rapid publishing tool interface of the first embodiment of the project packaging method based on the CANoe script of the present invention;

[0038] Figure 4 This is a schematic diagram of an encrypted file directory of a first embodiment of a project packaging method based on a CANoe script of the present invention;

[0039] Figure 5 It is a structural block diagram of the first embodiment of the project packaging system based on CANoe script of the present invention.

[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0042] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a CANoe script-based engineering packaging device in the hardware operating environment involved in the embodiment of the present invention.

[0043] like Figure 1 As shown, the engineering packaging device based on the CANoe script may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RandomAccess Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage system independent of the aforementioned processor 1001.

[0044] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the engineering packaging device based on the CANoe script, and may include more or less components than those shown in the figure, or a combination of certain components, or a different arrangement of components.

[0045] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a project packaging program based on a CANoe script.

[0046] exist Figure 1In the CANoe script-based engineering packaging device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the CANoe script-based engineering packaging device of the present invention can be set in the CANoe script-based engineering packaging device, and the CANoe script-based engineering packaging device calls the CANoe script-based engineering packaging program stored in the memory 1005 through the processor 1001, and executes the CANoe script-based engineering packaging method provided in the embodiment of the present invention.

[0047] The embodiment of the present invention provides a project packaging method based on CANoe script, referring to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the project packaging method based on CANoe script of the present invention.

[0048] In this embodiment, the project packaging method based on CANoe script includes the following steps:

[0049] Step S10: determining a project folder of the project to be released, and copying the project folder to obtain a project copy folder.

[0050] It is easy to understand that the execution subject of this embodiment can be a CANoe script-based engineering packaging system with functions such as data processing, network communication and program running, or other computer equipment with similar functions, etc., and this embodiment is not limited.

[0051] In the specific implementation, refer to Figure 3 , Figure 3 This is an interface diagram of the CANoe project rapid publishing tool of the first embodiment of the project packaging method based on CANoe script of the present invention. The CANoe project rapid publishing tool uses an executable program (.exe) for automatic file cleaning, encryption and compression developed in Python language. The program CANoe script has multiple encryption algorithms corresponding to the built-in encryption module, which aims to solve the problems of time-consuming and labor-intensive manual file processing, insufficient data security and inconvenient version management in the prior art.

[0052] In this embodiment, the project directory of the project to be released can be selected by the host computer software through the project directory selection operation; according to the project directory, the pending encryption algorithm is selected from multiple encryption algorithms through the encryption tool selection operation, and the pending encryption algorithm is used as the target encryption algorithm.

[0053] It should also be noted that after the encrypted publishing operation, the CANoe project quick publishing tool reads the project folder according to the project directory, and copies the project folder to obtain a project copy folder. There are multiple files in the project folder, including multiple source code files, multiple log files, multiple temporary files, configuration files, etc.

[0054] Step S20: traverse the multiple project files in the project copy folder, select multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determine version information according to the configuration files.

[0055] In a specific implementation, it is necessary to traverse multiple project files in the project copy folder in sequence, and identify multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files through pre-configured file identification rules.

[0056] The pre-configured file identification rules can be customized for the user to identify the specific file type, related file content, name, modification time and other conditions that need to be identified.

[0057] It should be understood that the temporary file may be an identified useless file.

[0058] It should also be noted that the version information can be read from a configuration file or a version control system.

[0059] Step S30: encrypt multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script, obtain encrypted files corresponding to each source code file in preset formats, and save the encrypted files corresponding to each source code file in preset formats to the project copy folder.

[0060] In this embodiment, it is necessary to determine the source code file encryption rules corresponding to the project to be released. The source code file encryption rules are to encrypt source code files of a preset specific file type, and then encrypt multiple source code files of preset formats respectively according to the source code file encryption rules through the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files of each preset format.

[0061] It should be understood that the source code file in the preset format may be a .can source code file, a .cin source code file, or other specified source code files. Figure 4 , Figure 4 This is a schematic diagram of an encrypted file directory of the first embodiment of the project packaging method based on CANoe script of the present invention.

[0062] Step S40: deleting a plurality of source code files in a preset format, a plurality of log files and a plurality of temporary files from the project copy folder, and updating the project copy folder to a target project folder.

[0063] In a specific implementation, it is necessary to delete the source code files in a preset format before encryption, multiple log files, and multiple temporary files in the project copy folder.

[0064] Step S50: compressing the target project folder based on the version information to generate a project compression package, and packaging the project according to the project compression package.

[0065] It should also be noted that the compressed package name does not contain version information, which is not convenient for version tracking and management. Therefore, this solution automatically fills in the version information in the compressed package name to simplify the version management process.

[0066] Read the version information from the configuration file or version control system and automatically fill it into the compressed package name, and then generate the project compressed package to be released.

[0067] In this embodiment, first determine the project folder of the project to be released, and copy the project folder to obtain the project copy folder, then traverse multiple project files in the project copy folder, select multiple source code files, multiple log files, multiple temporary files and configuration files in preset formats from multiple project files, and determine version information according to the configuration file; encrypt multiple source code files in preset formats respectively through the target encryption algorithm built in the CANoe script, obtain the encrypted files corresponding to the source code files in each preset format, and save the encrypted files corresponding to the source code files in each preset format to the project copy folder, then delete multiple source code files, multiple log files and multiple temporary files in preset formats from the project copy folder, and update the project copy folder to the target project folder, and finally compress the target project folder based on the version information to generate a project compression package, and realize project packaging according to the project compression package. This embodiment realizes the integration of operations through an automated program, reduces manual operations, and improves work efficiency. At the same time, it protects source code files through encryption processing, deletes original code files and useless files, not only prevents unauthorized access or tampering, but also releases storage space.

[0068] Reference Figure 5 , Figure 5 It is a structural block diagram of the first embodiment of the engineering packaging system based on CANoe script of the present invention.

[0069] like Figure 5 As shown, the engineering packaging system based on CANoe script proposed in the embodiment of the present invention includes:

[0070] The processing module 5001 is used to determine the project folder of the project to be released, and copy the project folder to obtain a project copy folder.

[0071] In the specific implementation, refer to Figure 3 , Figure 3 This is an interface diagram of the CANoe project rapid publishing tool of the first embodiment of the project packaging method based on CANoe script of the present invention. The CANoe project rapid publishing tool uses an executable program (.exe) for automatic file cleaning, encryption and compression developed in Python language. The program CANoe script has multiple encryption algorithms corresponding to the built-in encryption module, which aims to solve the problems of time-consuming and labor-intensive manual file processing, insufficient data security and inconvenient version management in the prior art.

[0072] In this embodiment, the project directory of the project to be released can be selected by the host computer software through the project directory selection operation; according to the project directory, the pending encryption algorithm is selected from multiple encryption algorithms through the encryption tool selection operation, and the pending encryption algorithm is used as the target encryption algorithm.

[0073] It should also be noted that after the encrypted publishing operation, the CANoe project quick publishing tool reads the project folder according to the project directory, and copies the project folder to obtain a project copy folder. There are multiple files in the project folder, including multiple source code files, multiple log files, multiple temporary files, configuration files, etc.

[0074] The selection module 5002 is used to traverse the multiple project files in the project copy folder, select multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determine version information according to the configuration files.

[0075] In a specific implementation, it is necessary to traverse multiple project files in the project copy folder in sequence, and identify multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files through pre-configured file identification rules.

[0076] The pre-configured file identification rules can be customized for the user to identify the specific file type, related file content, name, modification time and other conditions that need to be identified.

[0077] It should be understood that the temporary file may be an identified useless file.

[0078] It should also be noted that the version information can be read from a configuration file or a version control system.

[0079] The encryption module 5003 is used to encrypt multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script, obtain the encrypted files corresponding to the source code files in each preset format, and save the encrypted files corresponding to the source code files in each preset format to the project copy folder.

[0080] In this embodiment, it is necessary to determine the source code file encryption rules corresponding to the project to be released. The source code file encryption rules are to encrypt source code files of a preset specific file type, and then encrypt multiple source code files of preset formats respectively according to the source code file encryption rules through the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files of each preset format.

[0081] It should be understood that the source code file in the preset format may be a .can source code file, a .cin source code file, or other specified source code files. Figure 4 , Figure 4 This is a schematic diagram of an encrypted file directory of the first embodiment of the project packaging method based on CANoe script of the present invention.

[0082] The deletion module 5004 is used to delete a plurality of source code files in a preset format, a plurality of log files and a plurality of temporary files from the project copy folder, and update the project copy folder to a target project folder.

[0083] In a specific implementation, it is necessary to delete the source code files in a preset format before encryption, multiple log files, and multiple temporary files in the project copy folder.

[0084] The packaging module 5005 is used to compress the target project folder based on the version information, generate a project compression package, and implement project packaging according to the project compression package.

[0085] It should also be noted that the compressed package name does not contain version information, which is not convenient for version tracking and management. Therefore, this solution automatically fills in the version information in the compressed package name to simplify the version management process.

[0086] Read the version information from the configuration file or version control system and automatically fill it into the compressed package name, and then generate the project compressed package to be released.

[0087] In this embodiment, first determine the project folder of the project to be released, and copy the project folder to obtain the project copy folder, then traverse multiple project files in the project copy folder, select multiple source code files, multiple log files, multiple temporary files and configuration files in preset formats from multiple project files, and determine version information according to the configuration file; encrypt multiple source code files in preset formats respectively through the target encryption algorithm built in the CANoe script, obtain the encrypted files corresponding to the source code files in each preset format, and save the encrypted files corresponding to the source code files in each preset format to the project copy folder, then delete multiple source code files, multiple log files and multiple temporary files in preset formats from the project copy folder, and update the project copy folder to the target project folder, and finally compress the target project folder based on the version information to generate a project compression package, and realize project packaging according to the project compression package. This embodiment realizes the integration of operations through an automated program, reduces manual operations, and improves work efficiency. At the same time, it protects source code files through encryption processing, deletes original code files and useless files, not only prevents unauthorized access or tampering, but also releases storage space.

[0088] Other embodiments or specific implementations of the engineering packaging system based on CANoe script of the present invention can refer to the above-mentioned method embodiments, which will not be described in detail here.

[0089] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0090] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0091] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0092] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A project packaging method based on CANoe script, characterized in that: The engineering packaging method based on CAN oe script comprises the following steps: Determine the project folder of the project to be released, and copy the project folder to obtain a project copy folder; Traversing multiple project files in the project copy folder, selecting multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determining version information according to the configuration files; Encrypting multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format, and saving the encrypted files corresponding to the source code files in each preset format to the project copy folder; Deleting a plurality of source code files in a preset format, a plurality of log files, and a plurality of temporary files from the project copy folder, and updating the project copy folder to a target project folder; The target project folder is compressed based on the version information to generate a project compression package, and the project is packaged according to the project compression package.

2. The method according to claim 1, characterized in that The step of determining the project folder of the project to be released includes: Select the project directory of the project to be released through the host computer software; A project folder is read according to the project directory, and a plurality of files exist in the project folder.

3. The method according to claim 2, characterized in that The step of encrypting a plurality of source code files in preset formats respectively by using the target encryption algorithm built into the CANoe script to obtain the encrypted files corresponding to the source code files in each preset format includes: Determine the multiple encryption algorithms corresponding to the built-in encryption module of the CANoe script; A pending encryption algorithm is selected from a plurality of encryption algorithms according to the project catalog, and the pending encryption algorithm is used as a target encryption algorithm.

4. The method according to any one of claims 1 to 3, characterized in that: The step of encrypting a plurality of source code files in preset formats respectively by using the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format comprises: Determine the encryption rules of the source code files corresponding to the project to be released; According to the source code file encryption rule, multiple source code files in preset formats are encrypted respectively by using the target encryption algorithm built into the CANoe script to obtain encrypted files corresponding to the source code files in each preset format.

5. A CANoe script-based engineering packaging system, characterized in that: The engineering packaging system based on CAN oe script includes: The processing module is used to determine the project folder of the project to be released, and copy the project folder to obtain a project copy folder; A selection module is used to traverse multiple project files in the project copy folder, select multiple source code files in preset formats, multiple log files, multiple temporary files and configuration files from the multiple project files, and determine version information according to the configuration files; An encryption module is used to encrypt a plurality of source code files of preset formats respectively by using a target encryption algorithm built into a CANoe script, obtain an encrypted file corresponding to each source code file of preset format, and save the encrypted file corresponding to each source code file of preset format to the project copy folder; A deletion module, used for deleting a plurality of source code files in a preset format, a plurality of log files and a plurality of temporary files from the project copy folder, and updating the project copy folder to a target project folder; The packaging module is used to compress the target project folder based on the version information, generate a project compression package, and implement project packaging according to the project compression package.

6. The system according to claim 5, characterized in that The processing module is also used to select the project directory of the project to be released through the host computer software; The processing module is further used to read a project folder according to the project directory, and the project folder contains multiple files.

7. The system according to claim 6, characterized in that The selection module is also used to determine multiple encryption algorithms corresponding to the built-in encryption module of the CANoe script; The selection module is also used to select a pending encryption algorithm from multiple encryption algorithms according to the project catalog, and use the pending encryption algorithm as a target encryption algorithm.

8. The system according to any one of claims 5 to 7, characterized in that: The encryption module is further used to determine the encryption rules of the source code files corresponding to the project to be released; The encryption module is also used to encrypt multiple source code files in preset formats respectively through the target encryption algorithm built into the CANoe script according to the source code file encryption rule to obtain encrypted files corresponding to the source code files in each preset format.

9. A storage medium, characterized in that: The storage medium stores a CANoe script-based project packaging program, and when the CANoe script-based project packaging program is executed by the processor, the steps of the CANoe script-based project packaging method as described in any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Automatic quick generation system and method for UKey installation package

    CN104572237A

  • Source code reinforcement method and device, computer equipment and storage medium

    CN111666078A

  • Encryption protection method applied to Python project

    CN114154123A

  • Source code reinforcement method and apparatus, and computer device and storage medium

    WO2021218173A1