CN115484125A - Serial communication method, device, computer equipment and readable storage medium - Google Patents

Serial communication method, device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN115484125A
CN115484125A CN202211033829.2A CN202211033829A CN115484125A CN 115484125 A CN115484125 A CN 115484125A CN 202211033829 A CN202211033829 A CN 202211033829A CN 115484125 A CN115484125 A CN 115484125A
Authority
CN
China
Prior art keywords
communication
serial port
serial
data
communication data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211033829.2A
Other languages
Chinese (zh)
Inventor
杨建省
刘胜
易利
曹翔
刘全仲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202211033829.2A priority Critical patent/CN115484125A/en
Publication of CN115484125A publication Critical patent/CN115484125A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40078Bus configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • H04L1/0063Single parity check
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9063Intermediate storage in different physical parts of a node or terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application relates to a serial communication method, a serial communication device, computer equipment and a readable storage medium, wherein the method comprises the following steps: and sending communication data to the first serial port communication equipment, wherein the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line. And receiving communication data through a second serial port communication device, wherein the communication data is temporarily stored by a receiving buffer area, and a data transmission channel is established between the second serial port communication device and the receiving buffer area through a second serial port line. The process enables the transmission process of the communication data to form a loop, and the safety of data transmission is tested. The method supports synchronous and asynchronous serial ports, adopts a point-to-point transmission mode to realize a safety mechanism with higher concealment, can prevent information products from being unused, prevents transmission data from being lost and relevant equipment information from being stolen, and has higher communication data transmission safety.

Description

