Chapter 188: Synchronization

readx;

Chapter 188 Synchronization

Before going to the morning exercise, Lin Hong left a message on CQCQ for Phyllis, asking her to go to FTP to download the latest software. Pen & Fun & Pavilion www.biquge.info this version,All the functions she proposed before have been added。

Considering that it was possible to store a large amount of user data, Lin Hong finally separated the server side and the client side that were originally integrated.

The server side does not need too many functions, its main functions focus on the storage of data and the forwarding of messages, Lin Hong did not even write a graphical interface for the server at the beginning, and it was simply a server process in the server, providing network services to the outside world.

And on the client side, it has also been streamlined.

The original interface, which filled the entire display, was reduced to a phone-sized interface, in the shape of a long bar, on which you can store the CQCQ number address of your friend user. With the click of a mouse, you can have a conversation with the other person.

The numbering rules of CQCQ numbers, Lin Hong did not stipulate which numbers indicate the country and which numbers represent the area code according to the phone number, in his opinion, there is no need for this kind of regional division on the Internet. For people all over the world, the Internet is a flat continent that everyone can access anytime, anywhere, and instantly appear anywhere on the continent.

Therefore, the numbering rule Lin Hong simply uses the method of accumulation. Originally, I wanted to start adding directly from a single digit, but then I decided to start with 10,000 numbers, which was to consider that some numbers would be used internally in the future, so the first 10,000 numbers were retained. All newly registered users must start from 10,000 onwards. Of course, Lin Hong himself is number 10,000, and Phyllis is number 10,001.

Lin Hong abbreviated this number as the user's CQ number.

Of course, he did not give up the function of group chats, but used them as a service that can be created at any time. Each user can create their own channel or room and invite their friends to chat with them. Channels also have their own numbers.

However, in order to distinguish it from the CQ number, he added a capital letter R in front of the room number, followed by a series of numbers, also starting from the 10000 number, when the user creates his own room, he can tell the room number to others, and others can enter the chat room for group chat through the room entry button on the software.

Moreover, Lin Hong also added the automatic software upgrade and update function, which integrates a streamlined ftp function, once the client queries the news that a new version is released on the server, it will automatically start the update function, and get the latest update package or a new client from the server to upgrade the software. This function is not difficult to implement, only need to implement a one-way function to download data from a specified server, and does not need to support any instructions.

In addition,The file sharing and transfer function has also been added,It's not difficult,It was originally supported in the IRC protocol,Lin Hong made this function similar to sending email,Click to send a file,An interface similar to sending email will pop up,Add the file you want to send to it,Then click send。

After the morning exercise, Lin Hong, Arthur and Matthew immediately rushed to the school's activity room.

Today, they are going to successfully set up the "Computer Synchronization Device (CDAD)".

This device is an infrared transceiver device, which is equivalent to a modem, which can connect the computer and the computer, so as to indirectly realize the networking function.

The hardware for this CDAD device was mainly purchased by the torch and the left-hander duo from their local electronics market and then sent to the headquarters of the SAM Association.

Lin Hong participated in the drawing of the circuit diagram of this synchronous equipment throughout the process.

In this regard, the torch and the left hand can only be impressed, they originally planned to take several weeks to complete the circuit design drawings, Lin Hong only took more than two days to make them, and also took into account the characteristics and layout of various components and electrical components in the drawings, there will be no incompatibility or jumpers and the like.

After getting along with Lin Hong, everyone gradually found that Lin Hong's brain seems to be extremely developed, especially in algorithms or similar occasions involving extremely complex calculations. In the eyes of others, this kind of work that requires time to exchange functions, but Lin Hong can complete it very quickly, and there is no obstacle to understanding.

So everyone gradually developed a habit, no matter in software or hardware, once they encounter any problems, if they really can't solve them, they usually ask Lin Hong for help, and often get a good solution quickly.

Lin Hong has become the most core member of the SAM Association with his own ability, nominally with Matthew as the president, but his status and prestige in the association are definitely not able to catch up with Lin Hong. Matthew was mainly responsible for some external matters of the association, and he completely faded out of the technical aspect.

When I got to the activity room, Pissen had already arrived.

