CN107590988A - GPRS radio data transmission methods - Google Patents

GPRS radio data transmission methods Download PDF

Info

Publication number
CN107590988A
CN107590988A CN201711059736.6A CN201711059736A CN107590988A CN 107590988 A CN107590988 A CN 107590988A CN 201711059736 A CN201711059736 A CN 201711059736A CN 107590988 A CN107590988 A CN 107590988A
Authority
CN
China
Prior art keywords
integer variable
pointer
queue
putting
communication module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711059736.6A
Other languages
Chinese (zh)
Inventor
邵凡
曹辉
薛海涛
施沩
鲁燕
张驰
何斌
黄伟刚
李婷
施辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nantong Power Supply Co of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
Nantong Power Supply Co of State Grid Jiangsu Electric Power 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 Nantong Power Supply Co of State Grid Jiangsu Electric Power Co Ltd filed Critical Nantong Power Supply Co of State Grid Jiangsu Electric Power Co Ltd
Priority to CN201711059736.6A priority Critical patent/CN107590988A/en
Publication of CN107590988A publication Critical patent/CN107590988A/en
Pending legal-status Critical Current

Links

Abstract

A kind of GPRS radio data transmission methods, the queue for putting integer variable pointer into and some integer variables are provided with the internal memory of server, include packet number calculation procedure in the server, for judging to put to for putting the program of the queue of integer variable pointer into and for sending the program of message, the integer variable is identical with the quantity of GPRS communication module, and integer variable corresponds with GPRS communication module, the data of reception are packed into after packet is sent to server in GPRS communication module, packet number calculation procedure calculates the number for the packet that the GPRS communication module is sent to server as currency;Effectively prevent in the prior art so that the short time largely sends messages to baseboard management controller and so that the increase of baseboard management controller task and the defects of can't bear the heavy load.

Description

GPRS radio data transmission methods
Technical field
The present invention relates to GPRS technical fields, and in particular to a kind of GPRS radio data transmission methods.
Background technology
In terms of the management and control of power supply, most electricity power enterprises are also limited to the displaying level of surface data, lack the reason of science By model supports.The unit model of each electricity power enterprise is numerous, and under different operating modes, the amount of drawing gas, heating load and unit output are mutual Restrict;Traditional means in terms of the management and control to electricity power enterprise's production status are single, and most is also the mode manually reported, in number According to real-time, high efficiency, in terms of accuracy be all difficult it is secure, can not be timely for some emergency situations of electricity power enterprise Adjust, have impact on power quality.
In the present of computer technology high speed development, the operation conditions of unit how is efficiently obtained, analyzes unit Generating potentiality, have become the problem of administration of power networks is in the urgent need to address in the service ability of different time sections unit.Analysis electricity Source quality, the safe and stable operation of power network is ensured, be the most important thing of administration of power networks.
Then electric power data acquisition and distance transmission system based on GPRS communication module, including control are just proposed now System, electric energy acquisition concentrator and main website,
For the set-up of control system inside power plant, control system is DCS system or PLC system;It is specific according to each power plant Situation is different, is connected electric energy acquisition concentrator and power plant's internal control system using serial line interface or Ethernet interface, reality When obtain the creation data of generating set, data are after electric energy acquisition concentrator preliminary screening through being sent to by GPRS communication module The main website of administrative department,
Electric energy acquisition concentrator includes single-chip microcomputer, alternating current sampling device, serial communication module, ethernet communication module, GPRS Communication module, coffret and memory, wherein single-chip microcomputer respectively with alternating current sampling device, serial communication module, ethernet communication Module, GPRS communication module, coffret and memory connection.
The electric power data acquisition and distance transmission system based on GPRS communication module are mainly for power plant's energy data Collection and transmission transmission, in order to solve the problems, such as that some power plant can not realize wire transmission, can both solve actual tired Difficulty, management cost can be saved again.The invention embodiment is as follows:
Its hardware platform uses currently used network connection, modularization, integrated and data distribution process system knot Structure.Electric energy acquisition concentrator is generally history station or the engineer station of Power Plant DCS System, main to be responsible for extracting from DCS system Required energy data.
There is two ways in data-interface connection:One kind is serial ports RS-485 modes, RS-485 sent using balance and Differential received, therefore with the ability of suppression common mode interference;One kind is Ethernet RJ-45 interface modes.According to the tool of each unit Body wire laying mode, it can flexibly select connected mode.RS-485 connections are not less than Φ using 2 cores shielding connection, line footpath 0.5mm, maximum access line footpath are Φ 2.0mm (being communicated as far as possible using thicker shielding).The A ends of terminal RS-485 interfaces are (i.e.: RS-485 "+" pole) it is connected with the A ends (or A+ ends) of data source RS-485 interfaces, the B ends of RS-485 interfaces are (i.e.:RS-485's "-" pole) it is connected with the B ends (or A- ends) of data source RS-485 interfaces, screen layer one end ground connection.
Electric energy acquisition concentrator is installed, electric energy acquisition concentrator is the important component of power information acquisition system.
Power demand side information is carried out using modern digital communication technology, embedded technology, computer hardware technique etc. Collection and analyzing and processing.Electric energy acquisition concentrator Electro Magnetic Compatibility is excellent, can resist high voltage spikes, high-intensity magnetic field, Qiang Jing Electricity, the interference of lightning surge, and there is stronger temperature self-adaptation limit of power;Wide-voltage range design makes it have higher Reliability;
Device parameter can be easily changed in local/remote, support the online upgrading of locality/distant place software;Large Copacity Mainboard FLASH storage chips ensure the convenient storages of various data as memory;ABS water proof fire retardant materials, wall-mounted knot Structure, volume are light and handy, easy for installation.
But in actual applications, the main website includes server, and the server has baseboard management controller;It is described The quantity of electric energy acquisition concentrator and GPRS communication module is some, each electric energy acquisition concentrator and a GPRS communication mould Block is connected, and the quantity of the server is one;And data are passed through after electric energy acquisition concentrator preliminary screening and communicated by GPRS The mode that module is sent to the main website of administrative department is as follows:
Data after preliminary screening are encapsulated framing by electric energy acquisition concentrator;Data frame is sent to GPRS communication module;Connect GPRS communication module the data of reception are packed into packet and be sent to server;
The packet of server is sent to each GPRS communication module will carry out each independent in the server Number calculates, and this is also the important performance of server, and server is with packet number calculation procedure come to each GPRS communication module The number for being sent to the packet of server calculates respectively.Via the packet that server is sent to towards each GPRS communication module Number, also have grasp to data package size, can find GPRS communication module structure be not suitable for, function limitation part, also Just beneficial to some performances of improvement GPRS communication module, user is reached to reaching needs of the client to GPRS communication module with this. Just as:The packet that GPRS communication module is largely sent to very much server causes the miopragia of server, if in server In with packet number calculation procedure, it becomes possible to find the source of the reason of the miopragia, with this improve GPRS communication The performance of module reaches the needs of client.
So far, such number is calculated and must often reached through some integer variables, the integer variable and GPRS The quantity of communication module is identical, and integer variable and GPRS communication module correspond, each integer variable be entered as through The packet that corresponding GPRS communication module that packet number calculation procedure calculates is sent to server Number, it is to be ensured that calculating it is correct, must the packet in integer variable number exceed amount before by baseboard management controller Take away, if it is that the number for having the packet in integer variable exceeds packet number meter after default critical number specifically to reach method Calculate program and send message and allow baseboard management controller to take the number of the packet in the integer variable away in real time, but such method Often so that the short time largely sends messages to baseboard management controller so that baseboard management controller task increases and can't bear Heavy burden.
The content of the invention
To solve the above problems, the invention provides a kind of GPRS radio data transmission methods, existing skill effectively prevent Cause the short time largely to send messages to baseboard management controller in art and cause the increase of baseboard management controller task without The defects of bearing heavy burden.
In order to overcome deficiency of the prior art, the invention provides a kind of solution party of GPRS radio data transmission methods Case, it is specific as follows:
A kind of GPRS radio data transmission methods, electric power data acquisition based on GPRS communication module and long-range is equipped with first Transmission system, including control system 1, electric energy acquisition concentrator 2 and main website 3;
The control system 1 is arranged on inside power plant, and control system 1 is DCS system or PLC system;Using serial line interface Or electric energy acquisition concentrator 2 is connected by Ethernet interface with power plant internal control system 1, obtains the production of generating set in real time Data, data pass through the main website 3 that administrative department is sent to by GPRS communication module 202 after the preliminary screening of electric energy acquisition concentrator 2;
The main website 3 includes server, and the server has baseboard management controller;The electric energy acquisition concentrator and The quantity of GPRS communication module is some, and each electric energy acquisition concentrator is connected with a GPRS communication module, the clothes The quantity of business device is one;
Data pass through the master that administrative department is sent to by GPRS communication module 202 after the preliminary screening of electric energy acquisition concentrator 2 Stand 3 mode it is as follows:
Data after preliminary screening are encapsulated framing by electric energy acquisition concentrator 2;Data frame is sent to GPRS communication module;Connect GPRS communication module the data of reception are packed into packet and be sent to server, and server also communicates to the GPRS The packet that module is sent performs packet number and calculates disposal, and specific method is as follows;
1) queue for putting integer variable pointer into and some integer variables are provided with the internal memory of server, is being taken Include packet number calculation procedure in business device, for judging to put to for putting the journey of the queue of integer variable pointer into Sequence and for sending the program of message, the integer variable is identical with the quantity of GPRS communication module, and integer variable with GPRS communication module corresponds, and is packed into the data of reception after packet is sent to server in GPRS communication module, Packet number calculation procedure calculates the number of the packet that the GPRS communication module is sent to server as currency, That integer variable corresponding to the GPRS communication module is then entered as sum of the original value of the integer variable plus currency, This is tried to achieve and just variate-value as the integer variable;
2) it then be used to judge to put to for putting the program of the queue of integer variable pointer into judge to there are The variate-value of integer variable reaches default and put to for putting the situation of the activation critical number of the queue of integer variable pointer into, Put if the variate-value that integer variable be present reaches default to for putting the activation critical number of the queue of integer variable pointer into Under the conditions of, the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
Specifically, as it is preset as a pair putting to for putting the activation critical number of the queue of integer variable pointer into, Critical number one is respectively activated with activating critical number two, activation critical number two is bigger than activation critical number one, if critical in the presence of activating As soon as number is less than the variate-value of integer variable and activation critical number two is more than the variate-value of the integer variable, it must determine that the integer becomes Amount either with or without for putting the queue of integer variable pointer into, if for putting the queue of integer variable pointer into, The pointer of the integer variable need not be just put to for putting the queue of integer variable pointer into, be less than if activating critical number two The variate-value of integer variable, also the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
3) default capability value is arrived for putting the pointer capacity of the integer variable in the queue of integer variable pointer into Or for put into the queue of integer variable pointer put to the pointer of integer variable when grown to default time period value after, just Baseboard management controller disposal is sent messages to, is specially:
For putting the pointer of the quantity of the pointer of the integer variable in the queue of integer variable pointer, i.e. integer variable into Capacity is to just sending messages to baseboard management controller disposal after default capability value, and for sending the program of message, in The pointer of first integer variable is put to when entering the queue for putting integer variable pointer into, and just the pointer of first integer variable is put Continue to calculate the duration from the initial time to entering when the queue for putting integer variable pointer into as initial time, If when grown to after default time period value and for putting the pointer capacity of the integer variable in the queue of integer variable pointer into Default capability value has been less than, has also just sent messages to baseboard management controller disposal this moment, and terminate and persistently calculate from Duration from moment beginning;
4) method that baseboard management controller disposal is sent messages to described in is as follows:
After baseboard management controller receives the message that this sends, just by for putting into the queue of integer variable pointer The pointer of integer variable is taken out, then the pointer by integer variable takes out the variate-value in the integer variable where the pointer, Just obtain the number for the packet for sending server to.
The packet number calculation procedure is used for calculating the packet that the GPRS communication module is sent to server Number as currency, it is original that integer variable corresponding to the GPRS communication module is then entered as the integer variable Sum of the value plus currency.
If described be used for judging to put to for putting the program of the queue of integer variable pointer into being used for determining in the presence of sharp As soon as critical number living is less than the variate-value of integer variable and activation critical number two is more than the variate-value of the integer variable, must determine should Integer variable is either with or without for putting the queue of integer variable pointer into, if for putting the team of integer variable pointer into In row, the pointer of the integer variable need not be just put to for putting the queue of integer variable pointer into, if activation critical number Two are less than the variate-value of integer variable, and also the pointer of the integer variable is put to for putting the queue of integer variable pointer into In.
The program for being used for sending message is used for putting to entering for putting integer variable into the pointer of first integer variable During the queue of pointer, just the pointer of first integer variable is put to entering when the queue for putting integer variable pointer into as rising The moment begin to continue to calculate duration from the initial time, if when grown to after default time period value and become for putting integer into The pointer capacity for measuring the integer variable in the queue of pointer has also been less than default capability value, also just sends messages to substrate this moment Management Controller is disposed, and terminates the duration persistently calculated from initial time.
Beneficial effects of the present invention are:
1st, this method can reduce the short time and largely send messages to baseboard management controller, moreover it is possible to send a message The variate-value of some integer variables can be just disposed to baseboard management controller, reduces the task amount of baseboard management controller;
2nd, this method combines activation critical number two, can screen out consistent pointer, avoid baseboard management controller from being allowed Baseboard management controller consumes hardware-software when taking the transmission message of the number of the packet in the integer variable away in real time In on consistent pointer;
3rd, this method avoids baseboard management controller disposal is sent messages under not short delay, substrate pipe will also be allowed Reason controller not be delayed the pointer for obtaining very much the integer variable in the queue for putting integer variable pointer into long, further according to The pointer of integer variable obtains the variate-value in integer variable.
Brief description of the drawings
Fig. 1 is the electric power data acquisition based on GPRS communication module of the present invention and the structured flowchart of distance transmission system.
Fig. 2 is the electric power data acquisition based on GPRS communication module of the present invention and the electric energy acquisition collection of distance transmission system The fundamental diagram of middle device.
Embodiment
The present invention is described further below in conjunction with embodiment.
GPRS radio data transmission methods, electric power data acquisition and remote transmission based on GPRS communication module are equipped with first System, including control system 1, electric energy acquisition concentrator 2 and main website 3;
The control system 1 is arranged on inside power plant, and control system 1 is DCS system or PLC system;Had according to each power plant Body situation is different, is connected electric energy acquisition concentrator 2 and power plant internal control system 1 using serial line interface or Ethernet interface Connect, obtain the creation data of generating set in real time, data are passed through by GPRS communication module after the preliminary screening of electric energy acquisition concentrator 2 202 are sent to the main website 3 of administrative department;
The main website 3 includes server, and the server has baseboard management controller;The electric energy acquisition concentrator and The quantity of GPRS communication module is some, and each electric energy acquisition concentrator is connected with a GPRS communication module, the clothes The quantity of business device is one;
Data pass through the master that administrative department is sent to by GPRS communication module 202 after the preliminary screening of electric energy acquisition concentrator 2 Stand 3 mode it is as follows:
Data after preliminary screening are encapsulated framing by electric energy acquisition concentrator 2;Data frame is sent to GPRS communication module;Connect GPRS communication module the data of reception are packed into packet and be sent to server, and server also communicates to the GPRS The packet that module is sent performs packet number and calculates disposal, and specific method is as follows;
1) queue for putting integer variable pointer into and some integer variables are provided with the internal memory of server, is being taken Include packet number calculation procedure in business device, for judging to put to for putting the journey of the queue of integer variable pointer into Sequence and for sending the program of message, the integer variable is identical with the quantity of GPRS communication module, and integer variable with GPRS communication module corresponds, and is packed into the data of reception after packet is sent to server in GPRS communication module, Packet number calculation procedure calculates the number of the packet that the GPRS communication module is sent to server as currency, That integer variable corresponding to the GPRS communication module is then entered as sum of the original value of the integer variable plus currency, This is tried to achieve and just variate-value as the integer variable;
2) it then be used to judge to put to for putting the program of the queue of integer variable pointer into judge to there are The variate-value of integer variable reaches default and put to for putting the situation of the activation critical number of the queue of integer variable pointer into, Put if the variate-value that integer variable be present reaches default to for putting the activation critical number of the queue of integer variable pointer into Under the conditions of, the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
The short time is avoided largely to send messages to baseboard management controller and baseboard management controller task is increased Add and can't bear the heavy load, put if reaching default in the variate-value that integer variable be present to for putting the queue of integer variable pointer into Activation critical number under conditions of, the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
Specifically, as it is preset as a pair putting to for putting the activation critical number of the queue of integer variable pointer into, Critical number one and activation critical number two are respectively activated, activation critical number two is bigger than activation critical number one, with reference to activation critical number Two, consistent pointer can be screened out, avoids baseboard management controller from obtaining allowing baseboard management controller to take integer change away in real time Hardware-software is consumed on consistent pointer when the transmission message of the number of packet in amount, detailed is:If deposit As soon as it is less than the variate-value of integer variable in activation critical number and activation critical number two is more than the variate-value of the integer variable, must be really The fixed integer variable is either with or without for putting the queue of integer variable pointer into, if for putting integer variable pointer into Queue in, the pointer of the integer variable need not be just put to for putting the queue of integer variable pointer into, if activation is faced Boundary's number two is less than the variate-value of integer variable, and also the pointer of the integer variable is put to for putting the team of integer variable pointer into In row;
3) default capability value is arrived for putting the pointer capacity of the integer variable in the queue of integer variable pointer into Or for put into the queue of integer variable pointer put to the pointer of integer variable when grown to default time period value after, just Baseboard management controller disposal is sent messages to, is specially:
For putting the pointer of the quantity of the pointer of the integer variable in the queue of integer variable pointer, i.e. integer variable into Capacity is to baseboard management controller disposal is just sent messages to after default capability value, if but referring to for putting integer variable into The queue of pin has been put into the pointer of some integer variables, and then also pointer-free is put into not short duration, it is, Default appearance is not arrived in not short duration for putting the pointer capacity of the integer variable in the queue of integer variable pointer into Value, to avoid sending messages to baseboard management controller disposal under not short delay, that is, to allow baseboard management controller The pointer for obtaining very much the integer variable in the queue for putting integer variable pointer into is not long delayed, further according to integer variable Pointer obtain the variate-value in integer variable, the program for sending message is just taken, in the pointer of first integer variable Put to when entering the queue for putting integer variable pointer into, just the pointer of first integer variable is put to entering and become for putting integer into Continue duration of the calculating from the initial time as initial time when measuring the queue of pointer, if when when having grown to default Default capability value has also been less than after segment value and for putting the pointer capacity of the integer variable in the queue of integer variable pointer into, Baseboard management controller disposal is also just sent messages to this moment, and terminates the duration persistently calculated from initial time;
4) method that baseboard management controller disposal is sent messages to described in is as follows:
After baseboard management controller receives the message that this sends, just by for putting into the queue of integer variable pointer The pointer of integer variable is taken out, then the pointer by integer variable takes out the variate-value in the integer variable where the pointer, Just obtain the number for the packet for sending server to.
The packet number calculation procedure is used for calculating the packet that the GPRS communication module is sent to server Number as currency, it is original that integer variable corresponding to the GPRS communication module is then entered as the integer variable Sum of the value plus currency.
If described be used for judging to put to for putting the program of the queue of integer variable pointer into being used for determining in the presence of sharp As soon as critical number living is less than the variate-value of integer variable and activation critical number two is more than the variate-value of the integer variable, must determine should Integer variable is either with or without for putting the queue of integer variable pointer into, if for putting the team of integer variable pointer into In row, the pointer of the integer variable need not be just put to for putting the queue of integer variable pointer into, if activation critical number Two are less than the variate-value of integer variable, and also the pointer of the integer variable is put to for putting the queue of integer variable pointer into In.
The program for being used for sending message is used for putting to entering for putting integer variable into the pointer of first integer variable During the queue of pointer, just the pointer of first integer variable is put to entering when the queue for putting integer variable pointer into as rising The moment begin to continue to calculate duration from the initial time, if when grown to after default time period value and become for putting integer into The pointer capacity for measuring the integer variable in the queue of pointer has also been less than default capability value, also just sends messages to substrate this moment Management Controller is disposed, and terminates the duration persistently calculated from initial time.
Electric energy acquisition concentrator 2 include single-chip microcomputer 201, alternating current sampling device, serial communication module, ethernet communication module, GPRS communication module 202, coffret and memory, wherein single-chip microcomputer 201 respectively with alternating current sampling device, serial communication module, Ethernet communication module, GPRS communication module 202, coffret and memory connection.
The electric power data acquisition and distance transmission system based on GPRS communication module are mainly for power plant's energy data Collection and transmission transmission, in order to solve the problems, such as that some power plant can not realize wire transmission, can both solve actual tired Difficulty, management cost can be saved again.The invention embodiment is as follows:
Its hardware platform uses currently used network connection, modularization, integrated and data distribution process system knot Structure.Electric energy acquisition concentrator 2 is generally history station or the engineer station of Power Plant DCS System, main to be responsible for extracting from DCS system Required energy data.
There is two ways in data-interface connection:One kind is serial ports RS-485 modes, RS-485 sent using balance and Differential received, therefore with the ability of suppression common mode interference;One kind is Ethernet RJ-45 interface modes.According to the tool of each unit Body wire laying mode, it can flexibly select connected mode.RS-485 connections are not less than Φ using 2 cores shielding connection, line footpath 0.5mm, maximum access line footpath are Φ 2.0mm (being communicated as far as possible using thicker shielding).The A ends of terminal RS-485 interfaces are (i.e.: RS-485 "+" pole) it is connected with the A ends (or A+ ends) of data source RS-485 interfaces, the B ends of RS-485 interfaces are (i.e.:RS-485's "-" pole) it is connected with the B ends (or A- ends) of data source RS-485 interfaces, screen layer one end ground connection.
Electric energy acquisition concentrator 2 is installed, electric energy acquisition concentrator 2 is the important component of power information acquisition system.
Power demand side information is carried out using modern digital communication technology, embedded technology, computer hardware technique etc. Collection and analyzing and processing.The Electro Magnetic Compatibility of electric energy acquisition concentrator 2 is excellent, can resist high voltage spikes, high-intensity magnetic field, Qiang Jing Electricity, the interference of lightning surge, and there is stronger temperature self-adaptation limit of power;Wide-voltage range design makes it have higher Reliability;
Device parameter can be easily changed in local/remote, support the online upgrading of locality/distant place software;Large Copacity Mainboard FLASH storage chips ensure the convenient storages of various data as memory;ABS water proof fire retardant materials, wall-mounted knot Structure, volume are light and handy, easy for installation.
The present invention is described by way of examples above, it will be understood by those of skill in the art that the disclosure is not It is limited to embodiments described above, in the case of without departing from the scope of the present invention, can makes a variety of changes, changes and replace Change.

Claims (4)

1. a kind of GPRS radio data transmission methods, it is characterised in that be equipped with the electric power data based on GPRS communication module first Collection and distance transmission system, including control system, electric energy acquisition concentrator and main website;
For the set-up of control system inside power plant, control system is DCS system or PLC system;Use serial line interface or with Too electric energy acquisition concentrator is connected by network interface with power plant internal control system, obtains the creation data of generating set, number in real time The main website that administrative department is sent to by GPRS communication module according to being passed through after electric energy acquisition concentrator preliminary screening;
The main website includes server, and the server has baseboard management controller;The electric energy acquisition concentrator and GPRS The quantity of communication module is some, and each electric energy acquisition concentrator is connected with a GPRS communication module, the server Quantity be one;
The mode of data main website through being sent to administrative department by GPRS communication module after electric energy acquisition concentrator preliminary screening It is as follows:
Data after preliminary screening are encapsulated framing by electric energy acquisition concentrator;Data frame is sent to GPRS communication module;Then The data of reception are packed into packet and are sent to server by GPRS communication module, and server also communicates mould to the GPRS The packet that block is sent performs packet number and calculates disposal, and specific method is as follows;
1) queue for putting integer variable pointer into and some integer variables are provided with the internal memory of server, in server In include packet number calculation procedure, for judge to put to for put into the program of the queue of integer variable pointer with And for sending the program of message, the integer variable is identical with the quantity of GPRS communication module, and integer variable and GPRS Communication module corresponds, and is packed into the data of reception after packet is sent to server in GPRS communication module, data Bag number calculation procedure calculates the number of the packet that the GPRS communication module is sent to server as currency, then That integer variable corresponding to the GPRS communication module is entered as sum of the original value of the integer variable plus currency, this is asked And just variate-value as the integer variable;
2) it then be used to judge to put to for putting the program of the queue of integer variable pointer into judge that integer could be there are The variate-value of variable reaches default and put to for putting the situation of the activation critical number of the queue of integer variable pointer into, if depositing Reach default in the variate-value of integer variable to put to for putting the condition of the activation critical number of the queue of integer variable pointer into Under, the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
Specifically, as it is preset as a pair putting to for putting the activation critical number of the queue of integer variable pointer into, respectively It is bigger than activation critical number one for activation critical number one and activation critical number two, activation critical number two, if activation critical number one be present Variate-value and activation critical number two less than integer variable are more than the variate-value of the integer variable, must just determine that the integer variable has Not for putting the queue of integer variable pointer into, if for putting the queue of integer variable pointer into, with regard to nothing The pointer of the integer variable must be put to for putting the queue of integer variable pointer into, if activation critical number two is less than integer The variate-value of variable, also the pointer of the integer variable is put to for putting the queue of integer variable pointer into;
3) for put into the pointer capacity of the integer variable in the queue of integer variable pointer arrived default capability value or For put into the queue of integer variable pointer put to the pointer of integer variable when grown to default time period value after, just send Message is disposed to baseboard management controller, is specially:
For putting the pointer capacity of the quantity of the pointer of the integer variable in the queue of integer variable pointer, i.e. integer variable into Baseboard management controller disposal is just sent messages to after to default capability value, and for sending the program of message, in first The pointer of integer variable is put to when entering the queue for putting integer variable pointer into, and just the pointer of first integer variable is put to entering For continuing to calculate the duration from the initial time as initial time when putting the queue of integer variable pointer into, if when Grow to after default time period value and be also less than for putting the pointer capacity of the integer variable in the queue of integer variable pointer into Default capability value, baseboard management controller disposal is this moment also just sent messages to, and terminate lasting calculate from during starting The duration carved;
4) method that baseboard management controller disposal is sent messages to described in is as follows:
After baseboard management controller receives the message that this sends, just by being taken out for putting into the queue of integer variable pointer The pointer of integer variable, then the pointer by integer variable take out the variate-value in the integer variable where the pointer, just obtain The number for the packet for sending server to is taken.
2. GPRS radio data transmission methods according to claim 1, it is characterised in that the packet number calculates journey Sequence is used for calculating the number for the packet that the GPRS communication module is sent to server as currency, then the GPRS That integer variable corresponding to communication module is entered as the sum that the original value of the integer variable adds currency.
3. GPRS radio data transmission methods according to claim 1, it is characterised in that it is described be used for judging to put to If the variable for being less than integer variable in the presence of activation critical number one for putting into the program of the queue of integer variable pointer to be used for determining Value and activation critical number two are more than the variate-value of the integer variable, must just determine the integer variable either with or without whole for putting into In the queue of type argument pointer, if for putting the queue of integer variable pointer into, just need not be the finger of the integer variable Pin is put to for putting the queue of integer variable pointer into, if activation critical number two is less than the variate-value of integer variable, also The pointer of the integer variable is put to for putting the queue of integer variable pointer into.
4. GPRS radio data transmission methods according to claim 1, it is characterised in that the journey for being used for sending message Sequence is used for putting to when entering the queue for putting integer variable pointer into the pointer of first integer variable, just first integer variable Pointer put to entering for being used as initial time when the queue for putting integer variable pointer into continue calculating from the initial time The duration risen, if when grown to after default time period value and for putting the finger of the integer variable in the queue of integer variable pointer into Pin capacity has also been less than default capability value, also just sends messages to baseboard management controller disposal this moment, and terminate and continue Calculate the duration from initial time.
CN201711059736.6A 2017-11-01 2017-11-01 GPRS radio data transmission methods Pending CN107590988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711059736.6A CN107590988A (en) 2017-11-01 2017-11-01 GPRS radio data transmission methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711059736.6A CN107590988A (en) 2017-11-01 2017-11-01 GPRS radio data transmission methods

