CN110493888A - A kind of dual-module communication system and control method, computer readable storage medium - Google Patents

A kind of dual-module communication system and control method, computer readable storage medium Download PDF

Info

Publication number
CN110493888A
CN110493888A CN201910794526.4A CN201910794526A CN110493888A CN 110493888 A CN110493888 A CN 110493888A CN 201910794526 A CN201910794526 A CN 201910794526A CN 110493888 A CN110493888 A CN 110493888A
Authority
CN
China
Prior art keywords
communication
module
control
antenna
communication channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910794526.4A
Other languages
Chinese (zh)
Inventor
张道连
毛鑫
刘宗瑒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Muteng Technology Co Ltd
Original Assignee
Shenzhen Muteng Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Muteng Technology Co Ltd filed Critical Shenzhen Muteng Technology Co Ltd
Priority to CN201910794526.4A priority Critical patent/CN110493888A/en
Publication of CN110493888A publication Critical patent/CN110493888A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C25/00Arrangements for preventing or correcting errors; Monitoring arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The present invention provides a kind of dual-module communication system and control method, computer readable storage medium, which includes background control end and Dual module end, and Dual module end includes the first communication channel and the second communication channel;First communication channel includes the first control module and first communication module, first control module is electrically connected at first communication module, first communication module is by wireless communication or wire communication is connected to background control end, and the first control module is connected to preset controlled plant by system bus;Second communication channel includes the second control module and second communication module, and the second control module is electrically connected at second communication module, and second communication module is connected to background control end by wireless communication, and the second control module is connected to controlled plant by system bus.The present invention, which has the effect that, controls controlled plant by dual communication channel, once wherein communication channel failure, can remotely control controlled plant by alternate communication channels.

Description

A kind of dual-module communication system and control method, computer readable storage medium
Technical field
The present invention relates to Communication Control Technology fields, more particularly to a kind of dual-module communication system and control method, meter Calculation machine readable storage medium storing program for executing.
Background technique
Electromagnetic lock is a kind of lock for Intelligent storage cabinet cabinet door, and unlocking can be controlled by control switch circuit.Electromagnetism Lock is generally inductive load, realizes that the opening of electromagnetic lock controls by control coil brief energization.
The prior art has the switch that electromagnetic lock is controlled by wireless technology, but the prior art generally only passes through a communication Channel controls the switch of electromagnetic lock, once this communication channel failure, then can not remotely control the electromagnetic lock.Therefore, one is needed Kind solves the insufficient technical solution in single communication channel.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of dual-module communication system and controls Method processed, computer readable storage medium, for solving the problems, such as that single communication channel is insufficient in the prior art.
On the one hand, the present invention provides a kind of dual-module communication system, including background control end and Dual module end, the bimodulus Block end includes the first communication channel and the second communication channel;
First communication channel includes the first control module and first communication module, and first control module electrically connects It is connected to the first communication module, the first communication module is by wireless communication or wire communication is connected to the Background control End, first control module are connected to preset controlled plant by system bus;
Second communication channel includes the second control module and second communication module, and second control module electrically connects It is connected to the second communication module, the second communication module is connected to the background control end by wireless communication, and described Two control modules are connected to the controlled plant by system bus.
In the invention dual-module communication system, the first communication module includes principal communication antenna, secondary communication day Line and communication interface are connected to the background control end by principal communication antenna or secondary communication antenna or communication interface;
First control module includes principal communication port, secondary communication port and wired connection port, the principal communication end Mouth is connected to the principal communication antenna, and the secondary communication port is connected to the secondary communication antenna, and the wired connection port connects It is connected to the communication interface.
In the invention dual-module communication system, first communication channel further includes display chip and for connecting To the display interface of preset display unit, the display chip includes input port;
First control module further includes video port, and the video port is connected to the input port, thus logical Cross the first control module and display chip interactive information;
The display chip includes output port, and the output port is connected to the display interface to control the display The display content of unit.
In the invention dual-module communication system, the principal communication antenna is 4G antenna, and the secondary communication antenna is WiFi antenna.
In the invention dual-module communication system, the second communication module includes communication antenna, by communicating day Line is connected to the background control end;
Second control module includes communication port, and the communication port is connected to the communication antenna.
In the invention dual-module communication system, the communication antenna is 2G antenna.
On the one hand, a kind of control method of dual-module communication system is provided, dual-module communication system as described above is provided, Include:
It monitors the online situation of first communication channel and second communication channel in real time by background control end, writes from memory In the case of recognizing, the background control end controls the controlled plant by first communication channel;
If first communication channel goes offline and second communication channel is online, the background control end is changed to pass through Second communication channel controls the controlled plant.
The control method further include:
When the background control end controls the controlled plant by second communication channel, if first communication Channel is online, then the background control end is changed to control the controlled plant by first communication channel.
It is described by background control end monitor in real time first communication channel and second communication channel in threadiness Condition, under default situations, the background control end passes through first communication channel and controls the controlled plant, comprising:
When the first communication channel is online, the background control end default passes through the principal communication antenna of the first communication channel Controlled plant is connected to control the controlled plant;
If the controlled plant can not be connected to by the principal communication antenna, the background control end, which is switched to, to be passed through The secondary communication antenna of first communication channel is connected to controlled plant to control the controlled plant;
If the controlled plant, the backstage can not be connected to by the principal communication antenna and the secondary communication antenna Control terminal, which is switched to, is connected to controlled plant by the communication interface of the first communication channel to control the controlled plant.
On the one hand, a kind of computer readable storage medium is provided, computer instruction is stored with, which is held by processor Control method as described above is realized when row.
As described above, a kind of dual-module communication system of the invention and control method, computer readable storage medium, have Below the utility model has the advantages that
Controlled plant is controlled by dual communication channel, once wherein communication channel failure, it can be remote by alternate communication channels Process control controlled plant.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram for dual-module communication system that one embodiment of the invention provides;
Fig. 2 is the structural schematic diagram for the first control module that one embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for the first communication module that one embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the communication interface that one embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the second control module that one embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the second communication module that one embodiment of the invention provides;
Fig. 7 is the structural schematic diagram for the display chip that one embodiment of the invention provides;
Fig. 8 is the structural schematic diagram for the display interface that one embodiment of the invention provides.
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in schema then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
It should be clear that this specification structure depicted in this specification institute accompanying drawings, ratio, size etc., only to cooperate specification to be taken off The content shown is not intended to limit the invention enforceable qualifications so that those skilled in the art understands and reads, therefore Do not have technical essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the present invention Under the effect of can be generated and the purpose that can reach, it should all still fall in disclosed technology contents and obtain the model that can cover In enclosing.Meanwhile cited such as "upper" in this specification, "lower", "left", "right", " centre " and " one " term, be also only Convenient for being illustrated for narration, rather than to limit the scope of the invention, relativeness is altered or modified, in no essence It changes under technology contents, when being also considered as the enforceable scope of the present invention.
As shown in FIG. 1, FIG. 1 is a kind of structural block diagram for dual-module communication system that one embodiment of the invention provides, this pairs Module communication system, including background control end 200 and Dual module end 100, the Dual module end 100 include the first communication channel 1 And second communication channel 2;First communication channel 1 include the first control module 11 and first communication module 12, described first Control module 11 is electrically connected at the first communication module 12, and the first communication module 12 is by wireless communication or cable modem Letter is connected to the background control end 200, and first control module 11 is connected to preset controlled plant by system bus; Second communication channel 2 includes the second control module 21 and second communication module 22, and second control module 21 electrically connects It is connected to the second communication module 22, the second communication module 22 is connected to the background control end 200 by wireless communication, Second control module 21 is connected to the controlled plant by system bus.Wherein, which is preferably electromagnetic lock. Wherein, system bus refers to the channel that information is transmitted between each component of microcomputer.
Referring to fig. 2, Fig. 2 is the structural schematic diagram for the first control module 11 that one embodiment of the invention provides, the first control Module 11 is programmable controller, and model is preferably IC210.
Referring to Fig. 3, the structural schematic diagram for the first communication module 12 that Fig. 3 provides for one embodiment of the invention, described first Communication module 12 includes principal communication antenna J1, secondary communication antenna J3, it is preferred that referring to fig. 4, Fig. 4 mentions for one embodiment of the invention The structural schematic diagram of the communication interface of confession further includes communication interface J54, passes through principal communication antenna J1 or secondary communication antenna J3 connection In the background control end 200;First control module 11 includes principal communication port ANT_MAIN and secondary communication port ANT_ WIFI, the principal communication port ANT_MAIN are connected to the principal communication antenna J1, and secondary communication port ANT_WIFI is connected to institute It states time communication antenna J3, described wired connection port USB_DM, USB_DP and is connected to communication interface USB_DM, USB_DP. The principal communication antenna is 4G antenna, and the secondary communication antenna is WiFi antenna.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram for the second control module 21 that one embodiment of the invention provides;Second control Module 21 is GPRS communication module, and model is preferably Air202.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram for the second communication module 22 that one embodiment of the invention provides;Described second Communication module 22 includes communication antenna J2, is connected to the background control end 200 by communication antenna J2;The second control mould Block 21 includes communication port 2G_ANT, and the communication port 2G_ANT is connected to the communication antenna J2.The communication antenna is 2G antenna.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram for the display chip 13 that one embodiment of the invention provides, first communication Channel 1 further includes display chip 13, and the display chip 13 includes input port (TP_SDA, TR_SCL);The display chip 13 Model be preferably GT9271.
First control module 11 further includes video port (TP_I2C_SDA, TR_I2C_SCL), the video port (TP_I2C_SDA, TR_I2C_SCL) is connected to the input port (TP_SDA, TR_SCL), to pass through the first control module 11 with 13 interactive information of display chip.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram for the display interface 14 that one embodiment of the invention provides, first communication Channel 1 further includes the display interface 14 for being connected to preset display unit;The display chip 13 includes output port (SENS0-17, DRV0-28), the output port (SENS0-17, DRV0-28) are connected to the display interface 14 to control State the display content of display unit.
The present invention also provides a kind of control methods of dual-module communication system, provide dual-module communication system as described above System, which includes step S1-S2:
S1, monitored in real time by background control end 200 first communication channel 1 and second communication channel 2 Linear condition, under default situations, the background control end 200 controls the controlled plant by first communication channel 1;Step S1 includes step S11-S13:
S11, when the first communication channel is online, background control end default passes through the principal communication of the first communication channel Antenna is connected to controlled plant to control the controlled plant;Such as: principal communication antenna is 4G connection, under default situations, from the background Controlled plant is connected to by 4G.
If S12, can not be connected to the controlled plant by the principal communication antenna, the background control end is switched to Controlled plant is connected to by the secondary communication antenna of the first communication channel to control the controlled plant;Such as: secondary communication antenna For WiFi connection, it is not available in 4G or when failure, controlled plant is connected to by WiFi from the background.The above principal communication antenna It can be WiFi, secondary communication antenna is also possible to 4G.The type of principal communication antenna and secondary communication antenna can be according to actual conditions Depending on.In the region that some 4G are covered, principal communication antenna is preferably 4G antenna, in the strong place of WiFi signal, principal communication day Line is preferably WiFi antenna.
It is described if S13, the controlled plant can not be connected to by the principal communication antenna and the secondary communication antenna Background control end, which is switched to, is connected to controlled plant by the communication interface of the first communication channel to control the controlled plant.Example Such as, in the case where 4G and WiFi are not available, controlled plant is connected to using wireline interface, i.e., by network interface connection to mutual Networking, is then connected to background control end.
If S2, first communication channel 1 go offline and second communication channel 2 is online, the background control end 200 It is changed to control the controlled plant by second communication channel 2.
Preferably, which further includes step S3:
S3, when the background control end 200 controls the controlled plant by second communication channel 2, if described First communication channel 1 is online, then the background control end 200 is changed to control described controlled set by first communication channel 1 It is standby.
The present invention also provides a kind of computer readable storage mediums, are stored with computer instruction, and the instruction is by processor Control method as described above is realized when execution.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (10)

1. a kind of dual-module communication system, which is characterized in that including background control end and Dual module end, the Dual module end includes First communication channel and the second communication channel;
First communication channel includes the first control module and first communication module, and first control module is electrically connected at The first communication module, the first communication module is by wireless communication or wire communication is connected to the background control end, First control module is connected to preset controlled plant by system bus;
Second communication channel includes the second control module and second communication module, and second control module is electrically connected at The second communication module, the second communication module are connected to the background control end, second control by wireless communication Molding block is connected to the controlled plant by system bus.
2. dual-module communication system according to claim 1, which is characterized in that the first communication module includes principal communication Antenna, secondary communication antenna and communication interface are connected to the backstage by principal communication antenna or secondary communication antenna or communication interface Control terminal;
First control module includes principal communication port, secondary communication port and wired connection port, and the principal communication port connects It is connected to the principal communication antenna, the secondary communication port is connected to the secondary communication antenna, and the wired connection port is connected to The communication interface.
3. dual-module communication system according to claim 2, which is characterized in that first communication channel further includes display Chip and display interface for being connected to preset display unit, the display chip includes input port;
First control module further includes video port, and the video port is connected to the input port, to pass through the One control module and display chip interactive information;
The display chip includes output port, and the output port is connected to the display interface to control the display unit Display content.
4. dual-module communication system according to claim 2, which is characterized in that the principal communication antenna is 4G antenna, institute Stating time communication antenna is WiFi antenna.
5. dual-module communication system according to claim 1, which is characterized in that the second communication module includes communication day Line is connected to the background control end by communication antenna;
Second control module includes communication port, and the communication port is connected to the communication antenna.
6. dual-module communication system according to claim 5, which is characterized in that the communication antenna is 2G antenna.
7. a kind of control method of dual-module communication system, provides dual-module communication system as claimed in any one of claims 1 to 6 System characterized by comprising
It monitors the online situation of first communication channel and second communication channel in real time by background control end, defaults feelings Under condition, the background control end controls the controlled plant by first communication channel;
If first communication channel goes offline and second communication channel is online, the background control end is changed to by described Second communication channel controls the controlled plant.
8. control method according to claim 7, which is characterized in that further include:
When the background control end controls the controlled plant by second communication channel, if first communication channel Online, then the background control end is changed to control the controlled plant by first communication channel.
9. control method according to claim 7, which is characterized in that described to monitor described in real time by background control end The online situation of one communication channel and second communication channel, under default situations, the background control end passes through described first Communication channel controls the controlled plant, comprising:
When the first communication channel is online, the background control end default is connected by the principal communication antenna of the first communication channel To controlled plant to control the controlled plant;
If the controlled plant can not be connected to by the principal communication antenna, the background control end is switched to by first The secondary communication antenna of communication channel is connected to controlled plant to control the controlled plant;
If the controlled plant, the Background control can not be connected to by the principal communication antenna and the secondary communication antenna End, which is switched to, is connected to controlled plant by the communication interface of the first communication channel to control the controlled plant.
10. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the instruction is held by processor Such as claim 8-9 described in any item control methods are realized when row.
CN201910794526.4A 2019-08-26 2019-08-26 A kind of dual-module communication system and control method, computer readable storage medium Pending CN110493888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910794526.4A CN110493888A (en) 2019-08-26 2019-08-26 A kind of dual-module communication system and control method, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910794526.4A CN110493888A (en) 2019-08-26 2019-08-26 A kind of dual-module communication system and control method, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110493888A true CN110493888A (en) 2019-11-22

