A cloud download data packet verification test system, device and method

By using a cloud-based data packet verification testing system, and simulating a real vehicle environment with a test bench and smart antenna components, data packets are intercepted and processed directly using the user's actual channel. This solves the problems of high cost and low scene reproduction in existing technologies, and achieves highly accurate testing and verification.

CN115270138BActive Publication Date: 2026-08-25CHINA FAW CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210950339.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-09
Publication Date
2026-08-25
Estimated Expiration
2042-08-09

AI Technical Summary

Technical Problem

In existing technologies for remote vehicle upgrades, verifying the integrity and authenticity of data packets is costly and has low scenario fidelity, making it impossible to test directly through real user channels.

Method used

The cloud-based data packet verification test system uses a test bench, test host, data packet interception and processing device, and smart antenna components to simulate a real vehicle environment for data packet interception, decryption, and encryption operations, and directly uses the user's actual channel for testing.

Benefits of technology

It improves the accuracy and scenario reproduction of testing, reduces the reliance on virtual backends, and can pre-configure encryption and decryption algorithms and keys according to actual needs, enabling comprehensive testing and verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115270138B_ABST
    Figure CN115270138B_ABST
Patent Text Reader

Abstract

The application discloses a cloud download data packet verification test system, device and method. The cloud download data packet verification test system comprises a test bench, a test host, a cloud, a data packet interception processing device and an intelligent antenna assembly. The test host is used for sending a download request to the cloud. The cloud is used for sending encrypted data packets. The data packet interception processing device is used for intercepting and processing the encrypted data packets, so that processed data packets are obtained, and the data packets are transmitted to the intelligent antenna assembly through physical data lines. The intelligent antenna assembly is used for transmitting the data packets to the test bench. The test host is used for listening to data information of the test bench during decryption and installation of the data packets in the test bench. The application can intercept data packets transmitted by the cloud to the test bench, perform secondary encryption, tampering and other operations on the intercepted data packets, and retransmit the data packets to the test bench, so as to verify detection of the test bench on completeness and authenticity of data of the cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of remote vehicle upgrade technology, specifically to a cloud-downloaded data packet verification and testing system, a data packet interception and processing device, and a cloud-downloaded data packet verification and testing method. Background Technology

[0002] Over-the-air (OTA) technology is widely used in the product upgrades of intelligent connected vehicles, allowing users to improve product performance without having to visit a 4S store. However, since the product upgrade software package is transmitted through a wireless network, the integrity and authenticity of the data packet need to be guaranteed. Car manufacturers usually encrypt the upgrade data packet to ensure that the cloud data packet is securely transmitted to the vehicle. Verifying this series of protection mechanisms is a technical challenge that needs to be overcome.

[0003] Existing testing methods involve creating a virtual backend in the cloud to create a digital twin that is identical to the real user's download platform. By processing the software packages uploaded to the digital platform, the source of the software packages downloaded by the user is made to be plaintext packages, packages encrypted with incorrect algorithms, and packages encrypted with incorrect keys. This method requires the creation of a virtual backend, which has high cost and technical requirements. Furthermore, the actual channel of the twin backend is not the channel actually used by the user, and the download URL is not the real URL, resulting in low scenario fidelity.

[0004] Therefore, there is a need for a technical solution to address or at least mitigate the aforementioned shortcomings of existing technologies. Summary of the Invention

[0005] The purpose of this invention is to provide a cloud-based data packet verification and testing system to at least solve one of the above-mentioned technical problems.