Serial communication method, device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of serial communication technologies, and in particular, to a serial communication method and apparatus, a computer device, and a readable storage medium.
Background
In recent years, with the rapid development of networks, a communication method in which information data is sequentially transmitted bit by bit is called serial communication. Serial Interface (Serial Interface), which is called Serial port for short, is an expansion Interface adopting a Serial communication mode. It uses a bit-by-bit mode to sequentially transmit data, and can be called a serial communication interface or a serial communication interface (generally referred to as COM interface). The serial interface has the characteristics that the communication line is simple, bidirectional communication can be realized only by a pair of transmission lines, and the telephone line can be directly used as the transmission line, so that the cost is greatly reduced, and the serial interface is very suitable for remote communication but has a lower transmission speed.
In a general serial communication method, communication data transmitted by a master device via a serial bus includes a target address and data content. The slave device receives communication data and matches a destination address in the communication data with its own device address. And if the target address is matched with the device address, the slave device receives the data content in the communication data, so that the communication process of transmitting the data from the master device to the slave device is completed. A plurality of node devices in the serial communication system are also connected to form a closed loop, so that any first node device can initiate communication, and at least one second node device can be used as a receiving end to receive data, thereby improving the flexibility of communication.
Although the communication data transmission between the nodes in the general serial communication method has flexibility, the communication data transmission between the nodes is not concealed enough in the transmission process due to the slow remote transmission speed in the transmission process, so that the transmission data is lost, the information of related equipment is easy to steal, and the transmission security of the communication data is poor.
Disclosure of Invention
In view of the above, it is desirable to provide a serial communication method, a serial communication apparatus, a computer device, and a readable storage medium with high security of communication data transmission.
In a first aspect, the present application provides a serial communication method, including:
sending communication data to first serial port communication equipment, wherein the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line;
and receiving the communication data through a second serial port communication device, wherein the communication data is temporarily stored by a receiving buffer area, and a data transmission channel is established between the second serial port communication device and the receiving buffer area through a second serial port line.
In one embodiment, the method further comprises:
setting a parity bit, wherein the parity bit performs limited error detection on the communication data.
In one embodiment, the sending communication data to the first serial communication device previously includes:
determining a first mode, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
In one embodiment, the determining the first mode comprises:
opening a serial port corresponding to the first mode.
In a second aspect, the present application provides a serial communication device, the device comprising:
the device comprises a sending module, a receiving module and a sending module, wherein the sending module is used for sending communication data to first serial port communication equipment, the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line;
and the receiving module is used for receiving the communication data through second serial port communication equipment, wherein the communication data is temporarily stored in a receiving buffer area, and a data transmission channel is established between the second serial port communication equipment and the receiving buffer area through a second serial port line.
In one embodiment, the apparatus further comprises:
a detection module configured to set a parity bit, wherein the parity bit performs limited error detection on the communication data.
In one embodiment, the apparatus further comprises:
a determining module for determining a first mode, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
In one embodiment, the apparatus further comprises:
and the opening module is used for opening the serial port corresponding to the first mode.
In a third aspect, the present application provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
sending communication data to first serial port communication equipment, wherein the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line;
and receiving the communication data through a second serial port communication device, wherein the communication data is temporarily stored by a receiving buffer area, and a data transmission channel is established between the second serial port communication device and the receiving buffer area through a second serial port line.
In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of:
sending communication data to first serial port communication equipment, wherein the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line;
and receiving the communication data through second serial port communication equipment, wherein the communication data is temporarily stored in a receiving buffer area, and a data transmission channel is established between the second serial port communication equipment and the receiving buffer area through a second serial port line.
According to the serial communication method, the serial communication device, the computer equipment and the readable storage medium, the serial port terminal sends the communication data to the sending buffer area for temporary storage, and then sends the communication data to the first serial port communication equipment through the first serial port line. The serial port terminal receives the communication data of the first serial port communication device through the second serial port communication device, the receiving buffer area receives the communication data received by the second serial port communication device through the second serial port line and sends the communication data to the serial port terminal, and the process enables the transmission process of the communication data to form a loop and tests the safety of data transmission. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication usually adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, related equipment information is prevented from being stolen, and the transmission safety of the communication data is higher.
Drawings
FIG. 1 is a flow chart of a serial communication method according to an embodiment of the present application;
FIG. 2 is a flow chart of a serial communication method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a process for executing a serial communication method according to an embodiment of the present application;
FIG. 4 is a block diagram of a serial communication device according to an embodiment of the present application;
FIG. 5 is a block diagram of a serial communication device according to an embodiment of the present application;
fig. 6 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1, in one embodiment, a serial communication method includes the steps of:
step S110, sending the communication data to the first serial communication device, where the communication data is temporarily stored in a sending buffer, and a data transmission channel is established between the sending buffer and the first serial communication device through the first serial line.
Specifically, the serial port terminal sends the communication data to a sending buffer for temporary storage, and then sends the communication data to the first serial port communication device through the first serial port line.
And step S120, receiving communication data through the second serial communication device, wherein the communication data is temporarily stored in the receiving buffer area, and the second serial communication device and the receiving buffer area establish a data transmission channel through a second serial line.
Specifically, in step S110, the communication data received by the first serial port communication device is transmitted to the receiving buffer for temporary storage, and the serial port terminal receives the communication data through the second serial port line.
According to the serial communication method, the serial port terminal sends the communication data to the sending buffer area for temporary storage, and then sends the communication data to the first serial port communication equipment through the serial port line. The serial port terminal receives the communication data of the first serial port communication device through the second serial port communication device, the receiving buffer area receives the communication data received by the second serial port communication device through the second serial port line and sends the communication data to the serial port terminal, and the process enables the transmission process of the communication data to form a loop and tests the safety of data transmission. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication generally adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, information of related equipment is prevented from being stolen, and the transmission safety of the communication data is higher.
In one embodiment, as shown in fig. 2, a serial communication method comprises the steps of:
in step S210, a first mode is determined, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
Specifically, the serial port terminal determines the first mode by a 1 start bit and a 1 or 1.5 or 2 stop bit.
In step S220, the serial port corresponding to the first mode is opened.
Specifically, the serial port terminal opens the corresponding serial port according to the first mode determined in step S210, thereby implementing point-to-point transmission of communication data and improving the concealment of communication data transmission.
Step S230 sets a parity bit, wherein the parity bit is used for performing limited error detection on the communication data.
Specifically, a parity bit for performing limited error detection of communication data to be transmitted is set at the serial port terminal.
Step S240, sending the communication data to the first serial communication device, where the communication data is temporarily stored in a sending buffer, and a data transmission channel is established between the sending buffer and the first serial communication device through the first serial line.
Specifically, the serial port terminal sends communication data to a sending buffer area for temporary storage on the basis of limited error detection, and then sends the communication data to the first serial port communication equipment through the first serial port line.
And step S250, receiving communication data through the second serial communication device, wherein the communication data is temporarily stored in the receiving buffer area, and the second serial communication device and the receiving buffer area establish a data transmission channel through a second serial line.
Specifically, in step S240, the communication data received by the first serial communication device is sent to the second serial communication device through the second serial line, temporarily stored in the receiving buffer, and finally received by the serial port terminal.
In the serial communication method, the system firstly determines the first mode and then opens the serial port corresponding to the first mode. The system sets a parity bit through a serial port control to carry out limited error detection on communication data needing to be transmitted, in the data transmission process, the parity bit is equivalent to a redundant bit and represents a property of the data, and the property is used for detecting errors, and although the property is limited, the detection is easy to realize. The serial port terminal sends communication data to a sending buffer area for temporary storage on the basis of limited error detection, and then sends the communication data to first serial port communication equipment through a first serial port line, the communication data received by the first serial port communication equipment is sent to second serial port communication equipment through a second serial port line, and then the communication data is temporarily stored in a receiving buffer area and finally received by the serial port terminal. The process enables the transmission process of the communication data to form a loop, and the safety of data transmission is tested. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication usually adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, related equipment information is prevented from being stolen, and the transmission safety of the communication data is higher.
As shown in fig. 3, in one embodiment, a serial communication method is provided, where a snxterm tool is used in a UOS system for asynchronous transmission, and a point-to-point manner is used to implement a security mechanism with high concealment.
Firstly, a serial Port card is installed, and RXD (data input pin) and TXD (data transmission pin) of COM Port DB9 are short-circuited, wherein the data input pin is used for receiving data, and the data transmission pin is used for transmitting data. The dependency package required for installing the snxterm plug-in and running the snxterm tool sets the serial port.
The system determines a mode by a 1 start bit and a 1 or 1.5 or 2 stop bit and opens the corresponding serial port terminal. The parity bit is set to carry out limited error detection on communication data needing to be transmitted, so that both communication parties need to agree on a consistent parity check mode when communicating, and for communication data transmission, the parity bit is a redundant bit and represents one property of data, and the property can be used for error detection, and is easy to realize although limited.
On the basis of limited error detection, the serial port terminal sends communication data to a sending buffer area for temporary storage, and then the communication data is sent to the first serial port communication equipment through the first serial port line. And the communication data received by the first serial port communication equipment is sent to the second serial port communication equipment through the second serial port line, temporarily stored by the receiving buffer area and finally received by the serial port terminal. The communication data transmission process forms a loop, and the safety of data transmission is further ensured.
When the communication data transmission is finished, if the display screen connected with the serial port terminal displays, the loop is normal, namely, the communication data is complete.
In the serial communication method, the system firstly determines the first mode and then opens the serial port corresponding to the first mode. The system sets a parity bit through a serial port control to carry out limited error detection on communication data needing to be transmitted, in the data transmission process, the parity bit is equivalent to a redundant bit and represents a property of the data, and the property is used for detecting errors, and although the property is limited, the detection is easy to realize. The serial port terminal sends communication data to a sending buffer area for temporary storage on the basis of limited error detection, and then sends the communication data to first serial port communication equipment through a first serial port line, the communication data received by the first serial port communication equipment is sent to second serial port communication equipment through a second serial port line, and then the communication data is temporarily stored in a receiving buffer area and finally received by the serial port terminal. The process enables the transmission process of the communication data to form a loop, and the safety of data transmission is tested. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication generally adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, information of related equipment is prevented from being stolen, and the transmission safety of the communication data is higher.
As shown in fig. 4, in one embodiment, a serial communication apparatus includes a transmitting module 410 and a receiving module 420.
The sending module 410 is configured to send communication data to the first serial port communication device, where the communication data is temporarily stored in a sending buffer, and a data transmission channel is established between the sending buffer and the first serial port communication device through a first serial port line.
The receiving module 420 is configured to receive communication data through the second serial communication device, where the communication data is temporarily stored in the receiving buffer, and the second serial communication device and the receiving buffer establish a data transmission channel through a second serial line.
In the serial communication device, the sending module sends the communication data to the sending buffer area for temporary storage, and then sends the communication data to the first serial port communication equipment through the first serial port line. The receiving module receives the communication data of the first serial port communication device through the second serial port communication device, the receiving buffer area receives the communication device received by the second serial port communication device through the second serial port line and sends the communication device to the serial port terminal, and the transmission process of the communication data forms a loop and the safety of data transmission is tested. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication usually adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, related equipment information is prevented from being stolen, and the transmission safety of the communication data is higher.
As shown in fig. 5, in one embodiment, a serial communication apparatus includes a decision module 510, an opening module 520, a detection module 530, a transmission module 540, and a reception module 550.
The determining module 510 is used for determining a first mode, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
The opening module 520 is configured to open a serial port corresponding to the first mode.
The detection module 530 is used to set the parity bits and perform limited error detection on the communication data.
The sending module 540 is configured to send communication data to the first serial communication device, where the communication data is temporarily stored in a sending buffer, and a data transmission channel is established between the sending buffer and the first serial communication device through the first serial line.
The receiving module 550 is configured to receive communication data through the second serial communication device, where the communication data is temporarily stored in the receiving buffer, and the second serial communication device and the receiving buffer establish a data transmission channel through a second serial line.
In the serial communication device, the system firstly determines the first mode and then opens the serial port corresponding to the first mode. The system sets the parity check bit to carry out limited error detection on the communication data to be transmitted through the serial port control, in the data transmission process, the parity check bit is equivalent to a redundant bit and represents a property of the data, and the property is used for detecting errors, but is easy to realize. The serial port terminal sends communication data to a sending buffer area for temporary storage on the basis of limited error detection, and then sends the communication data to first serial port communication equipment through a first serial port line, the communication data received by the first serial port communication equipment is sent to second serial port communication equipment through a second serial port line, and then the communication data is temporarily stored in a receiving buffer area and finally received by the serial port terminal. The process enables the transmission process of the communication data to form a loop, and the safety of data transmission is tested. The method supports synchronous and asynchronous serial ports, the asynchronous serial port communication generally adopts a fixed communication format, data is transmitted in the same frame format, each frame consists of a start bit, a data bit, a parity check bit and a stop bit, the safety of communication data is tested by combining a loop, a safety mechanism with higher concealment is realized, information products can be prevented from being used, transmission data is lost, information of related equipment is prevented from being stolen, and the transmission safety of the communication data is higher.
In one embodiment, a computer device is provided, which may be an intelligent terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a serial communication method.
It will be appreciated by those skilled in the art that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device comprises a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer storage medium stores a computer program which, when executed by a processor, performs the steps in the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps of the above-described method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of serial communication, the method comprising:
sending communication data to first serial port communication equipment, wherein the communication data is temporarily stored by a sending buffer area, and a data transmission channel is established between the sending buffer area and the first serial port communication equipment through a first serial port line;
and receiving the communication data through a second serial port communication device, wherein the communication data is temporarily stored by a receiving buffer area, and a data transmission channel is established between the second serial port communication device and the receiving buffer area through a second serial port line.
2. The serial communication method according to claim 1, wherein the method further comprises:
setting a parity bit, wherein the parity bit is used for performing limited error detection on the communication data.
3. The serial communication method according to claim 1, wherein the sending communication data to the first serial communication device previously comprises:
determining a first mode, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
4. The serial communication method of claim 3, wherein said determining the first mode thereafter comprises:
opening a serial port corresponding to the first mode.
5. A serial communication apparatus, the apparatus comprising:
a sending module, configured to send communication data to a first serial port communication device, where the communication data is temporarily stored in a sending buffer, and a data transmission channel is established between the sending buffer and the first serial port communication device through a first serial port line;
and the receiving module is used for receiving the communication data through second serial port communication equipment, wherein the communication data is temporarily stored in a receiving buffer area, and a data transmission channel is established between the second serial port communication equipment and the receiving buffer area through a second serial port line.
6. The serial communication apparatus according to claim 5, wherein the apparatus further comprises:
a detection module configured to set a parity bit, where the parity bit performs limited error detection on the communication data.
7. The serial communication apparatus according to claim 5, wherein the apparatus further comprises:
a determining module for determining a first mode, wherein the first mode is determined by a 1 start bit and a 1 or 1.5 or 2 stop bit.
8. The serial communications apparatus of claim 7, wherein the apparatus further comprises:
and the opening module is used for opening the serial port corresponding to the first mode.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 4.
10. A computer-readable storage medium, storing a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202211033829.2A 2022-08-26 2022-08-26 Serial communication method, device, computer equipment and readable storage medium Pending CN115484125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211033829.2A CN115484125A (en) 2022-08-26 2022-08-26 Serial communication method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211033829.2A CN115484125A (en) 2022-08-26 2022-08-26 Serial communication method, device, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115484125A true CN115484125A (en) 2022-12-16

