CN114285692B - Communication control system, identity determination method, distribution method and equipment - Google Patents

Communication control system, identity determination method, distribution method and equipment Download PDF

Info

Publication number
CN114285692B
CN114285692B CN202111583415.2A CN202111583415A CN114285692B CN 114285692 B CN114285692 B CN 114285692B CN 202111583415 A CN202111583415 A CN 202111583415A CN 114285692 B CN114285692 B CN 114285692B
Authority
CN
China
Prior art keywords
identity
sub
equipment
switch
bus
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.)
Active
Application number
CN202111583415.2A
Other languages
Chinese (zh)
Other versions
CN114285692A (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.)
Guangzhou Xaircraft Technology Co Ltd
Original Assignee
Guangzhou Xaircraft 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 Guangzhou Xaircraft Technology Co Ltd filed Critical Guangzhou Xaircraft Technology Co Ltd
Priority to CN202111583415.2A priority Critical patent/CN114285692B/en
Publication of CN114285692A publication Critical patent/CN114285692A/en
Application granted granted Critical
Publication of CN114285692B publication Critical patent/CN114285692B/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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application provides a communication control system, an identity determination method, an allocation method and equipment, and belongs to the technical field of bus control. The system comprises: a master control device and a plurality of sub-devices; the main control equipment is connected with each piece of sub equipment through a bus; each sub-device comprises: a controller and a switch assembly; the controller is connected with the switch component and is used for controlling the switch component to be disconnected when the sub-equipment is electrified for the first time and sending an identity request signal to the main control equipment through the bus; the switch components of all the sub-devices are sequentially connected in series; the main control equipment receives the identity request signal through the bus and sends the identity of the sub-equipment to the sub-equipment through the bus. The application can improve the efficiency and accuracy of configuring the identity.

Description

