CN105960002A - Data packet system and wireless communication data packet sending method - Google Patents

Data packet system and wireless communication data packet sending method Download PDF

Info

Publication number
CN105960002A
CN105960002A CN201610473128.9A CN201610473128A CN105960002A CN 105960002 A CN105960002 A CN 105960002A CN 201610473128 A CN201610473128 A CN 201610473128A CN 105960002 A CN105960002 A CN 105960002A
Authority
CN
China
Prior art keywords
module
data packet
button
packet
initializes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610473128.9A
Other languages
Chinese (zh)
Inventor
王大庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU BOYUE INTERNET OF THINGS TECHNOLOGY Co Ltd
Original Assignee
JIANGSU BOYUE INTERNET OF THINGS TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU BOYUE INTERNET OF THINGS TECHNOLOGY Co Ltd filed Critical JIANGSU BOYUE INTERNET OF THINGS TECHNOLOGY Co Ltd
Priority to CN201610473128.9A priority Critical patent/CN105960002A/en
Publication of CN105960002A publication Critical patent/CN105960002A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a data packet system and a wireless communication data packet sending method. The system comprises an effective load module; the effective load module is provided with a key header module, a key address module, a key value module and a data state module; the key header module and the data state module are used for encrypting a data packet; the key address module is used for identifying a transmitting end; and the key value module is used for identifying an action of the transmitting end; and the method comprises the steps of: pressing a switch by an external force and generating power by a generator module; initializing a micro-control unit; initializing a radio-frequency chip; packing data into the data packet, wherein the data packet comprises a preamble word, a synchronization word, a data packet length byte, an effective load, and a load domain check; sending the data packet by the radio-frequency chip; and enabling the micro-control unit and the radio-frequency chip to enter a timed dormant state. The data packet system and the procedures of sending the data packet are simplified, the power consumption in the process of sending the data packet in wireless communication by a radio frequency module is reduced, and the problem of high power consumption for sending the data packet in the wireless communication can be solved.

Description

