CN109246210A - Internet of Things communication means and device - Google Patents
Internet of Things communication means and device Download PDFInfo
- Publication number
- CN109246210A CN109246210A CN201811000474.0A CN201811000474A CN109246210A CN 109246210 A CN109246210 A CN 109246210A CN 201811000474 A CN201811000474 A CN 201811000474A CN 109246210 A CN109246210 A CN 109246210A
- Authority
- CN
- China
- Prior art keywords
- parameter
- data
- variable quantity
- internet
- real time
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Abstract
The present invention provides a kind of Internet of Things communication means and devices, are related to Internet of Things field of communication technology, and this method includes the reference data of the parameter of initialization acquisition equipment;Obtain the real time data of the parameter;According to the real time data and the reference data, the variable quantity of the parameter is calculated;Compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than the variable quantity threshold value parameter identification be the first parameter;The corresponding real time data of first parameter is uploaded.A kind of Internet of Things communication means and device provided in an embodiment of the present invention, it can be improved the efficiency of transmission of data, alleviate data stacking, transmission that things-internet gateway or data collection station occur in the mass data transfers problem big with server-side processing pressure not in time.
Description
Technical field
The present invention relates to Internet of Things fields of communication technology, more particularly, to a kind of Internet of Things communication means and device.
Background technique
With the high speed development of technology of Internet of things and modern communication technology, application of the Internet of Things in various industries field
It is to advance by leaps and bounds.
By taking power industry as an example, in actual project, need data acquire device category it is various, and quantity compared with
More, according to the requirement of real-time, equipment collection period is very short, and the data and things-internet gateway of such data collection station acquisition are converged
Poly- data are magnanimity.However, existing Internet of Things communication process, is only handled collected data packing, according to existing
Some standard communication protocols or enterprise's proprietary protocol upload, and do not carry out algorithm process to collected mass data.Therefore, i.e.,
Keep things-internet gateway or data collection station physical configuration and performance very high, still will appear following serious problem:
First, since collected data can not upload in time, bulk deposition can be generated in caching, eventually led to
Equipment delay machine;
Second, the real-time that system data updates cannot be guaranteed, especially some remote signalling datas and alert data, if
Update cannot be uploaded in time, it is possible to the consequence of bringing on a disaster property;
The pressure of third, server-side (data receiver) high concurrent and data processing is huge, be easy to cause server-side resource
Exhausted and " seemingly-dead " or delay machine.
For above-mentioned data transmission problems, currently no effective solution has been proposed.
Summary of the invention
In view of this, data can be improved the purpose of the present invention is to provide a kind of Internet of Things communication means and device
Efficiency of transmission alleviates data stacking, transmission that things-internet gateway or data collection station occur in mass data transfers not
Timely and big server-side processing pressure problem.
In a first aspect, the embodiment of the invention provides a kind of Internet of Things communication means, comprising: the ginseng of initialization acquisition equipment
Several reference datas;Obtain the real time data of the parameter;According to the real time data and the reference data, the variation of the parameter is calculated
Amount;Compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than the variable quantity threshold value parameter identification
For the first parameter;The corresponding real time data of first parameter is uploaded.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein on
It states and the variable quantity is greater than the step of parameter identification of the variable quantity threshold value is the first parameter, comprising: in the number of the message of transmission
According to setting information object address field, Parameters variation indication field and running parameter data field in structure;The information object
Location field is used to store the address of the acquisition equipment;The running parameter data field is for storing the variable quantity greater than the variable quantity
The data of the parameter of threshold value;The Parameters variation indication field includes multiple indicating bits, the corresponding indicating bit of each parameter;When
When the variable quantity of the parameter is greater than variable quantity threshold value, the corresponding indicating bit of the parameter is assigned a value of the first value, to identify the parameter
For the first parameter.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, wherein this method further include: the data of the first parameter are sequentially filled variation ginseng according to big end position sequence
In number data field.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein the information object address field is set to link layer, the Parameters variation indication field and the variation
Parameter data fields are set to application layer.
With reference to first aspect, the first of first aspect is one of to the third possible embodiment, the embodiment of the present invention
Provide the 4th kind of possible embodiment of first aspect, wherein it is above-mentioned according to the real time data and the reference data, it calculates
The step of variable quantity of the parameter, comprising: according to the real time data and the reference data, which is calculated with least square method
Variable quantity;The calculation formula of the above-mentioned variable quantity that the parameter is calculated with least square method are as follows: Δ=(Ua'-Ua)2, in formula, Δ is
The variable quantity of parameter, U'aFor the real time data of parameter, UaFor benchmark data.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, wherein on
The step of stating the reference data of the parameter of initialization acquisition equipment, comprising: obtain the parameter of acquisition equipment first acquisition week
Primary data in phase;Reference data is set by the primary data.
The 5th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 6th kind of first aspect
Possible embodiment, wherein above-mentioned the step of setting reference data for the primary data, comprising: to the primary data into
Row Denoising disposal obtains denoising data;Reference data is set by the denoising data.
The 5th kind with reference to first aspect or the 6th kind of possible embodiment, the embodiment of the invention provides first aspects
The 7th kind of possible embodiment, wherein this method further include: setting the reference data update cycle;When timing reaches the base
When the quasi- data update cycle, the real time data of each parameter of acquisition equipment current collection period Nei is obtained, and by the real time data
It updates and covers the reference data.
Second aspect, the embodiment of the invention also provides a kind of Internet of Things communication devices, comprising: initialization module is used for
The reference data of the parameter of initialization acquisition equipment;Real-time data acquisition module, for obtaining the real time data of the parameter;Parameter
Variable quantity computing module, for calculating the variable quantity of the parameter according to the real time data and the reference data;Comparison module is used
In the variable quantity and preset variable quantity threshold value that compare the parameter, which is greater than to the parameter identification of the variable quantity threshold value
For the first parameter;Uploading module, for uploading the corresponding real time data of first parameter.
The third aspect, the embodiment of the invention also provides a kind of Internet of Things communication device, which includes processor, storage
Device, bus and communication interface, the processor, communication interface and memory are connected by the bus;The memory is for storing journey
Sequence;The processor executes above-described embodiment one and its possibility for calling the program being stored in the memory by the bus
The Internet of Things communication means that provides of one of embodiment.
The embodiment of the present invention bring it is following the utility model has the advantages that
A kind of Internet of Things communication means and device provided in an embodiment of the present invention, this method include initialization acquisition equipment
The reference data of parameter;Obtain the real time data of the parameter;According to the real time data and the reference data, the change of the parameter is calculated
Change amount;Compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than the variable quantity threshold value parameter mark
Knowing is the first parameter;The corresponding real time data of first parameter is uploaded.Internet of Things communication means provided in an embodiment of the present invention,
By carrying out algorithm process in advance to collected mass data, by collection period variation be more than threshold value parameter data and
Shi Shangchuan, and for changing the parameter in threshold range, data then not upload, to greatly reduce what needs uploaded
Total amount of data, the problem of alleviating collection terminal or gateway side data bulk deposition, at the data for correspondingly decreasing server-side
The data volume managed pressure, and need to upload every time also improves the efficiency of each data transmission after reducing, ensure that data
Real-time.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of Internet of Things communication means provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of Internet of Things communication protocol data structure provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of information element collection data structure provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of Parameters variation indication field data structure provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram for sending data instance provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of Internet of Things communication device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another Internet of Things communication device provided in an embodiment of the present invention.
Icon:
61- initialization module;62- real-time data acquisition module;63- Parameters variation amount computing module;64- comparison module;
65- uploading module.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, existing Internet of Things Network Communication will only upload after collected data packing processing, not to collected sea
Measure data and carry out algorithm process, there is also data stacking, upload not in time, server-side high concurrent and the problems such as delay machine.Based on this,
The efficiency of transmission of data can be improved in a kind of Internet of Things communication means and device provided in an embodiment of the present invention, alleviates Internet of Things
Data stacking that gateway or data collection station occur in mass data transfers, transmission not in time with server-side processing pressure
Big problem.
For convenient for understanding the present embodiment, first to a kind of Internet of Things communication means disclosed in the embodiment of the present invention
It describes in detail.
As shown in Figure 1, be a kind of flow chart of Internet of Things communication means provided in an embodiment of the present invention, it as seen from Figure 1, should
Method the following steps are included:
Step S102: the reference data of the parameter of initialization acquisition equipment.
Here, the reference data of parameter is stored in memory database.
In at least one possible embodiment, acquisition each parameter of equipment is obtained first in first collection period
Then primary data sets reference data for the primary data.
In order to guarantee the reliability of reference data, Denoising disposal first can also be carried out to above-mentioned primary data and be denoised
Sound data, then reference data is set by the denoising data, and reference data is stored in memory database.For going
It is considered as the parameter of noise during noise processed, needs to add to memory database again during subsequent collection period
Corresponding position.
Step S104: the real time data of the parameter is obtained.
In Internet of Things Network Communication, each parameter such as electric current, voltage, temperature of equipment etc. is acquired, usually periodically acquisition,
Obtain the real time data of parameters.
Step S106: according to the real time data and the reference data, the variable quantity of the parameter is calculated.
Here, the calculation formula of the variable quantity of each parameter is calculated using least square method are as follows:
Δ=(Ua'-Ua)2
In formula, Δ is the variable quantity of parameter, U'aFor the real time data of parameter, UaFor the reference data of parameter.
Step S108: compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than the variable quantity
The parameter identification of threshold value is the first parameter.
In actual operation, generally variation less, passes through setting threshold to the data of certain parameters in adjacent collection period
Value, variable quantity and preset threshold value that data of the parameter in current collection period are calculated with reference data are compared
Compared with paying close attention to the parameter that variable quantity in collection period is greater than variable quantity threshold value.This partial parameters is distinguished by identifying.
Step S110: the corresponding real time data of first parameter is uploaded.
In single collection period, for parameter of the variable quantity in variable quantity threshold range, it is not required to upload this kind of parameter
Data in the collection period, and the real time data by variable quantity more than the parameter of variable quantity threshold value uploads.
In the embodiment of another possibility, it is also provided with the reference data update cycle, which is greater than
Collection period obtains the real time data of acquisition each parameter of equipment in next collection period, and will when the update cycle, timing reached
The real time data, which updates, covers the reference data.In this way, by the update cycle of setting reference data, at regular intervals, example
Such as 30 minutes, i.e., current base data is covered with the real time data of each parameter again, ensure that the true and reliable of data.
In the present embodiment, by the way that reference data is arranged, the change of parameters in collection period is calculated with least square method
Change amount uploads the data that variable quantity is greater than the parameter of variable quantity threshold value, and data of the variable quantity in variable quantity threshold range,
Without uploading in current collection period, the data volume for needing to upload is greatly reduced, collection terminal or gateway side data are alleviated
The problem of bulk deposition, correspondingly decreases the data processing pressure of server-side, and the data volume for needing to upload every time subtracts
The efficiency of each data transmission is also improved after small, ensure that the real-time of data.
A kind of Internet of Things communication means provided in an embodiment of the present invention, this method include the parameter of initialization acquisition equipment
Reference data;Obtain the real time data of the parameter;According to the real time data and the reference data, the variable quantity of the parameter is calculated;
Compare the parameter variable quantity and preset variable quantity threshold value, be the by the parameter identification that the variable quantity is greater than the variable quantity threshold value
One parameter;The corresponding real time data of first parameter is uploaded;Can be improved the efficiency of transmission of data, alleviate things-internet gateway or
Data stacking that person's data collection station occurs in mass data transfers, transmission not in time with server-side processing pressure is big asks
Topic.
On the basis of Fig. 1, the embodiment of the invention provides another Internet of Things communication means, in the present embodiment, lead to
It crosses and improves the mode of message data structure and realize mark to the first parameter.
For the present embodiment, information object address field, Parameters variation are provided in the data structure of the message of transmission
Indication field and running parameter data field.Here, which is set to link layer, Parameters variation instruction
Field and the running parameter data field are set to application layer.
Wherein, which is used to store the address of the acquisition equipment;The running parameter data field is used
It is greater than the data of the parameter of the variable quantity threshold value in storage change amount;The Parameters variation indication field includes multiple indicating bits, often
The corresponding indicating bit of a parameter;When the variable quantity of the parameter is greater than the variable quantity threshold value, by the corresponding indicating bit of the parameter
It is assigned a value of the first value, to identify the parameter as the first parameter.In at least one embodiment, the first value be can be in binary system
" 1 ", also, when the variable quantity of the parameter be less than the variable quantity threshold value when, then the corresponding indicating bit of the parameter is assigned a value of
“0”。
In at least one possible embodiment, the variable quantity of each parameter becomes parameter in the current collection period that follows up
After changing each indicating bit progress assignment in indication field, further include, successively according to big end position sequence by the data of the first parameter
It is filled into running parameter data field.That is, being greater than the corresponding indicating bit of parameter of threshold value according to variable quantity, from a high position to low
Position sequentially storage change amount be greater than threshold value parameter data.
In this way, variable quantity is in threshold range, the data of this kind of parameter for the parameters in current collection period
It not uploads, and variable quantity is more than threshold value, it can be with according to the assignment situation of each indicating bit in Parameters variation indication field
Distinguish this kind of parameter namely the first parameter, and in running parameter data field can according to storage order it is corresponding find it is each
The data of parameter.
In actual operation, partial parameters its data variation in adjacent collection period is little, and there are many repeatedly or close
The upload of data occupies unnecessary resource.Therefore, Internet of Things communication means provided in this embodiment, by message structure
It improves, Parameters variation indication field and running parameter data field is set in the data structure of message, will be become in collection period
The data for changing the parameter more than threshold value upload in time, and for changing the parameter in threshold range, data then not upload,
The problem of to greatly reduce the total amount of data for needing to upload, alleviate collection terminal or gateway side data bulk deposition, accordingly
Ground decreases the data processing pressure of server-side, and also improves every number after the data volume reduction for needing to upload every time
According to the efficiency of transmission, the real-time of data ensure that.
The embodiment of the present invention is by introducing an application example to be clearer to understand in above-mentioned Internet of Things communication means, to change
The application of communication optimization is carried out into the mode of message data structure.
It referring to fig. 2, is a kind of schematic diagram of Internet of Things communication protocol data structure provided in an embodiment of the present invention, for this
The improvement of message data structure in invention, wherein inside the information element collection inside the Application service data unit of application layer,
Increase Parameters variation indication field behind each information object address field, some parameter which indicates equipment is
No to change, if there is a change, then the indicating bit where parameter is assigned a value of " 1 ", is otherwise " 0 ".It is indicated in Parameters variation
Sequence behind field according to this field from a high position to status successively adds the changed parameter of numerical value.That is: by Parameters variation
It is assigned a value of the relevant parameter of " 1 " inside indication field, is filled in inside subsequent data information according to big end position sequence.
Referring to Fig. 3, it is a kind of schematic diagram of information element collection data structure provided in an embodiment of the present invention, is shown in Fig. 3
Embodiment in, Parameters variation indication field is two bytes, behind face be variation be greater than threshold value supplemental characteristic, be
Two bytes.
By taking the acquisition of power industry switchgear house data as an example, wherein information object address refers to the number of data collection station
According to acquisition equipment link address, acquisition equipment include: intelligent electric meter, comprehensive protector, direct current cabinet, Temperature Humidity Sensor and
Cigarette propagated sensation sensor etc., the information object address field are two bytes.Parameters variation refer to each smart machine or
Whether person's sensor parameters numerical value changes in next collection period, which is two bytes.?
In the present embodiment, running parameter data field is according to parameter indicating bit changed in Parameters variation indication field, from height
The sequence of position to low level is arranged successively composition.
Here, acquisition equipment is by taking intelligent electric meter as an example, wherein the link address of the intelligent ammeter that withers is 0X4008 (telemetering number
According to initial address 0X4001).As shown in figure 4, being a kind of schematic diagram of Parameters variation indication field data structure, wherein should
Parameters variation indication field is two bytes, includes 16 indicating bits, each bit represents the variation of some parameter, practical to wrap
15 parameters containing the intelligent electric meter illustrate that the Parameters variation indication field can indicate the variation of this 15 parameters.
In the present embodiment, if some parameter changes by least square method calculating, in its corresponding instruction
Position set, otherwise reset.For example, line voltage UabIt changes with frequency F, other parameters are constant, then Parameters variation indicating bit
Value are as follows: 0,000 0,010 0000 0100B.
If the numerical value line voltage U of Parameters variationab=365V, frequency F=49.869Hz are then concentrated in information element, first
The transmission data of a information object are as follows: 40 08 02 04 01 9D C2 CD send data format hair shown in Figure 5
Send the schematic diagram of data instance.
The embodiment of the present invention describes an application example of Internet of Things communication means.
Here, for using intelligent electric meter as acquisition equipment, method includes the following steps:
Step 1: the reference data update cycle of setup parameter;
Step 2: first collected data of collection period is pre-processed, remote signalling data directly migrates to upload
Buffer area uploads immediately;It is set as reference data after telemetry removal noise, memory database is stored in, is considered as the parameter of noise
Need to add to the corresponding position of memory database in the collection process in subsequent acquisition period;
Step 3: the remote signalling data of next collection period uploads immediately, telemetry is using least square method and memory number
Classified calculating is carried out according to the reference data in library, wherein the Parameters variation indication field data structure of intelligent electric meter is referring to Fig. 3,
Calculating step includes:
(1) by taking phase voltage as an example, the variable quantity of similar parameter is calculated using least square method:
Δ=(U'a-Ua)2+(U'b-Ub)2+(U'c-Uc)2;
In formula, Δ is the variable quantity of phase voltage, U'a、Ub'、Uc' be respectively A phase voltage, B phase voltage, C phase voltage it is real-time
Data, Ua、Ub、UcThe respectively reference data of A phase voltage, B phase voltage, C phase voltage.
(2) least square method calculated result △ value is compared with variable quantity threshold value, it is assumed that the variable quantity threshold of phase voltage
Value is 0.01;
If △ < 0.01, corresponding Parameters variation indicating bit D15、D14And D13It is set to " 0 ";
If △ > 0.01, individual event voltage calculated result δ is compared with the individual event threshold value of setting, sets individual event threshold
Value is 0.005;
If a) A phase voltage δ1< 0.005, then corresponding Parameters variation indicating bit D15Reset, otherwise set;
If b) B phase voltage δ2< 0.005, then corresponding Parameters variation indicating bit D14Reset, otherwise set;
If c) C phase voltage δ3< 0.005, then corresponding Parameters variation indicating bit D13Reset, otherwise set;
(3) by calculating, the supplemental characteristic changed is sequentially filled running parameter data field according to big end position sequence;
(4) continue to calculate rest parameter;
If do not calculated there are also parameter, (1) is gone to step;
It is finished if all parameters have calculated, the message that current collection period is generated uploads, and carries out in next step.
Step 4: judging whether to the reference data update cycle;
If gate time arrives, the collected data of next cycle are updated to memory database, and total data
It uploads, the reference data update cycle counts again;
If not arriving gate time, continue third step.
In this way, realizing the upload of communication data by the circulation of above-mentioned first to fourth step, and greatly reducing need to
The total amount of data to be uploaded, effectively increases efficiency of transmission.
The embodiment of the invention also provides a kind of Internet of Things communication devices, referring to Fig. 6, for the knot of the Internet of Things communication device
Structure schematic diagram, wherein the device includes the initialization module 61 being sequentially connected, real-time data acquisition module 62, Parameters variation amount
Computing module 63, comparison module 64 and uploading module 65.Wherein, the function of modules is as follows:
Initialization module 61, the reference data of the parameter for initializing acquisition equipment;
Real-time data acquisition module 62, for obtaining the real time data of the parameter;
Parameters variation amount computing module 63, for calculating the variation of the parameter according to the real time data and the reference data
Amount;
Comparison module 64, for compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than should
The parameter identification of variable quantity threshold value is the first parameter;
Uploading module 65, for uploading the corresponding real time data of first parameter.
The technical effect of Internet of Things communication device provided by the embodiment of the present invention, realization principle and generation and aforementioned side
Method embodiment is identical, and to briefly describe, Installation practice part does not refer to place, can refer in corresponding in preceding method embodiment
Hold.
Referring to Fig. 7, the embodiment of the present invention also provides a kind of Internet of Things communication device 700, comprising: processor 70, memory
71, bus 72 and communication interface 73, processor 70, communication interface 73 and memory 71 are connected by bus 72;Processor 70 is used
The executable module stored in execution memory 71, such as computer program.
Wherein, memory 71 may include high-speed random access memory (RAM, Random Access Memory),
It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.By at least
One communication interface 73 (can be wired or wireless) realizes the communication between the system network element and at least one other network element
Connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 72 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data
Line, control bus etc..Only to be indicated with a four-headed arrow in Fig. 7, it is not intended that an only bus or one convenient for indicating
The bus of seed type.
Wherein, memory 71 is for storing program, and processor 70 executes program after receiving and executing instruction, and aforementioned
Method performed by the device that the stream process that inventive embodiments any embodiment discloses defines can be applied in processor 70, or
Person is realized by processor 70.
Processor 70 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 70 or the instruction of software form.Above-mentioned
Processor 70 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at
Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the storage medium of field maturation.The storage medium is located at memory 71, and processor 70 reads the information in memory 71, in conjunction with
Its hardware completes the step of above method.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table
It is not limit the scope of the invention up to formula and numerical value.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without
It is as limitation, therefore, other examples of exemplary embodiment can have different values.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, section or code of table, a part of the module, section or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base
Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that
It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule
The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
The computer program product of Internet of Things communication means is carried out provided by the embodiment of the present invention, including stores processing
The computer readable storage medium of the executable non-volatile program code of device, the instruction that said program code includes can be used for holding
Row previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of Internet of Things communication means characterized by comprising
The reference data of the parameter of initialization acquisition equipment;
Obtain the real time data of the parameter;
According to the real time data and the reference data, the variable quantity of the parameter is calculated;
Compare the parameter variable quantity and preset variable quantity threshold value, by the variable quantity be greater than the variable quantity threshold value institute
Stating parameter identification is the first parameter;
The corresponding real time data of first parameter is uploaded.
2. Internet of Things communication means according to claim 1, which is characterized in that described that the variable quantity is greater than the change
The step of parameter identification of change amount threshold value is the first parameter, comprising:
Setting information object address field, Parameters variation indication field and running parameter number in the data structure of the message of transmission
According to field;
The information object address field is used to store the address of the acquisition equipment;
The running parameter data field is used to store data of the variable quantity greater than the parameter of the variable quantity threshold value;
The Parameters variation indication field includes multiple indicating bits, each corresponding indicating bit of the parameter;
When the variable quantity of the parameter is greater than the variable quantity threshold value, by the corresponding indicating bit assignment of the parameter
For the first value, to identify the parameter as the first parameter.
3. Internet of Things communication means according to claim 2, which is characterized in that further include:
The data of first parameter are sequentially filled in the running parameter data field according to big end position sequence.
4. Internet of Things communication means according to claim 2, which is characterized in that the information object address field is set to
Link layer, the Parameters variation indication field and the running parameter data field are set to application layer.
5. Internet of Things communication means according to claim 1-4, which is characterized in that described according to the real-time number
According to the reference data, the step of calculating the variable quantity of the parameter, comprising:
According to the real time data and the reference data, the variable quantity of the parameter is calculated with least square method;
The calculation formula of the variable quantity that the parameter is calculated with least square method are as follows:
Δ=(Ua'-Ua)2
In formula, Δ is the variable quantity of parameter, U'aFor the real time data of parameter, UaFor benchmark data.
6. Internet of Things communication means according to claim 1, which is characterized in that the parameter of the initialization acquisition equipment
The step of reference data, comprising:
Obtain primary data of the parameter of acquisition equipment in first collection period;
Reference data is set by the primary data.
7. Internet of Things communication means according to claim 6, which is characterized in that described to set base for the primary data
The step of quasi- data, comprising:
Denoising disposal is carried out to the primary data and obtains denoising data;
Reference data is set by the denoising data.
8. according to the described in any item Internet of Things communication means of claim 6-7, which is characterized in that further include:
The reference data update cycle is set;
When timing reaches the reference data update cycle, the reality of acquisition each parameter of equipment in current collection period is obtained
When data, and the real time data is updated and covers the reference data.
9. a kind of Internet of Things communication device characterized by comprising
Initialization module, the reference data of the parameter for initializing acquisition equipment;
Real-time data acquisition module, for obtaining the real time data of the parameter;
Parameters variation amount computing module, for calculating the variation of the parameter according to the real time data and the reference data
Amount;
The variable quantity is greater than described by comparison module, variable quantity and preset variable quantity threshold value for the parameter
The parameter identification of variable quantity threshold value is the first parameter;
Uploading module, for uploading the corresponding real time data of first parameter.
10. a kind of Internet of Things communication device, which is characterized in that described device includes processor, and memory, bus and communication connect
Mouthful, the processor, communication interface and memory are connected by the bus;
The memory is for storing program;
The processor executes the claim for calling the program of storage in the memory by the bus
Any the method for 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811000474.0A CN109246210B (en) | 2018-08-29 | 2018-08-29 | Internet of things communication method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811000474.0A CN109246210B (en) | 2018-08-29 | 2018-08-29 | Internet of things communication method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109246210A true CN109246210A (en) | 2019-01-18 |
CN109246210B CN109246210B (en) | 2021-05-04 |
Family
ID=65069862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811000474.0A Active CN109246210B (en) | 2018-08-29 | 2018-08-29 | Internet of things communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109246210B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110650098A (en) * | 2019-09-20 | 2020-01-03 | 新奥数能科技有限公司 | Variable frequency acquisition method and device for data of Internet of things |
CN111953779A (en) * | 2020-08-13 | 2020-11-17 | 拉扎斯网络科技(上海)有限公司 | Data transmission method and device, computer equipment and computer readable storage medium |
CN112565015A (en) * | 2020-12-03 | 2021-03-26 | 深圳华制智能制造技术有限公司 | Internet of things communication method and device, computer equipment and storage medium |
CN114267166A (en) * | 2021-12-27 | 2022-04-01 | 南京惠然测控技术有限公司 | Intelligent meter reading processing method and system |
CN114979828A (en) * | 2022-05-18 | 2022-08-30 | 成都安讯智服科技有限公司 | Internet of things communication module flow control method and system based on Modbus |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101893865A (en) * | 2009-05-19 | 2010-11-24 | 北京时代凌宇科技有限公司 | Data transmission method for industrial detection system |
CN103065471A (en) * | 2012-12-21 | 2013-04-24 | 福建工程学院 | Floating car information collection and optimization method based on active information reporting |
CN104113892A (en) * | 2014-08-06 | 2014-10-22 | 中国联合网络通信集团有限公司 | Management method and management system for sensor nodes in sensor network and gateway |
US20170003677A1 (en) * | 2015-07-03 | 2017-01-05 | Yuan Ze University | Real Time Monitoring System and Method Thereof of Optical Film Manufacturing Process |
CN107404483A (en) * | 2017-07-31 | 2017-11-28 | 北京中科金马科技股份有限公司 | Data processing method, device and data collecting system |
CN107689990A (en) * | 2017-08-24 | 2018-02-13 | 云上米度(贵州)科技有限公司 | A kind of data reporting method of monitoring terminal |
WO2018098721A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳益强信息科技有限公司 | Environment data monitoring method and system |
-
2018
- 2018-08-29 CN CN201811000474.0A patent/CN109246210B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101893865A (en) * | 2009-05-19 | 2010-11-24 | 北京时代凌宇科技有限公司 | Data transmission method for industrial detection system |
CN103065471A (en) * | 2012-12-21 | 2013-04-24 | 福建工程学院 | Floating car information collection and optimization method based on active information reporting |
CN104113892A (en) * | 2014-08-06 | 2014-10-22 | 中国联合网络通信集团有限公司 | Management method and management system for sensor nodes in sensor network and gateway |
US20170003677A1 (en) * | 2015-07-03 | 2017-01-05 | Yuan Ze University | Real Time Monitoring System and Method Thereof of Optical Film Manufacturing Process |
WO2018098721A1 (en) * | 2016-11-30 | 2018-06-07 | 深圳益强信息科技有限公司 | Environment data monitoring method and system |
CN107404483A (en) * | 2017-07-31 | 2017-11-28 | 北京中科金马科技股份有限公司 | Data processing method, device and data collecting system |
CN107689990A (en) * | 2017-08-24 | 2018-02-13 | 云上米度(贵州)科技有限公司 | A kind of data reporting method of monitoring terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110650098A (en) * | 2019-09-20 | 2020-01-03 | 新奥数能科技有限公司 | Variable frequency acquisition method and device for data of Internet of things |
CN110650098B (en) * | 2019-09-20 | 2022-12-27 | 新奥数能科技有限公司 | Variable frequency acquisition method and device for data of Internet of things |
CN111953779A (en) * | 2020-08-13 | 2020-11-17 | 拉扎斯网络科技(上海)有限公司 | Data transmission method and device, computer equipment and computer readable storage medium |
CN112565015A (en) * | 2020-12-03 | 2021-03-26 | 深圳华制智能制造技术有限公司 | Internet of things communication method and device, computer equipment and storage medium |
CN112565015B (en) * | 2020-12-03 | 2021-08-17 | 深圳华制智能制造技术有限公司 | Internet of things communication method and device, computer equipment and storage medium |
CN114267166A (en) * | 2021-12-27 | 2022-04-01 | 南京惠然测控技术有限公司 | Intelligent meter reading processing method and system |
CN114979828A (en) * | 2022-05-18 | 2022-08-30 | 成都安讯智服科技有限公司 | Internet of things communication module flow control method and system based on Modbus |
CN114979828B (en) * | 2022-05-18 | 2023-03-10 | 成都安讯智服科技有限公司 | Internet of things communication module flow control method and system based on Modbus |
Also Published As
Publication number | Publication date |
---|---|
CN109246210B (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109246210A (en) | Internet of Things communication means and device | |
CN104346285A (en) | Memory access processing method, device and system | |
CN103401881B (en) | Based on data acquisition system and the method for intelligent instrument | |
CN103326953A (en) | Flow limiting method and device based on token buckets | |
CN103546467A (en) | Method for transmitting Modbus RTU protocol on TCP/IP network | |
CN109041250A (en) | A kind of transmission method of SSB, client and base station | |
CN109587072A (en) | Distributed system overall situation speed limiting system and method | |
CN109660468A (en) | A kind of port congestion management method, device and equipment | |
CN109254839A (en) | It determines the method in task triggered time, construct the method and system of task timer | |
CN109685255A (en) | A kind of method and apparatus for predicting customer churn | |
CN110019386A (en) | A kind of stream data processing method and equipment | |
CN108062235A (en) | Data processing method and device | |
CN108984703A (en) | A kind of uniform resource position mark URL De-weight method and device | |
CN108966283A (en) | A kind of telemetry compression transmitting method, device and computer-readable medium | |
CN107357740B (en) | A kind of serializing device method of automatic configuration, device and distributed cache system | |
CN105939218B (en) | The statistical method and device of network flow | |
CN113014434A (en) | Data acquisition method based on industrial Internet | |
CN104052831A (en) | Data transmission method and device based on queues and communication system | |
CN103500071B (en) | Method and device for storing performance index data quantitatively | |
CN111315026B (en) | Channel selection method, device, gateway and computer readable storage medium | |
CN102843380A (en) | Method for solving serial port communication bottleneck based on MODBUS | |
CN108460044A (en) | The treating method and apparatus of data | |
JP2013251719A (en) | Communication device and communication method | |
CN106656647A (en) | Real-time flow monitoring method and real-time flow monitoring device | |
EP3610387A1 (en) | Distributed data structures for sliding window aggregation or similar applications |
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 |