[0006] One aspect of the present invention provides a cloud-based download data packet verification and testing system, the cloud-based download data packet verification and testing system comprising: Test bench; A test host, which is connected to the test bench; The cloud is connected to the test host. A data packet interception and processing device, which is connected to both the cloud and the test host. The smart antenna assembly is connected to the test bench, the test host, and the data packet interception and processing device via physical data cables; wherein... The test host is used to send download requests to the cloud; The cloud platform is used to send encrypted data packets after receiving the download request; The data packet interception and processing device is used to intercept the encrypted data packet and process the encrypted data packet to obtain the processed data packet, and then transmit the processed data packet to the smart antenna component through a physical data line. The smart antenna component is used to transmit the processed data packet to the test bench via a physical data line. The test bench is used to decrypt and install the processed data packet, and transmit the decryption and installation results to the smart antenna component. The smart antenna component is used to transmit the acquired decryption and installation results to the cloud via a data packet interception and processing device; The test host is used to monitor the data information of the test bench during the decryption and installation of the processed data packets on the test bench.

[0007] Optionally, the smart antenna assembly includes a shielding box and a smart antenna, the smart antenna being located inside the shielding box, and the smart antenna being connected to the test bench, the test host, and the data packet interception and processing device via a physical data cable; The shielding box is used to shield the smart antenna from wireless signals.

[0008] This application also provides a data packet interception and processing apparatus, the data packet interception and processing apparatus comprising: An interception module, which is used to intercept encrypted data packets transmitted from the cloud to the smart antenna; The processing module is used to process the intercepted encrypted data packet to obtain the processed data packet; The transmitting module is used to transmit the processed data packet to the smart antenna, so that the smart antenna can transmit the processed data packet to the test bench and / or transmit the decryption and installation results obtained by the smart antenna component to the cloud.

[0009] Optionally, the processing module includes: A decryption component, used to decrypt intercepted encrypted data packets; An encryption component is used to re-encrypt the decrypted data packet to obtain the processed data packet; A data tampering component, which is used to modify the content of the decrypted data packet to obtain the modified data packet; A key generation component, used to generate non-cloud public keys; wherein... The decryption component is capable of decryption using a specification-defined algorithm obtained from the test host and a private key obtained from the test host; The encryption component is capable of using at least one of the following encryption methods: Encryption is performed using a specification-defined algorithm obtained from the test host and a cloud public key obtained from the test host. Encryption is performed using a non-standard algorithm obtained from the test host and a cloud public key obtained from the test host; Encryption is performed using a specification-defined algorithm obtained from the test host and a non-cloud public key generated by a key generation component.

[0010] This application also provides a cloud-downloaded data packet verification test method, which includes: The test host sends a download request to the cloud; The data packet interception and processing device intercepts encrypted data packets transmitted from the cloud to the smart antenna; The data packet interception and processing device processes the intercepted encrypted data packets to obtain the processed data packets; The packet interception and processing device transmits the processed data packets to the smart antenna, so that the smart antenna transmits the processed data packets to the test bench. The data packet interception and processing device obtains the decryption and installation results transmitted from the smart antenna component and sends the results to the cloud; The test host listens to the data information of the test bench during the process of decrypting and installing the processed data packets on the test bench.

[0011] Optionally, processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting intercepted encrypted data packets, the standard-defined algorithm and the private key obtained from the test host are used for decryption. When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from the test host and the cloud public key obtained from the test host are used for encryption; The test host monitors the data information of the test bench during the decryption and installation of the processed data packets on the test bench, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0012] Optionally, processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting intercepted encrypted data packets, the standard-defined algorithm and the private key obtained from the test host are used for decryption. When re-encrypting the decrypted data packet, a non-standard algorithm obtained from the test host and a cloud public key obtained from the test host are used for encryption; The test host monitors the data information of the test bench during the decryption and installation of the processed data packets on the test bench, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0013] Optionally, processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting intercepted encrypted data packets, the standard-defined algorithm and the private key obtained from the test host are used for decryption. When re-encrypting the decrypted data packet, a specification-defined algorithm obtained from the test host and a non-cloud public key generated by the key generation component are used for encryption. The test host monitors the data information of the test bench during the decryption and installation of the processed data packets on the test bench, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0014] Optionally, processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The content of the decrypted data packet is modified to obtain the modified data packet; The modified data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting intercepted encrypted data packets, the standard-defined algorithm and the private key obtained from the test host are used for decryption. When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from the test host and the cloud public key obtained from the test host are used for encryption; The test host monitors the data information of the test bench during the decryption and installation of the processed data packets on the test bench, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0015] Optionally, the processed data packet is transmitted to the smart antenna via a physical data line; The decryption and installation results of the smart antenna component are transmitted to the data packet interception and processing device via a physical data cable. Beneficial effects