Family

ID=68554176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910794526.4A Pending CN110493888A (en) 2019-08-26 2019-08-26 A kind of dual-module communication system and control method, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110493888A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240339A (en) * 2013-11-28 2014-12-24 朱丰良 Anti-theft system and method for door lock
CN104954040A (en) * 2015-06-10 2015-09-30 联想(北京)有限公司 Method for determining antenna use and electronic equipment
CN106464303A (en) * 2014-04-29 2017-02-22 华为终端有限公司 Data transmission method and terminal
CN107605254A (en) * 2017-10-01 2018-01-19 汉寿县嘉防锁具科技有限公司 A kind of electromagnetism smart lock of multichannel independent control
CN109639311A (en) * 2018-12-26 2019-04-16 维沃移动通信有限公司 A kind of signal receiving/transmission device and mobile terminal
CN209216184U (en) * 2019-01-28 2019-08-06 浪潮金融信息技术有限公司 A kind of intelligent lock control system
CN210518851U (en) * 2019-08-26 2020-05-12 深圳市沐腾科技有限公司 Dual-module communication system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104240339A (en) * 2013-11-28 2014-12-24 朱丰良 Anti-theft system and method for door lock
CN106464303A (en) * 2014-04-29 2017-02-22 华为终端有限公司 Data transmission method and terminal
CN104954040A (en) * 2015-06-10 2015-09-30 联想(北京)有限公司 Method for determining antenna use and electronic equipment
CN107605254A (en) * 2017-10-01 2018-01-19 汉寿县嘉防锁具科技有限公司 A kind of electromagnetism smart lock of multichannel independent control
CN109639311A (en) * 2018-12-26 2019-04-16 维沃移动通信有限公司 A kind of signal receiving/transmission device and mobile terminal
CN209216184U (en) * 2019-01-28 2019-08-06 浪潮金融信息技术有限公司 A kind of intelligent lock control system
CN210518851U (en) * 2019-08-26 2020-05-12 深圳市沐腾科技有限公司 Dual-module communication system

