CN103929439B - A kind of data transmission method and MODBUS server - Google Patents
A kind of data transmission method and MODBUS server Download PDFInfo
- Publication number
- CN103929439B CN103929439B CN201410190325.0A CN201410190325A CN103929439B CN 103929439 B CN103929439 B CN 103929439B CN 201410190325 A CN201410190325 A CN 201410190325A CN 103929439 B CN103929439 B CN 103929439B
- Authority
- CN
- China
- Prior art keywords
- register
- frame
- function code
- modbus
- equal
- 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.)
- Active
Links
Abstract
A kind of data transmission method and MODBUS server, methods described includes:MODBUS servers receive the claim frame for writing register that client is sent;Parse the claim frame, obtain function code, initial address, register number and the register value information in the claim frame, and when the function code, initial address, register number and register value information are satisfied by preset requirement, claim frame described in the MODBUS server process writes register request accordingly;The MODBUS servers send acknowledgement frame when having handled the claim frame and asking accordingly to the client.Above-mentioned scheme can effectively improve the efficiency of data transfer, save the time of data transfer.
Description
Technical field
The present invention relates to technical field of data transmission, more particularly to a kind of data transmission method and MODBUS servers.
Background technology
MODBUS-TCP agreements are that it is covered for managing the MODBUS serial communications agreements with auto-control equipment
Use the purposes of MODBUS messages in " in-house network (Intranet) " and " internet (Internet) " environment of ICP/IP protocol.
The most general-use of agreement is for the gateway service of such as PLC, I/O module, and the other simple field buses of connection or I/O modules
's.
In the prior art, data are transmitted using MODBUS-TCP agreements, is once at most only capable of transmitting the data of 240 bytes.
When needing the occasion of mass data interaction, it is necessary to which substantial amounts of data repeatedly could be transmitted in batches, cause data transmission efficiency low
Under.
The content of the invention
What the embodiment of the present invention was solved is the efficiency that data transfer how is improved using MODBUS-TCP agreements.
To solve the above problems, the embodiments of the invention provide a kind of data transmission method, methods described includes:
MODBUS servers receive the claim frame for writing register that client is sent, and the claim frame includes function code, risen
Beginning address, register number and register value information, wherein, the function code indicates that MODBUS servers are performed and writes register
Operation, the initial address is the starting point of the application apparatus register of the corresponding described MODBUS servers of the write operation
Location, the register number is the corresponding register number of the write operation, and register number is more than or equal to 0x0001 and small
In equal to 0xFFFF, the register value is the numerical value in the corresponding application apparatus register of write-in;
The claim frame is parsed, function code, initial address, register number and register value in the claim frame is obtained
Information, and when the function code, initial address, register number and register value information are satisfied by preset requirement, it is described
Claim frame described in MODBUS server process writes register request accordingly;
When the complete claim frame of MODBUS server process writes register request accordingly, sent to the client
Acknowledgement frame.
Alternatively, judge whether the function code, initial address, register number and register value information meet default want
Ask, including:
Whether judge the function code is the function code supported;
When judging the function code for the function code supported, judge whether the register number is more than or equal to 0x0001
And less than or equal to 0xFFFF;
When register number is more than or equal to 0x0001 more than or equal to register number and is less than or equal to 0xFFFF, institute is judged
State whether initial address, the initial address meet preset requirement with the register number sum.
Alternatively, methods described also includes:When it is not the function code supported to judge the function code, first is returned to abnormal
Code.
Alternatively, methods described also includes:0x0001 and it is less than when judging that the register number is unsatisfactory for being more than or equal to
During equal to 0xFFFF, the second exception code is returned.
Alternatively, methods described also includes:When judging initial address, the initial address and the register number sum
When being unsatisfactory for preset requirement, the 3rd exception code is returned.
Alternatively, methods described also includes:When claim frame described in the MODBUS server process writes register accordingly
During request failure, the 4th exception code is returned.
The embodiment of the present invention additionally provides a kind of MODBUS servers, including:
Receiving unit, suitable for receiving the claim frame for writing register that client is sent, the claim frame includes function code, risen
Beginning address, register number and register value information, wherein, the function code indicates that MODBUS servers are performed and writes register
Operation, the initial address is the starting point of application apparatus register in the corresponding described MODBUS servers of the write operation
Location, the register number is the corresponding register number of the write operation, and the register number is more than or equal to 0x0001
And less than or equal to 0xFFFF, the register value is the numerical value in the corresponding application apparatus register of write-in;
Resolution unit, writes register claim frame suitable for what the parsing receiving unit was received, obtains in the claim frame
Function code, initial address, register number and register value information;
Judging unit, suitable for judging the function code that the resolution unit parses from the claim frame, described
Whether initial address, the register number and the register value meet preset requirement;
Processing unit, suitable for judging the function code, the initial address, the register number when the judging unit
When meeting preset requirement with the register value, handle the claim frame and write register request accordingly;
Response unit, suitable for when the complete claim frame of the processing unit processes writes register request accordingly, to institute
State client and send acknowledgement frame.
Alternatively, the judging unit includes:
First judgment sub-unit, suitable for judge the function code whether be support function code;
Second judgment sub-unit, suitable for judging function code of the function code for support when first judgment sub-unit
When, judge whether the register number is more than or equal to 0x0001 and less than or equal to 0xFFFF;
3rd judgment sub-unit, suitable for judging that the register number is more than or equal to when second judgment sub-unit
0x0001 and less than or equal to 0xFFFF when, judge that the initial address, the initial address are with the register number sum
It is no to meet preset requirement.
Alternatively, the server also includes:First returning unit, suitable for judging described when first judgment sub-unit
When function code is not the function code supported, the first exception code is returned.
Alternatively, the server also includes:Second returning unit, suitable for judging described when second judgment sub-unit
When register number is unsatisfactory for more than or equal to 0x0001 and is less than or equal to 0xFFFF, the second exception code is returned.
Alternatively, the server also includes:3rd returning unit, suitable for judging the starting when the 3rd judgment sub-unit
When address, the initial address are unsatisfactory for preset requirement with the register number sum, the 3rd exception code is returned.
Alternatively, the server also includes:Writing register accordingly when claim frame described in the processing unit processes please
When asking unsuccessfully, the 4th exception code is returned.
Compared with prior art, the technical scheme of the embodiment of the present invention has the following advantages that:
Due to the scope for writing the register number of data field in register claim frame being set greater than to be equal to 0x0001
And less than or equal to 0xFFFF, so, the integer data in disposable request write-in register at most can be 65535, therefore,
Mass data can be once transmitted, therefore the efficiency of data transfer can be effectively improved, the time of data transfer is saved.
Brief description of the drawings
Fig. 1 is the flow chart that multiple register manipulation requests are write at MODBUS servers customer in response end in the prior art;
Fig. 2 is a kind of flow chart of data transmission method in the embodiment of the present invention;
Fig. 3 is the flow chart of another data transmission method in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of MODBUS servers in the embodiment of the present invention.
Embodiment
Fig. 1 writes the flow chart of register manipulation request for MODBUS servers customer in response end in the prior art.Such as Fig. 1 institutes
Show, the process that register manipulation request is write at MODBUS server customer in response end includes:
Step S11:What MODBUS servers reception client was sent writes register claim frame.
Wherein, the partial information for writing register claim frame that MODBUS servers are received is as shown in table 1:
Field name | Data length | Value/preset range |
Function code | 1 byte | 0x10 |
Initial address | 2 bytes | 0x0000-0xFFFF |
Register number | 2 bytes | 0x0001-0x0078 |
Byte is counted | 1 byte | 2*N |
Register value | N*2 bytes (N=register numbers) | Concrete numerical value |
Table 1
After step s 11, it can be determined that write whether the data in register claim frame meet preset requirement, specifically can be with
Including step S12a to S12c.
Step S12a:Whether arbitration functions code is the function code supported.
Step S12b:When function code of the arbitration functions code for support, judge to write the register count in register claim frame
Whether amount is more than or equal to 0x0001 and less than or equal to 0x0078, and judges whether byte counting is equal to 2 times of register number.
Step S12c:When register number is more than or equal to 0x0001 and less than or equal to 0xFFFF, and byte is counted to be equal to and posted
At 2 times of storage quantity, judge whether initial address, initial address and register number sum are satisfied by preset requirement.
, can when judging that the data write in register claim frame meet preset requirement as the step S12a to S12c that is finished
Then to perform step S13:MODBUS server process writes register request.
Next step S14 is performed:Judgement writes whether register manipulation succeeds.
When judging to write register manipulation success, step S15 is then performed:MODBUS servers send response to client
Frame.
The partial information for the acknowledgement frame that MODBUS server ends are sent is as shown in table 2:
Field name | Data length | Value/preset range |
Function code | 1 byte | 0x10 |
Initial address | 2 bytes | 0x0000-0xFFFF |
Register number | 2 bytes | 0x0001-0x007B |
Table 2
From above-mentioned analysis, it is more than or equal to due to writing the register number set in register claim frame and must meet
0x0001 is simultaneously less than or equal to 0x0078, and be provided with " byte counting " field, is entered with the accuracy to " register number " field
Row verification.Therefore, client disposably asks the data of transmission to be at most only 240 (120*2) individual bytes to MODBUS servers
Data.When needing the occasion of mass data interaction, this data transmission method can reduce the efficiency of data transfer.
To solve the above problems, the technical scheme that the embodiment of the present invention is used is set by changing to write in register claim frame
Register number scope, and the byte that is set in originally requested content frame eliminated in claim frame simultaneously count, it can be ensured that
The reliability of transmitted data, and the data volume once transmitted is significantly increased, so as to improve the effect of data transfer
Rate.
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention
Specific embodiment be described in detail.
Fig. 2 shows a kind of flow chart of data transmission method in the embodiment of the present invention.Data transfer as shown in Figure 2
Method, including:
Step S21:What MODBUS servers reception client was sent writes register claim frame.
In an embodiment of the present invention, the register claim frame of writing can include function code, initial address, register count
Amount and register value information.Wherein, function code indicates that MODBUS servers are performed and writes register manipulation, and initial address is write to be described
The initial address of application apparatus register in corresponding MODBUS servers is operated, the register number is the write operation pair
The register number answered, and register number is more than or equal to 0x0001 and less than or equal to 0xFFFF, the register value is write-in
Numerical value in respective application device register.
Step S22:Parse the claim frame, obtain function code in the claim frame, initial address, register number and
Register value information, and when the function code, initial address, register number and register value information are satisfied by preset requirement
When, claim frame described in the MODBUS server process writes register request accordingly.
In embodiments of the present invention, MODBUS servers can parse the claim frame, you can described write deposit to read
Data in device claim frame in each byte.By being successively read the data write in register claim frame, claim frame can be obtained
In function code, initial address, register number and register value information.
Step S23:When the complete claim frame of MODBUS server process writes register request accordingly, to the visitor
Family end sends acknowledgement frame.
Fig. 3 shows the flow chart of another data transmission method in the embodiment of the present invention.Data transfer as shown in Figure 3
Method, can specifically include:
Step S31:MODBUS servers receive and write register claim frame.
After data in read requests frame, MODBUS servers can perform corresponding judgement to the data read,
To determine the origing address field (OAF) in function code field and data field, register number field and the information of register value field
Preset requirement whether is satisfied by, can specifically be included:
Step S32a:Whether arbitration functions code is the function code supported.
In specific implementation, writing the value of the function code field in register claim frame can be set according to the actual needs
Put.For example, the value of function code can be set into 0x01.
In specific implementation, when arbitration functions code is not the function code supported, the first exception code 01 can be returned, and can
Then to exit the operation that this secondary response writes register request.
Step S32b:When function code for support function code when, judge register number whether more than or equal to 0x0001 and
Less than or equal to 0xFFFF.
In specific implementation, when arbitration functions code is 0x01, then judge whether register number is more than or equal to
0x0001 and less than or equal to 0xFFFF.
Write register number field set in register claim frame and determine the data volume disposably transmitted.In deposit
When device quantity is more than or equal to 0x0001 and is less than or equal to 0xFFFF, the data volume disposably transmitted can at most reach 65535
Shape data.So, the demand of high-volume data transfer just can be met, therefore the efficiency of data transfer can be improved.
In addition, it is necessary to, it is noted that in the prior art, the storage quantity set in register claim frame be write in order to verify
Accuracy, the byte that 1 byte is also provided with the data structure of claim frame counts.But, it has been investigated that, due to
MODBUS-TCP agreements are a kind of reliable Data Transport Protocol in itself, and it may insure the accuracy of transmitted data.Therefore,
In an embodiment of the present invention, the byte counting cancelled in register claim frame and 1 byte is set is write.So doing not only can letter
Change the structure for writing register claim frame, and can disposably transmit mass data, improve interactive efficiency.
In specific implementation, when judge register number be unsatisfactory for be more than or equal to 0x0001 and less than or equal to 0xFFFF when,
The second exception code 03 can be returned to, it is possible to then perform and exit the operation that this secondary response writes register request.
Step S32c:When register number is more than or equal to 0x0001 and is less than or equal to 0xFFFF, judges initial address, rise
Beginning address with register number sum whether meet preset requirement.
, then can be with when judging that register number is more than or equal to 0x0001 and during less than 0xFFFF in specific implementation
Judge whether initial address, initial address and the register number sum write in register claim frame meet preset requirement.Wherein,
Initial address is to write the start address of the application apparatus register in the corresponding MODBUS servers of register manipulation, initial address
It is then the end address for writing the application apparatus register corresponding to register manipulation with register number sum.
, can when initial address, initial address and register number sum are unsatisfactory for preset requirement in specific implementation
To return to the 3rd exception code 02, it is possible to then exit the operation that this secondary response writes register request.
When judging that the data write in register claim frame are satisfied by preset requirement by foregoing step, then may be used
To perform step S33:MODBUS server process writes register request, i.e. MODBUS servers by the corresponding data of register value
The application for writing from initial address to end address (end address is initial address and register number sum) in sequence is set
In standby register, so as to complete to write register manipulation.
In specific implementation, register request is write described in MODBUS server process two kinds of results typically occur:It is a kind of
It is to perform to write register manipulation success;It is another, it is to perform to write register manipulation failure.By performing step S34:Judgement is write
Whether register manipulation succeeds, and just can obtain writing the operating result of register request described in MODBUS server process.
In specific implementation, register manipulation failure is write accordingly when writing register claim frame described in the execution of MODBUS servers
When, the 4th exception code 04 can be returned to, and exit the operation that this secondary response writes register request.
When MODBUS servers perform it is described write register claim frame and write register manipulation accordingly successfully when, can be then
Step S35 is performed in sequence:The acknowledgement frame that MODBUS servers are sent to client.
Fig. 4 shows a kind of structural representation of MODBUS servers in the embodiment of the present invention.As shown in Figure 4
MODBUS servers can include being sequentially connected the receiving unit 41 connect, resolution unit 42, judging unit 43, the and of processing unit 44
Response unit 45.Wherein,
Receiving unit 41, register claim frame is write suitable for what reception client was sent.Wherein, the claim frame includes function
Code, initial address, register number and register value information.The function code is used to indicate that deposit is write in the execution of MODBUS servers
The operation of device, the initial address shows application apparatus register in the corresponding described MODBUS servers of the write operation
Initial address, the register number shows the corresponding register number of the write operation, and register number is more than or equal to
0x0001 is simultaneously less than or equal to 0xFFFF, and the register value is the numerical value in write-in respective application device register.
Resolution unit 42, the claim frame for writing register received suitable for parsing receiving unit 41, obtains the claim frame
In function code, initial address, register number and register value information.
Judging unit 43, suitable for judging the function code that resolution unit 42 parses from the claim frame, described
Whether initial address, the register number and the register value meet preset requirement.
Processing unit 44, suitable for judging the function code, the initial address, the register number when judging unit 43
When meeting preset requirement with the register value, handle the claim frame and write register request accordingly.
Response unit 45, suitable for described when processing unit 44 has handled the claim frame and write register request accordingly,
Acknowledgement frame is sent to the client.
In specific implementation, judging unit 43 can include:
First judgment sub-unit 43a, suitable for arbitration functions code whether be support function code.
Second judgment sub-unit 43b, suitable for judging function code of the function code for support as the first judgment sub-unit 43a
When, judge whether register number is more than or equal to 0x0001 and less than or equal to 0xFFFF;
3rd judgment sub-unit 43c, suitable for judging that register number is more than or equal to 0x0001 as the second judgment sub-unit 43b
And during less than or equal to xFFFF, whether within a preset range to judge initial address, initial address and register number sum.
In specific implementation, the MODBUS servers can also include:First returning unit 46, suitable for when the first judgement
When subelement 43a judges that the function code is not the function code supported, the first exception code is returned.
In specific implementation, the MODBUS servers can also include:Second returning unit 47, suitable for when the second judgement
Subelement 43b judges, when the register number is unsatisfactory for more than or equal to 0x0001 and is less than or equal to 0xFFFF, to return to second
Exception code.
In specific implementation, the MODBUS servers can also include:3rd returning unit 48, suitable for when the 3rd judgement
When subelement 33c judges that initial address, initial address and register number sum are unsatisfactory for preset requirement, the 3rd is returned to abnormal
Code.
In specific implementation, the MODBUS servers can also include:4th returning unit 49, suitable for when the processing
Unit 44 handle the claim frame write accordingly register request failure when, return the 4th exception code.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in computer-readable recording medium, and storage is situated between
Matter can include:ROM, RAM, disk or CD etc..
The method and system to the embodiment of the present invention have been described in detail above, and the present invention is not limited thereto.Any
Art personnel, without departing from the spirit and scope of the present invention, can make various changes or modifications, therefore the guarantor of the present invention
Shield scope should be defined by claim limited range.
Claims (12)
1. a kind of data transmission method, it is characterised in that including:
MODBUS servers receive the claim frame for writing register that client is sent, and the claim frame includes function code, starting point
Location, register number and register value information, wherein, the function code indicates that MODBUS servers perform the behaviour for writing register
Make, the initial address is the application apparatus register of the corresponding described MODBUS servers of the operation for writing register
Initial address, the register number is more than for the corresponding register number of operation for writing register, and register number
Equal to 0x0001 and less than or equal to 0xFFFF, the register value is the numerical value in the corresponding application apparatus register of write-in;Institute
It is the service end communicated based on MODBUS-Transmission Control Protocol to state MODBUS servers;
The claim frame is parsed, function code, initial address, register number and register value letter in the claim frame is obtained
Breath, and when the function code, initial address, register number and register value information are satisfied by preset requirement, it is described
Claim frame described in MODBUS server process writes register request accordingly;
When the complete claim frame of MODBUS server process writes register request accordingly, response is sent to the client
Frame.
2. data transmission method according to claim 1, it is characterised in that judge the function code, initial address, deposit
Whether device quantity and register value information meet preset requirement, including:
Whether judge the function code is the function code supported;
When judging the function code for the function code supported, judge whether the register number is more than or equal to 0x0001 and small
In equal to 0xFFFF;
When register number is more than or equal to 0x0001 and is less than or equal to 0xFFFF, the initial address, the starting point are judged
Whether location and the hexadecimal values sum of the register number meet preset requirement.
3. data transmission method according to claim 2, it is characterised in that also include:When judging that the function code is not
During the function code of support, the first exception code is returned.
4. data transmission method according to claim 2, it is characterised in that also include:When judging the register number
When being unsatisfactory for more than or equal to 0x0001 and being less than or equal to 0xFFFF, the second exception code is returned.
5. data transmission method according to claim 2, it is characterised in that also include:When judge initial address, described
Beginning, address returned to the 3rd exception code when being unsatisfactory for preset requirement with the hexadecimal values sum of the register number.
6. data transmission method according to claim 2, it is characterised in that also include:At the MODBUS servers
Manage the claim frame write accordingly register request failure when, return the 4th exception code.
7. a kind of MODBUS servers, it is characterised in that including:
Receiving unit, suitable for receiving the claim frame for writing register that client is sent, the claim frame includes function code, starting point
Location, register number and register value information, wherein, the function code indicates that MODBUS servers perform the behaviour for writing register
Make, the initial address is application apparatus register in the corresponding described MODBUS servers of the operation for writing register
Initial address, the register number writes the corresponding register number of operation of register, and the register number for described in
More than or equal to 0x0001 and less than or equal to 0xFFFF, the register value is the number in the corresponding application apparatus register of write-in
Value;The MODBUS servers are the service end communicated based on MODBUS-Transmission Control Protocol;
Resolution unit, suitable for parsing the work(write register claim frame, obtain in the claim frame that the receiving unit is received
Can code, initial address, register number and register value information;
Judging unit, suitable for judging the function code, the starting that the resolution unit parses from the claim frame
Whether address, the register number and the register value meet preset requirement;
Processing unit, suitable for judging the function code, the initial address, the register number and institute when the judging unit
When stating register value and meeting preset requirement, handle the claim frame and write register request accordingly;
Response unit, suitable for when the complete claim frame of the processing unit processes writes register request accordingly, to the visitor
Family end sends acknowledgement frame.
8. MODBUS servers according to claim 7, it is characterised in that the judging unit includes:
First judgment sub-unit, suitable for judge the function code whether be support function code;
Second judgment sub-unit, suitable for when first judgment sub-unit judges the function code for the function code supported, sentencing
Whether the register number that breaks is more than or equal to 0x0001 and less than or equal to 0xFFFF;
3rd judgment sub-unit, suitable for when second judgment sub-unit judge the register number be more than or equal to 0x0001 and
During less than or equal to 0xFFFF, the hexadecimal values of the initial address, the initial address and the register number are judged
Whether sum meets preset requirement.
9. MODBUS servers according to claim 8, it is characterised in that also include:First returning unit, suitable for working as
State the first judgment sub-unit judge the function code be not support function code when, return the first exception code.
10. MODBUS servers according to claim 8, it is characterised in that also include:Second returning unit, suitable for working as
When second judgment sub-unit judges that the register number is unsatisfactory for more than or equal to 0x0001 and is less than or equal to 0xFFFF, return
Return the second exception code.
11. MODBUS servers according to claim 8, it is characterised in that also include:3rd returning unit, suitable for working as
3rd judgment sub-unit judges the hexadecimal values sum of the initial address, the initial address and the register number
When being unsatisfactory for preset requirement, the 3rd exception code is returned.
12. MODBUS servers according to claim 8, it is characterised in that also include:When the processing unit processes institute
State claim frame write accordingly register request failure when, return the 4th exception code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410190325.0A CN103929439B (en) | 2014-05-07 | 2014-05-07 | A kind of data transmission method and MODBUS server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410190325.0A CN103929439B (en) | 2014-05-07 | 2014-05-07 | A kind of data transmission method and MODBUS server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103929439A CN103929439A (en) | 2014-07-16 |
CN103929439B true CN103929439B (en) | 2017-08-18 |
Family
ID=51147516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410190325.0A Active CN103929439B (en) | 2014-05-07 | 2014-05-07 | A kind of data transmission method and MODBUS server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103929439B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808549B (en) * | 2014-12-30 | 2020-07-07 | 施耐德电器工业公司 | Client method for automatically framing and analyzing frames based on mapping file |
CN104580187B (en) * | 2014-12-31 | 2018-09-04 | 厦门为那通信科技有限公司 | A method of realizing that the external device of different MODULEBUS agreements is interacted with server |
CN105306463B (en) * | 2015-10-13 | 2018-04-13 | 电子科技大学 | Modbus TCP intrusion detection methods based on support vector machines |
CN106911646A (en) * | 2015-12-23 | 2017-06-30 | 重庆川仪自动化股份有限公司 | Communications protocol and communication system |
CN105599255A (en) * | 2016-01-14 | 2016-05-25 | 宁波长飞亚塑料机械制造有限公司 | Communication method for injection molding machine controller and auxiliary units |
CN110417764B (en) * | 2019-07-19 | 2021-08-03 | 西门子工厂自动化工程有限公司 | Method and apparatus for transmitting and receiving data, data transmission apparatus and storage medium |
CN110311848A (en) * | 2019-08-02 | 2019-10-08 | 杭州远流科技有限公司 | A kind of method that Modbus RTU communications protocol improves communication efficiency |
CN112422485B (en) * | 2019-08-23 | 2023-05-26 | 北京东土科技股份有限公司 | Communication method and device of transmission control protocol |
CN113132468B (en) * | 2021-03-19 | 2022-02-25 | 珠海科创电力电子有限公司 | Communication method, communication device, communication system and storage medium based on ModbusTCP protocol |
CN113709012A (en) * | 2021-08-26 | 2021-11-26 | 远景能源有限公司 | Extended communication method based on Modbus communication protocol |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023602A (en) * | 2011-09-20 | 2013-04-03 | 镇江雅迅软件有限责任公司 | Data transmission fault tolerance system based on Socket protocol |
CN103412510A (en) * | 2013-06-26 | 2013-11-27 | 国家电网公司 | Method for transmitting data of generator excitation regulator to intelligent power station |
CN103727626A (en) * | 2012-10-11 | 2014-04-16 | 北京合创三众能源科技股份有限公司 | Ground source heat pump central air-conditioner remote monitoring system and method |
-
2014
- 2014-05-07 CN CN201410190325.0A patent/CN103929439B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023602A (en) * | 2011-09-20 | 2013-04-03 | 镇江雅迅软件有限责任公司 | Data transmission fault tolerance system based on Socket protocol |
CN103727626A (en) * | 2012-10-11 | 2014-04-16 | 北京合创三众能源科技股份有限公司 | Ground source heat pump central air-conditioner remote monitoring system and method |
CN103412510A (en) * | 2013-06-26 | 2013-11-27 | 国家电网公司 | Method for transmitting data of generator excitation regulator to intelligent power station |
Also Published As
Publication number | Publication date |
---|---|
CN103929439A (en) | 2014-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103929439B (en) | A kind of data transmission method and MODBUS server | |
CN102480392B (en) | Performance test device and working method thereof | |
CN112311628B (en) | Network speed measuring method, system, network equipment and storage medium | |
CN108965052A (en) | A kind of data reading system for the electronic control unit software debugging after entrucking | |
CN115242689B (en) | Vehicle-mounted gateway testing method, system and computer readable storage medium | |
CN112039722A (en) | MQTT protocol simulation method and simulation equipment | |
CN102118361A (en) | Method and device for controlling data transmission based on network protocol | |
CN104601358B (en) | A kind of matching process and device realized between acquisition system and analysis system | |
CN112422485B (en) | Communication method and device of transmission control protocol | |
CN110445658B (en) | Message processing method and system | |
CN110392066A (en) | A kind of method and apparatus of access service | |
CN109656791B (en) | gPC performance test method and device based on Jmeter | |
CN111913861A (en) | Performance test method, device, equipment and medium of Internet of things system | |
CN111257026A (en) | On-line performance measuring method, system, equipment and storage medium of air conditioner | |
CN104270431A (en) | Method and device for concurrency control | |
CN107005433A (en) | A kind of Timing Processing method and device of flow table item | |
CN115129566A (en) | Method, system, equipment and storage medium for verifying bandwidth performance of hard disk backplane | |
CN108667805A (en) | The analytic method and its device and computer readable storage medium of data | |
US20060239191A1 (en) | Method for sending and receiving data | |
CN113656302A (en) | WAF rule automatic testing method, system, storage medium and terminal equipment | |
CN109981394B (en) | Communication method and device based on enhanced CAN bus protocol analyzer | |
CN107589974A (en) | A kind of application data statistical method and device | |
CN110336792B (en) | Method for analyzing communication protocol of universal flowmeter | |
CN111488171B (en) | Data generation and analysis method and device and electronic equipment | |
CN108418828A (en) | A kind of device and method of protocol conversion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |