Chapter 107 Difficulties
"Mr. Lin, I checked the position control program, and there is no problem." After reading the position control code, Li Chengqian did not find any problems.

Although the running efficiency of this code is much slower than the space station control program he wrote, the function is perfect.

After all, it is the supporting software of the space station. Under normal circumstances, it must have undergone a lot of tests, and no one dares to be careless on these issues.

After hearing Li Chengqian's words, Lin Xiong's disappointment was almost written on his face.

Immediately afterwards, Li Chengqian continued, "Mr. Lin, I think the problem may be in the core code or the driver."

The position control program runs on the core code of the space station.

Finally, the driver program controls the hardware of the space station according to the instructions of the code.

"Can I take a look at the core code and drivers of this system."

"Yes, but the core code and driver are written in assembly..." In fact, after checking the control program many times and finding no problems, Lin Xiong already thought that there might be something wrong with the core code and driver.

But the core code and the driver program are written in assembly language, which is extremely difficult to interpret and difficult to understand. The original system developers are already looking for bugs, but it takes at least two months to complete, and they may not be able to troubleshoot. What went wrong.

"Mr. Lin, I actually understand assembly language." Li Chengqian said calmly.

"Come on, this is the core code of the system."

"This is the driver for the associated device."

"Student Li Chengqian, after reading the code, I think you already know what this program does."

Seeing Li Chengqian nodding his head, Lin Xiong said very solemnly, "Today's affairs must be kept secret and cannot be told to anyone."

"The code must also be kept secret, and it must not be leaked out." If the source code is leaked out, once someone finds a loophole and attacks the loophole, the consequences will be disastrous.

"Don't worry, I won't tell anyone about this." Li Chengqian naturally knew the seriousness of the matter.

"Student Li Chengqian, try to interpret the core code and the driver program. It doesn't matter if you don't find any problems." Writing a program in assembly language is not the same difficulty as interpreting a program written in assembly language.

Interpretation is ten times more difficult than writing, and this is still the case with annotations.

In the absence of comments, finding bugs is not much different from finding a needle in a haystack.

Lin Xiong has already considered it.

After 1 hour it is off-duty time, and if there is no result, he will activate the backup plan.

After all, Li Chengqian needs to conduct an on-site software defense tomorrow, so he needs to be prepared, which is also very important.

Li Chengqian's eyes fell on the two documents that Lin Xiong had transferred.

With the blessing of skills, he browsed quickly.

He can see through the meaning of those codes that are like a bible to others.

There are not many core codes of the space station's operating system. After 10 minutes, he read all the core codes.

In his mind, the control program has already run through the core code.

Immediately, Li Chengqian discovered the key to the problem.

"It turns out that the problem is here!"

A seemingly normal code was found by Li Chengqian.

This is a time conversion function.

After the control program runs, it will call this function.

Because the precision of the data definition is not enough, a little bit of offset will occur in each position calculation. After a day, the offset is exactly 1 cm.

After discovering this problem, Li Chengqian did not bring it up immediately.

Because Lin Xiong was very busy, after opening the core code and driver program for Li Chengqian, he was called away.

Li Chengqian didn't panic, he marked out the problematic code.

Open the driver's code file and read it.

What is the nature of the driver?
It is the most critical thing for the operation of computer-controlled equipment.

The driver is equivalent to the hardware interface, and the operating system can only control the work of the hardware device through this interface.

On the space station, the driver program can control the start of the Hall engine in all directions of the space station, control the running power, control the running time, etc., and can control the switches between the various hatches, etc.

The quality of the driver directly determines the performance of the device.

It didn't take long for Li Chengqian to read all the driver parts of the control system.

Through the driver, he already has a good idea of ​​the space station flying in the sky, especially the control system.

4 Hull thrusters, each with a power of 80 mN.

There are also 4 traditional propellers, which can provide temporary powerful power.

"If I reset this part of the driver program, the efficiency of the control system of the space station can be increased by about 50%!"

At this moment, in the Conference Center of the Space Research Institute, Academician Gao Xiang, the director of the Space Research Institute and the chief commander of the space station construction, looked very serious, "Lin Xiong, have you checked out the problem with the position control system of the space station?"

"Dean, we are still investigating."

"After investigation, the software of the police station's control system has failed."

"The location of the failure is initially determined on the core code and the driver."

"How long will it take to solve the problem?" This is Gao Xiang's most concerned question. The space station is a symbol of national strength and must be foolproof!Absolutely nothing can go wrong.

Nothing else is important now, the most important thing is to solve the hidden dangers of the space station, the sooner the better.

"If we continue to investigate bugs, it may take another two months!"

"No!" Gao Xiang directly rejected this proposal. Once the problem in the sky was resolved, he would not be able to sleep well. He was afraid that the space station would crash, which would be a terrible blow to Shenlong Kingdom's aerospace industry.

"Another set of plans is uploaded to the space station operating system developed by Li Chengqian, and used as a control system during bug investigation."

"This kind of solution can be completed in only one day! But treating the symptoms but not the root cause will cause more trouble."

"Although this new space station operating system has passed many software simulation tests and proved its stability and advancement, there are still certain risks."

"The storage space on the space station is limited. Uploading a new space station operating system means that some functions need to be disabled." Lin Xiong said with a face of embarrassment. In fact, the simplest and safest way to deal with it is to find the bugs in the original system and fix them. repair.

"If you use a new operating system core, you need to modify and adapt the software, which will take at least two months." After the new system goes online, there will be a lot of troubles behind.

The original software needs to be transformed to adapt to the new operating system.

"Lin Xiong, I can only give you 3 days!"

"I don't care what method you use, the first is to ensure that the position of the space station will not shift, the second is to ensure that all software systems are running normally, and the third is to ensure the absolute safety of the space station."

"If you can't solve this problem safely within 3 days, I will dismiss you as the person in charge of the software of the space station, and I will find someone else to do it." Gao Xiang's tone was extremely severe.

"Teacher..." Lin Xiong smiled wryly.

"Lin Xiong, I know it's difficult."

"However, if the space station really falls, our country will become a joke of the international community, three astronauts will die, our country's aerospace industry will be fatally hit, and we will be forever nailed to the pillar of shame."

"There is no room for negotiation on this matter. It must be resolved. Whatever method is considered, it must be resolved!" Gao Xiang was extremely serious.

(End of this chapter)

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like