An urban rail transit signal system software buffer area checking method

An urban rail transit and signal system technology, applied in the field of software buffer range inspection of urban rail transit signal systems, can solve problems such as difficulty in accurate understanding, increased code complexity, affecting existing code complexity, etc., to achieve the effect of simplifying the code

Active Publication Date: 2019-05-24
TRAFFIC CONTROL TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, judging whether the access index exceeds the buffer limit will increase the complexity of the code, and the change of the buffer limit will also affect the judgment code, resulting in difficulties in code maintenance and other unnecessary errors.
For example, in a rail transit operation line, vehicles often brake suddenly due to unknown reasons, and it is finally found that the code modification error in a complex logic processing function is due to the buffer used in the protection function in a function function Arrays, on the basis of logical code branches, add many protective branches, resulting in increased code complexity, difficult to understand accurately, resulting in logical errors when modifying code
The buffer protection measures affect the complexity of the existing code, resulting in occasional problems, which need to be avoided as much as possible

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An urban rail transit signal system software buffer area checking method
  • An urban rail transit signal system software buffer area checking method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0014] figure 1 It is a schematic flow chart of the urban rail transit signal system software buffer range inspection method in an embodiment of the present invention, as figure 1 As shown, the embodiment of the present invention provides a kind of urban rail transit signaling system software buffer range checking method, comprises the following ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides an urban rail transit signal system software buffer area range checking method, which comprises the following steps of: registering a stack area array in the execution process of a software buffer area range checking function; checking whether the address quoted by the current pointer is in an allocated memory address interval, wherein the memory address interval is an interval corresponding to the preset area array; wherein the preset area array comprises the stack area array, a pre-registered global array and a pre-registered stack area array; and ifthe first check result is yes, calling search functions in one-to-one correspondence with all the intervals to continue to check the address through all the search functions, and determining whether the address exceeds the range of the software buffer according to the second check result. According to the method for checking the buffer area of the urban rail transit signal system software providedby the embodiment of the invention, check of the buffer area of the urban rail transit signal system software can be realized through simplified codes.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of rail transit, in particular to a method for checking the range of a software buffer zone in an urban rail transit signaling system. Background technique [0002] In the rail transit signal system software, such as regional controllers, on-board equipment, etc., there will be occasional equipment downtime during the operation process, and it is difficult to locate and find problems in the operation log. After repeated indoor testing, it is often found that the program crashes due to software buffer access out of bounds. In the software code of the vehicle operation process, the memory space of the array is allocated once, and then it is accessed and called during the running of the program, and the access to the array buffer is often out of bounds during the calling process, and the compiler However, the compiler cannot find such problems, and the code will crash when it encounte...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41
Inventor 刘志宇张强
Owner TRAFFIC CONTROL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products