Secure computer platform test system based on SylixOS operating system

Through the SylixOS-based security computer platform test system, the gap in testing technology of domestic operating systems in the field of railway signals is solved, the performance verification and risk identification of operating systems are realized, the safety and reliability of railway signal systems are improved, and the safety and reliability of railway signal systems are promoted. The industrial application of domestic operating systems in the field of railway signals.

CN118939486APending Publication Date: 2024-11-12CHINA ACADEMY OF RAILWAY SCI CORP LTD +3
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410817104.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The lack of testing technology and evaluation technology for embedded real-time operating systems in the field of railway signals in China has made it difficult for domestic operating systems to verify their safety, reliability and real-time performance in the application of domestic operating systems on secure computer platforms, and the lack of standardized testing specifications affects railway signals. Industrial application of equipment.

Method used

Provide a secure computer platform testing system based on SylixOS operating system, including a test host, a target machine under test and a switch, connected via USB to serial port line, and use auxiliary testing tool software such as FileZilla, SecureCRT, ECANTools, etc. to design test cases such as ETH Board communication interface testing and DRAM interface testing realize performance verification and risk identification of the operating system.

Benefits of technology

It has realized the performance verification of domestic embedded real-time operating systems, identified and controlled system risks, improved the safety and reliability of railway signal systems, and promoted the industrial application of domestic operating systems in the field of railway signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939486A_ABST
    Figure CN118939486A_ABST
Patent Text Reader

Abstract

The invention discloses a secure computer platform test system based on a SylixOS operating system, a domestic embedded real-time operating system SylixOS is applied to a domestic secure computer platform to construct the secure computer platform test system, and a feasible operating system test verification method is provided on the basis of the secure computer platform test system. Performance verification of related operating systems of the railway signal system can be realized, risk sources of the operating systems are effectively identified, occurrence and amplification of system risks are controlled, and the safety of the railway signal system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of railway signal control, and in particular relates to a security computer platform testing system based on a SylixOS operating system. Background Art

[0002] In recent years, through a series of major initiatives deployed by the state to develop science and technology and industry, operating systems with independent intellectual property rights have made significant progress. The development of domestic self-developed operating systems has continued to accelerate, becoming the fundamental guarantee for the localization of software and a strategic requirement for independent control in key areas of national economy and people's livelihood. However, there is a problem of overly decentralized development of domestic basic software (operating systems). The construction of new systems for the future needs unified guidance, especially in the field of embedded operating systems. It is urgent to achieve high-quality development of key technologies and key industrial applications, and its standardization strategy is of great significance.

[0003] In the field of embedded railway signaling, its application scenarios are wide, complex and difficult to support, the industry components and ecology are complicated, and most domestic railway signal equipment uses foreign operating systems, and the operating systems used are even more chaotic. Therefore, it is urgent to build the standardization of embedded operating systems in the railway signaling field to promote the summary of advanced technologies and product experience related to railway signaling equipment, promote the standardization, scientificization and proceduralization of the entire process and all aspects of railway signaling equipment products, establish a complete set of product specification systematization led by embedded operating system standards, and promote the improvement of product quality and efficiency of railway signaling equipment.

[0004] At present, foreign countries have basic requirements for the technical requirements of embedded operating systems and what kind of operating systems to choose for industry applications. There are also corresponding standards for operating system testing specifications. Foreign operating system testing specifications and technical requirements are close to standardization. However, China lacks requirements for testing and evaluation technologies for embedded real-time operating systems in the railway signal field, and has failed to provide the basis criteria and requirements for selectable embedded real-time operating systems for the developing railway signal field equipment products. The evaluation method of this embedded real-time operating system is currently in a blank stage. Therefore, it is urgent to establish a complete set of embedded real-time operating system evaluation specifications in the railway signal field as the basis for the evaluation of operating systems for industrial applications in the railway signal field, and to promote the application of operating systems in the industrialization scenarios of the railway signal field through standardization.

[0005] At present, under the auspices of the Ministry of Science and Technology and the China Railway Corporation, the research on the autonomous railway signal system based on domestic chips is in full swing. The safe computer platform designed and developed using domestic chips and domestic components has a prototype, and the computer interlocking system hardware based on the safe computer platform has also been built. In view of this, the application technology research of domestic operating system software on the interlocking system based on domestic chips is timely, and the technical difficulties of combining domestic operating system software with domestic hardware and signal system application software that need to be studied urgently are:

