The content of the invention
The present invention provides a kind of Internet of things device and gateway apparatus, to solve prior art in Internet of Things in Internet of things system
Device is low with corresponding gateway apparatus transmission data efficiency, the technical problem of high cost.
To solve above-mentioned technical problem, one aspect of the present invention is:A kind of Internet of things device is provided, is wrapped
Include:Data acquisition unit, telecommunication circuit and processor;Wherein, data acquisition unit collection or reception Internet of Things data;Telecommunication circuit
Communicate with gateway apparatus;Processor couples respectively the data acquisition unit and the telecommunication circuit, the processor and/or described
Whether telecommunication circuit is sent or how to be sent the thing by the network services quality rule process Internet of Things data
The result of networking data, according to the result Internet of Things data is further processed.
According to one embodiment of the invention, the network services quality rule is pre-stored within locally.
According to one embodiment of the invention, further include:Memory, couples the processor, deposits the network services
Quality rule;Or network services quality controller, couple the processor or be integrated in one with the processor or with institute
State telecommunication circuit to be integrated in one, the built-in network services quality rule.
According to one embodiment of the invention, the network services quality rule is handed down to the communication electricity by the gateway apparatus
Road and obtain.
According to one embodiment of the invention, the network services quality rule is specifically by the gateway apparatus according under its administration
The respective current or historical conditions of multiple Internet of things device, communication quality and/or require assessment and produce, and described in being handed down to
Telecommunication circuit and obtain;Or
The network services quality rule specifically by the gateway apparatus according to its own or affiliated servomechanism it is current or
Historical conditions, communication quality and/or requirement are assessed and produced, and are handed down to the telecommunication circuit and are obtained.
According to one embodiment of the invention, the network services quality rule is passed through by gateway apparatus timing or not timing
The telecommunication circuit is issued, and is updated local former network services quality rule and is obtained.
According to one embodiment of the invention, the respective of multiple Internet of things device under the administration according to the gateway apparatus is worked as
Front or historical conditions, communication quality and/or requirement are assessed and produced, including:According to the excellent of the plurality of Internet of things device
First sequentially produce, the high Internet of things device priority communication of priority.
According to one embodiment of the invention, the respective of multiple Internet of things device under the administration according to the gateway apparatus is worked as
Front or historical conditions, communication quality and/or requirement are assessed and produced, including:The processor is transmitting the Internet of Things data
Before, first transmission advance notice to the gateway apparatus, transmission of the gateway apparatus according to the multiple Internet of things device under administration
Advance notice, it is intended that each described Internet of things device sets corresponding network services quality settings.
It is described to be by the network services quality rule process Internet of Things data according to one embodiment of the invention
The no result for sending or how sending the Internet of Things data, according to the result Internet of Things data bag is further processed
Include:
Judge whether to transmit the Internet of Things data according to the network services quality rule, if at present transmission situation is not
Meet the network services quality rule, stop, suspending or compress the transmission Internet of Things data;Or
The network services quality rule judges whether that inadequate resource transmits the Internet of Things data, if not enough resource is passed
The Internet of Things data is sent, priority level in the Internet of Things data is transmitted from high to low and is come data above.
To solve above-mentioned technical problem, another technical solution used in the present invention is:A kind of gateway apparatus are provided, are wrapped
Include:Telecommunication circuit and processor;Wherein, telecommunication circuit communicates with Internet of things device;Processor couples the telecommunication circuit, passes through
The telecommunication circuit at least one Internet of things device issues network services quality rule so that the Internet of things device is according to institute
State network services quality rule to process Internet of Things data and whether sent or how to be sent the result of the Internet of Things data,
The Internet of Things data is further processed according to the result.
The invention has the beneficial effects as follows:The situation of prior art is different from, the Internet of things device that the present invention is provided is due to setting
There are processor and telecommunication circuit, processor can set network services quality rule or processor receives net by telecommunication circuit
Road rules for quality of service, and Internet of Things data is processed according to network services quality rule, therefore, there is no need to send out Internet of Things data
Be sent to behind gateway side and judge to want to further upload again, but before transmitting just according to network services quality rule at
Reason, can effectively improve efficiency of transmission, cost-effective.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
See also Fig. 1 to Fig. 3, Fig. 1, Fig. 2, Fig. 3 be respectively the present invention provide Internet of things system, gateway apparatus with
And the structural representation of Internet of things device first embodiment.
As shown in figure 1, the Internet of things system 1 includes servomechanism 2, gateway apparatus 10 and Internet of things device 100.Internet of Things
Device 100 is communicatively coupled with gateway apparatus 10, and gateway apparatus 10 are communicatively coupled with servomechanism 2.Gateway apparatus 10 can
As base station, to be that multiple Internet of things device 100 provide communication service.Wherein, a servomechanism 2 can be filled with multiple gateways
Put 10 to be communicatively coupled, a gateway apparatus 10 can be communicatively coupled with multiple Internet of things device 100, and quantity here is not
It is limited.Specifically, multiple gateway apparatus 10 further with being communicated between servomechanism 2 can be made into unified pipe so as to converge
The related information of reason, to reach the Internet of Things task for needing to complete.Here explanation, the Internet of things system 1 that the present embodiment is provided
It is, for the description and interpretation present invention, to be not intended to limit the present invention.For example, servomechanism 2 can with multiple other servomechanisms
And gateway apparatus are corresponding, then or, cooperation can be communicated between gateway apparatus, distributed system is constituted, script is watched
The work for taking device is distributed to one or more gateway apparatus and is directly acted upon.
As shown in Fig. 2 the gateway apparatus 10 include:Telecommunication circuit 12 and processor 13.Wherein, telecommunication circuit 12 and Internet of Things
Net device 100 communicates;The coupled communication circuit 12 of processor 13, by telecommunication circuit 12 under at least one Internet of things device 100
Hairnet road rules for quality of service so that Internet of things device 100 processes Internet of Things data and obtains according to network services quality rule
The result of Internet of Things data whether is sent or how to be sent, according to result Internet of Things data is further processed.
Wherein, respective current or historical bar of the network services quality rule with specific reference at least one Internet of things device 100
Part, communication quality and/or requirement are assessed and produced;Or network services quality rule specifically by gateway apparatus 10 according to its own,
Or affiliated servomechanism is current or historical conditions, communication quality and/or requirement are assessed and produced.The timing of network services quality rule
Or not timing is issued by telecommunication circuit 12.
Respective current or historical conditions, communication quality and/or requirement according at least one Internet of things device are assessed and produced
Specifically include in raw step:Produced according to the priority of at least one Internet of things device, the high Internet of Things dress of priority
Put priority communication.Will be described in detail hereinafter, here is omitted.
Respective current or historical conditions, communication quality and/or requirement according at least one Internet of things device are assessed and produced
Specifically include in the step of raw network services quality rule:Receive the transmission advance notice from least one Internet of things device;Assessment
Transmission predicts to arrange the corresponding network services quality rule of each Internet of things device.Will be described in detail hereinafter, no longer go to live in the household of one's in-laws on getting married herein
State.
As shown in figure 3, the Internet of things device 100 includes data acquisition unit 101, telecommunication circuit 102 and processor 103.
Wherein, data acquisition unit 101 gathers or receives Internet of Things data;Telecommunication circuit 102 communicates with gateway apparatus 10;Processor 103
Difference coupling data collector 101 and telecommunication circuit 102, processor 103 and/or telecommunication circuit 102 pass through network services quality
Rule process Internet of Things data and whether sent or how to be sent the result of Internet of Things data, further process according to result
Internet of Things data.
, due to being provided with processor 103 and telecommunication circuit 102, processor 103 can be with for the Internet of things device 100 that the present invention is provided
Setting network services quality rule or processor 103 receive network services quality rule by telecommunication circuit 102, and according to net
Road rules for quality of service processes Internet of Things data, therefore, there is no need to that Internet of Things data to be sent to behind gateway side judge again and wants
Should not further upload, but just efficiency of transmission can be effectively improved according to the process of network services quality rule before transmitting, save
About cost.
The data acquisition unit 101 of Internet of things device 100 include various sensors, so as to gather or receiving terminal apparatus thing
Networking data, sensor includes but is not limited to motion detection, RF identification (RFID), flux detecting, position detecting, weight and detects
The sensors such as survey, signal detection, sensor also includes infrared inductor, global positioning system, laser scanner, gas sensor
Deng information sensing equipment.Data acquisition unit 101 can apply to counter, gas station, building, warehouse, camera, traffic lights,
Means of transport, shopping cart, animal tracking, object wearing device etc. every field.
The telecommunication circuit 102 of Internet of things device 100 is communicated with the telecommunication circuit 12 of gateway apparatus 10, and is included
Line telecommunication circuit and radio communication circuit, specifically, wire communication circuit includes USB or other interfaces etc., radio communication circuit
Further include wireless near field communication circuit and long range wireless communication circuit, wireless near field communication circuit include bluetooth,
Wi-Fi, Zigbee, NFC etc., long range wireless communication circuit includes IP network road etc..Wherein, the communication electricity of Internet of things device 100
The communication protocol that road 102 uses with the telecommunication circuit 12 of gateway apparatus 10 is consistent.
In the present embodiment, network services quality rule is handed down to telecommunication circuit 102 by gateway apparatus 10 and is obtained.Specifically
, network services quality rule is specifically by gateway apparatus 10 according to the respective current of the multiple Internet of things device 100 under its administration
Or historical conditions, communication quality and/or requirement are assessed and produced, and it is handed down to telecommunication circuit 102 and obtains;Or network services matter
Gauge then specifically by gateway apparatus 10 according to its own or affiliated servomechanism 2 be current or historical conditions, communication quality and/or
Require assessment and produce, and be handed down to telecommunication circuit 102 and obtain.
Internet of Things data can be passed to affiliated servomechanism 2 by gateway apparatus 10, but network management device 10 is responsible for calculating and setting
The network services quality rule of the fixed multiple Internet of things device 100 for being serviced.In other words, even if the Internet of Things of Internet of things device 100
Network data can be sent to servomechanism 2, still can only pass through gateway apparatus 10, and be not necessarily intended to set net using servomechanism 2
Road rules for quality of service.
Specifically, some Internet of things device can be remained stationary as a long time after the completion of deployment;But some Internet of Things dresses
Put, for example counter, animal tracking device, car tracing device, its position can be continually changing;Also or Internet of things device position itself not
Change, but whether the interference signal in space can disturb, if there are other Internet of things device to be also required to simultaneously with same gateway dress
Put and communicated, Internet of things device is currently needed for the data volume transmitted, Internet of things device is currently needed for the urgency level transmitted, example
Such as require data transfer how long must be completed at most, or the terminal device battery of Internet of things device is remaining how many
Usage amount, if enter battery saving mode, is likely to cause the change of Internet of things device current state.Or distal end servomechanism is sent out
Existing specific Internet of things device has the data transfer demands of particular importance in special time, it is also possible to specify these Internet of things device to adjust
Whole network services quality rule.
Wherein, network services quality rule is issued by the timing of gateway apparatus 10 or not timing by telecommunication circuit 102, so as to
Update local former network services quality rule and obtain.The setting of network services quality rule can be disposable, also may be used
Be dynamic adjustment;Network services quality rule can also set different authorities, for example some network services quality rules
User or deployment personnel can be freely allowed to set at any time, some network services quality rules must be in factory or true by identity
Recognizing mechanism just can be set.
Network services quality rule is according to the respective current of the multiple Internet of things device 100 under the administration of gateway apparatus 10 or goes through
History condition, communication quality and/or requirement are assessed and produced, and are specifically included:According to the priority of multiple Internet of things device 100 and
Produce, the high priority communication of Internet of things device 100 of priority.Specifically, there can be thousands of Internet of Things in Internet of things system 1
Net device 100, can set priority between these Internet of things device 100, and each to set according to these priorities
The network services quality rule of individual Internet of things device 100.Further, whole cannot transmitted according to network services quality rule
During Internet of Things data, the Internet of Things data of Internet of things device 100 can also be distinguished important etc. by the processor 13 of gateway apparatus 10
Level, and high priority data important in Internet of Things data is transmitted.For example, Internet of Things data is distinguished into into emergency data
And non-urgent data, or it is divided into significant data and insignificant data;And when carrying out all transmission, preferential conveying is tight
Anxious data or significant data.
Network services quality rule is according to the respective current of the multiple Internet of things device 100 under the administration of gateway apparatus 10 or goes through
History condition, communication quality and/or requirement are assessed and produced, and are further included:The processor 103 of Internet of things device 100 is in transmission
Before Internet of Things data, first transmission advance notice to gateway apparatus 10, gateway apparatus 10 are according to the multiple Internet of things device under administration
100 transmission advance notice, it is intended that each Internet of things device 100 sets corresponding network services quality settings.Specifically, Internet of Things dress
Put 100 periodically or non-periodically can first transmit a transmission advance notice to gateway apparatus 10 before transmission Internet of Things data.Gateway is filled
The transmission that 10 unifications arrangement is put from multiple Internet of things device 100 is predicted, and after being estimated, it is intended that each Internet of Things
The suitable network services quality rule of the setting of device 100.
Understand for convenience, will be communicated between Internet of things device 100 and gateway apparatus 10, set for Internet of Things
The method flow of network services quality rule is as follows:
Step A:Internet of things device gathers or receives Internet of Things data, to perform Internet of Things work.
Step B:Internet of things device sets or receives network services quality rule.
Step C:Internet of things device judges whether Internet of Things data meets network services quality rule.
If meeting network services quality rule, step D is carried out:Internet of Things data is transmitted to gateway apparatus.
If not meeting network services quality rule, step E is carried out:Suspend transmission Internet of Things data.
Step F:Internet of things device or gateway apparatus are adjusted as requested or the not network services quality in set-up procedure B
Rule.
Wherein, referring to context, here is omitted for the generation of network services quality rule.
Fig. 4 is referred to, Fig. 4 is the structural representation of the Internet of things device second embodiment that the present invention is provided.
As shown in figure 4, the Internet of things device 200 further includes memory 204, the coupling processor 203 of memory 204,
Storage network services quality rule.Wherein, network services quality rule can also be pre-stored within locally, or be pre-stored within
In memory 204.
Network services quality rule can be counted by the sets itself of processor 203 of Internet of things device 200, processor 203
Historic transmission is recorded, and is voluntarily calculated according to historic transmission record and dynamic adjustment network services quality rule.Internet of things device
200 processor 203 can set network services quality rule from the instruction of gateway apparatus 10 with reference, or directly
The network services quality rule procedure code of the setting of gateway apparatus 10 is received, then adjustment is set to new network services quality rule
Then communicated with gateway apparatus 10.Wherein, the setting of network services quality rule includes the data that the unit interval can upload
Amount and other network services quality related parameters under different situations, different time, different condition.Concrete example explanation,
Internet of things device might have the important information of burst, for example, be responsible for monitoring the oxygen content of forest or the Internet of Things of temperature originally
Device, when the information of similar fire is measured, can automatically adjust and increase network services quality settings according to preset rules.
Internet of things device 200 itself can voluntarily be filtered and not meet network services quality according to network services quality rule
The data of rule.Thus, the data that not resulting in transmit take valuable gap of frequency monitoring, cause dry between data
Disturb, overall transmission efficiency can be increased, improve efficiency of transmission, it is cost-effective.
Fig. 5 is referred to, Fig. 5 is the structural representation of the Internet of things device 3rd embodiment that the present invention is provided.
As shown in figure 5, Internet of things device 300 also includes network services quality controller 305, network services quality controller
305 are coupling in processor 303 or are integrated in one with processor 303 or are integrated in one with telecommunication circuit 302, and built-in
Network services quality rule.I.e. network services quality controller 305 can be an independent circuit, it is also possible to processor
303, or telecommunication circuit 302 combines.The present embodiment is coupling in processor 303 with network services quality controller 305
As a example by explanation.
Network services quality controller 305 can be realizing setting by way of hardware, software or software, hardware combinations
Fixed or adjustment network services quality rule.The setting of network services quality rule, typically just adds when Internet of things device is disposed
To select simultaneously initial setting, the setting of network services quality rule can be disposable, or dynamic adjustment.Networking
The setting of rules for quality of service can also set different authorities, allow some network services quality rules freely to allow user
Or deployment personnel set at any time, some network services quality rules must could set in factory or by identity validation mechanism.
Additionally, network services quality rule can be organized into several different option bags, several make for relatively common
With characteristic and classification, user is allowed directly to select.Network services quality rule can also provide multiple options interfaces, allow user
Can be finely adjusted, to reach the adjustment for more optimizing.
After initial setting network services quality rule, or after the completion of deployment Internet of things device 300, by processing
One of device 303 instructs to select the network services quality rule for setting, to inform that network services quality controller 305 goes to answer
With selected network services quality rule.
As shown in figure 5, Internet of things device 300 also includes man-machine interface circuit 306, the receive user of man-machine interface circuit 306
Instruction obtains network services quality rule to carry out regulation setting.Above-mentioned network services quality rule can be user
Carry out being input into setting by man-machine interface circuit 306.
Processor 303 determines whether currently whether to meet the regulation modification condition for pre-setting, and when judging to meet, repaiies
Change network services quality rule;When judging to be unsatisfactory for, original network services quality rule is kept.
Wherein, the regulation modification condition for pre-setting needs the different communication rates of correspondence including different time sections, or according to
According to the communication strategy that historical communication situation draws.In some cases, Internet of things device belongs to different units with gateway apparatus
It is all, and the owner of gateway apparatus is paid according to a predetermined rate by the owner of Internet of things device;At some
In actual operation, this predetermined rate can be set to the maximum amount of data that can be transmitted the unit interval, or not sympathize with
Condition different periods distinguish the maximum amount of data that can be transmitted, or can transmission data limit priority.
Whether sent by network services quality rule process Internet of Things data or how to be sent Internet of Things data
Result, according to result further process Internet of Things data the step of further include:Judge according to network services quality rule
Whether Internet of Things data is transmitted, if at present transmission situation does not meet network services quality rule, stop, suspending or compress transmission
Internet of Things data;Or network services quality rule judges whether inadequate resource transmission Internet of Things data, if not enough resource transmission
Internet of Things data, transmits from high to low priority level in Internet of Things data and comes data above.Wherein, compression includes undistorted
Compression has distortion to compress.
Specifically, if the Internet of Things data to be transmitted is image or voice data, such data can be used many
Plant different compress modes to be compressed, then be transmitted;If according to network services quality rule at that time, it is impossible to according to original
Compress mode transmission data, different compress modes can be adjusted carry out compressed data and be transmitted again.Due to different compressions
Mode may relate to different degrees of process energy, or even and then affect the degree of terminal device power consumption.Accordingly, it is capable to provide maximum
The method of compression ratio might not be exactly best compress mode, or even, when cannot carrying out Lossless Compression, can adopt
With the compress mode of distortion.
In sum, it should be readily apparent to one skilled in the art that the Internet of things device of present invention offer is due to being provided with processor
And telecommunication circuit, processor can set network services quality rule or processor by telecommunication circuit receive network services matter
Gauge then, and processes Internet of Things data according to network services quality rule, therefore, there is no need to for Internet of Things data to be sent to gateway
Judge again to want to further upload behind side, but before transmitting just according to the process of network services quality rule, can be effective
Efficiency of transmission is improved, it is cost-effective.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.