[0016] The cloud-downloaded data packet verification test system of this application provides a data packet interception and processing device that can intercept data packets transmitted from the cloud to the test bench. After decrypting, re-encrypting, and tampering with the intercepted data packets, the data packets are retransmitted to the test bench to verify the test bench's ability to detect the integrity and authenticity of cloud data. Compared with existing technologies, this approach has the following advantages: 1. Testing is conducted directly using test benches and smart antennas that simulate real vehicles, rather than creating a digital platform identical to the real user's download platform. This means that the testing is conducted directly using the channels actually used by users, which makes the testing more accurate and the scenario reproduction more accurate. 2. This application performs secondary processing on the data transmitted in the cloud through a real network channel, eliminating the need to build a virtual backend; 3. Based on actual needs, any encryption / decryption algorithm can be pre-installed in the test host for replacement, thus enabling comprehensive testing; 4. Based on actual needs, arbitrary key replacement can be pre-configured in the test host, thereby enabling comprehensive testing. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a cloud-based data packet verification and testing system according to an embodiment of this application.

[0018] Figure 2 This is an exemplary structural diagram of an electronic device capable of implementing the cloud-based data packet verification test method provided in one embodiment of this application. Figure label: 11. Test bench; 2. Cloud; 3. Data packet interception and processing device; 4. Smart antenna assembly; 5. Test host; 41. Shielding box; 42. Smart antenna; 31. Decryption component; 32. Encryption component; 33. Data tampering component; 34. Key generation component. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below with reference to the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some, but not all, embodiments of this application. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application. The embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0020] Figure 1 This is a schematic diagram of a cloud-based data packet verification and testing system according to an embodiment of this application.

[0021] like Figure 1 The cloud-based download data packet verification test system shown includes a test bench 11; a test host 5, a cloud platform 2, a data packet interception and processing device 3, and a smart antenna assembly 4. The test host is connected to the test bench 11; the cloud platform 2 is connected to the test host 5; the data packet interception and processing device 3 is connected to both the cloud platform 2 and the test host 5; and the smart antenna assembly 4 is connected to the test bench 11, the test host 5, and the data packet interception and processing device 3 via physical data cables. Test host 5 is used to send download requests to cloud 2; Cloud 2 is used to send encrypted data packets after receiving a download request; The data packet interception and processing device 3 is used to intercept encrypted data packets and process them to obtain the processed data packets, and then transmit the processed data packets to the smart antenna component 4 via a physical data line. The smart antenna assembly 4 is used to transmit the processed data packets to the test bench 11 via a physical data line; The test bench 11 is used to decrypt and install the processed data packets, and transmit the decryption and installation results to the smart antenna assembly 4. The smart antenna assembly 4 is used to transmit the acquired decryption and installation results to the cloud via the data packet interception and processing device 3; The test host 5 is used to listen to the data information of the test bench 11 during the decryption and installation of the processed data packets on the test bench 11.

[0022] The cloud-downloaded data packet verification test system of this application provides a data packet interception and processing device that can intercept data packets transmitted from the cloud to the test bench. After decrypting, re-encrypting, and tampering with the intercepted data packets, the data packets are retransmitted to the test bench to verify the test bench's ability to detect the integrity and authenticity of cloud data. Compared with existing technologies, this approach has the following advantages: 1. Testing is conducted directly using test benches and smart antennas that simulate real vehicles, rather than creating a digital platform identical to the real user's download platform. This means that the testing is conducted directly using the channels actually used by users, which makes the testing more accurate and the scenario reproduction more accurate. 2. This application performs secondary processing on the data transmitted in the cloud through a real network channel, eliminating the need to build a virtual backend; 3. Based on actual needs, any encryption / decryption algorithm can be pre-installed in the test host for replacement, thus enabling comprehensive testing; 4. Based on actual needs, arbitrary key replacement can be pre-configured in the test host, thereby enabling comprehensive testing.