Communication control system, identity determination method, distribution method and equipment
Technical Field
The present application relates to the field of bus control technologies, and in particular, to a communication control system, an identity determining method, an allocation method, and an apparatus.
Background
In order to implement unified management control over multiple sub-devices, a corresponding ID (Identity document, identity) is generally configured for each sub-device associated with the main control device by setting the main control device, and the actual address location corresponding to each sub-device is represented by the ID.
In the prior art, the configuration is usually performed manually in the process of identity identification configuration. Specifically, a maintenance person manually inputs each ID and the actual address position corresponding to the ID in the master control device.
However, when the number of sub-devices is large, manual configuration may result in time and effort consuming and easy configuration errors, resulting in a low configuration efficiency of IDs.
Disclosure of Invention
The application aims to provide a communication control system, an identity determination method, an allocation method and equipment, which can improve the efficiency and the accuracy of configuring identity identification.
Embodiments of the present application are implemented as follows:
in one aspect of an embodiment of the present application, there is provided a communication control system including: a master control device and a plurality of sub-devices;
the main control equipment is connected with each piece of sub equipment through a bus, and the bus is used for communication connection between the main control equipment and the sub equipment;
each sub-device comprises: a controller and a switch assembly;
the controller is respectively connected with the switch assembly and the bus, and is used for controlling the switch assembly to be disconnected when the sub-equipment is electrified for the first time and sending an identity request signal to the main control equipment through the bus;
the switch components of all the sub-devices are sequentially connected in series;
the main control equipment receives the identity request signal through the bus and sends the identity of the sub-equipment to the sub-equipment through the bus.
Optionally, the switch assembly comprises: a switch and a driving unit;
the switch is connected with the driving unit, and the driving unit is connected with the controller;
the controller is used for sending a level signal to the driving unit when the sub-equipment is powered on for the first time;
the driving unit is used for controlling the switch to be disconnected according to the level signal.
Alternatively, the switch is an analog switch or a normally closed relay.
Optionally, the identity of the child device is associated with one or more plots.
In another aspect of the embodiments of the present application, there is provided a method for determining an identity of a communication control system, where the method is applied to a controller in a sub-device, the method including:
when the sub-equipment is electrified for the first time, the control switch assembly is disconnected, and an identity request signal is sent to the main control equipment;
and receiving and storing the identity identification sent by the main control equipment.
Optionally, when the sub-device is first powered on, the control switch assembly is turned off, including:
when the sub-device is powered on for the first time, a level signal is sent to the driving unit so that the driving unit controls the switch to be opened based on the level signal.
Optionally, before the control switch assembly is turned off when the sub-device is first powered on, the method further includes:
when the sub-equipment is powered on, judging whether the identity of the sub-equipment is an initial identity;
if yes, determining that the sub-equipment is powered on for the first time.
In another aspect of the embodiments of the present application, there is provided an identity allocation method of a communication control system, where the method is applied to a master control device, the method including:
receiving a current identity request signal sent by target sub-equipment;
generating an identity for the target sub-device based on the identity request signal and the currently allocated identity;
and sending the identity identifier to the target sub-equipment.
Optionally, generating an identity for the target sub-device based on the identity request signal and the currently assigned identity, including:
based on the identity request signal, adding one to the currently allocated identity to obtain the identity of the target sub-equipment.
Optionally, based on the identity request signal, adding one to the currently allocated identity to obtain the identity of the target sub-device, and then further including:
and taking the identity of the target sub-equipment as a new currently allocated identity.
Optionally, the method further comprises:
and establishing and storing the association relation between the target sub-equipment and the target land according to the identity of the target sub-equipment and the identity of each land.
In another aspect of the embodiment of the present application, there is provided an identity determining apparatus of a communication control system, the apparatus including: the control module and the receiving module;
the control module is used for controlling the switch assembly to be disconnected when the sub-equipment is electrified for the first time and sending an identity request signal to the main control equipment;
and the receiving module is used for receiving and storing the identity identification sent by the main control equipment.
Optionally, the control module is specifically configured to send a level signal to the driving unit when the sub-device is powered on for the first time, so that the driving unit controls the switch to be turned off based on the level signal.
Optionally, the control module is further configured to determine, when the sub-device is powered on, whether the identity of the sub-device is an initial identity; if yes, determining that the sub-equipment is powered on for the first time.
In another aspect of the embodiment of the present application, there is provided an identity allocation method of a communication control system, the apparatus including: the device comprises a collecting module, a determining module and a sending module;
the collecting module is used for receiving a current identity request signal sent by the target sub-equipment;
the determining module is used for generating an identity identifier for the target sub-equipment based on the identity request signal and the currently allocated identity identifier;
and the sending module is used for sending the identity identifier to the target sub-equipment.
Optionally, the determining module is specifically configured to add one to the currently allocated identity identifier based on the identity request signal, so as to obtain the identity identifier of the target sub-device.
And the determining module is also used for taking the identity of the target sub-equipment as a new currently allocated identity.
In another aspect of the embodiment of the present application, there is provided an internet of things device, including: the identity determining method comprises the steps of a first memory and a first processor, wherein a computer program capable of running on the first processor is stored in the first memory, and the identity determining method of the communication control system is realized when the first processor executes the computer program.
In another aspect of the embodiment of the present application, there is provided a master control apparatus, including: the second memory, the second processor, the second memory stores the computer program that can run on the second processor, the second processor executes the computer program, realize the step of the above-mentioned identity allocation method of the communication control system.
In another aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the above-described method for determining an identity of a communication control system and method for assigning an identity of a communication control system.
The beneficial effects of the embodiment of the application include:
in the communication control system, the identity determination method, the distribution method and the equipment provided by the embodiment of the application, the main control equipment is connected with all the sub-equipment through a bus; each sub-device comprises: a controller and a switch assembly; the controller is respectively connected with the switch assembly and the bus, and is used for controlling the switch assembly to be disconnected when the sub-equipment is electrified for the first time and sending an identity request signal to the main control equipment through the bus; the switch components of all the sub-devices are sequentially connected in series; the main control equipment receives the identity request signal through the bus and sends the identity of the sub-equipment to the sub-equipment through the bus. The bus is sequentially connected with the switch components of the sub-devices in series, so that corresponding identity marks can be sequentially determined for each sub-device when the sub-device is electrified for the first time, further, the corresponding identity mark of each sub-device can be recorded on the main control device, and accordingly, the efficiency and the accuracy of configuring the identity marks can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a communication control system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a communication control system according to an embodiment of the present application;
fig. 3 is a flow chart of a method for determining identity of a communication control system according to an embodiment of the present application;
fig. 4 is a flow chart of an identity allocation method of a communication control system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an identity determining apparatus of a communication control system according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an identity allocation device of a communication control system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an internet of things device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a master device according to an embodiment of the present application.
Icon: 100-a master control device; 200-sub-devices; 210-a controller; 220-a switch assembly; 221-switch; 222-a drive unit; 223-pull-down resistor; 300-bus; 610-a control module; 620-a receiving module; 710—a collection module; 720-a determination module; 730-a transmitting module; 810-a first memory; 820-a first processor; 910-a second memory; 920-a second processor.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present application, it should be noted that the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
The specific structural relationship of the communication control system and the included devices in the embodiment of the present application are specifically explained below.
Fig. 1 is a schematic structural diagram of a communication control system according to an embodiment of the present application, referring to fig. 1, the communication control system includes: a master control apparatus 100 and a plurality of sub-apparatuses 200; the main control equipment 100 is connected with each sub-equipment 200 through a bus, and the bus is used for communication connection between the main control equipment 100 and the sub-equipment 200; each sub-device 200 includes: a controller 210 and a switch assembly 220; the controller 210 is respectively connected with the switch assembly 220 and the bus 300, and is used for controlling the switch assembly 220 to be disconnected when the sub-device 200 is powered on for the first time, and sending an identity request signal to the main control device 100 through the bus 300; the switch assemblies 220 of the sub-devices 200 are sequentially connected in series; the master device 100 receives the identity request signal through the bus 300 and transmits the identity of the slave device to the slave device 200 through the bus 300.
Optionally, the communication control system may specifically be a system for controlling a plurality of sub-devices through a master control device, and may specifically be applied to, for example, the irrigation field, where each sub-device may specifically be an irrigation device correspondingly disposed in a field of a certain area, for example, each sub-device may be controlled by one master control device in a bus manner.
The communication control system in the irrigation field shown above is only an example, and can be applied to any scenario meeting the control conditions in actual production and life, and is not limited thereto.
Alternatively, the master device 100 may specifically be any type of computer device, such as: computers, tablet computers, cell phones, special-purpose electronic devices, etc., are not particularly limited herein; the sub-device 200 may be any electronic device controlled by the main control device 100, or may be a computer, a tablet computer, a mobile phone, a special sub-device (e.g. an automatic irrigation device), etc.
Alternatively, bus 300 may be specifically any type of working bus, such as: RS485 bus, CAN (Controller Area Network ) bus, etc., without specific limitation herein. The master device 100 and each slave device 200 are connected by a bus, and the bus 300 is used for communication connection between the master device 100 and each slave device 200.
Alternatively, the bus 300 may be a power bus in power carrier communication, that is, the power supply and the communication are the same bus, and the power supply is cut off while the communication is cut off.
It should be noted that, the power cut-off corresponds to the phase-change cut-off communication, and all belong to the scope of the method of the present application.
Optionally, the controller unit 210 in the sub-device 200 may be an MCU (Microcontroller Unit, micro control unit), and the switch assembly 220 may be a switch for controlling connection to be turned off, and in an initial state, a normally closed state is maintained, so as to ensure that when one of the sub-devices is abnormal, the access of the other sub-devices to the bus is not affected. When the controller 210 is powered up, if the first power up is detected, the switch assembly 220 may be controlled to be disconnected.
It should be noted that, since the switch assemblies 220 of the plurality of sub-devices 200 are sequentially connected in series on the bus, when one of the switch assemblies 220 is disconnected, the communication between the sub-device at the subsequent stage and the main control device is disconnected.
When identity authentication is performed, the specific authentication process is as follows:
in the process of performing the first power-on identity authentication of the sub-device, since the switch assemblies 220 of the sub-devices 200 are in a serial connection relationship, when each sub-device 200 is authenticated, the main control device 100 communicates with the first sub-device 200 through the communication bus 300, and the controller 210 determines whether the identity of the main control device 100 is an initial identity, if the identity is the initial identity, the sub-device can be determined to be powered on for the first time, and if the switch assemblies 220 are disconnected, the communication between other sub-devices and the main control device 100 is disconnected due to the serial connection relationship, and the controller 210 of the first sub-device can send an identity request signal to the main control device 100 through the bus, and the main control device 100 determines the identity of the sub-device based on the identity request signal and the currently allocated identity, for example: the initial identity of the sub-device is "0", the identity determined after the authentication of the first sub-device is "1", and after the authentication is completed, the master control device may send the identity to the controller 210 of the corresponding sub-device, where the controller of the sub-device may store the identity as a new identity (instead of the initial identity).
When authenticating the second sub-device 200, since the identity of the first sub-device is not already the initial identity, the controller 210 thereof determines that the first power-up is not performed, and the switch assembly 220 thereof is not disconnected; the second sub-device 200 repeatedly performs the foregoing authentication process, and during the authentication process, the master device 100 may determine the identity of the sub-device based on the identity request signal and the currently allocated identity, for example, may determine that the identity of the second sub-device is "2" (different from the initial identity and the authenticated identity, specifically may be set according to the actual requirement by increasing or decreasing the number, and the like, which is not limited herein). Accordingly, the master device may send the identity to the controller 210 of the corresponding slave device, which may store the identity as a new identity (instead of the initial identity).
The authentication process is repeated, so that the authentication of each piece of sub-equipment can be sequentially realized, and the process is the same as that described above and is not repeated here.
In the communication control system provided by the embodiment of the application, the main control equipment is connected with each piece of sub equipment through a bus, and the bus is used for communication connection between the main control equipment and the sub equipment; each sub-device comprises: a controller and a switch assembly; the controller is respectively connected with the switch assembly and the bus, and is used for controlling the switch assembly to be disconnected when the sub-equipment is electrified for the first time and sending an identity request signal to the main control equipment through the bus; the switch components of all the sub-devices are sequentially connected in series; the main control equipment receives the identity request signal through the bus and sends the identity of the sub-equipment to the sub-equipment through the bus. The bus is sequentially connected with the switch components of the sub-devices in series, so that corresponding identity marks can be sequentially determined for each sub-device when the sub-device is electrified for the first time, further, the corresponding identity mark of each sub-device can be recorded on the main control device, and accordingly, the efficiency and the accuracy of configuring the identity marks can be improved.
The specific structural relationship of the switch assembly in the communication control system provided in the embodiment of the present application is specifically explained below.
Fig. 2 is a schematic structural diagram of a communication control system according to an embodiment of the present application, referring to fig. 2, a switch assembly 220 includes: a switch 221 and a driving unit 222; the switch 221 is connected to the driving unit 222, and the driving unit 222 is connected to the controller 210; the controller 210 is configured to send a level signal to the driving unit 222 when the sub-device 200 is powered on for the first time; the driving unit 222 is used for controlling the switch 221 to be disconnected according to the level signal.
Alternatively, the switch 221 is an analog switch or a normally closed relay, and the driving unit 222 may be specifically connected to an input/output port of the controller 210, and the controller 210 may output a high/low level signal, and when the output level signal is a high level signal, the driving unit 222 may be operated to open the switch 221.
Optionally, the switch assembly 220 may further include: and a pull-down resistor 223, one end of which is connected with the driving unit 222, and the other end of which is grounded, specifically, a resistor of 10kΩ, when the controller 210 is not powered, the driving unit 222 can be pulled down, so that the driving unit 222 controls the switch 221 to be kept closed, wherein the switch 221 is an analog switch or a normally closed relay, and when the switch 221 is a normally closed relay, if a piece of equipment at a certain node is damaged, the switch 221 can still be kept in a closed state, thereby avoiding the communication of the sub-equipment at a later stage from being cut off.
Optionally, the identity of the child device is associated with one or more plots.
Taking field irrigation as an example, in a field irrigation system, there may be a plurality of plots, each of which may be provided with a plot identifier, each of which may be used to irrigate one or more of the plots.
For example: each land block can be provided with an identifier, and the identifier of each land block is provided with an association relationship with the identity identifier of the corresponding irrigation sub-equipment.
By utilizing the association relationship, information and the like of the sub-equipment associated with each land block can be timely obtained
Taking each piece of sub-equipment as an example, the identification of the piece of land is "land 1", "land 2" … … "land N"; the identity of the child device is "ID1", "ID2" … … "IDN". Then "parcel 1" may be associated with "ID1," parcel 2 "may be associated with" ID2, "and" parcel N "may be associated with" IDN.
The foregoing is only one possible example, and is not limited thereto.
The following specifically explains a specific implementation procedure of the identity determination method of the communication control system provided in the embodiment of the present application.
Fig. 3 is a flowchart of a method for determining an identity of a communication control system according to an embodiment of the present application, referring to fig. 3, the method is applied to a controller in a subset, and the method includes:
s410: when the sub-equipment is powered on for the first time, the control switch assembly is disconnected, and an identity request signal is sent to the main control equipment.
S420: and receiving and storing the identity identification sent by the main control equipment.
Optionally, the implementation process of S410-S420 is already described in detail in the explanation of the system, and will not be described herein.
In the identity determining method of the communication control system provided by the embodiment of the application, when the sub-equipment is electrified for the first time, the control switch component is disconnected, an identity request signal is sent to the main control equipment, and the identity identifier sent by the main control equipment is received and stored. The bus is connected with the switch components of the sub-devices in series in sequence, so that corresponding identity identification can be sequentially determined for each sub-device when the sub-device is electrified for the first time, and then the corresponding identity identification of each sub-device can be recorded on the main control device, and accordingly, timeliness and accuracy of identity identification determination for each sub-device can be improved.
Optionally, when the sub-device is first powered on, the control switch assembly is turned off, including: when the sub-device is powered on for the first time, a level signal is sent to the driving unit so that the driving unit controls the switch to be opened based on the level signal.
Optionally, before the control switch assembly is turned off when the sub-device is first powered on, the method further includes: when the sub-equipment is powered on, judging whether the identity of the sub-equipment is an initial identity; if yes, determining that the sub-equipment is powered on for the first time.
Optionally, before the control switch works, whether the current power-on is the primary power-on or not can be judged, and the controller updates according to the identity identifier sent by the main control equipment after the primary power-on, so that the identity identifier of the current sub-equipment can be detected when the power-on is performed, and if the identity identifier is the initial identity identifier, the sub-equipment is determined to be the primary power-on; if the identity is not the initial identity, the sub-equipment can be determined to be powered on, and a subsequent identity determination process is not needed.
The following specifically explains a specific implementation procedure of the identity allocation method of the communication control system provided in the embodiment of the present application.
Fig. 4 is a flowchart of an identity allocation method of a communication control system according to an embodiment of the present application, referring to fig. 4, the method is applied to a master control device, and the method includes:
s510: and receiving a current identity request signal sent by the target sub-equipment.
S520: and generating an identity for the target sub-device based on the identity request signal and the currently allocated identity.
S530: and sending the identity identifier to the target sub-equipment.
Optionally, the implementation process of S510-S530 is already described in detail in the explanation of the system, and will not be described herein.
Optionally, generating an identity for the target sub-device based on the identity request signal and the currently assigned identity, including: based on the identity request signal, adding one to the currently allocated identity to obtain the identity of the target sub-equipment.
For example, the initial identity may be set to "0", and if the currently allocated identities are 0, the identity of the source child device of the identity request signal may be determined to be "1" based on the identity request signal; accordingly, if the number of the currently allocated identities is 10, the identity of the source sub-device of the identity request signal can be determined to be "11" based on the identity request signal.
Optionally, the above allocation manner is only an example, and in an actual implementation process, the determining order of each identity may be set according to an actual requirement, for example: increasing, decreasing, or other order, etc., is not limited herein.
Optionally, based on the identity request signal, adding one to the currently allocated identity to obtain the identity of the target sub-device, and then further including: and taking the identity of the target sub-equipment as a new currently allocated identity.
Optionally, after each determination of the identity of one of the sub-devices, the currently assigned identity stored in the master device may be updated, for example: after the sub-equipment with the identity mark of 2 is determined, the currently allocated identity mark can be updated to 2, and when the identity mark of the next sub-equipment is determined, the determination process can be completed by directly adding one on the basis of the updated currently allocated identity mark.
In the identity allocation method of the communication control system provided by the embodiment of the application, the current identity request signal sent by the target sub-equipment can be received; generating an identity for the target sub-device based on the identity request signal and the currently allocated identity; and sending the identity identifier to the target sub-equipment. The bus is connected with the switch components of the sub-devices in series in sequence, so that corresponding identity identification can be sequentially determined for each sub-device when the sub-device is electrified for the first time, and then the corresponding identity identification of each sub-device can be recorded on the main control device, and accordingly, timeliness and accuracy of identity identification determination for each sub-device can be improved.
Optionally, the method further comprises: and establishing and storing the association relation between the target sub-equipment and the target land according to the identity of the target sub-equipment and the identity of each land.
In the process of allocating the identity of the sub-equipment by the main control equipment, the association relationship between the target sub-equipment and the target land parcel can be established.
For example: in the farmland irrigation system, each piece of sub-equipment corresponds to one or more target plots, the sub-equipment is used for performing irrigation and other works on the corresponding target plots, after the identity is allocated to the first sub-equipment, the plot identity of the target plot corresponding to the first sub-equipment can be determined, so that the plot identity of the target plot corresponding to the identity of each piece of sub-equipment can be determined, and the corresponding association relationship can be established and stored.
The main control equipment (or other electronic equipment connected with the main control equipment) can determine a target land block corresponding to each piece of sub equipment based on the association relation, when a user inquires information of the sub equipment based on the main control equipment, the main control equipment can provide information of the target land block corresponding to each piece of sub equipment, the information of the target land block can be stored in the main control equipment in advance, and the target land block can be invoked and acquired correspondingly after the land block identification of the target land block is determined.
Optionally, the main control device may be in communication connection with a mobile terminal, which may be a mobile phone or other electronic devices, and an application program may be disposed in the mobile terminal, and the user may operate the application program, for example: the mobile terminal can respond to the inquiry of the user to the target sub-equipment, and can acquire the identity of the target sub-equipment and the land parcel information of the target land parcel corresponding to the target sub-equipment through the main control equipment.
The above-mentioned only takes the inquiry target sub-device as an example, and in practical application, the target block can be inquired through the mobile terminal based on the association relation stored in the main control device in advance, so as to further determine the target sub-device corresponding to the target block, and the like, which is not limited herein.
In the identity allocation method of the communication control system provided by the embodiment of the application, the association relation between the target sub-equipment and the target land block can be established and stored based on the identity mark of the target sub-equipment and the mark of each land block, so that a user can conveniently acquire the information of each sub-equipment and the information of the land block corresponding to each sub-equipment in time, and the working efficiency of the farmland irrigation system is improved.
The following describes a device, equipment, a storage medium, etc. corresponding to the identity determining method of the communication control system and the identity distributing method of the communication control system, and specific implementation processes and technical effects of the method are referred to above, and are not described in detail below.
Fig. 5 is a schematic structural diagram of an identity determining apparatus of a communication control system according to an embodiment of the present application, referring to fig. 5, the apparatus includes: a control module 610, a receiving module 620;
the control module 610 is configured to control the switch assembly to be turned off and send an identity request signal to the master control device when the sub device is powered on for the first time;
and the receiving module 620 is configured to receive and store the identity identifier sent by the master control device.
Optionally, the control module 610 is specifically configured to send a level signal to the driving unit when the sub-device is powered on for the first time, so that the driving unit controls the switch to be turned off based on the level signal.
Optionally, the control module 610 is further configured to determine, when the sub-device is powered on, whether the identity of the sub-device is an initial identity; if yes, determining that the sub-equipment is powered on for the first time.
Fig. 6 is a schematic structural diagram of an identity allocation device of a communication control system according to an embodiment of the present application, please refer to fig. 6, the device includes: a collection module 710, a determination module 720, a transmission module 730;
a collecting module 710, configured to receive a current identity request signal sent by a target sub-device;
a determining module 720, configured to generate an identity for the target sub-device based on the identity request signal and the currently allocated identity;
and a sending module 730, configured to send the identity identifier to the target sub-device.
Optionally, the determining module 720 is specifically configured to add one to the currently allocated identity based on the identity request signal, so as to obtain the identity of the target sub-device.
The determining module 720 is further configured to use the identity of the target sub-device as the new currently allocated identity.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASICs), or one or more microprocessors, or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGAs), etc. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 7 is a schematic structural diagram of an internet of things device according to an embodiment of the present application, referring to fig. 7, the internet of things device includes: the first memory 810 and the first processor 820, wherein the first memory 810 stores a computer program executable on the first processor 820, and the first processor 820 implements the steps of the identity determination method of the communication control system when executing the computer program.
Alternatively, the internet of things device shown in fig. 7 may specifically be any one of the above-mentioned multiple sub-devices.
Fig. 8 is a schematic structural diagram of a second master device according to an embodiment of the present application, referring to fig. 8, the master device includes: the second memory 910 and the second processor 920, wherein a computer program executable on the second processor 920 is stored in the second memory 910, and when the second processor 920 executes the computer program, the steps of the identity allocation method of the communication control system are realized.
In another aspect of the embodiments of the present application, there is further provided a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the method for determining an identity of a communication control system and the method for allocating an identity of a communication control system described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform part of the steps of the methods of the embodiments of the application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The foregoing is merely illustrative of embodiments of the present application, and the present application is not limited thereto, and any changes or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and the present application is intended to be covered by the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (13)

1. A communication control system, comprising: a master control device and a plurality of sub-devices;
the main control equipment is connected with each piece of sub equipment through a bus, and the bus is used for communication connection between the main control equipment and the sub equipment;
each of the sub-devices includes: a controller and a switch assembly; when the controller is not powered, the switch assembly remains closed;
the controller is respectively connected with the switch assembly and the bus and is used for controlling the switch assembly to be disconnected when the sub-equipment is powered on for the first time and sending an identity request signal to the main control equipment through the bus;
the switch components of the sub-equipment are sequentially connected in series, and the identity of each sub-equipment is respectively associated with one or more plots;
the main control equipment receives the identity request signal through the bus and sends the identity of the sub-equipment to the sub-equipment through the bus.
2. The system of claim 1, wherein the switch assembly comprises: a switch and a driving unit;
the switch is connected with the driving unit, and the driving unit is connected with the controller;
the controller is used for sending a level signal to the driving unit when the sub-equipment is powered on for the first time;
the driving unit is used for controlling the switch to be disconnected according to the level signal.
3. The system of claim 2, wherein the switch is an analog switch or a normally closed relay.
4. A method of identity determination of a communication control system, wherein the method is applied to a controller in a sub-device according to any of claims 1-3, the method comprising:
when the sub-equipment is electrified for the first time, the control switch assembly is disconnected, and an identity request signal is sent to the main control equipment;
and receiving and storing the identity identification sent by the main control equipment.
5. The method of claim 4, wherein controlling the switch assembly to open upon initial power-up of the sub-device comprises:
and when the sub-equipment is powered on for the first time, a level signal is sent to a driving unit, so that the driving unit controls the switch to be turned off based on the level signal.
6. The method of claim 4, wherein the controlling the switch assembly to open prior to the first powering up of the sub-device further comprises:
when the sub-equipment is electrified, judging whether the identity of the sub-equipment is an initial identity;
if yes, determining that the sub-equipment is powered on for the first time.
7. A method of identity allocation for a communication control system, wherein the method is applied to a master device as claimed in any one of claims 1 to 3, the method comprising:
receiving a current identity request signal sent by target sub-equipment;
generating an identity for the target sub-device based on the identity request signal and the currently allocated identity;
and sending the identity to the target sub-equipment.
8. The method of claim 7, wherein generating an identity for the target sub-device based on the identity request signal and a currently assigned identity comprises:
and adding one to the currently allocated identity mark based on the identity request signal to obtain the identity mark of the target sub-equipment.
9. The method of claim 8, wherein the adding one to the currently assigned identity based on the identity request signal, after obtaining the identity of the target child device, further comprises:
and taking the identity of the target sub-equipment as a new currently allocated identity.
10. The method of claim 8, wherein the method further comprises:
and establishing and storing the association relation between the target sub-equipment and the target land according to the identity of the target sub-equipment and the identity of each land.
11. An internet of things device, comprising: a first memory, a first processor, the first memory having stored therein a computer program executable on the first processor, the first processor implementing the steps of the method of any of the preceding claims 4 to 6 when the computer program is executed.
12. A master control apparatus, comprising: a second memory, a second processor, the second memory having stored therein a computer program executable on the second processor, the second processor implementing the steps of the method of any of the preceding claims 7 to 10 when the computer program is executed.
13. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of claims 4 to 6 and/or any of claims 7 to 10.
CN202111583415.2A 2021-12-22 2021-12-22 Communication control system, identity determination method, distribution method and equipment Active CN114285692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111583415.2A CN114285692B (en) 2021-12-22 2021-12-22 Communication control system, identity determination method, distribution method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111583415.2A CN114285692B (en) 2021-12-22 2021-12-22 Communication control system, identity determination method, distribution method and equipment