This is the fourth member of the SAM Association, although he is usually quiet and rarely speaks, but he is extremely serious in doing things, and he belongs to the kind of person who talks less and does more.

His current focus is mainly on the development of application software on the computer platform, and the management of BBS is mainly done by him, and many people submit various software written by themselves to the official every day, hoping to get official recognition, and then put it on the official FTP for everyone to download. The audit work is basically in charge of Pisen.

Entering the activity room, the conference table in the center is already full of various electronic components.

Among them, the most striking is a column-like object placed in the middle, the size of a pen holder, about 40 centimeters in length, placed vertically on the table.

That's exactly what the computer bridges to the computer CDAD, what the hardware group is mostly doing these days.

The CDAD unit uses a total of fifteen industrial-grade infrared transmitters and receivers, which are arranged in a cylindrical shape, even in the upward vertical direction.

This design was finalized after precise calculations.

Theoretically speaking, as long as such a thing is placed in a room with an area of no more than 200 square meters, it can basically receive CDAD without dead ends.

Infrared transmission is the most susceptible to interference, the penetration ability is very weak, and if something is blocked in the middle, the transmitted signal will be greatly weakened. The next room doesn't receive infrared signals in any way.

Of course, from the point of view of confidentiality, it is also an advantage, which is why infrared communication is widely used in the field of remote controls. It is precisely because the penetration of infrared rays is not strong, and the transmission distance also has its limit, which is not included in the scope of controlled radio by the state.

In addition, the directionality of infrared rays is also relatively strong, and it is propagated in a straight line, which must be aligned to achieve the best effect.

In order to solve the above two problems, the only way to achieve the effect is to increase the infrared emitter.

The well-designed CDAD, placed in the room, theoretically can basically eliminate the transmission of dead angles, and there is no need to deliberately align. This is because the diffuse reflection principle of infrared rays is utilized.

This is the same as the diffuse reflection of light, which is reflected when infrared light encounters an obstruction, and the signal continues to travel forward.

In this way, through the industrial-grade infrared transmitter and receiver, supplemented by 360 degrees plus the vertical layout, this problem can be effectively solved and the ideal transmission effect can be achieved.

Fortunately, the infrared emitter is not expensive, only five dollars for one, and the total cost of their CDAD device is about one hundred and twenty dollars. And the price of a calculator is slightly more expensive and still acceptable.

This is just a prototype, and when it is finished, the exposed infrared transceiver will be encapsulated with a shell to design a more beautiful shell, so that it can be installed in the room, such as the top of the center of the room like a light bulb.

"Can you really finish debugging today?" Matthew asked.

"It should be about the same, if there is no problem with the components." Lin Hong connected the transformer power to the CDAD, and then connected the data cable to the data interface on the server.

This data interface is derived from the expansion card.

"Matthew, where are we going to put this product after we make it?" Arthur looked at the thing in front of him and couldn't help but admire it in his heart. Before that, he didn't believe that the hardware team really had this strength, but he didn't expect that the prototype would be produced in just a few days.

"Let me think about it......" Matthew walked briskly around the room.

Pysen: "Installed in this room? ”

"No, our activity room is not open all the time, infrared light is not penetrating, everyone wants to synchronize, you have to enter the room." Matthew immediately vetoed the idea.

"Are there any places that everyone must visit?" Matthew asked.

“homeroom.”

Matthew still shook his head: "Where everyone wants to go, there is only one class at homerome, and it can't be done." ”

"Library?"

"Gymnasium?"

……

Eventually, after thinking about it, they agreed that the entrance to the school cafeteria was good, there was a corridor of about 50 square meters, and the walls were usually used to put all kinds of posters or revelations and the like. Everyone in the school has to pass through the cafeteria to go there, and as long as the CDAD is installed in the top center, the data can be easily synchronized.

But if you want to install it there, you'll have to buy a separate computer.

Just when Matthew and the others were having a headache, Lin Hong had already connected all the wiring of CDAD.

He sat down in front of the computer, started to start the synchronous connection software, and said, "CDAD has been set up, let's test the signal." ”

So, Matthew, Arthur, and Pisson each took a cracked calculator from the table and ran to the corner of the room to start the synchronization test.

……