Family

ID=84422416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211033829.2A Pending CN115484125A (en) 2022-08-26 2022-08-26 Serial communication method, device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115484125A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4727538A (en) * 1986-05-20 1988-02-23 American Telephone And Telegraph Company, At&T Bell Laboratories Information transfer method and arrangement
CN104636302A (en) * 2015-03-09 2015-05-20 清华大学 Experimental device, experimental client, experimental system and experimental method of experimental system
CN105302612A (en) * 2015-11-18 2016-02-03 西南技术物理研究所 Method for quick upgrading of software program of single-chip microcomputer in electronic system case
CN113742269A (en) * 2021-11-03 2021-12-03 浙江国利信安科技有限公司 Data transmission method, processing device and medium for EPA device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4727538A (en) * 1986-05-20 1988-02-23 American Telephone And Telegraph Company, At&T Bell Laboratories Information transfer method and arrangement
CN104636302A (en) * 2015-03-09 2015-05-20 清华大学 Experimental device, experimental client, experimental system and experimental method of experimental system
CN105302612A (en) * 2015-11-18 2016-02-03 西南技术物理研究所 Method for quick upgrading of software program of single-chip microcomputer in electronic system case
CN113742269A (en) * 2021-11-03 2021-12-03 浙江国利信安科技有限公司 Data transmission method, processing device and medium for EPA device

