Summary of the invention
Main purpose of the present invention is to provide a kind of wireless communication control system and method, is intended to the problem be restricted overcoming resources of chip wretched insufficiency and the chip pin number caused when multiple dissimilar wireless communication module connects simultaneously.
For achieving the above object, a kind of wireless communication control system provided by the invention, described wireless transmitting system comprises the wireless communication module of controller and number of different types,
Described wireless communication module, is connected with described controller, for obtaining dissimilar wireless communication signals, and sends described wireless communication signals to described controller;
Described controller, is connected with described wireless communication module, for according to the described wireless communication signals of described radio communication mold block movement and preset sequential allocation table, determines allocation order when described wireless communication module carries out wireless signals.
Preferably, described wireless communication module is at least two kinds in WI-FI module, ZigBee module, gsm module, GPS module, bluetooth module and ultrashort wave radio set.
Preferably, described wireless transmitting system also comprises:
Bus interface, is connected with described controller with described wireless communication module, for the mode connected by bus, communicates to connect dissimilar described wireless communication module.
Preferably, described wireless transmitting system also comprises:
Bus expansion interface, being connected with institute bus interface, for expanding described bus interface, creating the expansion interface be connected with described wireless communication module.
Preferably, described controller, also for by the time-multiplexed mode of bus, controls described wireless communication module carries out wireless communication signals transmission according to the order of sequential allocation table allocation.
In order to solve above-mentioned technical problem, the present invention further provides a kind of wireless communication control method, described wireless communication control method comprises:
Wireless communication module obtains dissimilar wireless communication signals, and sends described wireless communication signals to controller;
The wireless communication signals that described controller sends according to described wireless communication module and preset sequential allocation table, determine allocation order during described wireless signals.
Preferably, described wireless communication signals comprises at least two kinds in WI-FI signal, ZigBee signal, GSM signal, gps signal, Bluetooth signal and ultrashort wave signals.
Preferably, comprise before the step of the wireless communication signals that described acquisition is dissimilar:
The mode that bus interface is connected by bus, communicates to connect dissimilar described wireless communication module.
Preferably, also comprise before the step of the wireless communication signals that described acquisition is dissimilar:
Bus expansion interface is expanded described bus interface, creates the expansion interface be connected with described wireless communication module.
Preferably, the wireless communication signals that described controller sends according to described wireless communication module and preset sequential allocation table, the step of allocation order when determining described wireless signals comprises:
By the time-multiplexed mode of bus, control described wireless communication module carries out wireless communication signals transmission according to the order of sequential allocation table allocation.
Wireless communication control system provided by the invention, described wireless transmitting system comprises controller and multiple dissimilar wireless communication module, described wireless communication module, be connected with described controller, for obtaining dissimilar wireless communication signals, and send described wireless communication signals to described controller; Described controller, is connected with described wireless communication module, for according to the described wireless communication signals of described radio communication mold block movement and preset sequential allocation table, determines allocation order when described wireless communication module carries out wireless signals.The present invention adopts the mode of sequential, carries out transfer of data to different types of wireless communication module, overcomes the wretched insufficiency of resources of chip, breaks through the restriction of chip pin number, thus the resource utilization of improving data transmission efficiency, raising chip.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of wireless communication control system, with reference to the high-level schematic functional block diagram that Fig. 1, Fig. 1 are wireless communication control system first embodiment of the present invention, in a first embodiment, described wireless communication control system comprises the wireless communication module 10 of controller 20 and number of different types
Described wireless communication module 10, is connected with described controller 20, for obtaining dissimilar wireless communication signals, and sends described wireless communication signals to described controller 20;
Described controller 20, be connected with described wireless communication module 10, for the described wireless communication signals that transmits according to described wireless communication module 10 and preset sequential allocation table, determine allocation order when described wireless communication module 10 carries out wireless signals.
The wireless communication control system provided in the present embodiment, comprise wireless communication module 10 and controller 20, wherein, as shown in Figure 2, wireless communication module 10 is WI-FI module 11, ZigBee module 12, gsm module 13, GPS module 14, bluetooth module 15 and ultrashort wave radio set 16, for transmitting various types of wireless communication signals, particularly, WI-FI module 11 is for transmitting WI-FI signal; ZigBee module 12 is used for transmitting ZigBee signal; Gsm module 13 is for transmitting GSM signal; GPS module 14 is for transmit GPS signal; Bluetooth module 15 is for transmitting Bluetooth signal; Ultrashort wave radio set 16 is for transmitting ultrashort wave signals.
Controller 20 can be single-chip microcomputer, also can be other control chip, be connected with described wireless communication module 10, for the described wireless communication signals that transmits according to described wireless communication module 10 and preset sequential allocation table, determine allocation order when described wireless communication module 10 carries out wireless signals.In described sequential allocation table, priority level is chronologically allocated.Preferably, the type without letter signal of communication that the priority level of sequential can send over according to opposite end is distributed, such as, the type of the wireless communication signals that opposite end sends over is Bluetooth signal, it is after Bluetooth signal that controller 20 then in wireless communication control system recognizes described wireless control signal, then the bluetooth module 15 in wireless communication module 10 is set as the first priority, successively other wireless communication modules 10 are set as the second priority, the 3rd priority again, until connected wireless communication module 10 is connected complete till.The priority level of sequential also can carry out sequential distribution according to the signal power of current present position; Such as according to the current residing position of wireless communication control system and under current location the history linkage record information of wireless communication signals, judge the power of various types of wireless communication signals, then distribute chronologically according to the signal power of wireless communication signals.In addition, controller 20 also can pass through the time-multiplexed mode of bus, control described wireless communication module carries out wireless communication signals transmission according to the order of sequential allocation table allocation, in the present embodiment, adopt bus time-multiplexed mode, if what select under current state is bluetooth module 15, then bluetooth module 15 is opening, open wireless transceiver mode, in this case, bluetooth module 15 can receive the wireless communication signals that opposite end sent; Other wireless communication modules are then closed condition, close wireless transceiving modes, then, under this state, other wireless communication modules cannot receive the wireless communication signals that sent of opposite end by Received signal strength, thus the crosstalk of minimizing wireless communication signals.
The wireless communication control system that the present embodiment provides, adopt the mode of sequential, transfer of data carried out to different types of wireless communication module simultaneously, overcomes the wretched insufficiency of resources of chip, break through the restriction of chip pin number, thus the resource utilization of improving data transmission efficiency, raising chip.
As shown in Figure 3, Fig. 3 is the high-level schematic functional block diagram of wireless communication control system second embodiment of the present invention, and on the basis of the first embodiment, described wireless transmitting system also comprises:
Bus interface 30, is connected with described controller 20 with described wireless communication module 10, for the mode connected by bus, communicates to connect dissimilar described wireless communication module 10.
In the present embodiment, wireless communication module 10 is connected with described controller 20 by bus interface 30, and the mode that described bus interface 30 is connected by bus, communicates to connect dissimilar described wireless communication module 10.
The wireless communication control system that the present embodiment provides, bus coexistence interface technology is adopted to connect wireless communication module, wireless communication signals is sent to controller by the bus interface that can adapt to various different wireless communication module, effectively saved cost and resource, improved the performance of product, the development for Internet of Things provides the hardware transport passage of centralized management, the cost greatly reducing Internet of things system, the economic benefit that shortens the construction cycle, improve Internet of things system.
As shown in Figure 4, Fig. 4 is the high-level schematic functional block diagram of wireless communication control system of the present invention 3rd embodiment, and on the basis of the second embodiment, described wireless transmitting system also comprises:
Bus expansion interface 40, being connected with institute bus interface 30, for expanding described bus interface 30, creating the expansion interface be connected with described wireless communication module 10.
In the present embodiment, if the interface quantity of bus interface 30 is inadequate, then adopt bus expansion interface 40 to expand described bus interface 30, create the expansion interface be connected with described wireless communication module 10, thus increase the quantity of described wireless communication module 10 connection.
The wireless communication control system that the present embodiment provides, bus coexistence interface technology is adopted to connect wireless communication module, wireless communication signals is sent to controller by the bus interface and bus expansion interface that can adapt to various different wireless communication module, effectively saved cost and resource, improved the performance of product, the development for Internet of Things provides the hardware transport passage of centralized management, the cost greatly reducing Internet of things system, the economic benefit that shortens the construction cycle, improve Internet of things system.
As shown in Figure 5, Fig. 5 is the schematic flow sheet of wireless communication control method first embodiment of the present invention, and in a first embodiment, described wireless communication control method comprises:
Step S100, wireless communication module obtain dissimilar wireless communication signals, and send described wireless communication signals to controller;
The wireless communication signals that step S200, described controller send according to described wireless communication module and preset sequential allocation table, determine allocation order during described wireless signals.
The wireless communication control system provided in the present embodiment, comprise wireless communication module 10 and controller 20, wherein, as shown in Figure 2, wireless communication module 10 is WI-FI module 11, ZigBee module 12, gsm module 13, GPS module 14, bluetooth module 15 and ultrashort wave radio set 16, for transmitting various types of wireless communication signals, particularly, WI-FI module 11 is for transmitting WI-FI signal; ZigBee module 12 is used for transmitting ZigBee signal; Gsm module 13 is for transmitting GSM signal; GPS module 14 is for transmit GPS signal; Bluetooth module 15 is for transmitting Bluetooth signal; Ultrashort wave radio set 16 is for transmitting ultrashort wave signals.
Controller 20 can be single-chip microcomputer, also can be other control chip, be connected with described wireless communication module 10, for the described wireless communication signals that transmits according to described wireless communication module 10 and preset sequential allocation table, determine allocation order when described wireless communication module 10 carries out wireless signals.In described sequential allocation table, priority level is chronologically allocated.Preferably, the type without letter signal of communication that the priority level of sequential can send over according to opposite end is distributed, such as, the type of the wireless communication signals that opposite end sends over is Bluetooth signal, it is after Bluetooth signal that controller 20 then in wireless communication control system recognizes described wireless control signal, then the bluetooth module 15 in wireless communication module 10 is set as the first priority, successively other wireless communication modules 10 are set as the second priority, the 3rd priority again, until connected wireless communication module 10 is connected complete till.The priority level of sequential also can carry out sequential distribution according to the signal power of current present position; Such as according to the current residing position of wireless communication control system and under current location the history linkage record information of wireless communication signals, judge the power of various types of wireless communication signals, then distribute chronologically according to the signal power of wireless communication signals.In addition, controller 20 also can pass through the time-multiplexed mode of bus, control described wireless communication module carries out wireless communication signals transmission according to the order of sequential allocation table allocation, in the present embodiment, adopt bus time-multiplexed mode, if what select under current state is bluetooth module 15, then bluetooth module 15 is opening, open wireless transceiver mode, in this case, bluetooth module 15 can receive the wireless communication signals that opposite end sent; Other wireless communication modules are then closed condition, close wireless transceiving modes, then, under this state, other wireless communication modules cannot receive the wireless communication signals that sent of opposite end by Received signal strength, thus the crosstalk of minimizing wireless communication signals.
The wireless communication control method that the present embodiment provides, adopt the mode of sequential, transfer of data carried out to different types of wireless communication module simultaneously, overcomes the wretched insufficiency of resources of chip, break through the restriction of chip pin number, thus the resource utilization of improving data transmission efficiency, raising chip.
As shown in Figure 6, Fig. 6 is the schematic flow sheet of wireless communication control method second embodiment of the present invention, on the basis of the first embodiment, comprises before described step S100:
The mode that step S100A, bus interface are connected by bus, communicates to connect dissimilar described wireless communication module.
In the present embodiment, wireless communication module 10 is connected with described controller 20 by bus interface 30, and the mode that described bus interface 30 is connected by bus, communicates to connect dissimilar described wireless communication module 10.
The wireless communication control method that the present embodiment provides, bus coexistence interface technology is adopted to connect wireless communication module, wireless communication signals is sent to controller by the bus interface that can adapt to various different wireless communication module, effectively saved cost and resource, improved the performance of product, the development for Internet of Things provides the hardware transport passage of centralized management, the cost greatly reducing Internet of things system, the economic benefit that shortens the construction cycle, improve Internet of things system.
As shown in Figure 7, Fig. 7 is the schematic flow sheet of wireless communication control method of the present invention 3rd embodiment, on the basis of the second embodiment, also comprises before described step S100:
Step S100B, bus expansion interface are expanded described bus interface, create the expansion interface be connected with described wireless communication module.
In the present embodiment, if the interface quantity of bus interface 30 is inadequate, then adopt bus expansion interface 40 to expand described bus interface 30, create the expansion interface be connected with described wireless communication module 10, thus increase the quantity of described wireless communication module 10 connection.
The wireless communication control method that the present embodiment provides, bus coexistence interface technology is adopted to connect wireless communication module, wireless communication signals is sent to controller by the bus interface and bus expansion interface that can adapt to various different wireless communication module, effectively saved cost and resource, improved the performance of product, the development for Internet of Things provides the hardware transport passage of centralized management, the cost greatly reducing Internet of things system, the economic benefit that shortens the construction cycle, improve Internet of things system.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.