Publications (1)

Publication Number Publication Date
CN107590988A true CN107590988A (en) 2018-01-16

Family

ID=61044012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711059736.6A Pending CN107590988A (en) 2017-11-01 2017-11-01 GPRS radio data transmission methods

Country Status (1)

Country Link
CN (1) CN107590988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108527404A (en) * 2018-03-22 2018-09-14 褚奥溪 For the operational system and method for mechanical arm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174364A (en) * 2007-08-30 2008-05-07 北京诚信能环科技有限公司 Energy-saving monitoring system
US20130110837A1 (en) * 2011-05-09 2013-05-02 Guangzhou Sunrise Electronics Development Co., Ltd Data collecting concentrator and data collecting method
CN103646523A (en) * 2013-12-04 2014-03-19 广西电网公司南宁供电局 Remote concentrated ammeter meter reading system
CN105490722A (en) * 2015-11-17 2016-04-13 珠海慧信微电子有限公司 General packet radio service (GPRS) network communication repeater

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174364A (en) * 2007-08-30 2008-05-07 北京诚信能环科技有限公司 Energy-saving monitoring system
US20130110837A1 (en) * 2011-05-09 2013-05-02 Guangzhou Sunrise Electronics Development Co., Ltd Data collecting concentrator and data collecting method
CN103646523A (en) * 2013-12-04 2014-03-19 广西电网公司南宁供电局 Remote concentrated ammeter meter reading system
CN105490722A (en) * 2015-11-17 2016-04-13 珠海慧信微电子有限公司 General packet radio service (GPRS) network communication repeater

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何东: "反编译中数据类型重构技术研究", 《信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108527404A (en) * 2018-03-22 2018-09-14 褚奥溪 For the operational system and method for mechanical arm

Similar Documents

Publication Publication Date Title
CN102157057A (en) Wi-Fi (Wireless Fidelity)-based wireless meter reading device
CN104751280A (en) Petrochemical enterprise electric energy consumption monitoring system and data management method thereof
Omijeh et al. Modeling of gsm-based energy recharge scheme for prepaid meter
CN104701990B (en) Intelligent electric meter and intelligent power generation control system
CN212032205U (en) Water affair management and control system based on edge calculation
CN202907195U (en) Communication base station energy consumption management system
CN105703944A (en) Comprehensive simulation method of power grid and communication network
CN107590988A (en) GPRS radio data transmission methods
CN202903251U (en) Intelligent electromagnetic flow meter with short message service module function
CN201742444U (en) Remote real-time monitoring system of client-side meter of power system
CN105553761A (en) IEC61850 conformance testing hardware platform
CN107911436A (en) Multi-state data integration transmission realizing method between a kind of electric system boss station
CN109099310B (en) Liquid level detection system and method for LNG storage tank prizing inner storage tank
CN102830281A (en) Smart electricity meter and public utility meter reading system
CN113793044B (en) Energy consumption management system of wisdom garden
CN107168210B (en) Monitoring system and monitoring method of distributed photovoltaic power station
CN107705538A (en) A kind of GPRS radio data transmission methods
CN102664957B (en) Information integration method of advanced metering infrastructure
McLauchlan et al. Towards remote monitoring of power use: A case for smart meters
CN107564263A (en) A kind of GPRS wireless data transmissions mode
CN109325307A (en) CIM modeling method, device, equipment and the storage medium of low-voltage network
CN105528877A (en) Remote ammeter system
CN108336818A (en) A kind of Intelligent power distribution terminal and charging station charging management system
CN106447062B (en) A kind of on-line optimization analogue system towards Complicated Distribution Network
CN202815088U (en) Smart electric energy meter and meter reading system for public utility instruments

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: 20180116

RJ01 Rejection of invention patent application after publication