Similar Documents

Publication Publication Date Title
US11036853B2 (en) System and method for preventing malicious CAN bus attacks
WO2020135331A1 (en) Method and apparatus for obtaining baud rate
CN110830332B (en) Test method, test device and computer readable storage medium
CN112527709B (en) PCIe expansion switching system, method, electronic equipment and storage medium
US20200382597A1 (en) Vehicle diagnostic communication apparatus, system including the same and method thereof
US20030226065A1 (en) Controller area network controller for making a self-diagnosis of a function
CN114143273A (en) Channel allocation method, device, computer equipment and computer readable storage medium
US11715337B2 (en) Controller diagnostic device and method thereof
CN113259273B (en) Switch control method, switch, computer device, and storage medium
CN114830699A (en) Method for establishing ISO link and BLE equipment
CN112653668B (en) Data interaction method and device, computer equipment and storage medium
CN115484125A (en) Serial communication method, device, computer equipment and readable storage medium
JP6620696B2 (en) Electronic control unit
CN111008166A (en) Communication method, communication system and storage medium
CN114629889B (en) Remote control link establishment method, device, equipment and medium
CN111061673B (en) Communication method, communication system and storage medium
CN115694747A (en) Data redundancy protection method and device, computer equipment and storage medium
CN114615137B (en) 5G data transmission method and device
CN113055215B (en) Information transmission method and related equipment
CN115633044B (en) Message processing method and device, electronic equipment and storage medium
JP2763394B2 (en) Communication control device
US20200275247A1 (en) Electronic control unit, electronic control system, and recording medium
CN114006950B (en) Communication method, system, computer device and storage medium on arrow
CN115766889A (en) Data frame structure and data communication method
CN115904434A (en) Method for improving diagnosis updating frequency of ECU

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination