Technology and life: starting with solar cars

Chapter 60 The Soul of CS - Algorithms

Chapter 60 The Soul of CS - Algorithms
After the principle is determined, it will be implemented in detail.

As a result, this series of problem solving in design can realize the final product completion.

To complete the production of products, the first thing to solve is the server problem, commonly known as SERVERSE, and the most important thing in the server is the algorithm.

In a computer, some people think that the CPU is the most important, and some people think that the computer's operating system is the most important. For example, for WINDOWS, the visual operation of this system is far more convenient than other systems such as LINUXS, so it occupies the most important position. majority of the market.It is really hard to determine what is the most important thing for a computer, because everything is important, and the CPU is also important for the system. The system supports the user's operations, and the CPU is responsible for logically processing the user's operations. One is the core of the software and the other is the core of the hardware. It is difficult to compare which is more important.

The same is true for mobile phones. It is impossible to compare whether the Android system is important or the CPU processor is important, because the structure of the mobile phone is similar to that of a computer, and the CPU is also used to process user operations, while the Android system is a visual environment for users. These two aspects complement each other to make the mobile phone easy to use.

So what is the most important for glasses display?

First of all, we must understand how to position the glasses display when designing the glasses display.Liu Yun's positioning of the glasses display is an interactive software, so what is an interactive software? To put it bluntly, it is a social software like Weixin, which is not a system like WINDOWS.However, the interactive interface of the glasses display is not the same as the traditional hungry social software. It realizes the interaction with the base station.

It is precisely because the glasses display is regarded as an interactive software, it is natural that the system and CPU cannot be used to measure this software.

So what is the most important thing about glasses displays, some people may think it is the system, which is obviously wrong. If it is a mobile phone system, it must be important. If it is a social software system like Weixin, it is not so important. The system is just an environment. It is just a tool to assist Weixin to run.

So the system is not so important to the interface of the glasses display.

So is the CPU important? Of course the CPU is important, because the CPU is a necessary tool for all calculations and logic, which is equivalent to the brain of the human body. Naturally, it cannot work without a CPU.

However, the glasses display is an interface and does not require a display. Just like the screen of a mobile phone, does it need to install a CPU for the screen of the mobile phone?
Aside from the two important factors of CPU and system, the most important thing is the algorithm.

For a social software, the algorithm is the soul of the software.A good algorithm can keep the security of the software extremely high. If the algorithm is easy to be cracked, then a random person can capture the packets and crack everyone's chat records casually. How can anyone use such social software? Dare to use?
There is no difference between social software without a good algorithm and streaking. It is not too simple for those HACKs to watch whoever chats easily.

Therefore, if you want to make social software, you must do a good job of the algorithm. Naturally, the more difficult the algorithm, the better. The more complex the algorithm, the more difficult it is, and the more time it will take to crack it, the more secure the data can be guaranteed.

The glasses display is equivalent to the CS mode, and the CS mode is called the interactive mode of Clint and SERVER, which is different from the BROWER and SERVER mode of BS, which means the interaction between the client and the server.

What Liu Yun has to do is to ensure the security of this CS mode. Unfortunately, Liu Yun does not know any algorithms. There is no way. He is not a programmer. How can he understand algorithms, especially complex algorithms? .

This kind of problem can only be sought by Liu Jinwei.

After Liu Jinwei came, Liu Yun asked: "Jin Wei, if I want to make a social software, do you have any good algorithm to ensure the security of the designed software, it must be safe, not the kind that is particularly easy to be cracked algorithm, the safer the better."

"I really don't have this. Although I am a software engineer, I only do software editing. Algorithms are very complicated and troublesome. Strictly speaking, algorithms can be independently regarded as a discipline. Algorithms do not necessarily include In software engineering." Liu Jinwei explained that he really doesn't know how to do algorithms, and algorithms are too advanced, not to mention ordinary engineers, even powerful engineers can't master algorithms.

Unless those great god-level engineers or groups who specialize in algorithms.

Well, Liu Jinwei has already answered that, what else can Liu Yun say.

Since Liu Jinwei can't solve it, he can only ask the system for help.

It's been a long time since I saw the system.

"System, is there any good algorithm to recommend? The higher the security, the better. It is best to be super super difficult. It takes more than 100 years to crack it."

[Ding, advise the host not to daydream, your points are only so small, it is impossible to afford such a safe and complicated algorithm. 】

Indeed, it was only then that Liu Yun remembered that he only had 80 points left. It is estimated that the points are only enough to buy a simple algorithm, and even a slightly more powerful algorithm may not be affordable.

Hey, points, oh points, it's not that hard to earn, it's never enough to spend, it's really helpless.

For the first time, Liu Yun felt the importance of points. If the time can be restarted, he still has no way to get a lot of points.
Points are not generally hard to earn. I only earned 100 points when I was promoting my bike for the first time. I worked hard on a lot of designs. Later, I fought with Li Siqing’s car company to promote cars. After so long, the promotion of solar cars was finally completed, but after the promotion was completed, only 100 points were obtained, which shows that the difficulty of obtaining points is not ordinary.

Moreover, this point must be obtained through the promotion of technology, and there is no other way to obtain it. Even if Liu Yun wants to use other methods to complete the point acquisition, it is impossible.

Also, for the promotion of the robotic arm, the system has not issued points yet. Liu Yun doesn’t know if it’s because Manager Zhang from Corecom has intervened, causing the system to judge that the task is not over yet. The period is a bit long.

Such a long period of time made Liu Yun forget the existence of the system. There is not much difference between the existence of the system and the absence of it.
[Ding, the host’s idea has been detected. If the host wants to receive the benefits of promoting the robotic arm in advance, it is also possible. The system intends to wait for the host to complete the design of the robotic arm before giving it. If the host wants to get points in advance, of course it is okay, but If you want points now, it will be a little less than later settlement. 】

"I'll go, I said why didn't you settle the points for me, why didn't you explain to me earlier, I thought I had to wait for the glasses display interface to be completed before you settled for me. It doesn't matter, the less the points, the less, The money is what you get, and I would rather earn less points than get points earlier.”

[Ding, the system has received the host's request, may I ask if the host has obtained points for the promotion of the robotic arm? 】

"Yes, hurry up, you ask me yes or no every time, can't you just do things quickly, it's too ink-stained to ask me every time."

【Ding, this is the process of the system. If you don't ask yes or no, it may make the host have bad thoughts, because you must first ask. 】

"Okay, stop talking nonsense, and tell me how many points you have."

[Ding, the settlement is in progress, please wait for the host. 】

[Ding, the settlement is successful, the promotion business of the robotic arm gets 120 points, and the current host's points are exactly 200 points. 】

"Did the system distribute your points randomly? I only gave 100 points for promoting a project as big as a solar car, but I actually gave me 120 points for promoting a robotic arm. The amount of your points is not scientific at all. , it feels so casual."

[Ding, the points system has a very scientific method for calculation, the host does not need to question it, the system will calculate it based on the degree of completion of the event, the impact of the event on society, and the impact of the event on customer service. 】

【Ding, take solar cars and robotic arms as examples.There is no doubt that the host has played a very important role in the promotion of solar cars, so the system gives more points than the robotic arm in the promotion of solar cars.However, the happiness index of the solar car promoted by the host is not high for customers. Those who buy the car only hold the idea that the solar car promoted by the host is a means of transportation, but the promotion of the mechanical arm makes the customer feel extremely happy , almost every user who uses the robotic arm is very happy, because the points given by the system in this aspect are much higher than those of solar cars. 】

I'm going to calculate the points like this.

Doesn't that mean that the happier the product makes others, the more points you get.

How about doing something dangerous?
After thinking about it, Liu Yun gave up. He is only 20 years old and he is in his prime, so he can't just take risks and mess around.

Besides, he is not short of that little money. Although he only has a deposit of 100 million, he does not need to spend his own money on food and drink. They are all spent by the company. It can be said that the company provides food, clothing, housing and transportation, which is quite in place.

When mentioning money, Liu Yun was puzzled again, so he asked the system: "I don't have any money for promotion, why do I only have points?"

[Ding, inquiring. 】

[Ding, the inquiry is completed, and the host will be rewarded with 100 million cash, please check it. 】

Shit, I don't ask you if this dog system is going to distribute money, right? Do you want to embezzle the 100 million?

This time the system did not reply.

In any case, it's a point reward and a money reward.

Now the deposit is 100 million more, 200 million is enough to buy a house in Taili City, and there is still a lot of money left to buy a luxury car.

Think about it a little excited.

After getting excited, Liu Yun remembered the business. The purpose of the system he summoned was to buy the algorithm, not to play.

It's really not right to forget such an important thing while chatting with the system.

"System, I want to buy some algorithms for social software security, do you have any?"

[Ding, the system also provides any algorithms, but the host has too few points, so he can barely buy some cheap ones, please ask the host whether to check it. 】

"Yes."

[Ding, XX certificate encryption algorithm, the price is 100 points, the decryption of the file is realized by verifying the certificate, the certificate verification is deencrypted, and the verification cannot be decrypted. The YY symmetric algorithm realizes encryption and decryption by verifying the identity. The user sets a password and sends it to the other party. The other party enters the password set by the user to unlock the file. If the input is wrong, the file cannot be unlocked. ZZ asymmetric cryptography realizes the encryption and decryption of files through identity verification. The user first generates a public key and private key, and then sends them to the other party. Only when the other party holds the private key can the file be unlocked. Otherwise the file cannot be unlocked. 】

[Ding, there are many other algorithms that the host can't afford. As for the same price, the difficulty of cracking is not much different. The host can choose one of these three algorithms. 】

Liu Yun doesn't understand algorithms at all, so what's the matter.

I had to ask Liu Yunwei beside him: "Jin Wei, do you know the encryption algorithm of XX certificate?" Liu Jinwei shook his head.

"Then you should know the YY symmetric algorithm." Liu Jinwei still shook his head.

"What about the ZZ asymmetric algorithm?" Unsurprisingly, Liu Jinwei shook his head again.

Liu Yun didn't reprimand Liu Jinwei either. After all, Liu Jinwei is only engaged in software and has nothing to do with algorithms.

It seems that I can only ask the system, and it is really easy to use the system because it is omnipotent.

"System, can you tell me which algorithm I should choose? Combine security and computational complexity."

[Ding, my suggestion is to choose YY symmetric algorithm or ZZ asymmetric algorithm. As long as the host sets a separate password or gives a separate private key to each person who uses the glasses display interface, the verification of the user can be completed . 】

That’s fine, just generate a password or private key based on each user’s username and password and put it on the glasses display.

As for which algorithm to choose, Liu Yun was a little hesitant.

Let's wait until the hardware is finished before choosing an algorithm. If you choose it now, if you choose 100 points wrong, it will be in vain.

The main reason is that these points are too difficult to obtain, Liu Yun can't wait to spend 1 point as 10 points, and dare not use it indiscriminately.

(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