Packet system and wireless telecommunications send packet method
Technical field
The disclosure relates generally to the communications field, is specifically related to home control network communication protocol field, especially relates to And one packet system and wireless telecommunications send packet method.
Background technology
Communication protocol refers to that both entities completes communication or service institute mandatory rule peace treaty Fixed.The form that protocol definition data cell uses, information that information unit should comprise with contain Justice, connected mode, the sequential that information sends and receives, so that it is guaranteed that in network data are successfully It is sent to the place determined.
Along with development and the quickening of social informatization of scientific and technological level, the work of people, Live the tightst with the relation of information, communication.Informationized society is changing people life style While work habit, also traditional living space being proposed challenge, people are to household ring The requirement in border is more and more higher, the most increasingly favors Household intelligent device.Early oneself is not or not home room The simply resting space of a physics, safety, intelligence, convenience, a comfortable house especially Environment, in this environment, the body and mind of people can be released.In consideration of it, it is desirable to Can have one with house as platform, have both building, network service, information household appliances, equipment from Dynamicization, collecting system, structure, service, manage be integrated efficient, comfortable, safe and convenient, The living environment of environmental protection, the concept of Smart Home is also arisen at the historic moment.
For particularly Smart Home field, Internet of Things field, in self-power wireless transmitter module, The communications protocol structure of standard can cause the power consumption sending individual data bag to increase, and even results in and sends out Penetrate module and cannot send complete packet.
Summary of the invention
In view of drawbacks described above of the prior art or deficiency, it is desirable to provide the data of a kind of low-power consumption Packet system and wireless telecommunications send packet method.
First aspect, the packet system of the present invention, including payload module, payload Module is provided with button header module, button address module, button value module and data mode Module, button header module and data block of state are used for encryption data bag, button address module For identifying transmitting terminal, button value module is for identifying the action of transmitting terminal.
Second aspect, the wireless telecommunications of the present invention send packet method, including:
S101: switching by pressed by external force, generator module generates electricity;
S102: micro-control unit initializes;
S103: radio frequency chip initializes;
S104: data are packaged as packet, packet includes preamble word, synchronization character, data Packet length byte, payload and the verification of load territory;
S105: radio frequency chip sends packet;
S106: micro-control unit and radio frequency chip enter timing dormancy state;
S107: exit dormancy, repeats S105 and S107, until electricity exhausts.
The technical scheme provided according to the embodiment of the present application, by simplifying packet system and sending out Send the flow process of packet, reduce radio-frequency module in wireless telecommunications and send the power consumption of packet, energy Enough solve wireless telecommunications send the problem that packet power consumption is big.
Accompanying drawing explanation
By reading retouching in detail with reference to made non-limiting example is made of the following drawings Stating, other features, purpose and advantage will become more apparent upon:
Fig. 1 is the flow chart of the wireless telecommunications transmission packet method of embodiments of the invention;
Fig. 2 is the data packet length of the wireless telecommunications transmission packet method of embodiments of the invention Byte is set to the energy consumption lab diagram of 8 bytes plus payload.
Detailed description of the invention
With embodiment, the application is described in further detail below in conjunction with the accompanying drawings.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to this Bright restriction.It also should be noted that, for the ease of describe, accompanying drawing illustrate only with The part that invention is relevant.
It should be noted that in the case of not conflicting, the embodiment in the application and embodiment In feature can be mutually combined.Describe this below with reference to the accompanying drawings and in conjunction with the embodiments in detail Application.
Packet system, including payload module, payload module is provided with button header Module, button address module, button value module and data block of state, button header module With data block of state for encryption data bag, button address module is used for identifying transmitting terminal, presses Key key assignments module is for identifying the action of transmitting terminal.
In an embodiment of the present invention, the encryption that act as of header module and data block of state is made With, receiving terminal resolves packet when, it is judged that if containing report inside the packet received Head module and data block of state, just illustrate that the packet system received is effective data packets. The when of pairing with receiving terminal, by button address module record at receiving terminal, if this is launched The when that end sending data, can be with button address information, receiving terminal is receiving valid data Bao Hou, checks and whether presses key address already recorded in receiving terminal, if having recorded, then Corresponding action can be made, without record, then will not do any action.Button value Module comprises the information needing receiving terminal to do action, such as: sending button value is 0, then need Corresponding receiving terminal is wanted to do the action closed the border;If sending button value is 1, then need to receive End does the action opened.
In the most common communication interface agreement, there is the most unnecessary structure in packet system, Add in wireless telecommunications, send the power consumption of packet, be suitable for other and use external power source to power System, embodiments of the invention are directed to self-powered wireless telecommunication system, outside not using Portion's power supply, common communication system cannot complete to launch the function of packet, for self power generation Wireless communication system, supply module is powered limited, needs to make full use of limited resource, carries out Send packet action, the packet system of embodiments of the invention include button header, by Key address, button value and data mode, it is ensured that on the premise of data validity and safety, Reduce power consumption.
Further, button address module is set to 2~4 bytes.
Further, button address module is set to 4 bytes.
In an embodiment of the present invention, it is set to 2~4 bytes by key address, it is ensured that have enough Many number of combinations, ensure the volume production quantity of product, control the byte number of packet simultaneously, excellent Choosing, it is set to 4 bytes by key address, on the premise of meeting product volume production quantity, reduces Power consumption.
Further, button value module is set smaller than 3 bytes.
Further, button value module is set to 1 byte.
In an embodiment of the present invention, button value is set smaller than 3 bytes, and button value rises To the effect of parsing data, concrete, different button, transmitting terminal sends different key assignments, Corresponding, receiving terminal receives different key assignments, makes different actions, it is preferred that button key Value is set to 1 byte, play the effect resolving data in guarantee on the premise of, decreases power consumption.
Further, button header module is set to 1 byte, and data mode module is set to 1 Byte.
With reference to Fig. 1, wireless telecommunications send packet method, including:
S101: switching by pressed by external force, generator module generates electricity;
S102: micro-control unit initializes;
S103: radio frequency chip initializes;
S104: data are packaged as the packet system of any one of claim 1~6;
S105: radio frequency chip sends packet system;
S106: micro-control unit and radio frequency chip enter timing dormancy state;
S107: exit dormancy, repeats S105 and S107, until electricity exhausts.
Further, micro-control unit initialize include I/O port initialize, clock initialize and Serial Peripheral Interface (SPI) initializes.
In an embodiment of the present invention, micro-control unit initialize include I/O port initialize, time Clock initializes and Serial Peripheral Interface (SPI) initializes, and dependent variable will be assigned to default value, for next Flow process carry out preliminary preparation, it is to avoid produce mistake.
Further, radio frequency chip initializes and includes register configuration and launch power configuration.
In an embodiment of the present invention, radio frequency chip initializes and includes register configuration and launch merit Rate configures, and dependent variable will be assigned to default value, carries out preliminary preparation for ensuing flow process, keeps away Exempt to produce mistake.
Further, in S106, the set of time of timing dormancy state is 7ms.
In an embodiment of the present invention, button header is set to 1 byte, and data mode is set to 1 byte, button header and data mode are the cryptographic means of packet, it is ensured that packet Safety, on the premise of meeting communication security, reduces power consumption.
With reference to Fig. 2, when button header is set to 1 byte, it is set to 4 bytes by key address, Button value is set to 1 byte, and data mode is set to 1 byte, and data packet length byte sets It is set to 1 byte, i.e. payload and adds the when that data packet length byte being set to 8 byte, Radio frequency chip can send 4 complete packets, it can be seen that sends each complete The when of packet, power dissipation ratio is relatively low, meets communication need.
Above description is only the preferred embodiment of the application and saying institute's application technology principle Bright.It will be appreciated by those skilled in the art that invention scope involved in the application, do not limit In the technical scheme of the particular combination of above-mentioned technical characteristic, also should contain simultaneously without departing from In the case of described inventive concept, above-mentioned technical characteristic or its equivalent feature carry out combination in any And other technical scheme formed.Such as features described above and (but not limited to) disclosed herein The technical characteristic with similar functions is replaced mutually and the technical scheme that formed.