Publications (2)

Publication Number Publication Date
CN114285692A CN114285692A (en) 2022-04-05
CN114285692B true CN114285692B (en) 2023-09-01

Family

ID=80873974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111583415.2A Active CN114285692B (en) 2021-12-22 2021-12-22 Communication control system, identity determination method, distribution method and equipment

Country Status (1)

Country Link
CN (1) CN114285692B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174522A (en) * 2022-07-05 2022-10-11 易事特储能科技有限公司 Electronic equipment ID configuration method, device, equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102862487A (en) * 2011-07-05 2013-01-09 北汽福田汽车股份有限公司 Battery control system of car
CN105940661A (en) * 2014-02-03 2016-09-14 高通股份有限公司 Device identification generation in electronic devices to allow external control of device identification for bus communications identification, and related systems and methods
CN106482080A (en) * 2016-12-29 2017-03-08 广州视声智能股份有限公司 A kind of relay client/server system
WO2018112942A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Device authentication method, apparatus, electronic device and slave device
CN208126373U (en) * 2018-05-07 2018-11-20 广州视源电子科技股份有限公司 A kind of the detection response circuit and iic bus system of IIC failure
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN113395198A (en) * 2021-06-16 2021-09-14 广州极飞科技股份有限公司 Networking method and device of equipment and data transmission system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8819484B2 (en) * 2011-10-07 2014-08-26 International Business Machines Corporation Dynamically reconfiguring a primary processor identity within a multi-processor socket server
KR102510886B1 (en) * 2018-11-23 2023-03-16 삼성에스디아이 주식회사 A slave module and a number assignment system including the slave module

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102862487A (en) * 2011-07-05 2013-01-09 北汽福田汽车股份有限公司 Battery control system of car
CN105940661A (en) * 2014-02-03 2016-09-14 高通股份有限公司 Device identification generation in electronic devices to allow external control of device identification for bus communications identification, and related systems and methods
WO2018112942A1 (en) * 2016-12-23 2018-06-28 深圳前海达闼云端智能科技有限公司 Device authentication method, apparatus, electronic device and slave device
CN106482080A (en) * 2016-12-29 2017-03-08 广州视声智能股份有限公司 A kind of relay client/server system
CN208126373U (en) * 2018-05-07 2018-11-20 广州视源电子科技股份有限公司 A kind of the detection response circuit and iic bus system of IIC failure
CN111586204A (en) * 2020-05-12 2020-08-25 广州极飞科技有限公司 Communication address allocation method, communication system, master device and slave device
CN113395198A (en) * 2021-06-16 2021-09-14 广州极飞科技股份有限公司 Networking method and device of equipment and data transmission system

Also Published As

Publication number Publication date
CN114285692A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN112073471B (en) Control method and device of equipment, storage medium and electronic device
CN102202087B (en) Method for identifying storage equipment and system thereof
CN105224362A (en) Host computer carries out the method and system of program upgrade to slave computer
CN101741583A (en) Method, device and system for realizing data updating of intelligent household electrical appliance
CN103036736A (en) Configuration equipment monitoring system and monitoring method based on data sources
CN103441935A (en) Method and device capable of automatically recognizing adjacency relation between server and access switch
CN109981360B (en) Internet of things equipment site opening method, device and system and storage medium
CN114285692B (en) Communication control system, identity determination method, distribution method and equipment
CN108268383A (en) Automatic addressing and data distributing method, device, main control device, from control equipment and computer readable storage medium
CN109995805A (en) A kind of management method of intelligent robot, terminal device and medium
CN104270434A (en) Service state monitoring system based on cloud service
CN109474467A (en) Network automatically management method, device, storage medium and electronic equipment
CN114374602A (en) Master control equipment configuration method and device, cloud server and storage medium
CN106550030A (en) A kind of data sharing method, apparatus and system
CN108509599A (en) A kind of creation method and device of data model
CN114722437A (en) Cross-APP unique identifier generation method, device, equipment and storage medium
CN107221939A (en) The control of reactive power compensating group network system and its capacity diffused integration compensation method
CN106874412B (en) Electricity charge inquiry monitoring system based on cloud computing
CN105281944B (en) Method for setting network protocol address and service management system
CN110851186A (en) Network equipment restarting method and device, electronic equipment and readable storage medium
CN102769495A (en) Optical access network equipment communication method, device and system
CN107332692B (en) Line card automatic adaptation and the PTN device and method for downloading software
CN102413488B (en) Information interacting method in automatic drive test system and equipment
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
CN109947576A (en) A kind of method of virtual machine internal broker program management

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