CN107707335A - A kind of data transmission method and device - Google Patents

A kind of data transmission method and device Download PDF

Info

Publication number
CN107707335A
CN107707335A CN201610650636.XA CN201610650636A CN107707335A CN 107707335 A CN107707335 A CN 107707335A CN 201610650636 A CN201610650636 A CN 201610650636A CN 107707335 A CN107707335 A CN 107707335A
Authority
CN
China
Prior art keywords
decoding
electric quantity
quantity data
confirmation
pdu
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.)
Granted
Application number
CN201610650636.XA
Other languages
Chinese (zh)
Other versions
CN107707335B (en
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 Mobile Communications Group Co Ltd
China Mobile Group Inner Mongolia Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Inner Mongolia 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 Mobile Communications Group Co Ltd, China Mobile Group Inner Mongolia Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201610650636.XA priority Critical patent/CN107707335B/en
Publication of CN107707335A publication Critical patent/CN107707335A/en
Application granted granted Critical
Publication of CN107707335B publication Critical patent/CN107707335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals

Abstract

The embodiment of the invention discloses a kind of data transmission method, this method includes:The confirmation instruction that power distribution unit PDU sockets are sent is obtained, instructs the confirmation after being decoded into row decoding to instruct the confirmation, wherein, it is described to confirm to instruct the PDU sockets to be encoded to obtain to parameter preset;When the confirmation instruction after the decoding meets preparatory condition, return to the PDU sockets and successfully indicate, wherein, it is described successfully to indicate for indicating that the PDU sockets send the electric quantity data after encoding;Receive the electric quantity data after the coding sent from the PDU sockets;Row decoding is entered to the electric quantity data after the coding, the electric quantity data after being decoded.The embodiment of the present invention further simultaneously discloses a kind of data transmission device.

Description

A kind of data transmission method and device
Technical field
The present invention relates to field of cloud calculation, more particularly to a kind of data transmission method and device.
Background technology
At present, in modern data center computer room, power distribution unit (PDU, Power Distribution Unit) Using also more and more extensive, the neat, reliable of PDU, safety and safeguard that more the convenient remote control for PDU is particularly heavy Will, in order to realize the remote management to PDU, user performs control by wireless network to it.
In the prior art, Fig. 1 is the structural representation of data transmission system, as shown in figure 1, data transmission system bag Include:PDU sockets 11 and cloud computing background server 12, wherein, PDU sockets 11 are connected progress with cloud computing background server 12 Data communicate, and PDU sockets 11 per electric quantity data all the way on PDU to performing collection, after the data of collection are sent into cloud computing Platform server 12, keeper can pass through the equipment in the real time inspection rack of user terminal access cloud computing background server 12 Electric quantity data, cloud computing backstage can be according to the operation conditions on PDU per the device type and electric quantity data connect all the way to equipment Monitoring is performed, when cloud computing background server 12 monitors that the electric quantity data of equipment within machine cabinet occurs abnormal, cloud computing backstage Server 12 can send alarm electric quantity data to user terminal;After keeper receives alarm electric quantity data, user terminal can lead to Cross cloud computing background server 12 and send instruction to PDU sockets so that the power switching module in PDU sockets control PDU comes real The power-off of existing equipment within machine cabinet is restarted;After backstage is sent to keeper to be alerted, keeper's attonity in a period of time, cloud meter Calculate background server 12 and sent from trend PDU sockets 11 and instructed, PDU sockets 11 control the power supply of abnormal that of electric quantity data all the way Switch module performs power-off;User terminal is by accessing the electricity of the equipment in the real time inspection rack of cloud computing background server 12 Data, cloud computing background server 12 perform monitoring according to device type to the electricity of equipment.
However, in actual use, after the electric quantity data of collection is sent into cloud computing on above-mentioned PDU sockets 11 Encoded processing is often wanted before platform server 12, but the coding that existing coding processing mode obtains is in transmittance process Being susceptible to outer damage causes electric quantity data error of transmission.
The content of the invention
In view of this, the embodiment of the present invention it is expected to provide a kind of data transmission method and device, has ensured that PDU sockets are passing Correctness during transmission of data, the safe transmission of data is realized, and then improve the Experience Degree of user.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of data transmission method, including:Power distribution unit PDU is obtained to insert The confirmation instruction that seat is sent, the confirmation after being decoded into row decoding is instructed to instruct the confirmation;Wherein, it is described to confirm instruction The PDU sockets are encoded to obtain to parameter preset;When the confirmation instruction after the decoding meets preparatory condition, to The PDU sockets, which return, successfully to be indicated;Wherein, it is described successfully to indicate for indicating that the PDU sockets send the electricity after encoding Data;Receive the electric quantity data after the coding sent from the PDU sockets;Electric quantity data after the coding is carried out Decoding, the electric quantity data after being decoded.
Further, the confirmation instruction after the decoding meets preparatory condition, including:Confirmation instruction after the decoding When consistent with default checking parameter, then confirm that the instruction of the confirmation after the decoding meets the preparatory condition.
Further, after the decoding confirmation instruction it is consistent with default checking parameter after, methods described is also wrapped Include:Label corresponding to the instruction of the confirmation after the decoding is obtained from the PDU sockets;Confirmation instruction pair after the decoding When the label answered is consistent with the default label, then confirm that the instruction of the confirmation after the decoding meets the preparatory condition.
Further, the electric quantity data after to the coding enters row decoding, after the electric quantity data after being decoded, institute Stating method also includes:When the electric quantity data after the decoding falls into default value scope, the electricity number after the decoding is sent According to the extremely PDU sockets;Wherein, the electric quantity data after the decoding determines the electricity after the coding for the PDU sockets Data transfer success.
Further, methods described also includes:The electric quantity data after decoding does not fall within the default value scope When, generation error response data;The errored response data are sent to the PDU sockets;Wherein, the errored response data are used Electric quantity data error of transmission after coding described in the PDU sockets is prompted.
Second aspect, the embodiment of the present invention provide a kind of data transmission device, including:Acquisition module, for obtaining power supply The confirmation instruction that allocation unit PDU sockets are sent, the confirmation after being decoded into row decoding is instructed to instruct the confirmation;Its In, it is described to confirm to instruct the PDU sockets to be encoded to obtain to parameter preset;Module is confirmed, for when the decoding When confirmation instruction afterwards meets preparatory condition, return to the PDU sockets and successfully indicate;Wherein, it is described successfully to indicate to be used to refer to Show that the PDU sockets send the electric quantity data after coding;Receiving module, for receiving from described in PDU sockets transmission Electric quantity data after coding;Decoding module, for entering row decoding to the electric quantity data after the coding, the electricity after being decoded Data.
Further, the confirmation module, is specifically used for:Confirmation instruction and default checking parameter after the decoding When consistent, then confirm that the instruction of the confirmation after the decoding meets the preparatory condition.
Further, the confirmation module, is additionally operable to:Confirmation instruction and default checking parameter one after the decoding After cause, label corresponding to the instruction of the confirmation after the decoding is obtained from the PDU sockets;The confirmation after decoding refers to When label corresponding to order is consistent with the default label, then confirm that the instruction of the confirmation after the decoding meets the preparatory condition.
Further, described device also includes:First sending module, fallen into for the electric quantity data after decoding pre- If during number range, the electric quantity data after the decoding is sent to the PDU sockets;Wherein, the electric quantity data after the decoding The electric quantity data transmission success after the coding is determined for the PDU sockets.
Further, described device also includes:Second sending module, do not fallen within for the electric quantity data after decoding During the default value scope, generation error response data;The errored response data are sent to the PDU sockets;Wherein, institute Errored response data are stated to be used to prompt the electric quantity data error of transmission after coding described in the PDU sockets.
The data transmission method and device that the embodiment of the present invention is provided, data transmission device is to the PDU sockets that get The confirmation of transmission is instructed into row decoding, and the confirmation instruction after being decoded, the confirmation instruction only after decoding meets default bar In the case of part, ensure that the confirmation instruction of the confirmation instruction after decoding with PDU before encoding is consistent, now, just to PDU Socket, which returns, successfully to be indicated so that PDU sockets send the electric quantity data after encoding to data transmission device, so, have ensured number Enter row decoding according to transmitting device, the electric quantity data before electric quantity data and coding after obtained decoding is consistent, and then is ensured Correctness of the PDU sockets during data are transmitted, the safe transmission of data is realized, and then improve the experience of user Degree.
Brief description of the drawings
Fig. 1 is the structural representation of data transmission system;
Fig. 2 is a kind of optional schematic flow sheet of the data transmission method in the embodiment of the present invention;
Fig. 3 is a kind of optional structural representation of the data transmission device in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.
The embodiment of the present invention provides a kind of data processing method, and Fig. 2 is the data transmission method in the embodiment of the present invention A kind of schematic flow sheet of optional embodiment, as shown in Fig. 2 above-mentioned data transmission method includes:
S201:The confirmation instruction that power distribution unit PDU sockets are sent is obtained, confirmation is instructed into row decoding and decoded Confirmation instruction afterwards;
Wherein, confirm that instruction is that PDU sockets are encoded to obtain to parameter preset.
It can be data transmission device that the embodiment of the present invention, which provides a kind of executive agent of data processing method, in practice, Data transmission device can be cloud computing background server.
Specifically, PDU sockets send link instruction to cloud computing background server, cloud computing background server and connect first Receive link instruction and complete link so that row data communication can be entered between PDU sockets and cloud computing background server, then, PDU sockets encode to parameter preset, and the parameter preset after coding is the confirmation instruction in S201, and the parameter preset is electricity The quantization parameter of data is measured, the value of the quantization parameter can be configured as needed.
So far, cloud computing background server can gets confirmation instruction, and confirmation is instructed into row decoding and translated Confirmation instruction after code, the confirmation instruction after the decoding is above-mentioned parameter preset.
S202:When the confirmation instruction after decoding meets preparatory condition, return to PDU sockets and successfully indicate;Wherein, success Indicate for indicating that PDU sockets send the electric quantity data after encoding.
Here, when the confirmation instruction after decoding meets preparatory condition, before illustrating that the confirmation instruction after decoding encodes with PDU Confirmation instruction be consistent, then, it is correct illustrate data transfer, at this time, it may be necessary to PDU sockets return one successfully refer to Show, after PDU receives successfully instruction, it is correct to learn data transfer, and the electric quantity data after coding is sent to cloud computing Background server.
In order to determine whether the confirmation instruction after decoding meets preparatory condition, in a kind of optional embodiment, after decoding Confirmation instruction meet preparatory condition, including:When the confirmation instruction after decoding is consistent with default checking parameter, then confirm to translate Confirmation instruction after code meets preparatory condition.
Wherein, above-mentioned default checking parameter and above-mentioned parameter preset are identicals, then, when PDU sockets are to default ginseng Number carries out coding transmission and enters row decoding to cloud computing background server, cloud computing background server, and the confirmation after being decoded refers to Order, if data transfer is correct, then, the confirmation instruction after decoding is exactly parameter preset, now, as long as after determining decoding really It is consistent with default checking parameter to recognize instruction, then, the confirmation instruction after decoding meets preparatory condition.
In order to further assure that the correctness of data transfer, further, confirmation after decoding instruction with it is default After checking parameter is consistent, the above method also includes:Label corresponding to the confirmation instruction after decoding is obtained from PDU sockets;When When label corresponding to confirmation instruction after decoding is consistent with default label, then confirm that the confirmation instruction after decoding meets default bar Part.
Herein, PDU sockets impart in advance confirms label corresponding to instruction, in the label and cloud computing background server The label in electric quantity data storehouse is identical, and above-mentioned default label is the label in the electric quantity data storehouse, so, confirmation instruction after decoding After consistent with default checking parameter, further, it is ensured that label and default label one corresponding to the confirmation instruction after decoding Cause, default checking parameter and default label by setting, ensured the correctness for confirming instruction in transmitting procedure;
So far, the correct transmission for confirming instruction is just completed.
S203:Receive the electric quantity data after the coding sent from PDU sockets;
S204:Row decoding is entered to the electric quantity data after coding, the electric quantity data after being decoded.
It is above-mentioned after S204 in a kind of optional embodiment in order to further ensure the correct transmission of electric quantity data Method can include:
When the electric quantity data after decoding falls into default value scope, the electric quantity data after decoding is sent to PDU sockets;
Wherein, the electric quantity data transmission success that the electric quantity data after decoding is used for after PDU sockets determination coding.
In actual applications, above-mentioned default value scope is set according to many experiments, if the electricity after decoding Amount data fall into default value scope, and it is normal to illustrate electric quantity data, so, the electric quantity data after decoding is sent to PDU Socket so that PDU sockets confirm the electric quantity data transmission success after coding.
In an alternative embodiment, after S204, the above method can also include:
When the electric quantity data after decoding does not fall within default value scope, generation error response data;
Errored response data are sent to PDU sockets;
Wherein, errored response data are used to prompt the electric quantity data error of transmission after PDU sockets coding.
Electric quantity data after decoding does not fall within default value scope, illustrates to be possible to occur in electric quantity data transmission different Often, cloud computing background server generation error response data, and send to PDU sockets so that PDU sockets learn the electricity after coding Measure data transmission fault.
The data transmission method that the embodiment of the present invention is provided, data transmission device are sent to the PDU sockets got Confirmation is instructed into row decoding, and the confirmation instruction after being decoded, the confirmation instruction only after decoding meets the feelings of preparatory condition Under condition, ensure that the confirmation instruction of the confirmation instruction after decoding with PDU before encoding is consistent, now, just returned to PDU sockets Return and successfully indicate so that PDU sockets send the electric quantity data after encoding to data transmission device, so, have ensured data transfer Device enters row decoding, and the electric quantity data before electric quantity data and coding after obtained decoding is consistent, and then has ensured that PDU is inserted Correctness of the seat during data are transmitted, realizes the safe transmission of data, and then improves the Experience Degree of user.
Based on same inventive concept, the present invention provides a kind of data transmission device, and Fig. 3 is the data in the embodiment of the present invention The structural representation of a kind of optional embodiment of transmitting device, as shown in figure 3, said apparatus includes:Acquisition module 31, confirm Module 32, receiving module 33 and decoding module 34;Wherein, acquisition module 31, sent for obtaining power distribution unit PDU sockets Confirmation instruction, to confirmation instruct the confirmation after being decoded into row decoding to instruct;Wherein, confirmation instruction is PDU sockets to pre- Setting parameter is encoded what is obtained;Module 32 is confirmed, for when the confirmation instruction after decoding meets preparatory condition, being inserted to PDU Seat, which returns, successfully to be indicated;Wherein, successfully indicate for indicating that PDU sockets send the electric quantity data after encoding;Receiving module 33, use Electric quantity data after the coding sent from PDU sockets is received;Decoding module 34, for being carried out to the electric quantity data after coding Decoding, the electric quantity data after being decoded.
It is above-mentioned true in a kind of optional embodiment in order to determine whether the confirmation instruction after decoding meets preparatory condition Recognize module 32, be specifically used for:When the confirmation instruction after decoding is consistent with default checking parameter, then the confirmation after decoding is confirmed Instruction meets preparatory condition.
In order to further assure that the correctness of data transfer, in an alternative embodiment, above-mentioned confirmation module 32, it is additionally operable to:After decoding confirmation instruction it is consistent with default checking parameter after, from PDU sockets obtain decode after Confirm label corresponding to instruction;When label corresponding to the confirmation instruction after decoding is consistent with default label, then after confirming decoding Confirmation instruction meet preparatory condition.
In order to further ensure the correct transmission of electric quantity data, in a kind of optional embodiment, said apparatus also includes: First sending module, for when the electric quantity data after decoding falls into default value scope, sending the electric quantity data after decoding extremely PDU sockets;Wherein, the electric quantity data transmission success that the electric quantity data after decoding is used for after PDU sockets determination coding.
In an alternative embodiment, said apparatus also includes:Second sending module, for electricity after decoding When data do not fall within default value scope, generation error response data;Errored response data are sent to PDU sockets;Wherein, mistake Response data is used to prompt the electric quantity data error of transmission after PDU sockets coding.
In actual applications, acquisition module 31, determining module 32, receiving module 33, decoding module 34, the first sending module Can be by central processing unit (CPU, the Central Processing positioned at cloud computing background server with the second sending module Unit), microprocessor (MPU, Microprocessor Unit), application specific integrated circuit (ASIC, Application Specific Integrated Circuit) or field programmable gate array (FPGA, Field-Programmable Gate ) etc. Array realize.
The present embodiment records a kind of computer-readable medium, can be ROM (for example, read-only storage, FLASH memory, Transfer device etc.), magnetic storage medium (for example, tape, disc driver etc.), optical storage medium is (for example, CD-ROM, DVD- ROM, paper card, paper tape etc.) and other well-known types program storage;Computer is stored with computer-readable medium to be held Row instruction, when executing an instruction, causes at least one computing device to include following operation:
The confirmation instruction that power distribution unit PDU sockets are sent is obtained, confirmation is instructed after being decoded into row decoding Confirm instruction;When the confirmation instruction after decoding meets preparatory condition, return to PDU sockets and successfully indicate;Reception is inserted from PDU Electric quantity data after the coding that seat is sent;Row decoding is entered to the electric quantity data after coding, the electric quantity data after being decoded.
The data transmission method that the embodiment of the present invention is provided, data transmission device are sent to the PDU sockets got Confirmation is instructed into row decoding, and the confirmation instruction after being decoded, the confirmation instruction only after decoding meets the feelings of preparatory condition Under condition, ensure that the confirmation instruction of the confirmation instruction after decoding with PDU before encoding is consistent, now, just returned to PDU sockets Return and successfully indicate so that PDU sockets send the electric quantity data after encoding to data transmission device, so, have ensured data transfer Device enters row decoding, and the electric quantity data before electric quantity data and coding after obtained decoding is consistent, and then has ensured that PDU is inserted Correctness of the seat during data are transmitted, realizes the safe transmission of data, and then improves the Experience Degree of user.
It need to be noted that be:Apparatus above implements the description of item, is similar with above method description, has same Embodiment of the method identical beneficial effect, therefore do not repeat.For the ins and outs not disclosed in apparatus of the present invention embodiment, Those skilled in the art refer to the description of the inventive method embodiment and understand, to save length, repeat no more here.
It need to be noted that be:
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is relevant with embodiment During special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " identical embodiment is not necessarily referred to.In addition, these specific feature, knots Structure or characteristic can combine in one or more embodiments in any suitable manner.It should be understood that in the various implementations of the present invention In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its work( It can be determined with internal logic, the implementation process without tackling the embodiment of the present invention forms any restriction.The embodiments of the present invention Sequence number is for illustration only, does not represent the quality of embodiment.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, there can be other dividing mode when actually realizing, such as:Multiple units or component can combine, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Point mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, equipment or unit Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location;Both a place can be located at, multiple network lists can also be distributed to In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used To be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer read/write memory medium, and the program exists During execution, execution the step of including above method embodiment;And foregoing storage medium includes:Movable storage device, read-only deposit Reservoir (Read Only Memory, ROM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention. And foregoing storage medium includes:Movable storage device, ROM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

  1. A kind of 1. data transmission method, it is characterised in that including:
    The confirmation instruction that power distribution unit PDU sockets are sent is obtained, the confirmation is instructed after being decoded into row decoding Confirm instruction;Wherein, it is described to confirm to instruct the PDU sockets to be encoded to obtain to parameter preset;
    When the confirmation instruction after the decoding meets preparatory condition, return to the PDU sockets and successfully indicate;Wherein, it is described Success indicates to be used for the electric quantity data for indicating that the PDU sockets are sent after coding;
    Receive the electric quantity data after the coding sent from the PDU sockets;
    Row decoding is entered to the electric quantity data after the coding, the electric quantity data after being decoded.
  2. 2. according to the method for claim 1, it is characterised in that the confirmation instruction after the decoding meets preparatory condition, wraps Include:
    When the confirmation instruction after the decoding is consistent with default checking parameter, then confirm that the instruction of the confirmation after the decoding is full The foot preparatory condition.
  3. 3. according to the method for claim 2, it is characterised in that the confirmation instruction after the decoding is joined with default verification After number is consistent, methods described also includes:
    Label corresponding to the instruction of the confirmation after the decoding is obtained from the PDU sockets;
    When label corresponding to the confirmation instruction after the decoding is consistent with the default label, then confirm after the decoding really Recognize instruction and meet the preparatory condition.
  4. 4. according to the method for claim 1, it is characterised in that the electric quantity data after to the coding enters row decoding, obtains After electric quantity data after to decoding, methods described also includes:
    When the electric quantity data after the decoding falls into default value scope, the electric quantity data after the decoding is sent to described PDU sockets;
    Wherein, the electric quantity data after the decoding determines the electric quantity data transmission success after the coding for the PDU sockets.
  5. 5. according to the method for claim 4, it is characterised in that methods described also includes:
    When the electric quantity data after the decoding does not fall within the default value scope, generation error response data;
    The errored response data are sent to the PDU sockets;
    Wherein, the errored response data are used to prompt the electric quantity data error of transmission after coding described in the PDU sockets.
  6. A kind of 6. data transmission device, it is characterised in that including:
    Acquisition module, for obtaining the confirmation instruction of power distribution unit PDU sockets transmission, the confirmation is instructed into row decoding Confirmation instruction after being decoded;Wherein, it is described to confirm to instruct the PDU sockets to be encoded to obtain to parameter preset;
    Module is confirmed, for when the confirmation instruction after the decoding meets preparatory condition, returning to the PDU sockets and successfully referring to Show;Wherein, it is described successfully to indicate for indicating that the PDU sockets send the electric quantity data after encoding;
    Receiving module, for the electric quantity data after the coding of the reception from PDU sockets transmission;
    Decoding module, for entering row decoding to the electric quantity data after the coding, the electric quantity data after being decoded.
  7. 7. device according to claim 6, it is characterised in that the confirmation module, be specifically used for:
    When the confirmation instruction after the decoding is consistent with default checking parameter, then confirm that the instruction of the confirmation after the decoding is full The foot preparatory condition.
  8. 8. device according to claim 7, it is characterised in that the confirmation module, be additionally operable to:
    After the decoding confirmation instruction it is consistent with default checking parameter after, from the PDU sockets acquisition described in translate Label corresponding to confirmation instruction after code;
    When label corresponding to the confirmation instruction after the decoding is consistent with the default label, then confirm after the decoding really Recognize instruction and meet the preparatory condition.
  9. 9. device according to claim 6, it is characterised in that described device also includes:
    First sending module, for when the electric quantity data after the decoding falls into default value scope, after sending the decoding Electric quantity data to the PDU sockets;
    Wherein, the electric quantity data after the decoding determines the electric quantity data transmission success after the coding for the PDU sockets.
  10. 10. device according to claim 9, it is characterised in that described device also includes:
    Second sending module, for when the electric quantity data after the decoding does not fall within the default value scope, generation error Response data;The errored response data are sent to the PDU sockets;
    Wherein, the errored response data are used to prompt the electric quantity data error of transmission after coding described in the PDU sockets.
CN201610650636.XA 2016-08-09 2016-08-09 Data transmission method and device Active CN107707335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610650636.XA CN107707335B (en) 2016-08-09 2016-08-09 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610650636.XA CN107707335B (en) 2016-08-09 2016-08-09 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN107707335A true CN107707335A (en) 2018-02-16
CN107707335B CN107707335B (en) 2021-07-06

Family

ID=61169306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610650636.XA Active CN107707335B (en) 2016-08-09 2016-08-09 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN107707335B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989963A (en) * 2009-08-06 2011-03-23 大唐移动通信设备有限公司 Method, system and device for detecting baseband data transmission
CN102035691A (en) * 2009-09-28 2011-04-27 中国移动通信集团公司 Method and device for detecting quality of network link
CN102237896A (en) * 2011-06-15 2011-11-09 北京福星晓程电子科技股份有限公司 Power line carrier communication method as well as sending device and media player device used thereby
CN102957511A (en) * 2012-10-26 2013-03-06 中国船舶重工集团公司第七二二研究所 Adaptive deceleration method of data transmission
CN103347229A (en) * 2013-05-28 2013-10-09 天地融科技股份有限公司 Audio signal processing device
CN104219030A (en) * 2013-05-31 2014-12-17 中兴通讯股份有限公司 Method and device for transmitting network coding data
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105093150A (en) * 2015-07-29 2015-11-25 广州电力设计院 Meter calibration system based on intelligent power consumption network, and meter calibration method thereof
CN105450357A (en) * 2014-09-24 2016-03-30 中兴通讯股份有限公司 Adjustment method of encoding parameters, adjustment device of encoding parameters, processing method of feedback information and processing device of feedback information
CN105636113A (en) * 2014-11-04 2016-06-01 普天信息技术有限公司 Frequency point transmission quality detection method
CN105653010A (en) * 2016-03-22 2016-06-08 浪潮集团有限公司 Cloud computing based intelligent PDU (Power Distribution Unit) management method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989963A (en) * 2009-08-06 2011-03-23 大唐移动通信设备有限公司 Method, system and device for detecting baseband data transmission
CN102035691A (en) * 2009-09-28 2011-04-27 中国移动通信集团公司 Method and device for detecting quality of network link
CN102237896A (en) * 2011-06-15 2011-11-09 北京福星晓程电子科技股份有限公司 Power line carrier communication method as well as sending device and media player device used thereby
CN102957511A (en) * 2012-10-26 2013-03-06 中国船舶重工集团公司第七二二研究所 Adaptive deceleration method of data transmission
CN103347229A (en) * 2013-05-28 2013-10-09 天地融科技股份有限公司 Audio signal processing device
CN104219030A (en) * 2013-05-31 2014-12-17 中兴通讯股份有限公司 Method and device for transmitting network coding data
CN105450357A (en) * 2014-09-24 2016-03-30 中兴通讯股份有限公司 Adjustment method of encoding parameters, adjustment device of encoding parameters, processing method of feedback information and processing device of feedback information
CN105636113A (en) * 2014-11-04 2016-06-01 普天信息技术有限公司 Frequency point transmission quality detection method
CN104967497A (en) * 2015-06-09 2015-10-07 武汉数字派特科技有限公司 Network communication protocol-based reliable data transmission method and upgrading method
CN105093150A (en) * 2015-07-29 2015-11-25 广州电力设计院 Meter calibration system based on intelligent power consumption network, and meter calibration method thereof
CN105653010A (en) * 2016-03-22 2016-06-08 浪潮集团有限公司 Cloud computing based intelligent PDU (Power Distribution Unit) management method

Also Published As

Publication number Publication date
CN107707335B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN104618054B (en) Parameter regulation means and device
CN110784906B (en) Wireless network distribution method and device, storage medium and processor
CN103763067A (en) Method and device for error correction and calibration of communication data packets
CN106294040B (en) Method and device for acquiring optical module state information
CN109800104A (en) Detection method, device, storage medium and the electronic device of data storage
CN106570984B (en) Support card number verification method, the apparatus and system of a variety of Wiegand formats
CN105528325A (en) Protection method and system for high-speed transmission through standard SPI protocol
CN105740088A (en) Flash data error correction method and device
CN107707428A (en) A kind of fault filling method and device of the buses of FC AE 1553
CN105160282B (en) Unit-type sclection system and Unit-type sclection method and household electrical appliance
CN109342848A (en) Avalanche test method, system and terminal device for dispatching automation main website
CN106372026B (en) link detection method and receiving equipment
CN104330990A (en) Parity check cable model identification method and device thereof
CN109992444A (en) The hardware based end-to-end data guard method of one kind, device, computer equipment and storage medium
CN114244470B (en) Channel State Information (CSI) encoding method and device, storage medium and processor
CN104104475A (en) Response signal generation method, receiving method and device
CN113691546A (en) Integrity verification method, system, equipment and medium for text file
CN113872163A (en) Relay protection setting value calibration method and terminal equipment
CN107707335A (en) A kind of data transmission method and device
CN105812085B (en) A kind of error correction method and system of the communication receipt of audio/USB Key
CN104272625A (en) Communication device and communication method
CN110940874B (en) Calibration method, server and medium for nuclear power station transformer protection device
CN104852785A (en) Data transmission method and data transmission device
CN111752789B (en) Pressure testing method, computer device and computer readable storage medium
CN110968255B (en) Data processing method, device, storage medium and processor

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
GR01 Patent grant
GR01 Patent grant