[0023] In this embodiment, the smart antenna assembly 4 includes a shielding box 41 and a smart antenna 42. The smart antenna 42 is located inside the shielding box 41. The smart antenna 42 is connected to the test bench 11, the test host 5 and the data packet interception and processing device 3 by means of a physical data cable. The shielding box 41 is used to shield the smart antenna from wireless signals.

[0024] In this embodiment, the shielding box is mainly used for network shielding of the smart antenna. The shielding box is connected to the data packet interception and processing device through a physical line to ensure that the data received by the smart antenna inside the shielding box is the data packet processed by the data packet interception and processing device.

[0025] In this embodiment, the test bench is used to simulate the vehicle environment, and the test host is used to send download requests to the cloud. In addition, the test host can also configure the parameters of each module, monitor the execution status of the test bench, preset various specification definition algorithms, pre-set cloud public keys, and preset private keys, etc.

[0026] This application also provides a data packet interception and processing device, which includes an interception module, a processing module, a sending module, and a processing information acquisition module; wherein... The interception module is used to intercept encrypted data packets transmitted from the cloud to the smart antenna; The processing module is used to process the intercepted encrypted data packets to obtain the processed data packets; The transmitting module is used to transmit the processed data packets to the smart antenna, so that the smart antenna can transmit the processed data packets to the test bench 11 and / or transmit the decryption and installation results obtained by the smart antenna component 4 to the cloud.

[0027] In this embodiment, the processing module includes a decryption component 31, an encryption component 32, a data tampering component 33, and a key generation component 34; wherein, Decryption component 31 is used to decrypt the intercepted encrypted data packets; Encryption component 32 is used to re-encrypt the decrypted data packet to obtain the processed data packet; The data tampering component 33 is used to modify the content of the decrypted data packet, thereby obtaining the modified data packet; Key generation component 34 is used to generate non-cloud public keys; among which, The decryption component 31 can decrypt using the specification-defined algorithm pre-built by test host 5 obtained from test host 5 and the private key pre-built by test host 5 obtained from test host 5. Encryption component 32 can encrypt using at least one of the following encryption methods: Encryption is performed using the specification-defined algorithm pre-built on Test Host 5 obtained from Test Host 5 and the cloud public key pre-built on Test Host 5 obtained from Test Host 5. Encryption is performed using a non-standard algorithm pre-built on test host 5 obtained from test host 5 and a cloud public key pre-built on test host 5 obtained from test host 5; Encryption is performed using a pre-defined algorithm from Test Host 5, obtained from Test Host 5, and a non-cloud public key generated by the key generation component.

[0028] This application also provides a cloud-downloaded data packet verification test method, which includes: Step 1: Test host 5 sends a download request to the cloud; Step 2: The data packet interception and processing device 3 intercepts the encrypted data packets transmitted from the cloud to the smart antenna; Step 3: The data packet interception and processing device 3 processes the intercepted encrypted data packets to obtain the processed data packets; Step 4: The data packet interception and processing device 3 transmits the processed data packet to the smart antenna, so that the smart antenna transmits the processed data packet to the test bench 11; Step 5: The data packet interception and processing device 3 obtains the decryption and installation results transmitted from the smart antenna component 4 and sends the results to the cloud; Step 6: During the process of decrypting and installing the processed data packets on the test bench 11, the test host 5 listens to the data information of the test bench 11.

[0029] The cloud-downloaded data packet verification test method of this application can be used to test and verify whether the cloud correctly encrypts the data packet, whether data packets encrypted with other non-standard algorithms can be recognized by the test bench, whether data packets encrypted with other incorrect keys can be recognized by the test bench, and whether the test bench can recognize the data packet after it has been tampered with.

