A voice call system based on PC client digital signal conversion
By deploying a combination system of PC client, PC server, and a microcontroller and walkie-talkie in the workshop, using the TCP protocol and communication module, the digital signal conversion from the PC end to the walkie-talkie is realized, solving the problem of signal difference in the workshop, and quickly notifying and repairing is notified. The personnel reduces the equipment fault handling time and the risk of flow of unqualified products, improves the reliability of information transmission and the scalability of the system.
Patent Information
- Application Number
- CN201810315276.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-04-10
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2038-04-10
AI Technical Summary
The existing technology cannot effectively convert the digital signal on the PC side into the voice signal in the walkie-talkie, which makes it difficult for operators to notify repair personnel quickly in the environment of poor signal in the workshop, resulting in a long time for equipment failure and may lead to the flow of unqualified products. Next link.
A digital signal conversion voice call system based on PC client was designed. Through the combination of PC client, PC server, microcontroller and walkie-talkie, using Socket interface, RS485 bus and communication module and other technologies, operators can call by clicking buttons. Repair personnel and establish reliable connections through the TCP three-time handshake protocol to ensure the accuracy and speed of information transmission.
It shortens the time for operators to find repair personnel after equipment failure, reduces the probability of unqualified products flowing to the next link, improves the reliability of information transmission, and provides high scalability for future workshop needs.
Smart Images

