A kind of communication system, method and activities monitoring system
Technical field
The present invention relates to a kind of Smart Home technical field more particularly to communication system, method and activities monitoring systems.
Background technology
With the development of wireless communication technique, in a wireless communication system, when multiple user equipmenies are needed by same
When base station and other users equipment are communicated, it is necessary to assign different spies to the signal that different user devices and base station are sent out
Sign.These features make base station comform multi-user installation transmitting signal in, it is letter which user equipment issues to distinguish
Number;Each user equipment also can identify which is intended for the signal of oneself in the signal that base station is sent out.To realize multi-user
Equipment is communicated by same base station, in a wireless communication system, is generally realized using multiple access technology.
Common multiple access technology is divided into frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) etc..Multiple access
Technology is more demanding for the synchronization accuracy of user equipment and base station in many-to-one communication system, so as to such
The hardware and software requirement of communication are higher and expensive.However, for synchronization accuracy communication network of less demanding,
Using above-mentioned multiple access technology, higher cost can be brought.
Invention content
In order to solve the above technical problem existing in the prior art, a kind of communication system of present invention offer, method and work
Dynamic monitoring system realizes many-one communication, reduction pair when multiple slaves are needed with main-machine communication by frequency separation and switching
The requirement of hardware cost, reduces cost.
First aspect of the embodiment of the present invention provides a kind of communication system, including:Host and slave, wherein slave at least wrap
It includes following two:First slave and the second slave;
First time period t1 working frequency of the host in communication cycle T is first frequency f1, and the host is in the T
Second time period t2 working frequencies be second frequency f2, wherein T=t1+t2;The f1 and f2 is different;
The first slave working frequency is f1, and the second slave working frequency is f2;
First slave sends the first data in the t1 and t2 to the host, and second slave is in institute
It states t1 and the t2 and sends the second data to the host.
Optionally, the t1 and the t2 are equal.
Optionally, the host includes:Host controller, host radio-frequency module and master machine antenna;
First slave and second slave include:From machine controller, slave radio-frequency module and slave antenna;
It is described from machine controller, pass through the slave antenna transmission data for controlling slave radio-frequency module;
The host controller receives the slave day for controlling the host radio-frequency module by the master machine antenna
The data that line is sent.
Optionally, the master machine antenna is omni-directional antenna;The slave antenna is oriented antenna.
Optionally, the master machine antenna and slave antenna receive and dispatch the radiofrequency signal of 2.45GHz frequency ranges.
Second aspect of the embodiment of the present invention provides a kind of communication means, is applied to the communication equipment described in first aspect,
It is characterized in that, includes the following steps:
Host receives the first data that the first slave is sent in the first time period t1 of communication cycle T, and the host is logical
Believe that the first time period t1 working frequencies of cycle T are first frequency f1;
The host receives the second data that the second slave is sent in the second time period t2 of the T, and the host is in institute
The second time period t2 working frequencies for stating T are second frequency f2, wherein T=t1+t2;The f1 and f2 is different;
First slave sends the first data in the t1 and the t2, and second slave is in the t1 and described
T2 sends the second data.
Optionally, the t1 and the t2 are equal.
The third aspect of the embodiment of the present invention provides a kind of activities monitoring system, including:It is installed on indoor host and slave,
Wherein slave includes at least following two:First slave and the second slave;
First time period t1 working frequency of the host in communication cycle T is first frequency f1, and the host is in the T
Second time period t2 working frequencies be second frequency f2, wherein T=t1+t2;The f1 and f2 is different;
The first slave working frequency is f1, and the second slave working frequency is f2;
First slave includes first kind sensor, and second slave includes Second Type sensor;
First slave is installed on the first room, and second slave is installed on the second room;
First slave sends the first kind Sensor monitoring in the t1 and t2 to the host
First activity data, second slave send the Second Type sensor prison in the t1 and t2 to the host
The second activity data surveyed.
Optionally, the activity detection system further includes:Server;
The host further includes:Gsm module;
The host is additionally operable to activity data being sent to the server by the gsm module;
The server, for carrying out activity analysis to the monitored target according to the activity data.
Optionally, the host and slave are installed within the scope of the first preset height of indoor distances ground.
Compared with prior art, the present invention has at least the following advantages:
Communication system is respectively the first slave and the second slave distributes different working frequencies, i.e. first frequency f1 and second
Frequency f2, host are f1 in the working frequency of the first time period t1 of communication cycle T, receive the first number that the first slave is sent
According to;Be f2 in second time period t2 working frequencies, receive the second data that the second slave is sent, wherein the first slave in t1 and
The first data are sent in the t2 times;Second slave sends the second data within t1 the and t2 times.
As it can be seen that technical solution through the invention, in many-one communication system, respectively different slaves is respectively different
Working frequency, and the working frequency of slave is fixed, the regular saltus step of host work frequency so that host can receive it is multiple from
The data that machine is sent, the content sent within communication cycle t1 and the t2 period due to slave it is identical, even if host and slave
Synchronised clock there are some differences, it is also ensured that host can completely receive slave transmission data, therefore, a side
Face effectively reduces the interference communicated between each slave since slave distributes different working frequencies, on the other hand, host with
The accuracy of synchronised clock between slave reduces communications cost so as to reduce the requirement to communication hardware.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments described in application, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other attached drawings.
Figure 1A is a kind of communication system architecture figure provided by the invention;
Figure 1B is that a kind of host provided by the invention switches schematic diagram in different time sections working frequency
Fig. 2 is that another host provided by the invention switches schematic diagram in different time sections working frequency;
Fig. 3 is another communication system architecture figure provided by the invention;
Fig. 4 is a kind of communication means flow chart provided by the invention;
Fig. 5 is a kind of activities monitoring system structure chart provided by the invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
The every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
The technical solution provided to facilitate the understanding of the present invention carries out letter to the background technology of technical solution of the present invention below
Unitary declaration.
Inventor has found under study for action, in existing multiple access technology, when multiple user equipmenies and base station communication, for
The synchronised clock requirement communicated between family equipment and base station is very high, to which ensure can be accurately right between user equipment and base station
The information just sent.For example, frequency division multiple access FDMA, the working frequency of different user equipmenies is different, when the first user equipment profit
With frequency f when the t0 periods sending information, base station must be operated in frequency f within the t0 periods, so as to accurately receive
The information that first user equipment is sent can cause base station complete if the first user equipment has differences with base station synchronization
The full information for receiving the first user equipment and sending, causes partial information to be lost.
That is, when using FDMA, it is synchronous more demanding with base station to user equipment.However, being required for synchronous
For general communication system, if using existing multiple access technology, it is higher to hardware and software requirement so that expensive.
Based on this, an embodiment of the present invention provides a kind of communication system, which includes host and slave, wherein
Slave includes at least the first slave and the second slave, and the first slave working frequency is f1, the second slave working frequency is f2, host
It is f1 in the first time period t1 working frequencies of communication cycle T, receives the first data that the first slave is sent;In second time period
T2 working frequencies are f2, receive the second data that the second slave is sent, wherein the first slave sends the in t1 the and t2 periods
One data, the second slave send the second data in t1 and t2 periods section,
As it can be seen that technical solution through the invention, in many-one communication system, respectively different slaves is respectively different
Working frequency, and the working frequency of slave is fixed, the regular saltus step of host work frequency so that host can receive it is multiple from
The data that machine is sent, the content sent within communication cycle t1 and the t2 period due to slave it is identical, even if host and slave
Synchronised clock there are some differences, can also avoid due to asynchronous the case where causing partial data to be lost, a side
Face effectively reduces the interference communicated between each slave since slave distributes different working frequencies, on the other hand, host with
The accuracy of synchronised clock between slave reduces communications cost so as to reduce the requirement to communication hardware.
For the ease of those skilled in the art understand that the present invention, below in conjunction with a pair of communication provided by the invention of embodiment
System lays down a definition explanation.
Embodiment one
Referring to Figure 1A, which is a kind of communication system architecture figure provided in an embodiment of the present invention.
Communication system provided in this embodiment includes:Host 10 and slave, wherein slave include at least following two:First
Slave 21 and the second slave 22.
First time period t1 working frequency of the host 10 in communication cycle T is first frequency f1, and the host 10 exists
The second time period t2 working frequencies of the T are second frequency f2, wherein T=t1+t2;The f1 and f2 is different.
First slave, 21 working frequency is f1, and 22 working frequency of the second slave is f2;
First slave 21 sends the first data, second slave in the t1 and t2 to the host 10
22 send the second data in the t1 and t2 to the host 10.
Wherein, first time period t1 and second time period t2 can be equal, i.e., communication cycle T are divided into two times
Section, host 10 are operated in different frequencies in two different periods respectively, are connect respectively so as to section in different times
Receive the first slave 21, the data that the second slave 22 is sent.
For ease of understanding, referring to Figure 1B, which is that a kind of host provided by the embodiment is cut in different time sections working frequency
Schematic diagram, Tu1BZhong, t1+t2=T are changed, host is f1 in t1 period working frequencies, is switched in t2 period working frequencies
f2。
In the present embodiment, the quantity of slave can be determined according to the scale and practical communication situation of communication system, when from
It when the quantity of machine increases, correspondingly needs to distribute different working frequencies for different slaves, ensures different slaves using not
Same frequency is communicated, and mutual interference is reduced.For example, in addition to the first slave 21 and the second slave 22 in communication system
Except, also third slave, the 4th slave, then the working frequency of third slave can be f3, and the working frequency of the 4th slave can
Think f4.
It is understood that when slave quantity changes, then need by communication cycle be divided into corresponding slave quantity when
Between section, to receive the data that different slaves are sent in host in different times section.For example, when communication system include four from
When machine, then cycle T can be divided into four periods, host is f1 in first time period t1 working frequencies, receive first from
The first data that machine is sent;It is f2 in second time period t2 working frequencies, receives the second data that the second slave is sent;In third
3 working frequency of time period t is f3, receives the third data that third slave is sent;It is f4 in 4 working frequency of the 4th time period t, connects
Receive the 4th data of the 4th slave transmission.
For ease of understanding, another host shown in Figure 2 switches schematic diagram in different time sections working frequency, in Fig. 2,
T1+t2+t3+t4=T, host are f1 in t1 period working frequencies, f2 are switched in t2 period working frequencies, in the t3 times
Section working frequency is switched to f3, and t4 is switched in t4 period working frequencies, in next communication cycle T, the work frequency of host
Rate cyclic switching.
In the present embodiment, each slave in communication system sends itself same data in entire communication cycle T, former
Because being, host receives the data that different slaves are sent using switching frequency mode, theoretically since host frequency hopping can only
Receive the partial data that slave is sent, for example, the data that host receives are only the first slave in t1 time hop counts evidences, and first from
The data that machine is sent in the t2 periods can not receive since host is different from the first slave working frequency, lead to loss of data.
Equally, also there is similar situation in the second slave.
To solve the problems, such as this, in the present embodiment, it is desirable that the data that slave is transmitted in t1 the and t2 periods must be identical, from
And slave loss of data is avoided, ensure communication quality.Moreover, because the data phase that slave transmits in the same communication cycle
Together, it ensure that even if the error on host and slave are synchronous there are some, can also completely receive the data of slave transmission, drop
Low synchronous requirement, and then reduce the hardware and software requirement and manufacturing cost to communication equipment.
For example, the first slave sends the first data in t1, t2, t3, t4 period to host;Second slave t1, t2,
T3, t4 period send the second data to host;Third slave sends third number in t1, t2, t3, t4 period to host
According to;4th slave t1, t2, t3, t4 period sent the 4th data to host.According to host hop period, host is in t3
Between working frequency in section be f3, receive the third data that third slave is sent and prolong since host fails timely synchronization
Late, host can be caused to lose a part of data.Since operating time is certain on f3 for host, the time of host saltus step also can be corresponding
Delay, furthermore third slave sends third data in t3 periods and t4 periods, and therefore, host can connect before saltus step
The data lost are received, to ensure that host can receive complete data from third slave, ensure that communication quality.
As it can be seen that technical solution through the invention, in many-one communication system, respectively different slaves is respectively different
Working frequency, and the working frequency of slave is fixed, the regular saltus step of host work frequency so that host can receive it is multiple from
The data that machine is sent, the content sent within communication cycle t1 and the t2 period due to slave it is identical, even if host and slave
Synchronised clock there are some differences, it is also ensured that host can completely receive slave transmission data, therefore, a side
Face effectively reduces the interference communicated between each slave, another party due to distributing different working frequencies for different slaves
Face, the accuracy of the synchronised clock between host and slave reduce logical so as to reduce the requirement to communication hardware
Believe cost.
Embodiment one describes in communication system, the communication between host and slave, below in conjunction with embodiment two to master
The concrete composition of machine and slave is introduced
Embodiment two
Referring to Fig. 3, which is another communication system architecture figure provided in an embodiment of the present invention.
In the present embodiment, communication system includes host 10, the first slave 20 and the second slave 30.
Wherein, host 10 includes:Host controller 11, host radio-frequency module 12 and master machine antenna 13.
First slave 20 and third slave 30 include:From machine controller, slave radio-frequency module and slave antenna.
It is understood that the first slave 20 includes:From machine controller 21, slave radio-frequency module 22 and slave antenna 23;
Second slave 30 includes:From machine controller 31, slave radio-frequency module 32 and slave antenna 33.
It is described from machine controller 21, pass through 23 transmission data of slave antenna for controlling slave radio-frequency module 22.
It is described from machine controller 31, pass through 33 transmission data of slave antenna for controlling slave radio-frequency module 32.
The host controller 11 is received for controlling the host radio-frequency module 12 by the master machine antenna 13 described
The data that slave antenna 23 or slave antenna 33 are sent.
Wherein, master machine antenna 13, slave antenna 23 and slave antenna 33 receive and dispatch the radiofrequency signal of 2.45G frequency ranges.
In the present embodiment, controls slave radio-frequency module 22 from machine controller 21 and pass through slave antenna 23 using working frequency f1
Transmission data;Slave radio-frequency module 32, which is controlled, from machine controller 31 passes through 33 transmission data of slave antenna using working frequency f2.
It is f1 that host controller 11, which controls host radio-frequency module 12 in first time period t1 working frequencies, by master machine antenna 13 receive from
The data that machine antenna 23 is sent;It is f2 in second time period t2 working frequencies, receiving slave antenna 33 by master machine antenna 13 sends out
The data sent.
In some embodiment party, master machine antenna 13 is that omni-directional antenna, slave antenna 23 and slave antenna 33 are directive property
Antenna.
Omni-directional antenna is 360 degree of homogeneous radiations in the horizontal direction;Oriented antenna is in the horizontal and vertical directions
It is radiated within the scope of certain angle.
In practical application, since the energy of the data-signal of slave radio-frequency module transmission is certain and decays in communication process
Seriously, if slave nature are omnidirectional antenna, the data-signal energy emitted in each direction can be caused smaller, along with biography
Decaying during broadcasting causes data-signal very faint, can not reach target location, eventually lead to and cannot achieve slave and host
Between communication, therefore, slave antenna use directive property nature, the transmitted data signal within the scope of certain angle, ensure data
Signal can reach target location, complete the communication between distinct device.
The communication system provided through this embodiment, host controller control host radio-frequency module section work in different times
Make in different frequencies, receives the data that different slaves are sent will pass through master machine antenna, realize many-one and communicate, while by
In the identical of the content that slave is sent within communication cycle t1 and the t2 period, even if there are one for the synchronised clock of host and slave
A little differences, it is also ensured that host can completely receive slave transmission data, therefore, on the one hand, due to for it is different from
Machine distributes different working frequencies and effectively reduces the interference communicated between each slave, on the other hand, between host and slave
The accuracy of synchronised clock reduce communications cost so as to reduce the requirement to communication hardware.
Based on a kind of communication system that above-described embodiment provides, the present embodiment additionally provides a kind of communication means, ties below
Embodiment three is closed to be introduced.
Embodiment three
Referring to Fig. 4, which is a kind of communication means flow chart provided in an embodiment of the present invention.
Communication means described in the present embodiment can be applied to the communication equipment described in embodiment one and embodiment two, the party
Method may include:
S401:Host receives the first data that the first slave is sent, the host in the first time period t1 of communication cycle T
It is first frequency f1 in the first time period t1 working frequencies of communication cycle T.
S402:The host receives the second data that the second slave is sent, the host in the second time period t2 of the T
It is second frequency f2, wherein T=t1+t2 in the second time period t2 working frequencies of the T;The f1 and f2 is different.
It should be noted that the first slave working frequency is f1, the first data are sent in t1 and t2;Second slave work
Working frequency is f2, and the second data are sent in t1 and t2.
In some embodiments, t1 and t2 are equal, i.e., by two periods of communication cycle T deciles, host is at first
Between the first data that the first slave is sent are received in section t1, the second number of the second slave transmission is received in second time period t2
According to.The 5th data that the generation of the first slave is continued in the first time period t1 of next communication cycle T, in the second time
The 6th data that the second slave is sent are received in section t2.It recycles successively, host receives not in the different time sections of communication cycle T
The data sent with slave.Wherein, the content of the first data, the second data, the 5th data and the 6th data is different.
By communication means provided by the embodiment, host is different in the different time sections working frequency of a communication cycle,
To receive the data that different slaves are sent, the content that is sent within communication cycle t1 and the t2 period due to slave it is identical,
Even if the synchronised clock of host and slave there are some differences, can also be avoided due to the asynchronous feelings for causing partial data to be lost
Condition, therefore, on the one hand, due to different slaves distribute different working frequencies effectively reduce communicate between each slave it is dry
It disturbs, on the other hand, the accuracy of the synchronised clock between host and slave wants communication hardware so as to reduce
It asks, reduces communications cost.
Above mentioned embodiment provide communication systems and communication means, can be real using above-mentioned communication system and communication means
Existing many-to-one communication, wherein many-to-one communication mode can be applied to many scenes, such as family endowment, smart home
Or home for destitute etc..By taking family endowment as an example, old man is solitary to be in, to understand old solitary people rule of life and situation in time,
Solitary the daily of the old man being in can be monitored, multiple monitoring devices are set in the environment that old man lives, using more
A monitoring device obtains old man's daily life state, and by acquisition for reflecting that the activity data of old man's animation is sent to
Host.
To realize that monitoring purpose, the present embodiment additionally provide a kind of activities monitoring system using above-mentioned communication system, below
It four is introduced in conjunction with the embodiments.
Example IV
Referring to Fig. 5, which is a kind of activities monitoring system structure chart provided in an embodiment of the present invention.
Activities monitoring system includes in the present embodiment:It is installed on indoor host 10 and slave, wherein slave includes at least
It is following two:First slave 20 and the second slave 30.
First time period t1 working frequency of the host 10 in communication cycle T is first frequency f1, and the host 10 exists
The second time period t2 working frequencies of the T are second frequency f2, wherein T=t1+t2;The f1 and f2 is different.
First slave, 20 working frequency is f1, and 30 working frequency of the second slave is f2.
First slave 20 includes first kind sensor 201, and second slave 530 includes Second Type sensor
301。
First slave 20 is installed on the first room, and second slave 30 is installed on the second room.
In the present embodiment, the quantity of slave can be set according to the size or room number of user's residential building.
For example, since the environment that old man lives includes that multiple rooms or living space are larger, if slave is less, possibly can not be complete
Face monitors the activity condition of old man, therefore multiple slaves can be arranged for monitoring the activity condition of old man indoors.
Wherein, the sensor type included by slave can be determined according to practical situations.If slave installed
In kitchen, then the sensor included by the slave can be pyroelectric sensor, detect old man's by pyroelectric sensor
Body is dynamic;If slave is mounted on toilet, the sensor included by the slave can be acceleration transducer, utilize acceleration
Sensor monitoring flow is spent, to reflect the active state of old man.
First slave 20 sends the first kind sensor 201 in the t1 and t2 to the host 10
First activity data of monitoring, second slave 30 send second class in the t1 and t2 to the host 10
The second activity data that type sensor 301 monitors.
First slave 20, the second slave 30 monitor user in the first room, second in real time by respective sensor respectively
The activity condition in room, and the activity data respectively monitored is sent to host.
In some embodiments, the activities monitoring system further includes:Server 40;The host 10 further includes:GSM
Module 101;The host 10 is additionally operable to the activity data being sent to the server 40 by the gsm module 101;
The server 40, for carrying out activity analysis to the monitored target according to the activity data.
Wherein, activity data may include that the first activity data of the first slave 20 transmission and the second slave 30 are sent
Second activity data.
When concrete application, the activity data that server can be sent by Ethernet receiving host, according to the activity of reception
Data to monitored target carry out activity analysis, with obtain monitored target certain time period activity.
In the present embodiment, host can utilize the gsm module of itself to connect Ethernet by base station, be incited somebody to action by Ethernet
The activity data of monitored target is sent to server.Wherein, used communication protocol can be with when host and server communication
For ICP/IP protocol or udp protocol.
In practical application, if the relatives of monitored target need to check that the activity of monitored target can pass through terminal
Equipment logs on to server, obtains the activity of monitored target.Sending cycle can certainly be set in the server, so as to
Server can periodically send the monitored target activity of statistics, be supervised so that the relatives of monitored target can understand in time
Survey the activity of object.Wherein, terminal device can be mobile phone, laptop, tablet, WEB pages of computer etc..
It should be noted that the communication realization of host and slave may refer to implement described in Fig. 1 or Fig. 2 in the present embodiment
Example, details are not described herein.
The activities monitoring system provided through this embodiment, is installed on indoor first slave and the second slave monitors respectively
Monitored target the first room and the second room activity, and by respective Sensor monitoring to activity data be sent to master
Machine, host receive the first activity data that the first slave is sent in the t1 of communication cycle T, and that the second slave is sent is received in t2
Two activity datas, then activity data is sent to server by host, quilt is analyzed according to the activity data received by server
The activity of monitoring object, to realize the monitoring purpose to the activity of monitored target.
It should be appreciated that in this application, " at least one (item) " refers to one or more, and " multiple " refer to two or two
More than a."and/or", the incidence relation for describing affiliated partner indicate may exist three kinds of relationships, for example, " A and/or B "
It can indicate:A is only existed, B is only existed and exists simultaneously tri- kinds of situations of A and B, wherein A, B can be odd number or plural number.Word
It is a kind of relationship of "or" that symbol "/", which typicallys represent forward-backward correlation object,.At least one of " following (a) " or its similar expression refers to
Arbitrary combination in these, including individual event (a) or the arbitrary combination of complex item (a).At least one of for example, in a, b or c
(a) can indicate:A, b, c, " a and b ", " a and c ", " b and c ", or " a and b and c ", wherein a, b, c can be single, also may be used
To be multiple.
The above described is only a preferred embodiment of the present invention, being not intended to limit the present invention in any form.Though
So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention.It is any to be familiar with those skilled in the art
Member, without departing from the scope of the technical proposal of the invention, all using the methods and technical content of the disclosure above to the present invention
Technical solution makes many possible changes and modifications, or is revised as the equivalent embodiment of equivalent variations.Therefore, it is every without departing from
The content of technical solution of the present invention, according to the technical essence of the invention any simple modification made to the above embodiment, equivalent
Variation and modification, still fall within technical solution of the present invention protection in the range of.