[0030] In this embodiment, the following method is used to test and verify whether the cloud correctly encrypts the data packets: The intercepted encrypted data packets are processed to obtain the processed data packets, including: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the algorithm defined in the specification obtained from test host 5 and the private key obtained from test host 5 are used for decryption. When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from test host 5 and the cloud public key obtained from test host 5 are used for encryption; During the process of decrypting and installing the processed data packets on the test bench 11, the test host 5 listens to the data information of the test bench 11, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0031] In this embodiment, the following method can also be used to verify whether data packets encrypted with other non-standard algorithms can be recognized by the vehicle: The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the algorithm defined in the specification obtained from test host 5 and the private key obtained from test host 5 are used for decryption. When re-encrypting the decrypted data packet, a non-standard algorithm obtained from test host 5 and a cloud public key obtained from test host 5 are used for encryption; During the process of decrypting and installing the processed data packets on the test bench 11, the test host 5 listens to the data information of the test bench 11, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0032] Specifically, the test host can determine whether the execution was successful by acquiring data from the test bench, i.e., by receiving success or failure codes.

[0033] In this embodiment, the following method can also be used to verify whether data packets encrypted with other incorrect keys can be recognized by the test bench: The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the algorithm defined in the specification obtained from test host 5 and the private key obtained from test host 5 are used for decryption. When re-encrypting the decrypted data packet, the standard-defined algorithm obtained from test host 5 and the non-cloud public key generated by the key generation component are used for encryption; The test host 5 listens to the data information of the test bench 11 during the decryption and installation of the processed data packets, including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets.

[0034] In this embodiment, the following method can also be used to verify whether the tampered data packet can be identified by the test bench: The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The content of the decrypted data packet is modified to obtain the modified data packet; The modified data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the algorithm defined in the specification obtained from test host 5 and the private key obtained from test host 5 are used for decryption. When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from test host 5 and the cloud public key obtained from test host 5 are used for encryption; The test host 5 listens to the data information of the test bench 11 during the decryption and installation of the processed data packets, including: Based on the acquired data, determine whether the vehicle can properly decrypt and install the processed data packet.

[0035] In this embodiment, the processed data packet is transmitted to the smart antenna via a physical data line. The decryption and installation results transmitted from the smart antenna assembly 4 to the data packet interception and processing device 3 are also transmitted via a physical data line.

[0036] This application also provides a method for operating a data packet interception and processing device, the method comprising: Intercept encrypted data packets transmitted from the cloud to the smart antenna; The intercepted encrypted data packets are processed to obtain the processed data packets; The processed data packet is transmitted to the smart antenna, so that the smart antenna transmits the processed data packet to the test bench 11 and / or transmits the decryption and installation results obtained by the smart antenna component 4 to the cloud.

[0037] It is understandable that the above description of the method also applies to the description of the apparatus.

[0038] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to implement the above-described data packet interception processing device operation method.

[0039] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the operation of the data packet interception processing device described above.

[0040] Figure 2 This is an exemplary structural diagram of an electronic device capable of implementing the data packet interception processing apparatus operation method provided in one embodiment of this application.

[0041] like Figure 2As shown, the electronic device includes an input device 501, an input interface 502, a central processing unit 503, a memory 504, an output interface 505, and an output device 506. The input interface 502, central processing unit 503, memory 504, and output interface 505 are interconnected via a bus 507. The input device 501 and output device 506 are connected to the bus 507 via the input interface 502 and output interface 505, respectively, and thus connected to other components of the electronic device. Specifically, the input device 504 receives input information from the outside and transmits it to the central processing unit 503 via the input interface 502. The central processing unit 503 processes the input information based on computer-executable instructions stored in the memory 504 to generate output information, temporarily or permanently storing the output information in the memory 504, and then transmitting the output information to the output device 506 via the output interface 505. The output device 506 outputs the output information to the outside of the electronic device for user use.