Figure CN108306897B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of shredded stem making technology, and in particular is a voice calling system based on PC client digital signal conversion. Background Art
[0002] Originated from the demand for service quality in developed countries, its main purpose is to provide customers with rapid and accurate consulting information, business acceptance and complaint services through telephone, fax and other forms. Through intelligent call distribution of program-controlled switches, computer telephone integration, automatic answering system and other efficient means and experienced human agents, customer satisfaction is maximized, and the relationship between enterprises and customers is naturally closer, which is an important means to improve the competitiveness of enterprises. With the development and integration of communication and computer technology in recent years, call centers have been given new content: the introduction of distributed technology has made it unnecessary for human agent representatives to work in one place; the emergence of automatic voice answering equipment has not only replaced the work of human agent representatives to a large extent, but also enabled call centers to operate 24 hours a day; the revolution of Internet and communication methods has enabled call centers to handle not only telephones, but also faxes, e-mails, Web access, and even Internet-based telephone and video conferencing. Therefore, today's call centers have far exceeded the scope of the past definition and have become organizations that provide interactive services to customers with information technology as the core and through a variety of modern communication means. Workshops and various industry communication tools generally use walkie-talkies, but there is currently no technology that can convert digital signals from PCs into voice signals in walkie-talkies. There is no good solution to the above-mentioned difficulties in converting digital signals into voice signals in the prior art. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a voice call system based on PC client digital signal conversion; a simple and reliable PC client human-computer interaction interface, when a workshop production equipment fails, the operator can push the message to the functional personnel on duty and the relevant repair personnel at the fastest speed. However, at present, the signal in the workshop is poor, and the operator cannot inform the repair personnel of the message by making a phone call.
[0004] In order to solve the above problems, the technology and method adopted by the present invention are as follows:
[0005] A voice call system based on PC client digital signal conversion, comprising a PC client, a PC server, a single-chip microcomputer and an intercom; the PC client is connected to the PC server via a Socket interface, and the PC server is connected to the single-chip microcomputer via an RS485 bus;
[0006] The single-chip microcomputer is provided with a single-chip microcomputer IO interface, an RS485 bus interface, a communication module, a single-chip microcomputer body, a 220V to 5V transformer, a relay, a sound effect module and a 220V AC power supply; the communication module, the single-chip microcomputer body, the relay and the sound effect module are connected to the 220V AC power supply through wires respectively via the 220V to 5V transformer; the single-chip microcomputer IO interface is connected to the relay through a signal line;
[0007] The single chip microcomputer is connected to the PC client through the communication module, and the communication module is connected to the PC server through the RS485 bus interface via the RS485 bus;
[0008] The intercom is provided with an intercom speaker and an intercom message sending button, the single chip microcomputer is connected to the intercom speaker through a sound effect module, and the intercom message sending button is respectively connected to the single chip microcomputer IO interface and the relay through signal lines.
[0009] Furthermore, the PC client is an EXE application installed in the operator's MES computer. The operator can click the "Call packaging repairman", "Call smoke machine repairman", and "Call electrician" buttons in the EXE program, use the existing wireless LAN in the workshop, and establish a connection through the TCP three-way handshake protocol to call relevant maintenance personnel.
[0010] Furthermore, the PC server is used to receive the maintenance request sent by the operator, determine the specific calling device number (1-20) by judging the IP address of the received message, and send the message to the communication module.
[0011] Furthermore, the communication module is used to receive information sent by the PC client and the server, and send the instruction information to the microcontroller body inside the microcontroller according to the written program; the communication module uses the JP-2y068802 communication module, and after setting the communication parameters such as baud rate and timing, the PC client and the server communicate with the microcontroller.
[0012] Furthermore, the single-chip microcomputer body is connected to the relay and the sound effect module respectively. After receiving the instruction from the communication module, the single-chip microcomputer body sends an instruction to notify the relay connected to the intercom message sending button wire to be in the on state, so that the intercom is in the message sending state; on the other hand, the single-chip microcomputer body instructs the sound effect module to play the corresponding voice, so that the call for repair can be sent in the form of a broadcast to the intercom on the same channel.
[0013] Furthermore, when the PC client needs to send a message to the PC server, in order to prevent the client's expired connection from being connected to the server again, the TCP protocol three-way handshake theorem is used to provide a reliable connection service:
[0014] First handshake: When establishing a connection, the client sends a syn packet (syn=j) to the server and enters the SYN_SEND state, waiting for the server to confirm;
[0015] SYN: Synchronize Sequence Numbers
[0016] Second handshake: After receiving the SYN packet, the server must confirm the client's SYN (ack=j+1) and send a SYN packet (syn=k), i.e., a SYN+ACK packet. At this time, the server enters the SYN_RECV state.
[0017] The third handshake: The client receives the SYN+ACK packet from the server and sends a confirmation packet ACK (ack=k+1) to the server. After this packet is sent, the client and server enter the ESTABLISHED state, completing the three-way handshake;
[0018] After three handshakes, the client can communicate with the server.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] 1. It can shorten the time it takes for operators to find repairmen and electricians after equipment failure. In the past, when equipment failed, operators had to spontaneously look for repairmen or functional personnel with walkie-talkies in the workshop, which took an average of 2 minutes. After using this call system, operators only need to click the call button in the PC client to notify the repairman of the message.
[0021] 2. It can reduce the probability of defective products flowing to the next link. After a device fails, there is a certain probability that defective products will appear. If the operator is busy looking for repair personnel and ignores the link of intercepting defective products, it may cause defective products to flow to the next link. Using this call system, operators can intercept possible defective products in the best time.
[0022] 3. The voice call system uses the wireless LAN that has been laid in the workshop and transmits messages through the highly reliable TCP protocol, which greatly reduces the error of information transmission.
[0023] 4. The voice call system provides high scalability in the form of an interface, laying a solid foundation for future workshop demand updates. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A structural diagram of a voice call system of the present invention;
[0026] Figure 2 A schematic diagram of a TCP three-way handshake when a PC client and a PC server communicate with each other;
[0027] Figure 3 It is a schematic diagram of the structure of the single chip microcomputer of the present invention;
[0028] Figure 4 It is a working principle diagram of the present invention.
[0029] In the figure: 1. PC client; 2. PC server; 3. MCU; 4. MCU IO interface; 5. RS485 bus interface; 6. Communication module; 7. MCU body; 8. 220V to 5V transformer; 9. Relay; 10. Sound module; 11. 220V AC power supply. DETAILED DESCRIPTION
[0030] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more specific definition of the protection scope of the present invention;
[0031] like Figure 1 , Figure 3 and Figure 4 As shown, the technical solution of the present invention is a voice call system based on PC client digital signal conversion, which includes a PC client 1, a PC server 2, a single-chip microcomputer 3 and an intercom; the PC client 1 is connected to the PC server 2 through a Socket interface, and the PC server 2 is connected to the single-chip microcomputer 3 through an RS485 bus;
[0032] The single-chip microcomputer 3 is provided with a single-chip microcomputer IO interface 4, an RS485 bus interface 5, a communication module 6, a single-chip microcomputer body 7, a 220V to 5V transformer 8, a relay 9, a sound module 10 and a 220V AC power supply 11; the communication module 6, the single-chip microcomputer body 7, the relay 9 and the sound module 10 are connected to the 220V AC power supply 11 through wires respectively via the 220V to 5V transformer 8; the single-chip microcomputer IO interface 4 is connected to the relay 9 through a signal line;
[0033] The single chip microcomputer 3 is connected to the PC client 1 through the communication module 6, and the communication module 6 is connected to the PC server 2 through the RS485 bus interface 5 via the RS485 bus;
[0034] The intercom is provided with an intercom speaker and an intercom message sending button. The single-chip computer main body 7 is connected to the intercom speaker through the sound effect module 10, and the intercom message sending button is respectively connected to the single-chip computer IO interface 4 and the relay 9 through signal lines.
[0035] The PC client is an EXE application installed in the operator's MES computer. The operator can click the "Call Packaging Repairman", "Call Smoke Machine Repairman", and "Call Electrician" buttons in the EXE program, use the existing wireless LAN in the workshop, and establish a connection through the TCP three-way handshake protocol to call relevant maintenance personnel.
[0036] The PC server is used to receive the maintenance request sent by the operator, determine the specific calling device number 1-20 by judging the IP address of the received message, and send the message to the communication module.
[0037] The communication module is used to receive information sent by the PC client and the server, and send the instruction information to the microcontroller body inside the microcontroller according to the written program; the communication module 6 uses the JP-2y068802 communication module, and after setting the communication parameters such as baud rate and timing, the PC client and the server communicate with the microcontroller.
[0038] The single-chip computer main body 7 is connected to the relay and the sound effect module respectively. After receiving the instruction from the communication module, the single-chip computer main body 7 sends an instruction to notify the relay connected to the intercom message sending button wire to be in the on state, so that the intercom is in the message sending state; on the other hand, the single-chip computer main body 7 instructs the sound effect module to play the corresponding voice, so that the call for repair can be sent to the intercom on the same channel in the form of a broadcast.
[0039] Example 1
[0040] like Figure 1 As shown, the repair call system structure consists of four parts: PC client 1, PC server 2, single-chip computer 3, and intercom. The basic components of the communication part between PC client 1 and PC server 2 and the communication part between PC and single-chip computer include: a. EXE program in the client computer, b. EXE program in the server computer, and c. The whole part of the single-chip computer.
[0041] like Figure 2 , Figure 3 , Figure 4As shown, the communication program between PC client 1 and PC server 2 needs to introduce the transport layer of the 7-layer communication model of OSI Open Systems Interconnection Reference Model, and use the TCP protocol to enable PCs to communicate with each other; the communication part between PC and MCU needs to use JP-2y068802 communication module, and after setting the baud rate, timing and other communication parameters, PC and MCU can communicate with each other.
[0042] When the PC client 1 sends a repair request to the PC server 2, the server EXE program determines that the message to be sent corresponds to the client machine number 1-20 according to the received IP address, and thus sends the message to the communication module 6. The single-chip computer body 7 is connected to the communication module 6 and can receive the instructions issued by the communication module 6. The intercom message sending button is connected to the single-chip computer IO interface 4 and the relay 9 through signal lines. After receiving the instructions sent by the communication module 6, the single-chip computer instructs the relay 9 and the output wire of the single-chip computer IO interface 4 to connect the intercom message sending button. At the same time, the single-chip computer sends a message to the sound effect module 10 connected to the intercom speaker to instruct it to play the sound effect, and the sound effect is broadcasted to the intercom of a specific channel through the speaker.
[0043] like Figure 2 As shown, when PC client 1 needs to send a message to PC server 2, in order to prevent the client's expired connection from being connected to the server again, the TCP protocol three-way handshake theorem is used to provide a reliable connection service:
[0044] First handshake: When establishing a connection, the client sends a syn packet (syn=j) to the server and enters the SYN_SEND state, waiting for the server to confirm;
[0045] SYN: Synchronize Sequence Numbers
[0046] Second handshake: After receiving the SYN packet, the server must confirm that the client's SYNack=j+1, and at the same time send a SYN packet SYN=k, that is, a SYN+ACK packet. At this time, the server enters the SYN_RECV state;
[0047] The third handshake: The client receives the SYN+ACK packet from the server and sends a confirmation packet ACK (ack=k+1) to the server. After this packet is sent, the client and server enter the ESTABLISHED state, completing the three-way handshake.
[0048] After three handshakes, the client can communicate with the server.
[0049] like Figure 3, Figure 4 As shown, the single-chip microcomputer part starts running, and the 220V to 5V AC transformer 8 converts the 220V AC power provided by the power supply 11 into 5V to supply the communication module 6, the single-chip microcomputer body 7, the relay 9, and the sound effect module 10. After the communication module 6 is connected to the PC server 2 via the RS485 bus, the system works normally. When the communication module 6 sends an instruction to the single-chip microcomputer body 7, after the program in the single-chip microcomputer body 7 judges, it instructs its IO port to send a high frequency to the relay connected to the message sending button of the intercom voice device. After receiving the message, the relay 9 is in the on state, and the two wires of the intercom speaker are connected to make it in the audio sending state. At this time, the single-chip microcomputer body 7 sends a sound effect instruction to read the specified position to the sound effect module connected to the speaker of the intercom voice device, and sends the sound effect to the intercom on the same channel in the form of broadcast.
[0050] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that are not conceived through creative work should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope defined in the claims.
Claims
1. A voice call system based on PC client digital signal conversion, characterized in that: The system comprises a PC client (1), a PC server (2), a single-chip microcomputer (3) and an intercom; the PC client (1) is connected to the PC server (2) via a Socket interface, and the PC server (2) is connected to the single-chip microcomputer (3) via an RS485 bus; The single-chip computer (3) is provided with a single-chip computer IO interface (4), an RS485 bus interface (5), a communication module (6), a single-chip computer body (7), a 220V to 5V transformer (8), a relay (9), a sound effect module (10) and a 220V AC power supply (11); the communication module (6), the single-chip computer body (7), the relay (9) and the sound effect module (10) are connected to the 220V AC power supply (11) through wires respectively via the 220V to 5V transformer (8); the single-chip computer IO interface (4) is connected to the relay (9) through a signal line; The single chip computer (3) is connected to the PC client (1) through a communication module (6), and the communication module (6) is connected to the PC server (2) through an RS485 bus interface (5) via an RS485 bus; The intercom is provided with an intercom speaker and an intercom message sending button, the single chip computer (3) is connected to the intercom speaker via a sound effect module (10), and the intercom message sending button is respectively connected to the single chip computer IO interface (4) and the relay (9) via signal lines; The PC client is an EXE application installed in the operator's MES computer. The operator can click the "Call Packaging Repairman", "Call Smoke Machine Repairman", "Call Electrician" buttons in the EXE program, use the existing wireless LAN in the workshop, and establish a connection through the TCP three-way handshake protocol to call the relevant maintenance personnel; The PC server is used to receive the maintenance request sent by the operator, determine the specific calling device number (1-20) by judging the IP address of the received message, and send the message to the communication module; The single-chip computer main body (7) is connected to the relay and the sound effect module respectively. After receiving the command from the communication module, the single-chip computer main body (7) sends a command to notify the relay connected to the wire of the intercom message sending button to be in an on state, so that the intercom is in a message sending state; on the other hand, the single-chip computer main body (7) instructs the sound effect module to play the corresponding voice, so that the call for repair message can be sent in the form of broadcast to the intercom on the same channel.
2. A voice call system based on PC client digital signal conversion as claimed in claim 1, characterized in that: The communication module is used to receive information sent by the PC client and the server, and send the instruction information to the single-chip microcomputer body inside the single-chip microcomputer according to the programmed program; the communication module (6) uses the JP-2y068802 communication module, and after setting the communication parameters such as the baud rate and timing, the PC client and the server communicate with the single-chip microcomputer.
3. A voice call system based on PC client digital signal conversion as claimed in claim 1, characterized in that: When the PC client needs to send a message to the PC server, in order to prevent the client's expired connection from being connected to the server again, the TCP protocol three-way handshake theorem is used to provide a reliable connection service: First handshake: When establishing a connection, the client sends a syn packet (syn=j) to the server and enters the SYN_SEND state, waiting for the server to confirm; SYN: Synchronize Sequence Numbers Second handshake: When the server receives the SYN packet, it must confirm the client's SYN (ack=j+1) and send a SYN packet (syn=k), i.e., a SYN+ACK packet. At this time, the server enters the SYN_RECV state. The third handshake: The client receives the SYN+ACK packet from the server and sends a confirmation packet ACK (ack=k+1) to the server. After this packet is sent, the client and server enter the ESTABLISHED state, completing the three-way handshake; After three handshakes, the client can communicate with the server.
Citation Information
Patent Citations
Intelligent interlink warning and monitor system
CN101051407A
Scatter centralized control method for equipment monitoring and automatic calling unit
CN102147605A
Elevator urgent-repairing method and system based on call center and locating service
CN103588059A
Hotel intelligent check-out method and system
CN103679584A
Automatic maintenance calling method
CN104715333A