Claims (10)

1. packet system, it is characterised in that include payload module, described payload Module is provided with button header module, button address module, button value module and data mode Module, described button header module and described data mode module are used for encrypting described packet, Described button address module is used for identifying that transmitting terminal, described button value module are used for identifying transmitting The action of end.
Packet system the most according to claim 1, it is characterised in that described button ground Location module is set to 2~4 bytes.
Packet system the most according to claim 2, it is characterised in that described button ground Location module is set to 4 bytes.
Packet system the most according to claim 1, it is characterised in that described button key Value module is set smaller than 3 bytes.
Packet system the most according to claim 4, it is characterised in that described button key Value module is set to 1 byte.
Packet system the most according to claim 1, it is characterised in that described button report Head module is set to 1 byte, and described data mode module is set to 1 byte.
7. wireless telecommunications send packet method, it is characterised in that including:
S101: switching by pressed by external force, generator module generates electricity;
S102: micro-control unit initializes;
S103: radio frequency chip initializes;
S104: data are packaged as the packet system described in any one of claim 1~6;
S105: described radio frequency chip sends described packet system;
S106: described micro-control unit and described radio frequency chip enter timing dormancy state;
S107: exit dormancy, repeats described S105 and described S107, until electricity exhausts.
Wireless telecommunications the most according to claim 7 send packet method, it is characterised in that Described micro-control unit initializes and includes that I/O port initializes, clock initializes and serial peripheral connects Mouth initializes.
Wireless telecommunications the most according to claim 7 send packet method, it is characterised in that Described radio frequency chip initializes and includes register configuration and launch power configuration.
Wireless telecommunications the most according to claim 7 send packet method, it is characterised in that In described S106, the set of time of timing dormancy state is 7ms.
CN201610473128.9A 2016-06-24 2016-06-24 Data packet system and wireless communication data packet sending method Pending CN105960002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610473128.9A CN105960002A (en) 2016-06-24 2016-06-24 Data packet system and wireless communication data packet sending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610473128.9A CN105960002A (en) 2016-06-24 2016-06-24 Data packet system and wireless communication data packet sending method

Publications (1)

Publication Number Publication Date
CN105960002A true CN105960002A (en) 2016-09-21

Family

ID=56903943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610473128.9A Pending CN105960002A (en) 2016-06-24 2016-06-24 Data packet system and wireless communication data packet sending method

Country Status (1)

