Summary of the invention
In view of this, technical problem to be solved by this invention is to provide the data transmission method in a kind of Internet of Things, can effectively save the power consumption of Terminal Type equipment.
Another technical problem to be solved by this invention is to provide the data transmission system in a kind of Internet of Things, can effectively save the power consumption of Terminal Type equipment.
Another technical problem to be solved by this invention is to provide a kind base station equipment, can effectively save the power consumption of Terminal Type equipment.
An again technical problem to be solved by this invention is to provide a kind of Terminal Type equipment, can effectively save the power consumption of such terminal equipment.
For achieving the above object, technical scheme of the present invention is achieved in that
Data transmission method in a kind of Internet of Things comprises:
The radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind the described radio receiving-transmitting unit of each unlatching, sends data request information to the class base station equipment;
Whether after described class base station equipment receives described data request information, notify described Terminal Type equipment to have data to issue, when having data to issue, the data that needs are issued send to described Terminal Type equipment;
Described Terminal Type equipment determines whether described class base station equipment has data to issue, if having, then receives the data that described class base station equipment issues, and then closes described radio receiving-transmitting unit, if do not have, then directly closes described radio receiving-transmitting unit;
Wherein, a plurality of when carrying out the problem of transfer of data simultaneously from equipment when what relate to a main equipment and subordinate in the implementation procedure of Internet of Things, described main equipment is called the class base station equipment, be called Terminal Type equipment with described from equipment.
Whether describedly notify described Terminal Type equipment to have data to issue, when having data to issue, the data that needs are issued send to described Terminal Type equipment and comprise:
Described class base station equipment is to described Terminal Type equipment sending data message, whether the physical length that the physical length subdomain in the packet header of described data-message indicates described data-message is zero, if be zero, then explanation does not have data to issue, if non-vanishing, then explanation has data to issue, and the data that needs issue is carried in the entity of described data-message.
Described class base station equipment receives after the described data request information, further comprises:
Described class base station equipment sends acknowledge message to described Terminal Type equipment, shows to receive described data request information.
Described class base station equipment further comprises after described Terminal Type equipment sending data message:
Described Terminal Type equipment sends acknowledge message to described class base station equipment, shows to receive described data-message.
Whether describedly notify described Terminal Type equipment to have data to issue, when having data to issue, the data that needs are issued send to described Terminal Type equipment and comprise:
Described class base station equipment sends acknowledge message to described Terminal Type equipment, illustrate whether have data to issue by the data distributing subdomain in the packet header of described acknowledge message being carried out different arranging, when having data to issue, the data that needs are issued are carried on and send to described Terminal Type equipment in the data-message.
The described data that needs are issued are carried on and send in the data-message after the described Terminal Type equipment, further comprise:
Described Terminal Type equipment sends acknowledge message to described class base station equipment, shows to receive described data-message.
The radio receiving-transmitting unit that self is opened in described Terminal Type equipment periodic ground comprises:
The duration at the described radio receiving-transmitting unit of twice unlatching interval before and after described Terminal Type equipment is determined according to the type of service of carrying out.
Data transmission system in a kind of Internet of Things comprises: class base station equipment and Terminal Type equipment;
Described Terminal Type equipment, be used for periodically opening the radio receiving-transmitting unit of self, behind the described radio receiving-transmitting unit of each unlatching, send data request information to the class base station equipment, and determine whether described class base station equipment has data to issue, if having, then receive the data that described class base station equipment issues, then close described radio receiving-transmitting unit, if do not have, then directly close described radio receiving-transmitting unit;
Whether described class base station equipment is used for notifying described Terminal Type equipment to have data to issue after the data request information that receives from described Terminal Type equipment, and when having data to issue, the data that needs are issued send to described Terminal Type equipment;
Wherein, a plurality of when carrying out the problem of transfer of data simultaneously from equipment when what relate to a main equipment and subordinate in the implementation procedure of Internet of Things, described main equipment is called the class base station equipment, be called Terminal Type equipment with described from equipment.
One kind base station equipment comprises: receiving element and transmitting element;
Described receiving element is used for receiving the data request information from Terminal Type equipment, and notifies described transmitting element to carry out self function;
Whether described transmitting element is used for notifying described Terminal Type equipment to have data to issue, and when having data to issue, the data that needs are issued send to described Terminal Type equipment;
Wherein, a plurality of when carrying out the problem of transfer of data simultaneously from equipment when what relate to a main equipment and subordinate in the implementation procedure of Internet of Things, described main equipment is called the class base station equipment, be called Terminal Type equipment with described from equipment.
Described transmitting element comprises: first sends subelement or second sends subelement;
Described first sends subelement, be used for to described Terminal Type equipment sending data message, whether the physical length that the physical length subdomain in the packet header of described data-message indicates described data-message is zero, if be zero, then explanation does not have data to issue, if non-vanishing, then explanation has data to issue, and the data that needs issue is carried in the entity of described data-message;
Described second sends subelement, be used for sending acknowledge message to described Terminal Type equipment, notify described Terminal Type equipment whether to have data to issue by the data distributing subdomain in the packet header of described acknowledge message being carried out different arranging, when having data to issue, the data that needs are issued are carried on and send to described Terminal Type equipment in the data-message.
A kind of Terminal Type equipment comprises: open unit and processing unit;
Described unlatching unit is used for periodically opening the radio receiving-transmitting unit of described Terminal Type equipment, and behind the described radio receiving-transmitting unit of each unlatching, notifies described processing unit to carry out self function;
Described processing unit, be used for sending data request information to the class base station equipment, and determine whether described class base station equipment has data to issue, if have, then receive the data that described class base station equipment issues, then close described radio receiving-transmitting unit, if do not have, then directly close described radio receiving-transmitting unit;
Wherein, a plurality of when carrying out the problem of transfer of data simultaneously from equipment when what relate to a main equipment and subordinate in the implementation procedure of Internet of Things, described main equipment is called the class base station equipment, be called Terminal Type equipment with described from equipment.
The duration at the described radio receiving-transmitting unit of twice unlatching interval before and after described unlatching unit is determined according to the type of service of carrying out.
As seen, in the scheme of the present invention, the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, send data request information to the class base station equipment, after the class base station equipment received data request information, whether notice Terminal Type equipment had data to issue, when having data to issue, the data that needs are issued send to Terminal Type equipment, correspondingly, Terminal Type equipment determines whether the class base station equipment has data to issue, if having, then receive the data that the class base station equipment issues, then close radio receiving-transmitting unit, if do not have, then directly close radio receiving-transmitting unit.Compared with prior art, after adopting technical scheme of the present invention, the Terminal Type device just is periodically opened the radio receiving-transmitting unit of self, and need not to receive and resolve beep-page message from the class base station equipment, therefore can effectively save the power consumption of Terminal Type equipment, and then prolong the stand-by time of Terminal Type equipment; In addition, in the scheme of the present invention, the duration at twice open wireless transceiver institute interval before and after Terminal Type equipment can be determined according to the type of service of carrying out, thereby guaranteed that as much as possible each open wireless transceiver can both get access to the data that the class base station equipment issues, avoid blindly the open wireless transceiver and sent blindly data request information, thereby further saved the power consumption of Terminal Type equipment, and reduced the information interaction amount between class base station equipment and the Terminal Type equipment.
Embodiment
For problems of the prior art, data transmission scheme in a kind of Internet of Things is proposed among the present invention, the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, sends data request information to the class base station equipment; After the class base station equipment received data request information, whether notice Terminal Type equipment had data to issue, and when having data to issue, the data that needs are issued send to Terminal Type equipment; Correspondingly, Terminal Type equipment determines whether the class base station equipment has data to issue, if having, then receives the data that the class base station equipment issues, and then closes radio receiving-transmitting unit, if do not have, then directly closes radio receiving-transmitting unit.
In actual applications, whether the class base station equipment can notify Terminal Type equipment to have data to issue in the following manner, such as:
(1), the class base station equipment is to Terminal Type equipment sending data message, whether the physical length that the physical length subdomain in the packet header of data-message indicates this data-message is zero, if be zero, then explanation does not have data to issue, if non-vanishing, then explanation has data to issue, and the data that needs issue is carried in the entity of data-message;
(2), the class base station equipment sends acknowledge message to Terminal Type equipment, illustrate whether have data to issue by the data distributing subdomain in the packet header of acknowledge message being carried out different arranging, when having data to issue, the data that needs are issued are carried on and send to Terminal Type equipment in the data-message.
For make technical scheme of the present invention clearer, understand, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Wherein, whether the first two embodiment all adopts mode () to notify Terminal Type equipment to have data to issue, and whether latter two embodiment all adopts mode (two) to notify Terminal Type equipment to have data to issue.
Fig. 1 is the flow chart of data transmission method the first embodiment in the Internet of Things of the present invention.As shown in Figure 1, may further comprise the steps:
Step 11: the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, sends data request information to the class base station equipment.
In the scheme of the present invention, the duration at twice open wireless transceiver institute interval before and after Terminal Type equipment can be determined according to the type of service of carrying out.Such as, if be that interactivity is professional, then can adopt the shorter cycle, as opened a radio receiving-transmitting unit every 5 minutes, if be that nonreciprocal is professional, such as the long-time communication downlink business once that only needs, then can adopt the long cycle, as opened a radio receiving-transmitting unit every 1 hour.
Whether behind each open wireless transceiver, Terminal Type equipment all needs to send data request information to the class base station equipment, have data need to be handed down to oneself with inquiry class base station equipment.
Step 12: after the class base station equipment receives data request information from Terminal Type equipment, send acknowledge message to Terminal Type equipment.
This step is optional, namely can carry out also and can not carry out, and just for the data request information that Terminal Type equipment is sent responds, shows that the class base station equipment has received this data request information.
Step 13: the class base station equipment defines data need to be handed down to Terminal Type equipment, to Terminal Type equipment sending data message, it is non-vanishing that physical length subdomain in the packet header of data-message indicates the physical length of this data-message, and the data that needs issue are carried in the entity of this data-message.
It is prior art that the data that whether have class base station equipment how to confirm need to be handed down to Terminal Type equipment, repeats no more.
As a rule, each message can be comprised of two parts, i.e. packet header and entity.In the present embodiment, whether the class base station equipment can utilize the physical length subdomain that is arranged in packet header to notify Terminal Type equipment to have data to issue, specifically, if it is non-vanishing that the physical length subdomain indicates the physical length of this data-message, then explanation has data to issue, if be zero, then explanation does not have data to issue, when having data to issue, the data that needs are issued are carried in the entity of data-message.
Step 14: after Terminal Type equipment receives data-message, send acknowledge message to the class base station equipment, and determine that by the physical length subdomain in the packet header of reading out data message the class base station equipment has data to issue, obtain the data in the entity that is carried on data-message, then close radio receiving-transmitting unit.
Wherein, it is optional step that Terminal Type equipment sends this step of acknowledge message to the class base station equipment, just in order to show that Terminal Type equipment has received the data-message that the class base station equipment sends.
Fig. 2 is the flow chart of data transmission method the second embodiment in the Internet of Things of the present invention.As shown in Figure 2, may further comprise the steps:
Step 21: the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, sends data request information to the class base station equipment.
The specific implementation of step 21 is identical with step 11, repeats no more.
Step 22: after the class base station equipment receives data request information from Terminal Type equipment, send acknowledge message to Terminal Type equipment.
Step 23: the class base station equipment determines not have data need to be handed down to Terminal Type equipment, and to Terminal Type equipment sending data message, the physical length that the physical length subdomain in the packet header of data-message indicates this data-message is zero.
Step 24: after Terminal Type equipment receives data-message, send acknowledge message to the class base station equipment, and determine that by the physical length subdomain in the packet header of reading out data message the class base station equipment does not have data to issue, and closes radio receiving-transmitting unit.
Equally, the step to class base station equipment transmission acknowledge message is optional step in step 22 and the step 24.
Fig. 3 is the flow chart of data transmission method the 3rd embodiment in the Internet of Things of the present invention.As shown in Figure 3, may further comprise the steps:
Step 31: the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, sends data request information to the class base station equipment.
The specific implementation of this step is identical with step 11, repeats no more.
Step 32: after the class base station equipment receives data request information from Terminal Type equipment, send acknowledge message to Terminal Type equipment, and by arranging to notify Terminal Type equipment to have data to issue to the data distributing subdomain in the packet header of acknowledge message.
In this step, the class base station equipment sends acknowledge message to Terminal Type equipment, be on the one hand to receive the data request information that Terminal Type equipment sends in order to show, and be in order to notify Terminal Type equipment to have data to issue to it on the other hand.
The concrete set-up mode of data distributing subdomain is not limit, such as, if the data distributing subdomain only takies a bit, can represent respectively whether to have data to issue with 0 and 1 so.
Step 33: after the class base station equipment sends out acknowledge message, to Terminal Type equipment sending data message, and the data that needs issue are carried in the entity of data-message.
Step 34: Terminal Type equipment determines that according to the data distributing subdomain in the affirmation message that receives the class base station equipment has the data needs to issue, obtain the data that the class base station equipment issues by the data-message that receives the transmission of class base station equipment, and to class base station equipment transmission acknowledge message, then close radio receiving-transmitting unit.
It is optional step that Terminal Type equipment sends this step of acknowledge message to the class base station equipment, just in order to show that Terminal Type equipment has received the data-message that the class base station equipment sends.
Fig. 4 is the flow chart of data transmission method the 4th embodiment in the Internet of Things of the present invention.As shown in Figure 4, may further comprise the steps:
Step 41: the radio receiving-transmitting unit of self is opened on Terminal Type equipment periodic ground, and behind each open wireless transceiver, sends data request information to the class base station equipment.
The specific implementation of this step is identical with step 11, repeats no more.
Step 42: after the class base station equipment receives data request information, send acknowledge message to Terminal Type equipment, and by arranging to notify Terminal Type equipment not have data to issue to the data distributing subdomain in the packet header of this acknowledge message.
Step 43: Terminal Type equipment determines that according to the data distributing subdomain in the affirmation message that receives the class base station equipment does not have the data needs to issue, and directly closes radio receiving-transmitting unit.
Based on said method, Fig. 5 is the composition structural representation of the data transmission system embodiment in the Internet of Things of the present invention.As shown in Figure 5, comprising: Terminal Type equipment 51 and class base station equipment 52.Wherein, the number of Terminal Type equipment 51 is generally a plurality of, for simplifying accompanying drawing, has only expressed one among Fig. 5.
Terminal Type equipment 51, be used for periodically opening the radio receiving-transmitting unit of self, behind each open wireless transceiver, send data request information to class base station equipment 52, and whether definite class base station equipment 52 there are data to issue, if having, then receive the data that class base station equipment 52 issues, then close radio receiving-transmitting unit, if do not have, then directly close radio receiving-transmitting unit;
Class base station equipment 52 is used for after the data request information that receives 51 transmissions of Terminal Type equipment, and whether notice Terminal Type equipment 51 has data to issue, and when having data to issue, the data that needs are issued send to Terminal Type equipment 51.
The concrete structure of class base station equipment 52 and Terminal Type equipment 51 is respectively shown in Fig. 6 and 7.
Fig. 6 is the composition structural representation of class base station equipment embodiment of the present invention.As shown in Figure 6, comprising: receiving element 61 and transmitting element 62.
Wherein, receiving element 61 is used for receiving the data request information from Terminal Type equipment 51, and notice transmitting element 62 is carried out self function;
Transmitting element 62, whether be used for notice Terminal Type equipment 51 has data to issue, and when having data to issue, the data that needs are issued send to Terminal Type equipment 51.
Wherein, can further comprise in the transmitting element 62: first sends subelement or second sends subelement (not shown);
First sends subelement, be used for sending data-message to Terminal Type equipment 51, whether the physical length that the physical length subdomain in the packet header of data-message indicates this data-message is zero, if physical length is zero, then explanation does not have data to issue, if non-vanishing, then explanation has data to issue, and the data that needs issue is carried in the entity of this data-message;
Second sends subelement, be used for sending acknowledge message to Terminal Type equipment 51, notify Terminal Type equipment 51 whether to have data to issue by the data distributing subdomain in the packet header of this acknowledge message being carried out different arranging, when having data to issue, the data that needs are issued are carried on and send to Terminal Type equipment 51 in the data-message.
Fig. 7 is the composition structural representation of Terminal Type apparatus embodiments of the present invention.As shown in Figure 7, comprising: open unit 71 and processing unit 72.
Wherein, open unit 71, be used for periodically open wireless transceiver, and behind each open wireless transceiver, self function is carried out in notifier processes unit 72;
Processing unit 72 be used for sending data request information to class base station equipment 52, and whether definite class base station equipment 52 has data to issue, if have, then receive the data that class base station equipment 52 issues, then close radio receiving-transmitting unit, if no, then directly close radio receiving-transmitting unit.
Wherein, open the duration that twice open wireless transceiver interval, front and back can be determined according to the type of service of carrying out in unit 71.
The specific works flow process of system and apparatus embodiments please refer to the respective description in the embodiment of the method shown in Fig. 1~4 shown in Fig. 5,6 and 7, repeats no more herein.
In a word, adopt technical scheme of the present invention, the Terminal Type device just is periodically opened the radio receiving-transmitting unit of self, and need not to receive and resolve the beep-page message from the class base station equipment, therefore can effectively save the power consumption of Terminal Type equipment, and then prolong the stand-by time of Terminal Type equipment; In addition, in the scheme of the present invention, the duration at twice open wireless transceiver institute interval before and after Terminal Type equipment can be determined according to the type of service of carrying out, thereby guaranteed that as much as possible each open wireless transceiver can both get access to the data that the class base station equipment issues, avoid blindly the open wireless transceiver and sent blindly data request information, thereby further saved the power consumption of Terminal Type equipment, and reduced the information interaction amount between class base station equipment and the Terminal Type equipment.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.