[0006] SylixOS is a large-scale embedded hard real-time operating system independently developed, including the embedded real-time operating system SylixOS and the integrated development environment. SylixOS has a microsecond response time, provides a real-time task scheduling strategy based on priority preemption, and provides a dynamic loading function. It can replace VxWorks in terms of function and performance. The railway signal system is a safety-critical control system, and system security is of paramount importance. The key control units of the railway signal system usually use embedded computers, and the security of their operating systems has a significant impact on the overall security design of the system. Therefore, the security, reliability, and real-time requirements of the operating system are very high. In the event of an operating system failure, whether the scope of the failure can be discovered and controlled in time so that it does not affect the safety of the signal system output control is also the focus of railway application needs.

[0007] At present, foreign countries have basic requirements for the technical requirements of embedded operating systems and what kind of operating systems to choose for industry applications. There are also corresponding standards for operating system testing specifications. Foreign operating system testing specifications and technical requirements are close to standardization. However, China lacks requirements for testing and evaluation technologies for embedded real-time operating systems in the railway signal field, and has failed to provide the basis criteria and requirements for selectable embedded real-time operating systems for the developing railway signal field equipment products. The evaluation method of this embedded real-time operating system is currently in a blank stage. Therefore, it is urgent to establish a complete set of embedded real-time operating system evaluation specifications in the railway signal field as the basis for the evaluation of operating systems for industrial applications in the railway signal field, and to promote the application of operating systems in the industrialization scenarios of the railway signal field with standardized modules.

[0008] In addition, the computer interlocking system has rich and diverse interfaces, and the read and write operations of the hardware interface require high real-time performance. The security of the interlocking software is the top priority in the signal system. Based on the computer interlocking system architecture, it is also a key problem to be solved by the present invention to study how the embedded operating system can meet the requirements of rich interlocking system interfaces, high real-time requirements, high software reliability, and high security. Summary of the invention

[0009] In view of this, the present invention provides a secure computer platform testing system based on the SylixOS operating system, which implements the testing of relevant interfaces of the railway signal system.

[0010] The security computer platform testing system based on the SylixOS operating system provided by the present invention comprises:

[0011] The test host machine, the target machine under test and the switch. The test host machine and the target machine under test are connected through the switch and the USB to serial port cable;

[0012] The test host is a general-purpose PC running Windows 7 operating system, which is used to deploy the integrated development environment and auxiliary test tool software. The integrated development environment corresponds to the processing platform of the target machine under test. The test system human-computer interaction interface runs on the test host, integrating all the test case databases related to the platform of the target machine under test. Each test case is sent from the test host to the SCU board in the target machine under test.

[0013] The security computer platform of the target machine under test includes a processor side and a functional hardware side. The processor side is the various boards in the platform, and the functional hardware side is the key hardware of the platform. During the test, the processor side executes the test command, issues test stimuli to each key hardware in sequence, and outputs the test results to the test host, which then analyzes the test results. After receiving the test stimuli sent by the processor side, the functional hardware side executes related test operations and is mainly responsible for specific data processing and data interaction.

[0014] Furthermore, the auxiliary testing tool software includes but is not limited to FileZilla, SecureCRT, ECANTools and NetAssist.

[0015] Furthermore, the test host automatically selects matching test cases from a database for testing according to the system configuration.

[0016] Furthermore, the test cases include a communication interface test of the ETH board, a critical pressure value test of the ETH board receiving and sending data, a DRAM interface test, and a critical pressure value test of the DRAM.

[0017] Furthermore, the test result of each test case is returned to the test host through the USB-HUB.

[0018] Beneficial effects:

[0019] The present invention applies the domestic embedded real-time operating system SylixOS to the domestically produced secure computer platform to build a secure computer platform test system, and on this basis proposes a feasible operating system test and verification method, which can realize the performance verification of the operating system related to the railway signal system, effectively identify the risk source of the operating system, control the occurrence and amplification of system risks, and improve the security of the railway signal system. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A schematic diagram of the system structure of a secure computer platform testing system based on the SylixOS operating system provided by the present invention.

[0021] Figure 2 A schematic diagram of test items of a secure computer platform test system based on the SylixOS operating system provided by the present invention.

[0022] Figure 3 A test case flow diagram of CASE_BSP test_watchdog_1 of the secure computer platform test system based on the SylixOS operating system provided by the present invention.