Similar Documents

Publication Publication Date Title
CN105259853A (en) A redundant on-site bus I/O control device
CN110493888A (en) A kind of dual-module communication system and control method, computer readable storage medium
CN103853859A (en) Mapping method and mapping system for drawing nuclear power plant terminating map
CN103558840B (en) Build the controller simulation experimental standard interface in kind of RTDS and the method for circuit thereof
CN203788040U (en) Touch screen power source automatic switching cabinet
CN210518851U (en) Dual-module communication system
CN202424538U (en) Parallel high-power high-frequency switching power supply system
CN103607544B (en) A kind of seamless matrix switcher of high-capacity high-definition SDI
CN105083337A (en) Connection system applicable to different interlocking system interface cabinets and use method of connection system
CN106468899B (en) Communication connection system of upper computer and distribution circuit based on intelligent relay cross cabinet
CN203673543U (en) Access control system
CN207281545U (en) Automated production line control system based on EtherCAT buses
CN207033704U (en) A kind of control system of air compressor machine
CN207301779U (en) A kind of industrial bus I/O module
CN206039212U (en) Host computer and power distribution loop's communication connection system based on intelligence electricity handing -over then cabinet
CN206057955U (en) A kind of scheduling controlling terminal and scheduling system
CN110890902B (en) PLC equipment testing system and method
CN215624796U (en) Intelligent control hanging system for double workstations
CN108398930A (en) A kind of central control system and method
CN201967063U (en) Automated audio video display switching equipment
CN104021050A (en) Server
CN205581617U (en) Pelletization drying chamber touch screen control system
CN208953939U (en) A kind of programmable PLC controller
CN205485551U (en) Intelligence programmable logic controler's transmission control unit
CN105159855B (en) A kind of electric power source distribution device management method and system

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