CN109951890A - A kind of data communications method, relay node, terminal node and communication system - Google Patents

A kind of data communications method, relay node, terminal node and communication system Download PDF

Info

Publication number
CN109951890A
CN109951890A CN201711392739.1A CN201711392739A CN109951890A CN 109951890 A CN109951890 A CN 109951890A CN 201711392739 A CN201711392739 A CN 201711392739A CN 109951890 A CN109951890 A CN 109951890A
Authority
CN
China
Prior art keywords
terminal node
time
node
base station
relay node
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
Application number
CN201711392739.1A
Other languages
Chinese (zh)
Other versions
CN109951890B (en
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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201711392739.1A priority Critical patent/CN109951890B/en
Publication of CN109951890A publication Critical patent/CN109951890A/en
Application granted granted Critical
Publication of CN109951890B publication Critical patent/CN109951890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application is suitable for field of communication technology, provide a kind of data communications method, relay node, terminal node and communication system, base station is that relay node and terminal node in communication system distributes network address, and relay node and terminal node enter dormant state after receiving the network address of distribution;In the down trigger time of relay node, relay node is switched to wake-up states by dormant state, in the down trigger time of terminal node, terminal node is switched to wake-up states by dormant state, data information to be reported is sent to base station by relay node by terminal node, base station receives feedback response information after data information, response message is first sent to corresponding terminal node after receiving response message by relay node, dormant state is entered back into, terminal node enters dormant state after receiving response message.By the application, the reliability of data transmission can be improved, and networking is simple, can reduce the power consumption of terminal node and relay node.

Description

A kind of data communications method, relay node, terminal node and communication system
Technical field
The application belongs to field of communication technology more particularly to a kind of data communications method, relay node, terminal node and logical Letter system.
Background technique
Internet of Things is the important component of generation information technology and the important development stage of information age.Object Communication of the networking mainly between object and object is needed different from the high broadband of interpersonal communicating requirement, high-speed, communication equipment Frequent charge is wanted, data transmission frequencies are lower after there is the communication between object and object large number of equipment to access network and data are transmitted Measure lesser feature.
Currently, the networking mode of Internet of Things is mainly star-like networking and Mesh networking.However, terminal in star-like networking at present Often there is can not be with base station normal communication the problem of in node;And Mesh networking is complicated, at high cost;And both networking modes In each node power consumption it is too high.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of data communications method, relay node, terminal node and communication system System, to solve the problems, such as that current networking mode data transmit that unreliable, networking is complicated and power consumption is high.
The first aspect of the embodiment of the present application provides a kind of data communications method, applied to the relaying section in communication system Point, the data communications method include:
Receive the terminal node that the base station in the communication system is the relay node and the connection relay node The network address distributed for the terminal node is sent to corresponding terminal node, and enters suspend mode by the network address of distribution State;
In the scheduled down trigger time, wake-up states are switched to by dormant state, and receive the connection relay node The data information that reports of terminal node, the data information is sent to the base station;
After receiving the response message that the data information that the base station is reported according to returns, by the response message It is sent to terminal node corresponding with the response message, and is switched to dormant state by wake-up states, the response message is used Enter dormant state in instruction terminal node corresponding with the response message.
The second aspect of the embodiment of the present application provides a kind of data communications method, applied to the terminal section in communication system Point, the data communications method include:
Relay node by connecting the terminal node obtains network address from the base station in the communication system, goes forward side by side Enter dormant state;
In the scheduled down trigger time, wake-up states are switched to by dormant state, and data information to be reported is led to It crosses the relay node and is sent to the base station;
After receiving the base station by connecting the response message that the relay node of the terminal node returns, by waking up State is switched to dormant state.
The third aspect of the embodiment of the present application provides a kind of relay node, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of terminal node, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the method that the embodiment of the present application second aspect provides.
5th aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes the embodiment of the present application when being executed by one or more processors The step of the method that one side and/or second aspect provide.
6th aspect of the embodiment of the present application provides a kind of communication system, comprising:
The terminal node of relay node, the offer of at least one fourth aspect that base station, at least one third aspect provide, often A terminal node is connect by a relay node with the base station;
The base station, for distributing network address for the relay node and the terminal node.
The embodiment of the present application base station is that the relay node and terminal node in communication system distribute network address, relay node Enter dormant state after receiving the network address of distribution with terminal node;In the down trigger time of relay node, relay node Wake-up states are switched to by dormant state, in the down trigger time of terminal node, terminal node is switched to by dormant state and is called out Data information to be reported is sent to base station by relay node by the state of waking up, terminal node, and base station receives after data information instead Response message is presented, response message is first sent to corresponding terminal node after receiving response message, enters back into suspend mode by relay node State, terminal node enter dormant state after receiving response message.By way of above-mentioned communication, terminal node passes through relaying section Point sends data information to be reported, and data transmit insecure problem when avoiding terminal node and too far base station distance;Together When, terminal node, which only needs to connect a relay node, to be communicated with base station, and networking mode is simple;And relay node Wake-up states can be just only switched in the scheduled down trigger time with terminal node, are again introduced into after the data transfer is complete Dormant state reduces the power consumption of relay node and terminal node.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the schematic block diagram for the communication system that one embodiment of the application provides;
Fig. 2 is a kind of implementation process schematic diagram for data communications method that one embodiment of the application provides;
Fig. 3 is a kind of implementation process schematic diagram for data communications method that the another embodiment of the application provides;
Fig. 4 is the schematic block diagram for the relay node that the another embodiment of the application provides;
Fig. 5 is the schematic block diagram for the terminal node that the another embodiment of the application provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is that the schematic diagram for the communication system that one embodiment of the application provides illustrates only and this Shen for ease of description It please the relevant part of embodiment.As shown, the communication system includes:
Base station, at least one relay node, at least one terminal node, each terminal node by relay node with The base station connection;
A base station (Sink), two relay nodes (R1 and R2), six terminal nodes (S1-S6) are shown in Fig. 1, Middle terminal node S1, S2, S3 pass through relay node R1 respectively and connect with the base station, during terminal node S4, S5, S6 pass through respectively It is connect after node R 2 with the base station.
The base station is that the relay node and the terminal node distribute network address, and the network address is broadcasted To the relay node and the terminal node;The information that the relay node is transmitted as the base station and the terminal node Terminal, receive the base station and the terminal node information that wherein a side sends, and send that information to another party. The terminal node gives the base station by the relay node reported data information of connection, and the base station is receiving the data reported After information, response message backtracking corresponding with the data information is given into the corresponding terminal node of the data information, After relay node and terminal node receive response message, dormant state is subsequently entered, relay node and terminal node only exist It the respective scheduled down trigger time, can just be waken up.
Wherein, the concrete function of the base station, relay node and terminal node can be found in Fig. 2, Fig. 3 corresponding embodiment Associated description.
The each terminal node of star-like networking requirement of Internet of Things is directly communicated with base station at present, still, when terminal section Point position is remoter, and when with the base station distance farther out, the terminal node often occur can not be with the base station normal communication Problem, and current mesh networking technology is a kind of topology of mesh network, equally has the function of extending in all direction to cobweb, But this networking technology is complicated, at high cost.Networking technology in the embodiment of the present application, each terminal node pass through in one It is communicatively coupled after node and base station, data transmission can not when both having solved star-like networking terminal node and too far base station distance By the problem of, and solve the problems, such as that mesh networking is complicated, at high cost.
Fig. 2 is the implementation process schematic diagram for the data communications method that one embodiment of the application provides, and the embodiment of the present application is answered For the relay node in the communication system, this method as shown in the figure be may comprise steps of:
Step S201, receiving the base station in the communication system is the relay node and the connection relay node The network address of terminal node distribution, is sent to corresponding terminal node for the network address distributed for the terminal node, and Into dormant state.
In the embodiment of the present application, after carrying out networking communication system, relay node and terminal node are periodically broadcasted Screening frame, the screening frame indicate that relay node and terminal node require that communication system is added and obtain the request letter of network address Breath, after base station receives screening frame, can distribute network address accordingly, and be sent out the network address of distribution by way of broadcast Give corresponding terminal node and relay node.Relay node and terminal node are gone off the air and are added after receiving network address Net frame.If having new relay node and terminal node that the communication system, relay node and terminal is added after setting up communication system Node is also required to periodically broadcast screening frame, the network address until receiving base station distribution.Base station is in communication system Relay node and the network address of terminal node distribution are corresponding with the device number of relay node and terminal node, or in After node and terminal node media access control (Media Access Control or Medium Access Control, MAC) address is corresponding, and MAC Address also becomes physical address or hardware address.
Relay node is used as the bridge of terminal node and base station communication in a communications system, has the function of forwarding data information Energy.For example, relay node (R1) can not only receive the network address of the R1 of base station broadcast, additionally it is possible to receive and be connect with R1 Terminal node S1, S2, S3 network address, the network of terminal node S1, S2, S3 that relay node R1 needs to receive Location is sent respectively to terminal node S1, S2, S3.When relaying node R 1 and connect with relay node R1 terminal node S1, S2, After S3 receives network address, relay node enters dormant state.Certainly, in practical application, terminal node can also be corresponding Into dormant state.
As the another embodiment of the application, before the entrance dormant state, further includes:
Obtain it is preset report information, it is described report information include: the base station duty cycle, it is initial on call time, Report cycle;
Based on the network address for reporting information and the terminal node distribution for the connection relay node, calculate every The time of the terminal node reported data information of a connection relay node;
Using the time of the reported data information as the down trigger time of the relay node.
In the embodiment of the present application, after relay node enters dormant state, if connecting the terminal node of the relay node When needing reported data information, relay node must be waken up can the data information that reports of forwarding terminal node.So needing The down trigger time is set in advance.
Time when only terminal node needs reported data information, just relay node is in order to realize the function needs of forwarding Wake-up states are presented, so, the time setting for all terminal node reported data information that some relay node can be connected For the down trigger time.
In order to enable the work that terminal in communication system node, relay node, base station are more balanced, avoids base station at some Between section receive a large amount of data information, time of specific reported data information can be set for each terminal node, owned The time cycle property of terminal node reported data information is distributed.Certainly the down trigger time can also be arranged using other way, For example, can be set the duty cycle of base station, it is initial on call time, report cycle, the duty cycle of base station indicates that base station receives The frequency of terminal node reported data information, initially report the time indicate received first data information in base station on give the correct time Between, report cycle indicates the time difference of terminal node reported data information twice in succession, i.e. single terminal node reported data is believed The frequency of breath.Report information and based on described to connect the network address of the terminal node of relay node distribution, calculating The time of the terminal node reported data information of each connection relay node just needs if network address is participated in calculating Set equally spaced for the network address of terminal node, for example, base station is when distributing network address, according to screening sequence Terminal node distributes network address.
Specifically, it is described based on the network address for reporting information and being distributed for the terminal node, it calculates each The time for connecting the terminal node reported data information of the relay node includes:
Pass through following formula ti=(Di-D1)*T0+t0+ nT, the terminal node for calculating each connection relay node report The time of data information;
Wherein, the i indicates the sequence when terminal node is assigned network address, the tiIndicate i-th of terminal The time of node reported data information, the DiIndicate the network address of i-th of terminal node, the T0Indicate the base station Duty cycle, the t0It calls time on indicating initial, the T expression report cycle, n n-th of report cycle of expression, n ∈ [0,1, 2,……]。
For the network address how clearer explanation reports according to information and distribute for the terminal node, It the time for calculating the terminal node reported data information of each connection relay node, is illustrated with, continues in Fig. 1 Communication system for, base station is that relay node and terminal node distribute network address.2 relay nodes and 6 terminal nodes It is broadcast periodically screening frame, it is assumed that the sequence of screening is R1, S1, S4, S2, R2, S5, S3, S6, the network address of base station distribution It is as follows:
R1:0x0002, S1:0x0100, S2:0x0102, S3:0x0104;
R2:0x0003, S4:0x0101, S5:0x0103, S6:0x0105;
I.e. the network address of relay node sorts according to screening sequence, the network address of terminal node according to screening sequence into Row sequence.
Assuming that the duty cycle T of the base station0For 10 seconds, it is initial on call time t0It is 24 small for 9:00:00, report cycle T When, then according to calculation formula (network address -0x0100) * 10+09:00:00) the current period (n takes 0) can be calculated often The time of the reported data information of a terminal node:
The time of terminal node S1 reported data information is 09:00:00, and the time of terminal node S2 reported data information is 09:00:20, the time of terminal node S3 reported data information are 09:00:40, and relay node R1 is saved according to the relaying is connected The network address of the terminal node S1-S3 of point R1 calculates the time of the relay node R1 reported data information, so relaying section The time of the reported data information of point R1 is 09:00:00,09:00:20 and 09:00:40.
Similarly, the time of terminal node S4 reported data information is 09:00:10, terminal node S5 reported data information Time is 09:00:30, and the time of terminal node S6 reported data information is 09:00:50, and relay node R2 is according to connection The network address of the terminal node S4-S6 of relay node R2 calculates the time of the relay node R2 reported data information, so The time of the reported data information of relay node R2 is 09:00:10,09:00:30 and 09:00:50.Then by each of calculating The time of the reported data information of relay node is set as the time of down trigger.
After being provided with the down trigger time, so that it may RTC terminal is opened, into dormant state, when waiting down trigger Between be waken up.
Step S202 is switched to wake-up states by dormant state, and receive described in connection in the scheduled down trigger time The data information is sent to the base station by the data information that the terminal node of relay node reports.
In the embodiment of the present application, after reaching the down trigger time, relay node is then switched to wake-up by dormant state State, since the down trigger time of setting is the time for connecting the terminal node reported data information of the relay node, institute Will receive and connect the data information that the terminal node of the relay node reports, then by the number after being waken up It is believed that breath is sent to the base station.Down trigger is set by the data information that the terminal node for connecting the relay node reports Time, reduce power consumption to the greatest extent.
As an example, the relay node R1 can be waken up in 09:00:00,09:00:20 and 09:00:40, certainly, this Application embodiment is to reduce power consumption from relay node, in practical applications, is considered from terminal node, can also be by each terminal section The down trigger time of the terminal node is respectively set in the time of point reported data information, for example, by terminal node S1 The disconnected triggered time is set as 09:00:00,09:00:20 is set by the down trigger time of terminal node S2, by terminal node The down trigger time of S3 is set as 09:00:40.In this way, the terminal node of relay node and the data information to be reported of connection It can be waken up simultaneously.
From the point of view of overall communication system, in moment 09:00:00,09:00:10,09:00:20,09:00:30,09:00: 40,09:00:50, each terminal node is successively interrupted by RTC with corresponding relay node and wakes up what simultaneously active reporting needed to transmit Information.
Step S203, after receiving the response message that the data information that the base station is reported according to returns, by institute It states response message and is sent to terminal node corresponding with the response message, and be switched to dormant state by wake-up states, it is described Response message is used to indicate terminal node corresponding with the response message and enters dormant state.
In the embodiment of the present application, base station can return to a response message after receiving the data information reported, this Response message can be the form of data frame, such as ACK frame.This response message can be according to number corresponding with the response message Path backtracking when according to information reporting gives the corresponding terminal node of the data information, for example, terminal node S1 passes through The data information Q1 reported is sent to the base station by relay node R1, base station can will and it is corresponding with the data information Q1 Response message M1 is sent to the terminal node S1 via R1 again.Relay node R1 receives what the base station was reported according to After the response message M1 that data information Q1 is returned, the response message M1 is sent to terminal corresponding with the response message M1 Node S1, and dormant state is switched to by wake-up states.Relay node is after the response message for receiving base station return, by the sound It answers information to be sent to terminal node corresponding with the response message, and is switched to dormant state by wake-up states immediately, it is maximum Degree reduces power consumption.
As the another embodiment of the application, the response message include when the base station receives the data information when Between;
After receiving the response message that the data information that the base station is reported according to returns, further includes:
The time that time and the data information when receiving the data information according to the base station report when Between difference carry out time calibration.
In the embodiment of the present application, real-time time is added in the response message, i.e. base station receives and the response Time when the corresponding data information of information, if time for reporting of this real-time time and the data information there are difference, Time calibration can be carried out according to the difference.
By way of example it is assumed that the real-time time extracted in response message M1 is 08:58:00, and it is corresponding with response message M1 Time for reporting of data information Q1 be 09:00:00, then the difference between them is 2min, then just needing to carry out time school Standard, i.e., by the time of the reported data information of calculating, the down trigger time being arranged according to the time of the reported data information And increase by two minutes with the wakeup time of the down trigger time correlation and dormancy time unification.
It is found by the example above, in the communication system of embodiment shown in Fig. 1, in a report cycle (24 hours), Relay node R1 has only been waken up three times, and wake up time be only S1, S2, S3 reported data information time to reception To the time of response message corresponding with the data information.Each terminal node has actually only been waken up once, i.e. the end The time of end node reported data information to the time for receiving response message corresponding with the data information.It greatly reduces The power consumption of relay node and terminal node considerably increases covering for base station simultaneously as forwarding data information by relay node Lid range.
Fig. 3 is the flow diagram for the data communications method that the another embodiment of the application provides, the embodiment of the present application application Terminal node in the communication system, this method as shown in the figure may comprise steps of:
Step S301, the relay node by connecting the terminal node obtain network from the base station in the communication system Address, and enter dormant state.
As the another embodiment of the application, before the entrance dormant state, further includes:
Obtain it is preset report information, it is described report information include: the base station duty cycle, it is initial on call time, Report cycle;
Based on the network address for reporting information and acquisition, the time of reported data information is calculated;
Using the time of the reported data information as the down trigger time of the terminal node.
It is described based on the network address for reporting information and acquisition, the time for calculating reported data information includes:
Pass through following formula t=(D-D1)*T0+t0+ nT calculates the time of reported data information;
Wherein, the t indicates the time of the terminal node reported data information, and the D indicates the terminal node Network address, the T0Indicate the duty cycle of the base station, the t0It calls time on indicating initial, the T expression reports week Phase, n indicate n-th of report cycle, n ∈ [0,1,2 ... ...].
In the embodiment of the present application, when different from embodiment illustrated in fig. 2, what terminal node calculated is the upper count off of itself It is believed that the time of breath, while what is be arranged is also down trigger time itself, and what relay node calculated is connect with itself The time of all terminal node reported data information, at the same be arranged the down trigger time be the equal of connect with itself own The down trigger time of terminal node.
Step S302 is switched to wake-up states by dormant state in the scheduled down trigger time, and by number to be reported It is believed that breath is sent to the base station by the relay node.
Step S303, in the response message for receiving relay node return of the base station by the connection terminal node Afterwards, dormant state is switched to by wake-up states.
As the another embodiment of the application, the response message include when the base station receives the data information when Between;
After receiving the base station by connecting the response message that the relay node of the terminal node returns, also wrap It includes:
The time that time and the data information when receiving the data information according to the base station report when Between difference carry out time calibration.
Embodiment shown in Fig. 3 is that data communications method is described from different angles with embodiment shown in Fig. 2, Embodiment shown in Fig. 2 is described using relay node as executing subject, and embodiment shown in Fig. 3 is made with terminal node It is described for executing subject, the detailed description being referred in embodiment illustrated in fig. 2.
The terminal node place different from relay node is that terminal node is reported to data information and the reception of base station Base station distribution network address and base station issue response message be required to be forwarded by relay node.Work as relay node In the presence of independent device, suspend mode, wake-up, the switching between suspend mode can be carried out according to the method for embodiment illustrated in fig. 2, Associated suspend mode can be also carried out according to the method for embodiment illustrated in fig. 3 with the terminal node of relay node connection, call out It wakes up, the switching between suspend mode, certainly, the terminal node connecting with the relay node can also be always maintained at wake-up states.Together Reason can carry out suspend mode according to the method for embodiment illustrated in fig. 3, wake-up, stop in the presence of terminal node is as independent device Switching between dormancy, the relay node connecting with the terminal node can also carry out phase according to the method for embodiment illustrated in fig. 2 Associated suspend mode, wake-up, the switching between suspend mode, certainly, the relay node connecting with the terminal node can also be protected always Hold wake-up states.Either relay node or terminal node, according to above-mentioned data communications method carried out suspend mode, wake-up, Switching before suspend mode just reduces the power consumption of itself.If relay node and terminal node carry out suspend mode, wake-up, lie fallow it Between switching, then terminal node can be waken up simultaneously with the relay node for connecting the terminal node.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Fig. 4 is the schematic block diagram for the relay node that the another embodiment of the application provides.As shown in figure 4, in the embodiment Include: one or more processors 40, memory 41 after node 4 and is stored in the memory 41 and can be in the processing The computer program 42 run on device 40.The processor 40 realizes that above-mentioned each data are logical when executing the computer program 42 Believe the step in embodiment of the method, such as step S201 to S203 shown in Fig. 2.
The computer program 42 can be divided into one or more module/units, and one or more of modules/ Unit is stored in the memory 41, and is executed by the processor 40, to complete the application.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program 42 in the relay node 4.For example, the computer program 42 is with being divided into network Location sending module, the first data information sending module, response message sending module.
Network address sending module, for receiving the base station in the communication system as the relay node and connection institute The network address for stating the terminal node distribution of relay node, the network address distributed for the terminal node is sent to corresponding Terminal node, and enter dormant state;
First data information sending module, for being switched to wake-up shape by dormant state in the scheduled down trigger time State, and receive and connect the data information that the terminal node of the relay node reports, the data information is sent to the base It stands;
Response message sending module, in the response for receiving the data information return that the base station is reported according to After information, the response message is sent to terminal node corresponding with the response message, and be switched to not by wake-up states Dormancy state, the response message are used to indicate terminal node corresponding with the response message and enter dormant state.
Optionally, further includes:
The first information obtains module, for it is described enter dormant state before, obtain it is preset report information, it is described on Breath of notifying include: the base station duty cycle, it is initial on call time, report cycle;
First computing module, for reporting information and based on described to connect the distribution of the terminal node of the relay node Network address, calculate the time of the terminal node reported data information of each connection relay node;
First setup module, for using the time of the reported data information as when the down trigger of the relay node Between.
Optionally, first computing module is also used to:
Pass through following formula ti=(Di-D1)*T0+t0+ nT, the terminal node for calculating each connection relay node report The time of data information;
Wherein, the i indicates the sequence when terminal node is assigned network address, the tiIndicate i-th of terminal The time of node reported data information, the DiIndicate the network address of i-th of terminal node, the T0Indicate the base station Duty cycle, the t0It calls time on indicating initial, the T expression report cycle, n n-th of report cycle of expression, n ∈ [0,1, 2,……]。
Optionally, the response message includes the time when base station receives the data information;
The computer program can also include:
First calibration module, in the response message for receiving the data information return that the base station is reported according to Afterwards, the time difference for the time that time and the data information when receiving the data information according to the base station report into Row time calibration.
Fig. 5 is the schematic block diagram for the terminal node that the another embodiment of the application provides.As shown in figure 5, the end of the embodiment End node 5 includes: one or more processors 50, memory 51 and is stored in the memory 51 and can be in the processing The computer program 52 run on device 50.The processor 50 realizes that above-mentioned each data are logical when executing the computer program 52 Believe the step in embodiment of the method, such as step S301 to S303 shown in Fig. 3.
The computer program 52 can be divided into one or more module/units, and one or more of modules/ Unit is stored in the memory 51, and is executed by the processor 50, to complete the application.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program 52 in the terminal node 4.For example, the computer program 42 can be divided into the first net Network address sending module, the first data information sending module, the first response message sending module.
Network address obtains module, for the relay node by connecting the terminal node from the communication system Base station obtains network address, and enters dormant state;
Second data information sending module, for being switched to wake-up shape by dormant state in the scheduled down trigger time State, and data information to be reported is sent to the base station by the relay node;
State switching module, for receiving what the base station was returned by connecting the relay node of the terminal node After response message, dormant state is switched to by wake-up states.
Optionally, further includes:
Second data obtaining module, for obtain it is preset report information, it is described that report information include: the work of the base station Make the period, it is initial on call time, report cycle;
Second computing module, for calculating reported data information based on the network address for reporting information and acquisition Time;
Second setup module, for using the time of the reported data information as when the down trigger of the terminal node Between.
Optionally, second computing module is also used to:
Pass through following formula t=(D-D1)*T0+t0+ nT calculates the time of reported data information;
Wherein, the t indicates the time of the terminal node reported data information, and the D indicates the terminal node Network address, the T0Indicate the duty cycle of the base station, the t0It calls time on indicating initial, the T expression reports week Phase, n indicate n-th of report cycle, n ∈ [0,1,2 ... ...].
Optionally, the response message includes the time when base station receives the data information;
Computer program further include:
Second calibration module, for receiving what the base station was returned by connecting the relay node of the terminal node The time that time and the data information when receiving the data information according to the base station after response message report Time difference carries out time calibration.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the relay node/terminal node is divided into different functional unit or mould Block, to complete all or part of the functions described above.Each functional unit in embodiment, module can integrate at one It manages in unit, is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units In, above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.Separately Outside, each functional unit, module specific name be also only for convenience of distinguishing each other, the protection model being not intended to limit this application It encloses.The specific work process of unit in above-mentioned relay node/terminal node, module, can be with reference in preceding method embodiment Corresponding process, details are not described herein.
Relay node/the terminal node includes but are not limited to processor, memory.Those skilled in the art can manage Solution, Fig. 4/5 are only one example of relay node/terminal node, are not constituted to the restriction of relay node/terminal node, It may include perhaps combining certain components or different components, such as relaying section than illustrating more or fewer components Point/terminal node can also include input equipment, output equipment, network access equipment, bus etc..
The processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory can be the internal storage unit of the relay node/terminal node, such as relay node/terminal The hard disk or memory of node.The memory is also possible to the External memory equipment of the relay node/terminal node, such as institute State the plug-in type hard disk being equipped on relay node/terminal node, intelligent memory card (Smart Media Card, SMC), safe number Word (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory can also both include The internal storage unit of the relay node/terminal node also includes External memory equipment.The memory is described for storing Other programs and data needed for computer program and the relay node/terminal node.The memory can be also used for Temporarily store the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed relay node/terminal node and method, It may be implemented in other ways.For example, relay node described above/terminal node embodiment is only schematic , for example, the division of the module or unit, only a kind of logical function partition, can there is other draw in actual implementation The mode of dividing, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, Or it does not execute.Another point, shown or discussed mutual coupling or direct-coupling or communication connection can be by one The INDIRECT COUPLING or communication connection of a little interfaces, device or unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (12)

1. a kind of data communications method, which is characterized in that applied to the relay node in communication system, the data communications method Include:
Receive the terminal node distribution that the base station in the communication system is the relay node and the connection relay node Network address, the network address distributed for the terminal node is sent to corresponding terminal node, and enter dormant state;
In the scheduled down trigger time, wake-up states are switched to by dormant state, and receive the end for connecting the relay node The data information is sent to the base station by the data information that end node reports;
After receiving the response message that the data information that the base station is reported according to returns, the response message is sent The corresponding terminal node of the response message is given, and is switched to dormant state by wake-up states, the response message is for referring to Show that terminal node corresponding with the response message enters dormant state.
2. data communications method as described in claim 1, which is characterized in that before the entrance dormant state, further includes:
Obtain it is preset report information, it is described report information include: the base station duty cycle, it is initial on call time, report Period;
Based on the network address for reporting information and the terminal node distribution for the connection relay node, each company is calculated Connect the time of the terminal node reported data information of the relay node;
Using the time of the reported data information as the down trigger time of the relay node.
3. data communications method as claimed in claim 2, which is characterized in that described to report information based on described and be described The network address of terminal node distribution calculates the time packet of the terminal node reported data information of each connection relay node It includes:
Pass through following formula ti=(Di-D1)*T0+t0+ nT calculates the terminal node reported data of each connection relay node The time of information;
Wherein, the i indicates the sequence when terminal node is assigned network address, the tiIt indicates on i-th of terminal node Report the time of data information, the DiIndicate the network address of i-th of terminal node, the T0Indicate the work week of the base station Phase, the t0It calls time on indicating initial, the T expression report cycle, n n-th of report cycle of expression, n ∈ [0,1, 2,……]。
4. data communications method as described in any one of claims 1 to 3, which is characterized in that the response message includes described Base station receives the time when data information;
After receiving the response message that the data information that the base station is reported according to returns, further includes:
The time difference for the time that time and the data information when receiving the data information according to the base station report Carry out time calibration.
5. a kind of data communications method, which is characterized in that applied to the terminal node in communication system, the data communications method Include:
Relay node by connecting the terminal node obtains network address from the base station in the communication system, and enters and stop Dormancy state;
In the scheduled down trigger time, wake-up states are switched to by dormant state, and data information to be reported is passed through into institute It states relay node and is sent to the base station;
After receiving the base station by connecting the response message that the relay node of the terminal node returns, by wake-up states It is switched to dormant state.
6. data communications method as claimed in claim 5, which is characterized in that before the entrance dormant state, further includes:
Obtain it is preset report information, it is described report information include: the base station duty cycle, it is initial on call time, report Period;
Based on the network address for reporting information and acquisition, the time of reported data information is calculated;
Using the time of the reported data information as the down trigger time of the terminal node.
7. data communications method as claimed in claim 6, which is characterized in that described to report information and acquisition based on described Network address, calculate reported data information time include:
Pass through following formula t=(D-D1)*T0+t0+ nT calculates the time of reported data information;
Wherein, the t indicates the time of the terminal node reported data information, and the D indicates the network of the terminal node Address, the T0Indicate the duty cycle of the base station, the t0It calls time on indicating initial, the T indicates report cycle, n table Show n-th of report cycle, n ∈ [0,1,2 ... ...].
8. such as the described in any item data communications methods of claim 5 to 7, which is characterized in that the response message includes described Base station receives the time when data information;
After receiving the base station by connecting the response message that the relay node of the terminal node returns, further includes:
The time difference for the time that time and the data information when receiving the data information according to the base station report Carry out time calibration.
9. a kind of relay node, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one the method.
10. a kind of terminal node, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 5 to 8 when executing the computer program The step of any one the method.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes the step such as any one of Claims 1-4 the method when the computer program is executed by one or more processors The step of rapid and/or any one of such as claim 5 to 8 the method.
12. a kind of communication system characterized by comprising
Base station, at least one relay node as claimed in claim 9, at least one terminal section as claimed in claim 10 Point, each terminal node are connect by a relay node with the base station;
The base station, for distributing network address for the relay node and the terminal node.
CN201711392739.1A 2017-12-21 2017-12-21 Data communication method, relay node, terminal node and communication system Active CN109951890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711392739.1A CN109951890B (en) 2017-12-21 2017-12-21 Data communication method, relay node, terminal node and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711392739.1A CN109951890B (en) 2017-12-21 2017-12-21 Data communication method, relay node, terminal node and communication system

Publications (2)

Publication Number Publication Date
CN109951890A true CN109951890A (en) 2019-06-28
CN109951890B CN109951890B (en) 2022-03-22

Family

ID=67004699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711392739.1A Active CN109951890B (en) 2017-12-21 2017-12-21 Data communication method, relay node, terminal node and communication system

Country Status (1)

Country Link
CN (1) CN109951890B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572806A (en) * 2019-09-12 2019-12-13 北京汇通天下物联科技有限公司 Bluetooth-based time correction method and device for temperature control relay system
CN111651424A (en) * 2020-06-10 2020-09-11 中国科学院深圳先进技术研究院 Data processing method and device, data node and storage medium
CN112188598A (en) * 2019-07-04 2021-01-05 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN113347683A (en) * 2021-05-20 2021-09-03 珠海格力电器股份有限公司 Networking method and device for regional control system and regional control system
CN113891365A (en) * 2021-10-15 2022-01-04 中国联合网络通信集团有限公司 Method, device, equipment, system and storage medium for controlling relay equipment
WO2022165752A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 State switching method, apparatus, device, and storage medium
CN115150211A (en) * 2022-06-20 2022-10-04 浙江大华技术股份有限公司 Information transmission method and device and electronic equipment
CN115150916A (en) * 2021-03-30 2022-10-04 内蒙古显鸿科技股份有限公司 Wireless networking method and wireless networking system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network
CN106341877A (en) * 2016-09-29 2017-01-18 青岛海信移动通信技术股份有限公司 Relay device state control method, relay device and communication system
US20170118739A1 (en) * 2015-10-22 2017-04-27 Motorola Mobility Llc System and method for establishing a paging proxy in a wide area wireless network
US20170237849A1 (en) * 2016-02-16 2017-08-17 Livingston Enterprises Llc Anti-distracted driver system
CN107396417A (en) * 2017-06-23 2017-11-24 青岛海尔空调电子有限公司 Network communication method for network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network
US20170118739A1 (en) * 2015-10-22 2017-04-27 Motorola Mobility Llc System and method for establishing a paging proxy in a wide area wireless network
US20170237849A1 (en) * 2016-02-16 2017-08-17 Livingston Enterprises Llc Anti-distracted driver system
CN106341877A (en) * 2016-09-29 2017-01-18 青岛海信移动通信技术股份有限公司 Relay device state control method, relay device and communication system
CN107396417A (en) * 2017-06-23 2017-11-24 青岛海尔空调电子有限公司 Network communication method for network system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188598B (en) * 2019-07-04 2024-04-02 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine-readable medium
CN112188598A (en) * 2019-07-04 2021-01-05 阿里巴巴集团控股有限公司 Data processing method, device, equipment and machine readable medium
CN110572806A (en) * 2019-09-12 2019-12-13 北京汇通天下物联科技有限公司 Bluetooth-based time correction method and device for temperature control relay system
CN111651424A (en) * 2020-06-10 2020-09-11 中国科学院深圳先进技术研究院 Data processing method and device, data node and storage medium
CN111651424B (en) * 2020-06-10 2024-05-03 中国科学院深圳先进技术研究院 Data processing method, device, data node and storage medium
US11997743B2 (en) 2021-02-05 2024-05-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. State switching method, apparatus, device, and storage medium
WO2022165752A1 (en) * 2021-02-05 2022-08-11 Oppo广东移动通信有限公司 State switching method, apparatus, device, and storage medium
CN115150916B (en) * 2021-03-30 2024-06-07 内蒙古显鸿科技股份有限公司 Wireless networking method and wireless networking system
CN115150916A (en) * 2021-03-30 2022-10-04 内蒙古显鸿科技股份有限公司 Wireless networking method and wireless networking system
CN113347683A (en) * 2021-05-20 2021-09-03 珠海格力电器股份有限公司 Networking method and device for regional control system and regional control system
CN113347683B (en) * 2021-05-20 2022-05-03 珠海格力电器股份有限公司 Networking method and device for regional control system and regional control system
CN113891365B (en) * 2021-10-15 2024-01-26 中国联合网络通信集团有限公司 Relay device control method, device, system and storage medium
CN113891365A (en) * 2021-10-15 2022-01-04 中国联合网络通信集团有限公司 Method, device, equipment, system and storage medium for controlling relay equipment
CN115150211B (en) * 2022-06-20 2023-07-14 浙江大华技术股份有限公司 Information transmission method and device and electronic equipment
CN115150211A (en) * 2022-06-20 2022-10-04 浙江大华技术股份有限公司 Information transmission method and device and electronic equipment

Also Published As

Publication number Publication date
CN109951890B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN109951890A (en) A kind of data communications method, relay node, terminal node and communication system
CN109041181A (en) Wireless communications method, system and gateway
CN105657639B (en) Dual-mode equipment and its method realized while communicated
CN109547578B (en) Networking method for electronic price tag system
CN103366539A (en) Wireless meter reading system and broadcast-type reading mode
CN103533606A (en) Information transmission method of wireless local-area network, terminal and access device
CN112165413B (en) Equipment state reporting method and device and electronic device
CN110290574A (en) A kind of data transmission method, device, equipment, system and storage medium
CN109997387A (en) Protenchyma networked user devices differentiation
CN109963325A (en) A kind of localization method based on base station, device and equipment
CN107147690A (en) A kind of electrical power system wide-area method for message transmission
CN106954258A (en) A kind of paging processing method, device and paging system
CN105993007A (en) Multipoint interface shortest pulse width priority resolution
CN104186013B (en) A kind of data processing equipment and method
CN109348434A (en) A kind of sending method of scene information, sending device and terminal device
CN105119726A (en) Wireless sensor network node rapid awakening method and apparatus thereof
CN105635173B (en) Intelligent power distribution terminal communicates weak coupling modular system and method
CN110392994A (en) HARQ feedback method, device and readable storage medium storing program for executing
CN106302432B (en) A kind of communication device and control method based on car networking
CN103036668B (en) Configuration and synchronization method between a kind of rack-mount unit card based on order line
CN108834204A (en) Paging method, system and the network equipment
JP6616184B2 (en) Data transmission method and apparatus
CN104240048A (en) Comprehensive order handling platform
CN109845346A (en) A kind of method, sending device and the receiving device of wake on wireless equipment
CN110677898B (en) Interactive electronic label equipment communication system and method

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