[0042] In other words, Figure 2 The electronic device shown may also be implemented as including: a memory storing computer-executable instructions; and one or more processors that, when executing the computer-executable instructions, can implement the packet interception processing device operation method.

[0043] In one embodiment, Figure 2 The electronic device shown can be implemented as including: a memory 504 configured to store executable program code; and one or more processors 503 configured to run the executable program code stored in the memory 504 to perform the packet interception processing apparatus operation method in the above embodiments.

[0044] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0045] Memory may include non-persistent storage in computer-readable storage media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable storage media.

[0046] Computer-readable storage media include both permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, DVD or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0047] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0048] Furthermore, it is clear that the word "comprising" does not exclude other units or steps. Multiple units, modules, or devices recited in the apparatus claims may also be implemented by a single unit or overall apparatus via software or hardware.

[0049] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which includes one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutively marked blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or the overall flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0050] In this embodiment, the processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0051] Memory can be used to store computer programs and / or modules. The processor implements various functions of the device / terminal equipment by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory. Memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area can store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). In addition, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital (SD) cards, flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.

[0052] In this embodiment, if the modules / units integrated into the device / terminal equipment are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. When the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. Although this application discloses preferred embodiments as described above, it is not intended to limit this application. Any person skilled in the art can make possible changes and modifications without departing from the spirit and scope of this application. Therefore, the scope of protection of this application should be determined by the scope defined in the claims of this application.

[0053] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0054] Furthermore, it is clear that the word "comprising" does not exclude other units or steps. Multiple units, modules, or devices recited in the apparatus claims may also be implemented by a single unit or overall apparatus via software or hardware.

[0055] Although the present invention has been described in detail above with general descriptions and specific embodiments, modifications or improvements can be made to it, which will be obvious to those skilled in the art. Therefore, all such modifications or improvements made without departing from the spirit of the present invention fall within the scope of protection claimed by the present invention.

Claims

1. A cloud-based data packet verification and testing system, characterized in that, The cloud-based downloaded data packet verification and testing system includes: Test bench (11); Test host (5), the test host (5) is connected to the test bench (11); Cloud (2), which is connected to the test host (5); A data packet interception and processing device (3) is connected to the cloud (2) and the test host (5) respectively; the data packet interception and processing device includes: An interception module, which is used to intercept encrypted data packets transmitted from the cloud to the smart antenna; A processing module is used to process the intercepted encrypted data packet to obtain a processed data packet; the processing module includes: Decryption component (31), the decryption component (31) is used to decrypt the intercepted encrypted data packets; Encryption component (32), the encryption component (32) is used to re-encrypt the decrypted data packet to obtain the processed data packet; Data tampering component (33), the data tampering component (33) is used to modify the content of the decrypted data packet, thereby obtaining the modified data packet; A key generation component (34) is used to generate a non-cloud public key; wherein, The decryption component (31) is capable of decryption using a specification-defined algorithm obtained from the test host (5) and a private key obtained from the test host (5); The encryption component (32) is capable of encrypting using at least one of the following encryption methods: Encryption is performed using a specification-defined algorithm obtained from the test host (5) and a cloud public key obtained from the test host (5); Encryption is performed using a non-standard algorithm obtained from the test host (5) and a cloud public key obtained from the test host (5); Encryption is performed using a specification-defined algorithm obtained from the test host (5) and a non-cloud public key generated by the key generation component; The sending module is used to transmit the processed data packet to the smart antenna so that the smart antenna transmits the processed data packet to the test bench (11) and / or transmits the decryption and installation results obtained by the smart antenna assembly (4) to the cloud. The smart antenna assembly (4) is connected to the test bench (11), the test host (5), and the data packet interception and processing device (3) via physical data cables; wherein, The test host (5) is used to send a download request to the cloud (2); The cloud (2) is used to send encrypted data packets after receiving the download request; The data packet interception and processing device (3) is used to intercept the encrypted data packet and process the encrypted data packet to obtain the processed data packet, and transmit the processed data packet to the smart antenna component (4) through a physical data line. The smart antenna component (4) is used to transmit the processed data packet to the test bench (11) via a physical data line. The test bench (11) is used to decrypt and install the processed data packet, and transmit the decryption and installation results to the smart antenna assembly (4). The smart antenna component (4) is used to transmit the obtained decryption and installation results to the cloud through the data packet interception and processing device (3); The test host (5) is used to decrypt the processed data packets on the test bench (11) and monitor the data information of the test bench (11) during the installation process; The smart antenna assembly (4) includes a shielding box (41) and a smart antenna (42). The smart antenna (42) is located inside the shielding box (41). The smart antenna (42) is connected to the test bench (11), the test host (5) and the data packet interception and processing device (3) by means of a physical data cable. The shielding box (41) is used to shield the smart antenna from wireless signals.