[0023] Figure 4 A test case flow diagram of CASE_BSP test_watchdog_2 of the secure computer platform test system based on the SylixOS operating system provided by the present invention.

[0024] Figure 5 The figure is a schematic diagram of the periodic dog feeding process provided in an embodiment of the present invention.

[0025] Figure 6 This is a test case flow diagram of CASE_BSP test_temperature monitoring_1 provided in an embodiment of the present invention.

[0026] Figure 7 This is a test case flow diagram of CASE_BSP test_voltage monitoring_1 provided in an embodiment of the present invention.

[0027] Figure 8 This is a flow chart of the CASE_BSP test_PBIT_1 test case provided in an embodiment of the present invention.

[0028] Fig. 9 This is a schematic diagram of the PBIT results provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0030] The present invention provides a secure computer platform testing system based on the SylixOS operating system, the system structure is as follows: Figure 1 As shown, it mainly includes: a test host machine, a target machine under test and a switch. The test host machine and the target machine under test are connected through a switch and a USB to serial port cable.

[0031] Among them, the test host is a general PC running Windows 7 operating system, which is used to deploy the integrated development environment and auxiliary test tool software FileZilla, SecureCRT, ECANTools, NetAssist, etc. The integrated development environment corresponds to the processing platform of the target machine under test. The test system human-computer interaction interface runs on the test host, integrating all test case databases related to the platform of the target machine under test. The test host can automatically select matching test cases from the database for testing according to the system configuration, such as the communication interface test of the ETH board, the critical pressure value test of the ETH board receiving and sending data, the DRAM interface test, the critical pressure value test of the DRAM, and the ETH board fault analysis diagnosis and fault alarm functions. Taking the test of the critical pressure value of the ETH board receiving and sending data as an example, the sending and receiving data packet capacity of the ETH board network chip is continuously and uninterruptedly increased during the test process, and the capacity size when the chip starts to lose packets is observed to obtain the maximum throughput of the chip.

[0032] Each test case is sent from the test host to the SCU board in the platform. The SCU board executes the test case according to the test command. If the test case requires the SCU board to self-check, the SCU board performs automatic detection of related hardware modules and sends the test results back to the test host; if the test case detects other ETH boards, the SCU board will apply the test command to the corresponding ETH board via the platform address or data bus to execute the test case after receiving the test command until the test host receives the test result.

[0033] The target machine under test includes secure computer platforms such as SCU, ETH, CAN and 422 boards. The 422 serial port of the 422 board is connected to the test host through a USB to 422 converter, and the CAN port of the CAN board is connected to the test host through a USBCAN-IIC analyzer. The secure computer platform of the target machine under test includes a processor end and a functional hardware end. The processor end is the various boards in the platform, and the functional hardware end is the key hardware of the platform. The key hardware in the platform mainly includes ROM, DRAM, RAM, flash and communication chips on various ETH boards. During the test, the processor end executes the test command, issues test stimuli to each key hardware in sequence, and outputs the test results to the test host, which then analyzes the test results. After receiving the test stimuli sent by the processor end, the functional hardware end performs related test operations and is mainly responsible for specific data processing and data interaction.

[0034] The test result of each test case is returned to the test host through USB-HUB, etc. The test host determines the execution result of this test case, analyzes, locates and records the test result, forming a closed-loop control system.

[0035] The hardware items of the test environment are shown in the following table:

[0036] Table 1 Test environment hardware items

[0037]

[0038]

[0039]

[0040] SylixOS is composed of multiple modules with relatively independent and discrete functions. Each module cannot run independently. Only when the application software calls the operating system can it form a complete operating system. Through the cooperation of related modules of the operating system, the application software can be effectively controlled and managed. Therefore, it is more important and practical to design test cases based on actual applications as much as possible, and to comprehensively evaluate and examine whether an operating system can meet the usage requirements and whether it can obtain long-term and stable technical support. Combined with actual applications, the testable core functions of the SylixOS system are divided into task management, task synchronization and communication, timer management, interrupt / exception management and other aspects. Extended functions include memory management, file system, device management and network communication. According to actual application requirements, the testable items of the SylixOS embedded operating system are organized as follows: Figure 2 shown.

[0041] The test method and evaluation criteria provided by the present invention are shown in the following table.

[0042] 1.1. Installation test