Country Link
CN (1) CN105960002A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861489A (en) * 2019-01-28 2019-06-07 廖淑辉 Module and passive communication module occur for energy embodied
CN110246316A (en) * 2019-06-06 2019-09-17 广东易百珑智能科技有限公司 Self-powered emitter, wireless control system and its wireless control method
CN110266903A (en) * 2019-06-06 2019-09-20 广东易百珑智能科技有限公司 Calling system and its self-powered transmitting terminal and method of calling
WO2022242523A1 (en) * 2021-05-16 2022-11-24 武汉领普科技有限公司 Self-powered switch and processing method therefor, and receiver and processing method therefor

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742544A (en) * 2009-11-26 2010-06-16 上海大学 Energy-saving MAC and routing cross-layer method for linear monitoring network
CN102084677A (en) * 2008-07-15 2011-06-01 松下电器产业株式会社 Control device, communication terminal, control method, and communication method
CN102457932A (en) * 2010-10-26 2012-05-16 高旭 Low power consumption wireless sensor network node
CN103139861A (en) * 2013-03-14 2013-06-05 上海逻迅信息科技有限公司 Wireless communication terminal based on Internet of things and connecting method thereof
CN103281707A (en) * 2013-06-07 2013-09-04 北京交通大学 Construction method of access network facing rail transit infrastructure service state detection
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network
US20150312858A1 (en) * 2012-11-19 2015-10-29 Nokia Corporation Oy Method and apparatus for generating a bluetooth low energy data packet comprising audio payload data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084677A (en) * 2008-07-15 2011-06-01 松下电器产业株式会社 Control device, communication terminal, control method, and communication method
CN101742544A (en) * 2009-11-26 2010-06-16 上海大学 Energy-saving MAC and routing cross-layer method for linear monitoring network
CN102457932A (en) * 2010-10-26 2012-05-16 高旭 Low power consumption wireless sensor network node
US20150312858A1 (en) * 2012-11-19 2015-10-29 Nokia Corporation Oy Method and apparatus for generating a bluetooth low energy data packet comprising audio payload data
CN103139861A (en) * 2013-03-14 2013-06-05 上海逻迅信息科技有限公司 Wireless communication terminal based on Internet of things and connecting method thereof
CN103281707A (en) * 2013-06-07 2013-09-04 北京交通大学 Construction method of access network facing rail transit infrastructure service state detection
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109861489A (en) * 2019-01-28 2019-06-07 廖淑辉 Module and passive communication module occur for energy embodied
CN110246316A (en) * 2019-06-06 2019-09-17 广东易百珑智能科技有限公司 Self-powered emitter, wireless control system and its wireless control method
CN110266903A (en) * 2019-06-06 2019-09-20 广东易百珑智能科技有限公司 Calling system and its self-powered transmitting terminal and method of calling
WO2022242523A1 (en) * 2021-05-16 2022-11-24 武汉领普科技有限公司 Self-powered switch and processing method therefor, and receiver and processing method therefor

Similar Documents

Publication Publication Date Title
CN105960002A (en) Data packet system and wireless communication data packet sending method
CN104168625B (en) Smart machine and its method and wireless routing device for being connected to wireless routing device
CN103945369B (en) A kind of length by checking WIFI packets realizes the Internet-surfing configuration method of WIFI equipment
CN103747441B (en) Wireless network access method and access device
CN103368722A (en) System and method for improving bluetooth low energy privacy
Kaushik et al. Low-cost wake-up receiver for RF energy harvesting wireless sensor networks
CN106993261A (en) A kind of low-power consumption bluetooth data communications method, equipment and system
CN111083654B (en) Method for realizing control of wireless passive switch, wireless passive switch and proxy node
CN103000181B (en) System and implement method thereof for secret communications based on public communication network voice channel
CN104618899A (en) ZigBee router with built-in safety module
CN105407109A (en) Data secure transmission method between Bluetooth devices
CN108632117A (en) A kind of control method, equipment and system
CN105141627A (en) Data sending and receiving method, device and equipment
CN1846422B (en) System and associated methods to determine authentication priority between devices
TW200746703A (en) Communicating non-scheduling information in wireless networks
Ashok et al. Overview and evaluation of bluetooth low energy: An emerging low-power wireless technology
Yang et al. An on-chip security guard based on zero-power authentication for implantable medical devices
FI126936B (en) Procedure and technical device for short-range communication
CN109673014A (en) A kind of network integration method
CN113795023B (en) Bluetooth data transmission encryption method based on chaotic sequence and packet encryption
ATE393518T1 (en) SUBSCRIBE DEVICE FOR A HIGH-PERFORMANCE COMMUNICATIONS SYSTEM
CN102760314B (en) Light-operated key
Gu et al. An implementation of wban module based on ns-2
Han et al. ZigBee-based IR remote control repeater and its control message frame format
WO2023050051A1 (en) Method and apparatus for accessing network, and terminal and network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160921