2. A method for verifying and testing data packets downloaded from the cloud, characterized in that, The cloud-downloaded data packet verification test method includes: The test host (5) sends a download request to the cloud; The data packet interception and processing device (3) intercepts encrypted data packets transmitted from the cloud to the smart antenna; The data packet interception and processing device (3) processes the intercepted encrypted data packet to obtain the processed data packet; The packet interception and processing device (3) transmits the processed data packet to the smart antenna so that the smart antenna transmits the processed data packet to the test bench (11). The data packet interception and processing device (3) obtains the decryption and installation results transmitted from the smart antenna component (4) and sends the results to the cloud; During the process of decrypting and installing the processed data packets on the test bench (11), the test host (5) listens to the data information of the test bench (11); The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the canonical defined algorithm obtained from the test host (5) and the private key obtained from the test host (5) are used for decryption; When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from the test host (5) and the cloud public key obtained from the test host (5) are used for encryption; The test host (5) listens to the data information of the test bench (11) during the process of decrypting and installing the processed data packets on the test bench (11), including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets; The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the canonical defined algorithm obtained from the test host (5) and the private key obtained from the test host (5) are used for decryption; When re-encrypting the decrypted data packet, a non-standard algorithm obtained from the test host (5) and a cloud public key obtained from the test host (5) are used for encryption; The test host (5) listens to the data information of the test bench (11) during the process of decrypting and installing the processed data packets on the test bench (11), including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets; The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The decrypted data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the canonical defined algorithm obtained from the test host (5) and the private key obtained from the test host (5) are used for decryption; When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from the test host (5) and the non-cloud public key generated by the key generation component are used for encryption; The test host (5) listens to the data information of the test bench (11) during the process of decrypting and installing the processed data packets on the test bench (11), including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets; The process of processing the intercepted encrypted data packet to obtain the processed data packet includes: Decrypt the intercepted encrypted data packets; The content of the decrypted data packet is modified to obtain the modified data packet; The modified data packet is then re-encrypted to obtain the processed data packet; among which, When decrypting the intercepted encrypted data packets, the canonical defined algorithm obtained from the test host (5) and the private key obtained from the test host (5) are used for decryption; When re-encrypting the decrypted data packet, the algorithm defined in the specification obtained from the test host (5) and the cloud public key obtained from the test host (5) are used for encryption; The test host (5) listens to the data information of the test bench (11) during the process of decrypting and installing the processed data packets on the test bench (11), including: Based on the acquired data, determine whether the test bench can properly decrypt and install the processed data packets; The processed data packet is transmitted to the smart antenna via a physical data line; The decryption and installation results of the smart antenna component (4) are transmitted to the data packet interception and processing device (3) via a physical data line.

Citation Information

Patent Citations

  • Testing method, device and system for game application program

    CN106126423A

  • Cloud data integrity detection method and system based on block chain

    CN109194466A

  • Test system and method for OTA upgrade of automobile controller

    CN114328186A

  • Data consistency test system, method and device and storage medium

    CN114461526A