CN110515870A - A kind of method, equipment and the readable medium of the communication of server power supply front stage - Google Patents
A kind of method, equipment and the readable medium of the communication of server power supply front stage Download PDFInfo
- Publication number
- CN110515870A CN110515870A CN201910735663.0A CN201910735663A CN110515870A CN 110515870 A CN110515870 A CN 110515870A CN 201910735663 A CN201910735663 A CN 201910735663A CN 110515870 A CN110515870 A CN 110515870A
- Authority
- CN
- China
- Prior art keywords
- data
- serial ports
- prime
- request
- power supply
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 title claims abstract description 19
- 238000003860 storage Methods 0.000 claims abstract description 30
- 230000005540 biological transmission Effects 0.000 claims abstract description 22
- 230000004044 response Effects 0.000 claims abstract description 13
- 239000000872 buffer Substances 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006870 function Effects 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0016—Inter-integrated circuit (I2C)
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of methods of server power supply front stage communication, comprising the following steps: updates request according to the transport protocol timing building data for deleting address bit;It opens serial ports and sends interruption and judge whether there is data to be transmitted and update request;It is requested in response to being updated there are data to be transmitted, interrupts to send data update request to prime and close serial ports sending interruption by serial ports transmission;The data for interrupting and receiving prime and returning are received by serial ports.The invention also discloses a kind of computer equipment and readable storage medium storing program for executing.The Communication of the effective settlement server power supply front stage of method and device of server power supply front stage proposed by the present invention communication is transferred to the data of prime are more reliable in this way rear class and feeds back to BMC by golden finger, improves the reliability of power supply.
Description
Technical field
The present invention relates to server fields, more specifically, particularly relate to a kind of method of server power supply front stage communication,
Equipment and readable medium.
Background technique
With scientific and technological progress and economic development, modern power technology is towards higher efficiency and higher power density
Development has begun recently as the maturation and stabilization of LLC (resonant transformation technology) and is applied in power supply and obtains well
Effect.LLC resonant converter because the no-voltage for being able to achieve main switch open, the zero-current switching of secondary side rectifier diode
Soft switch technique realizes efficient energy conversion, and reduces switching loss, is being widely applied and is being studied.And
Server power supply uses LLC technology to improve efficiency major part, in addition to this in order to meet national standard, for big function
The device of rate must carry out PFC, reduce the damage to power grid, it is therefore necessary to include power circuit for rectifying, from
This, operability etc. comprehensively considers selection BOOST booster circuit and carries out PFC (PFC), therefore PFC and LLC structure
At the prime and rear class of server power supply.
Since server power supply needs BMC (Baseboard Management Controller, the substrate with server
Management Controller) by gold finger plate carry out data interaction, BMC need to read PSU (power supply) relevant information or
Certain parameters are configured, this interaction is carried out by I2C interface and Pmbus agreement, this I2C interface is mounted in
The rear class of LLC i.e. power supply, BMC are also required to interact with the partial data of prime, by means of LLC, therefore this is just needed
The interaction of data is also required between PFC and LLC.Therefore a kind of convenient stable and reliable front stage communication modes are needed.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to propose the method and dress of a kind of server power supply front stage communication
It sets, mainly uses serial ports and transport protocol adjusted, be transferred to rear class for the data of prime are more reliable in this way
And BMC is fed back to by golden finger, the transmission rate of data is not only increased, the reliability of power supply is more improved.
Based on above-mentioned purpose, the one side of the embodiment of the present invention provides a kind of side of server power supply front stage communication
Method includes the following steps: to update request according to the transport protocol timing building data for deleting address bit;It opens serial ports and sends interruption
And it judges whether there is data to be transmitted and updates request;It requests in response to being updated there are data to be transmitted, is sent out by serial ports
It send interruption to update data to request to be sent to prime and close serial ports transmission interruption;It receives to interrupt by serial ports and receives prime return
Data.
In some embodiments, further includes: the adjacent serial ports of opening twice of setting sends the time interval interrupted less than phase
The adjacent data of building twice update the time interval of request.
In some embodiments, updating request according to the transport protocol timing building data for deleting address bit includes: to set
Surely buffer area is sent, data to be sent are updated into request write-in and send buffer area.
In some embodiments, being received by serial ports and interrupting the data that reception prime returns includes: judgement data length
Whether predetermined value is equal to;And it is equal to predetermined value in response to data length, serial ports is received to the reception flag position interrupted
One.
In some embodiments, further includes: detect that serial ports receives the reception flag position interrupted for for the moment, to receiving
Data parsed.
The another aspect of the embodiment of the present invention additionally provides a kind of computer equipment, comprising: at least one processor;With
And memory, memory are stored with the computer instruction that can be run on a processor, instruction is executed as follows to realize by processor
Step: request is updated according to the transport protocol timing building data for deleting address bit;It opens serial ports and sends interruption, and judge whether
It updates and requests there are data to be transmitted;It is requested in response to being updated there are data to be transmitted, is sent by serial ports and interrupt and will count
Interruption is sent according to updating to request to be sent to prime and close serial ports;The data for interrupting and receiving prime and returning are received by serial ports.
In some embodiments, step further include: the adjacent time interval for opening serial ports transmission interruption twice of setting is small
The time interval of request is updated in the adjacent data of building twice.
In some embodiments, updating request according to the transport protocol timing building data for deleting address bit includes: to set
Surely buffer area is sent, data to be sent are updated into request write-in and send buffer area.
In some embodiments, being received by serial ports and interrupting the data that reception prime returns includes: judgement data length
Whether predetermined value is equal to;And it is equal to predetermined value in response to data length, serial ports is received to the reception flag position interrupted
One.
The embodiment of the present invention in another aspect, additionally provide a kind of computer readable storage medium, computer-readable storage
Media storage has the computer program that method as above is executed when being executed by processor.
The present invention has following advantageous effects: using serial ports and transport protocol adjusted is used, by the number of prime
It is transferred to rear class according to more reliable in this way and BMC is fed back to by golden finger, not only increase the transmission rate of data,
More improve the reliability of power supply.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other embodiments are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of the embodiment of the method for server power supply front stage provided by the invention communication;
Fig. 2 is the flow chart of the embodiment of the method for server power supply front stage provided by the invention communication.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference
The embodiment of the present invention is further described in attached drawing.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention
The non-equal entity of a same names or non-equal parameter, it is seen that " first " " second " only for the convenience of statement, does not answer
It is interpreted as the restriction to the embodiment of the present invention, subsequent embodiment no longer illustrates this one by one.
Based on above-mentioned purpose, the first aspect of the embodiment of the present invention proposes a kind of server power supply front stage communication
Method embodiment.Shown in fig. 1 is showing for the embodiment of the method for server power supply front stage communication provided by the invention
It is intended to.As shown in Figure 1, the embodiment of the present invention includes following steps:
S1, request is updated according to the transport protocol timing building data for deleting address bit;
S2, it opens serial ports transmission interruption and judges whether there is data update request to be transmitted;
S3, it is requested in response to being updated there are data to be transmitted, interruption is sent by serial ports and sends data update request
To prime and close serial ports transmission interruption;And
S4, the data for interrupting and receiving prime and returning are received by serial ports.
Data transmission of the Modbus agreement suitable for mini-system, therefore, in the present embodiment, transport protocol can be
Modbus agreement, but this is not the limitation to transport protocol, in other examples, can use other transport protocols.
The embodiment of the present invention connects the front stage of server power supply using the form of serial ports using communication isolating chip on hardware
It connects.It according to Modbus specification, sets Master (main equipment) for rear class, sets Slave for prime (from equipment).
Request is updated according to the transport protocol building data for deleting address bit.Master main program is set up according to transport protocol
Data update request, and in view of the specific situation of application, only one prime part of server power supply needs not distinguish between ground
Location, therefore simplify transport protocol, the address Slave in agreement is removed, shortens protocol length, so as to greatly speed up data
Transmission rate, and then accelerate data update rate.Data update in request further include: input voltage, the bus of PFC prime
The request of data of voltage.
The poll that data needed for Master timing carries out can be set in the present embodiment, can also be arranged simultaneously data more
New request.
It opens serial ports and sends interruption, and judge whether there is data to be transmitted and update request.It in the present embodiment can be with
Setting serial ports sends to interrupt and open at predetermined time intervals.In certain embodiments, method further include: setting is adjacent to open string twice
Mouth sends the time interval that the time interval interrupted is less than the adjacent data of building twice update request.In certain embodiments, root
Updating request according to the transport protocol timing building data for deleting address bit includes: that setting sends buffer area, by data to be sent
It updates request and the transmission buffer area is written.In the present embodiment, the length that can define a unsigned char type is
Data are updated request write-in and sent among buffer area by 128 transmission buffer area.It opens after serial ports transmission is interrupted when transmission buffers
Area enters interruption and carries out byte data transmission when having data, send in buffer area after being sent completely and send out serial ports after no data
Send impeding shutdown.
In certain embodiments, being received by serial ports and interrupting the data that the reception prime returns includes: to judge that data are long
Whether degree is equal to predetermined value;And it is equal to predetermined value in response to data length, serial ports is received to the reception flag position interrupted
Set one.Serial ports, which receives to interrupt, is constantly in opening mode, and serial ports reception interruption is entered when receiving the data of Slave return will
Data deposit receives buffer area.The reception buffer area that the length of a unsigned char type is 128 can be defined, reception is worked as
Data length to be equal to the predetermined value in predetermined value, such as the present embodiment be 7 (solid according to transport protocol returned data length
It is set to 7 bytes) when, Data Labels position 1 will be received, represents data receiver and finish.
In certain embodiments, method further include: detecting that the serial ports receives the reception flag position interrupted is a period of time, right
The data received are parsed.It detects that serial ports receives to interrupt in LLC main program to receive after Data Labels position is 1 and will receive
Data carry out data processing, finally obtain the data to be updated.
It is as follows for PFC grades of Slave part steps:
The serial ports of Slave, which receives to interrupt, is constantly in open state, can define the length of a unsigned char type
For 32 reception buffer area, placed data into reception buffer area after receiving data, it will after the data for receiving a frame are long
Serial ports receives the data accepted flag position 1 interrupted;It is 1 that main program, which detects that serial ports receives the data accepted flag position in interrupting,
The data received in buffer area are handled according to agreement afterwards;By treated, content inserts corresponding data in returning to frame
Or to corresponding variable assignments;Frame data will be returned to be filled into the transmission buffer area of Slave, one can be defined
The transmission buffer area that the length of unsigned char type is 32 returns to frame data filling wherein, and will send mark position 1, beats
Open string mouth, which is sent, to interrupt, and starts to carry out data transmission.Thereby realize the interaction of front stage data.
Fig. 2 shows be server power supply front stage provided by the invention communication method embodiment flow chart.Such as
Shown in Fig. 2, since frame 101, frame 102 is next proceeded to, updates request according to the transport protocol building data for deleting address bit;
Frame 103 is next proceeded to, serial ports is opened and sends interruption;Frame 104 is next proceeded to, data to be transmitted is judged whether there is and updates
Request;Frame 105 is next proceeded to, sends to interrupt to update data by serial ports and requests to be sent to prime;Next proceed to frame
106, the data for interrupting and receiving prime and returning are received by serial ports, then proceed to the end of frame 107.
It is important to note that each step in each embodiment of the method for above-mentioned server power supply front stage communication
Suddenly can intersect, replace, increase, deleting, therefore, these reasonable permutation and combination transformation before and after the server power supply
The method of grade communication should also be as belonging to the scope of protection of the present invention, and protection scope of the present invention should not be confined to embodiment
On.
Based on above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a kind of computer equipment, comprising: at least
One processor;And memory, memory are stored with the computer instruction that can be run on a processor, instruction is held by processor
Row is to realize following steps: S1, updating request according to the transport protocol timing building data for deleting address bit;S2, serial ports is opened
It sends and interrupts and judge whether there is data update request to be transmitted;S3, it is requested in response to being updated there are data to be transmitted,
It sends to interrupt to update data to request to be sent to prime and close serial ports transmission by serial ports and interrupt;And it S4, is connect by serial ports
It receives to interrupt and receives the data that prime returns.
In some embodiments, further includes: the adjacent serial ports of opening twice of setting sends the time interval interrupted less than phase
The adjacent data of building twice update the time interval of request.
In some embodiments, updating request according to the transport protocol timing building data for deleting address bit includes: to set
Surely buffer area is sent, data to be sent are updated into request write-in and send buffer area.
In some embodiments, being received by serial ports and interrupting the data that reception prime returns includes: judgement data length
Whether predetermined value is equal to;And it is equal to predetermined value in response to data length, serial ports is received to the reception flag position interrupted
One.
In some embodiments, further includes: detect that serial ports receives the reception flag position interrupted for for the moment, to receiving
Data parsed.
The present invention also provides a kind of computer readable storage medium, computer-readable recording medium storage has by processor
The computer program of method as above is executed when execution.
Finally, it should be noted that those of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method
Or part process, related hardware can be instructed to complete by computer program, the method for server power supply front stage communication
Program can be stored in a computer-readable storage medium, the program is when being executed, it may include as above-mentioned each method reality
Apply the process of example.Wherein, the storage medium of program can be magnetic disk, CD, read-only memory (ROM) or random storage memory
Body (RAM) etc..The embodiment of above-mentioned computer program, can achieve corresponding aforementioned any means embodiment it is identical or
Similar effect.
In addition, disclosed method is also implemented as the computer journey executed by processor according to embodiments of the present invention
Sequence, the computer program may be stored in a computer readable storage medium.When the computer program is executed by processor, hold
The above-mentioned function of being limited in row method disclosed by the embodiments of the present invention.
In addition, above method step and system unit also can use controller and for storing so that controller is real
The computer readable storage medium of the computer program of existing above-mentioned steps or Elementary Function is realized.
In addition, it should be appreciated that the computer readable storage medium (for example, memory) of this paper can be volatibility and deposit
Reservoir or nonvolatile memory, or may include both volatile memory and nonvolatile memory.As an example and
Unrestricted, nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM
(EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory may include that arbitrary access is deposited
Reservoir (RAM), the RAM can serve as external cache.As an example and not restrictive, RAM can be with a variety of
Form obtains, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR
SDRAM), enhance SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM).Institute is public
The storage equipment for the aspect opened is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein
Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate
This interchangeability of part and software, with regard to various exemplary components, square, module, circuit and step function to its into
General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application
To the design constraint of whole system.The function that those skilled in the art can realize in various ways for every kind of concrete application
Can, but this realization decision should not be interpreted as causing a departure from range disclosed by the embodiments of the present invention.
Various illustrative logical blocks, module and circuit, which can use, in conjunction with described in disclosure herein is designed to
The following component of function here is executed to realize or execute: general processor, digital signal processor (DSP), dedicated integrated electricity
It is road (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete
Any combination of hardware component or these components.General processor can be microprocessor, but alternatively, processor can
To be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as calculating the group of equipment
Close, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP and/or it is any its
Its this configuration.
The step of method in conjunction with described in disclosure herein or algorithm, can be directly contained in hardware, be held by processor
In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storage
Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its
In the storage medium of its form.Illustrative storage medium is coupled to processor, enables a processor to from the storage medium
Information is written to the storage medium in middle reading information.In an alternative, storage medium can be integral to the processor
Together.Pocessor and storage media may reside in ASIC.ASIC may reside in user terminal.In an alternative
In, it is resident in the user terminal that pocessor and storage media can be used as discrete assembly.
In one or more exemplary designs, function can be realized in hardware, software, firmware or any combination thereof.
If realized in software, can using function as one or more instruction or code may be stored on the computer-readable medium or
It is transmitted by computer-readable medium.Computer-readable medium includes computer storage media and communication media, which is situated between
Matter includes any medium for helping for computer program to be transmitted to another position from a position.Storage medium can be energy
Any usable medium being enough accessed by a general purpose or special purpose computer.As an example and not restrictive, the computer-readable medium
It may include that RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic storages are set
It is standby, or can be used for carrying or storage form be instruct or the required program code of data structure and can by general or
Special purpose computer or any other medium of general or specialized processor access.In addition, any connection can suitably claim
For computer-readable medium.For example, if using coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or all
It is if the wireless technology of infrared ray, radio and microwave to send software from website, server or other remote sources, then above-mentioned coaxial
Cable, fiber optic cable, twisted pair, DSL or such as wireless technology of infrared ray, radio and microwave are included in determining for medium
Justice.As used herein, disk and CD include compact disk (CD), it is laser disk, CD, digital versatile disc (DVD), soft
Disk, Blu-ray disc, wherein disk usually magnetically reproduce data, and CD using laser optics reproduce data.Above content
Combination should also be as being included in the range of computer-readable medium.
It is exemplary embodiment disclosed by the invention above, it should be noted that in the sheet limited without departing substantially from claim
Under the premise of inventive embodiments scope of disclosure, it may be many modifications and modify.According to open embodiment described herein
The function of claim to a method, step and/or movement be not required to the execution of any particular order.In addition, although the present invention is implemented
Element disclosed in example can be described or be required in the form of individual, but be unless explicitly limited odd number, it is understood that be multiple.
It should be understood that it is used in the present context, unless the context clearly supports exceptions, singular " one
It is a " it is intended to also include plural form.It is to be further understood that "and/or" used herein refers to including one or one
Any and all possible combinations of a above project listed in association.
It is for illustration only that the embodiments of the present invention disclose embodiment sequence number, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, program can store in a kind of computer-readable storage medium
In matter, storage medium mentioned above can be read-only memory, disk or CD etc..
It should be understood by those ordinary skilled in the art that: the discussion of any of the above embodiment is exemplary only, not
It is intended to imply that range disclosed by the embodiments of the present invention (including claim) is limited to these examples;In the think of of the embodiment of the present invention
Under road, it can also be combined between the technical characteristic in above embodiments or different embodiments, and there is this hair as above
Many other variations of the different aspect of bright embodiment, for simplicity, they are not provided in details.Therefore, all in the present invention
Within the spirit and principle of embodiment, any omission, modification, equivalent replacement, improvement for being made etc. be should be included in of the invention real
It applies within the protection scope of example.
Claims (10)
1. a kind of method of server power supply front stage communication characterized by comprising
Request is updated according to the transport protocol timing building data for deleting address bit;
It opens serial ports and sends interruption and judge whether there is data to be transmitted and update request;
It is requested in response to being updated there are data to be transmitted, interruption is sent by the serial ports and sends data update request
To prime and close the serial ports transmission interruption;
The data for interrupting and receiving the prime and returning are received by serial ports.
2. the method according to claim 1, wherein further include:
It sets adjacent serial ports of opening twice and sends the time that the time interval interrupted updates request less than the adjacent data of building twice
Interval.
3. the method according to claim 1, wherein described construct according to the transport protocol timing for deleting address bit
Data update request
Setting sends buffer area, data to be sent is updated request, the transmission buffer area is written.
4. the method according to claim 1, wherein described received by serial ports interrupts the reception prime return
Data include:
Judge whether data length is equal to predetermined value;And
It is equal to predetermined value in response to data length, serial ports is received to the reception flag position one interrupted.
5. according to the method described in claim 4, it is characterized by further comprising:
Detecting that the serial ports receives the reception flag position interrupted is a period of time, is parsed to the data received.
6. a kind of computer equipment characterized by comprising
At least one processor;And
Memory, the memory are stored with the computer instruction that can be run on the processor, and described instruction is by described
Reason device realizes following steps when executing:
Request is updated according to the transport protocol timing building data for deleting address bit;
It opens serial ports and sends interruption and judge whether there is data to be transmitted and update request;
It is requested in response to being updated there are data to be transmitted, interruption is sent by the serial ports and sends data update request
To prime and close the serial ports transmission interruption;
The data for interrupting and receiving the prime and returning are received by serial ports.
7. computer equipment according to claim 6, which is characterized in that step further include:
It sets adjacent serial ports of opening twice and sends the time that the time interval interrupted updates request less than the adjacent data of building twice
Interval.
8. computer equipment according to claim 6, which is characterized in that described fixed according to the transport protocol for deleting address bit
When building data update request include:
Setting sends buffer area, data to be sent is updated request, the transmission buffer area is written.
9. computer equipment according to claim 6, which is characterized in that it is described by serial ports receive interrupt receive it is described before
Grade return data include:
Judge whether data length is equal to predetermined value;And
It is equal to predetermined value in response to data length, serial ports is received to the reception flag position one interrupted.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In perform claim requires method described in 1-5 any one when the computer program is executed by processor.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735663.0A CN110515870A (en) | 2019-08-09 | 2019-08-09 | A kind of method, equipment and the readable medium of the communication of server power supply front stage |
PCT/CN2019/121106 WO2021027182A1 (en) | 2019-08-09 | 2019-11-27 | Method for communication between front stage and rear stage of server power supply, device, and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735663.0A CN110515870A (en) | 2019-08-09 | 2019-08-09 | A kind of method, equipment and the readable medium of the communication of server power supply front stage |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110515870A true CN110515870A (en) | 2019-11-29 |
Family
ID=68624696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910735663.0A Pending CN110515870A (en) | 2019-08-09 | 2019-08-09 | A kind of method, equipment and the readable medium of the communication of server power supply front stage |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110515870A (en) |
WO (1) | WO2021027182A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007423A (en) * | 2019-12-22 | 2020-04-14 | 苏州浪潮智能科技有限公司 | Communication test fixture of server power front and back level |
CN111352889A (en) * | 2020-02-29 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Equipment management method, equipment, device and medium based on MCTP (Multi-port technology protocol) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113094305B (en) * | 2021-04-02 | 2024-03-26 | 北京黑蚁兄弟科技有限公司 | Asynchronous communication processing method, device and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291331A (en) * | 2007-04-19 | 2008-10-22 | 华硕电脑股份有限公司 | Method for radio communication system for improving reordering function and its related device |
CN102014027A (en) * | 2010-12-13 | 2011-04-13 | 东南大学 | On-line breaker monitoring device based on quick massage frame aggregation technology |
CN102360204A (en) * | 2011-08-04 | 2012-02-22 | 南京航空航天大学 | FlexRay-based distributed flight control computer communication system and control method thereof |
CN106533621A (en) * | 2016-11-15 | 2017-03-22 | 合肥工业大学智能制造技术研究院 | Communication method for monitoring permanent magnet synchronous motor in real time based on simplified MODBUS protocol |
CN106533874A (en) * | 2016-11-22 | 2017-03-22 | 北京金自天正智能控制股份有限公司 | Permanent magnet synchronous motor (PMSM) data communication system and method based on Modbus RTU protocol |
CN107134839A (en) * | 2017-05-11 | 2017-09-05 | 山东鲁能智能技术有限公司 | A kind of high power density charging module and method based on all-digitized demodulator |
CN107465576A (en) * | 2017-08-23 | 2017-12-12 | 江苏舾普泰克自动化科技有限公司 | A kind of more host communication system and methods based on Modbus agreements |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136735B (en) * | 2006-09-12 | 2010-05-12 | 中兴通讯股份有限公司 | Semi-duplex serial port communication system and method using UART |
CN102937944B (en) * | 2012-10-16 | 2016-01-20 | 北京交控科技有限公司 | A kind of based on Arcnet serial server |
CN106155960B (en) * | 2016-06-29 | 2019-03-22 | 广州慧睿思通信息科技有限公司 | It is shaken hands the UART serial port communication method with EDMA based on GPIO |
-
2019
- 2019-08-09 CN CN201910735663.0A patent/CN110515870A/en active Pending
- 2019-11-27 WO PCT/CN2019/121106 patent/WO2021027182A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291331A (en) * | 2007-04-19 | 2008-10-22 | 华硕电脑股份有限公司 | Method for radio communication system for improving reordering function and its related device |
CN102014027A (en) * | 2010-12-13 | 2011-04-13 | 东南大学 | On-line breaker monitoring device based on quick massage frame aggregation technology |
CN102360204A (en) * | 2011-08-04 | 2012-02-22 | 南京航空航天大学 | FlexRay-based distributed flight control computer communication system and control method thereof |
CN106533621A (en) * | 2016-11-15 | 2017-03-22 | 合肥工业大学智能制造技术研究院 | Communication method for monitoring permanent magnet synchronous motor in real time based on simplified MODBUS protocol |
CN106533874A (en) * | 2016-11-22 | 2017-03-22 | 北京金自天正智能控制股份有限公司 | Permanent magnet synchronous motor (PMSM) data communication system and method based on Modbus RTU protocol |
CN107134839A (en) * | 2017-05-11 | 2017-09-05 | 山东鲁能智能技术有限公司 | A kind of high power density charging module and method based on all-digitized demodulator |
CN107465576A (en) * | 2017-08-23 | 2017-12-12 | 江苏舾普泰克自动化科技有限公司 | A kind of more host communication system and methods based on Modbus agreements |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111007423A (en) * | 2019-12-22 | 2020-04-14 | 苏州浪潮智能科技有限公司 | Communication test fixture of server power front and back level |
CN111007423B (en) * | 2019-12-22 | 2022-04-22 | 苏州浪潮智能科技有限公司 | Communication test fixture of server power front and back level |
CN111352889A (en) * | 2020-02-29 | 2020-06-30 | 苏州浪潮智能科技有限公司 | Equipment management method, equipment, device and medium based on MCTP (Multi-port technology protocol) |
Also Published As
Publication number | Publication date |
---|---|
WO2021027182A1 (en) | 2021-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110515870A (en) | A kind of method, equipment and the readable medium of the communication of server power supply front stage | |
CN102253840B (en) | Plugin management method and plugin manager | |
CN102640075B (en) | Semiconductor system, semiconductor device, and electronic device initializing method | |
WO2022143540A1 (en) | Block chain index storage method and apparatus, computer device and medium | |
CN109684335B (en) | Key value pair-based data structure implementation method, device, equipment and storage medium | |
CN109902053A (en) | A kind of SPI communication method, terminal device and storage medium based on dual controller | |
CN106951388A (en) | A kind of DMA data transfer method and system based on PCIe | |
CN104541473A (en) | Universal synchronization engine based on probabilistic methods for guarantee of lock in multiformat audio systems | |
CN103559910B (en) | The realization intelligence that is applied to cd-rom recorder is switched the system and method for burning/recording chip sequential | |
US20120030421A1 (en) | Maintaining states for the request queue of a hardware accelerator | |
CN103064805A (en) | Serial Peripheral Interface (SPI) controller and communication method | |
CN107493329A (en) | A kind of remote document access method of distributed memory file system | |
WO2024077890A1 (en) | Asynchronous fifo reading/writing control method and system, and electronic device | |
CN109213828B (en) | Block generation method, device, equipment and storage medium | |
CN109803016A (en) | A kind of method and apparatus using virtual switch forwarding data packet | |
CN109656886B (en) | Key value pair-based file system implementation method, device, equipment and storage medium | |
CN109656844A (en) | A kind of AT24xx EEPROM driving method and device | |
CN107357592A (en) | A kind of event-handling method and device based on state machine mechanism | |
CN109902056A (en) | A kind of method, apparatus of serial transmission, equipment and computer readable storage medium | |
CN110445585A (en) | Based on PPP information frame framing and frame decoding hardware accelerator | |
JPH11161599A (en) | Data transfer method | |
WO2021189898A1 (en) | Protocol conversion method and system for data, and electronic device and storage medium | |
Suhaib et al. | Dataflow architectures for GALS | |
US6799227B2 (en) | Dynamic configuration of a time division multiplexing port and associated direct memory access controller | |
US6457072B1 (en) | System and method for effectively performing physical direct memory access operations |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191129 |
|
RJ01 | Rejection of invention patent application after publication |