[0043] Table 2 System installability test methods and evaluation criteria

[0044]

[0045]

[0046] 1.2 Functional testing

[0047] 1.2.1 Task Management

[0048] Table 3 Task management test methods and evaluation criteria

[0049]

[0050] 1.2.2 Time Management

[0051] Table 4 Time management test methods and evaluation criteria

[0052]

[0053] 1.2.3. Exception Management

[0054] Table 5 Abnormal management test methods and evaluation criteria

[0055]

[0056]

[0057] 1.2.4 Memory Management

[0058] Table 6 Memory management test methods and evaluation criteria

[0059]

[0060] 1.2.5 Interrupt Management

[0061] Table 7 Interruption management test methods and evaluation criteria

[0062]

[0063]

[0064] 1.2.6 Network Communication

[0065] Table 8 Network communication test methods and evaluation criteria

[0066]

[0067] 1.3 Performance Testing

[0068] Table 9 Time performance test methods and evaluation criteria

[0069]

[0070]

[0071]

[0072] 1.4、POSIX interface test

[0073] Table 10 Posix application programming interface test methods and evaluation criteria

[0074]

[0075] 1.5. Security Testing

[0076] Table 11 Safety test methods and evaluation criteria

[0077]

[0078]

[0079] In order to verify whether the domestic operating system can complete the functions and performance indicators proposed by the security computer platform requirements, and verify whether its security and stability meet the design requirements or user needs, this paper takes SylixOS as the research object and studies the test evaluation method suitable for the domestic operating system SylixOS, including test requirements and content, test environment, test case design, test result analysis and other contents.

[0080] The test requirements list of the present invention is as follows:

[0081] Table 12 Test requirements list

[0082]

[0083]

[0084]

[0085]

[0086] The test content covers startup test, storage test, clock test, interface driver test, monitoring function test, benchmark test, etc.

[0087] Example:

[0088] In this embodiment, the monitoring function test is taken as an example, and the test is performed using the secure computer platform test system based on the SylixOS operating system provided by the present invention, which specifically includes:

[0089] 2.1. Hardware watchdog test

[0090] 2.1.1 Watchdog enable and disable test (REQ_BSP test_monitoring function_A01)

[0091] This test enables the watchdog but does not feed the watchdog. It requires that the hardware can be restarted after a period of time (default setting). It requires that the watchdog can be disabled and the hardware will not be restarted due to the expiration of the watchdog time. It requires that the watchdog time be reset when the watchdog is disabled and then enabled.

[0092] 2.1.2 Watchdog feeding test (REQ_BSP test_monitoring function_A02)

[0093] If the injected test software feeds the watchdog periodically within the watchdog time, the hardware should not be restarted by the watchdog; if the watchdog stops feeding the watchdog or the feeding interval exceeds the watchdog time, the hardware should be restarted by the watchdog.

[0094] 2.2 Temperature monitoring test

[0095] 2.2.1、Temperature reading test (REQ_BSP test_monitoring function_B01)

[0096] This test requires BSP to provide a temperature reading API, through which the core temperature and the temperature of the monitoring point on the board can be read. The temperature is used as CBIT information.

[0097] 2.2.2 Temperature change test (REQ_BSP test_monitoring function_B02)

[0098] This test requires that the temperature obtained through the temperature reading API changes synchronously by means of heating and cooling, and the temperature value of the monitoring point on the board is basically consistent with the temperature measured by the point thermometer.

[0099] Record the deviation between the monitoring point temperature and the spot thermometer test temperature as a basis for performance comparison.

[0100] 2.3 Voltage monitoring test

[0101] 2.3.1. Power supply boost test (REQ_BSP test_monitoring function_C01)

[0102] This test requires the power conversion module to shut down the board power input and conversion after reaching the threshold through power boost to prevent hardware damage to the board.

[0103] 2.4 PBIT Functions

[0104] 2.4.1、Get board type and hardware version test (REQ_BSP test_monitoring function_D01)

[0105] This test requires BSP to provide a reading API for the board type and hardware version, and to obtain the board's hardware FRU information from the board's EEPROM or FLASH storage.

[0106] 2.4.2. Get software version test (REQ_BSP test_monitoring function_D02)

[0107] This test requires BSP to provide a software version reading API to obtain the software FRU information of the board.

[0108] 2.4.3. Get the serial port self-test status test (REQ_BSP test_monitoring function_D03)

[0109] This test requires BSP to provide an API for the serial port self-test result information. Through this API, the result of the "single serial port loopback test" (REQ_BSP test_interface driver_A01) can be obtained.

[0110] 2.4.4. Get CAN port self-test status test (REQ_BSP test_monitoring function_D04)

[0111] This test requires BSP to provide an API for the CAN port self-test result information. Through this API, the result of the "single CAN port loopback test" (REQ_BSP test_interface driver_E02) can be obtained.

[0112] 2.4.5. Get the network port self-test status test (REQ_BSP test_monitoring function_D05)

[0113] This test requires BSP to provide an API for the network port self-test result information. Through this API, the result of the "Link Adaptive Test" (REQ_BSP Test_Interface Driver_B02) can be obtained.

[0114] 2.4.6、Get SATA self-test status test (REQ_BSP test_monitoring function_D06)

[0115] This test requires BSP to provide an API for SATA self-test result information. Through this API, the result of "SATA file read and write function test" (REQ_BSP test_interface driver_G04) can be obtained.

[0116] 2.4.7. Get AB synchronization network port self-test status test (REQ_BSP test_monitoring function_D07)

[0117] This test requires BSP to provide an API for the AB synchronization network port self-test result information. Through this API, the result of the "PING interoperability test" (REQ_BSP test_interface driver_D01) can be obtained.

[0118] 2.4.8. Get Flash file system self-check status test (REQ_BSP test_monitoring function_D08)

[0119] This test requires BSP to provide an API for Flash self-test result information. Through this API, the result of "Flash file read and write function test" (REQ_BSP test_interface driver_I04) can be obtained.

[0120] Monitoring function test implementation

[0121] 3.1、CASE_BSP test_watchdog_1

[0122] Table 13 Test case table - CASE_BSP test_watchdog_1

[0123]

[0124] 3.2, CASE_BSP test_watchdog_2

[0125] Table 14 Test case table - CASE_BSP test_watchdog_2

[0126]

[0127] 3.3、CASE_BSP test_temperature monitoring_1

[0128] Table 15 Test case table - CASE_BSP test_temperature monitoring_1

[0129]

[0130] 3.4、CASE_BSP test_voltage monitoring_1

[0131] Table 16 Test case table - CASE_BSP test_voltage monitoring_1

[0132]

[0133] 3.5. CASE_BSP TEST_PBIT_1

[0134] Table 17 Test case table - CASE_BSP test_PBIT_1

[0135]

[0136] In summary, the above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A secure computer platform testing system based on the SylixOS operating system, characterized in that: include: The test host machine, the target machine under test and the switch. The test host machine and the target machine under test are connected through the switch and the USB to serial port cable; The test host is a general-purpose PC running Windows 7 operating system, which is used to deploy the integrated development environment and auxiliary test tool software. The integrated development environment corresponds to the processing platform of the target machine under test. The test system human-computer interaction interface runs on the test host, integrating all the test case databases related to the platform of the target machine under test. Each test case is sent from the test host to the SCU board in the target machine under test. The security computer platform of the target machine under test includes a processor side and a functional hardware side. The processor side is the various boards in the platform, and the functional hardware side is the key hardware of the platform. During the test, the processor side executes the test command, issues test stimuli to each key hardware in sequence, and outputs the test results to the test host, which then analyzes the test results. After receiving the test stimuli sent by the processor side, the functional hardware side executes related test operations and is mainly responsible for specific data processing and data interaction.

2. The secure computer platform testing system based on the SylixOS operating system according to claim 1, characterized in that: The auxiliary testing tool software includes but is not limited to FileZilla, SecureCRT, ECANTools and NetAssist.

3. The secure computer platform testing system based on the SylixOS operating system according to claim 1, characterized in that: The test host automatically selects matching test cases from a database for testing according to system configuration.

4. The secure computer platform testing system based on the SylixOS operating system according to claim 3, characterized in that: The test cases include a communication interface test of the ETH board, a critical pressure value test of the ETH board receiving and sending data, an interface test of the DRAM, and a critical pressure value test of the DRAM.

5. The secure computer platform testing system based on the SylixOS operating system according to claim 1, characterized in that: The test results of each test case are returned to the test host through the USB-HUB.

Citation Information

Cited By

  • Interface test circuit and system, memory and electronic equipment

    CN122531448A