CN110830304A - Master-slave communication system, slave machine position identification method and mobile power supply leasing device - Google Patents

Master-slave communication system, slave machine position identification method and mobile power supply leasing device Download PDF

Info

Publication number
CN110830304A
CN110830304A CN201911109393.9A CN201911109393A CN110830304A CN 110830304 A CN110830304 A CN 110830304A CN 201911109393 A CN201911109393 A CN 201911109393A CN 110830304 A CN110830304 A CN 110830304A
Authority
CN
China
Prior art keywords
slave
information
master
position identification
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911109393.9A
Other languages
Chinese (zh)
Other versions
CN110830304B (en
Inventor
梁凯
杨光成
王朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Search Electric Technology Development Co Ltd
Original Assignee
Shenzhen Search Electric Technology Development 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 Search Electric Technology Development Co Ltd filed Critical Shenzhen Search Electric Technology Development Co Ltd
Priority to CN201911109393.9A priority Critical patent/CN110830304B/en
Publication of CN110830304A publication Critical patent/CN110830304A/en
Priority to PCT/CN2020/122831 priority patent/WO2021093540A1/en
Priority to TW109139641A priority patent/TWI772963B/en
Application granted granted Critical
Publication of CN110830304B publication Critical patent/CN110830304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0042Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The invention relates to the technical field of bus communication, in particular to a master-slave communication system, a slave position identification method and a leasing device of a mobile power supply. The master-slave communication system comprises a master machine and a plurality of slave machines, wherein the master machine and the slave machines are connected in parallel through communication buses and are connected in series with the master machine as a first part through serial buses; the slave machine sequentially receives and processes the position identification information sent from the host machine through the serial bus and acquires the position information of the slave machine relative to the host machine; the host machine communicates with the slave machines at all positions through the communication bus to obtain the coding addresses of the slave machines at the corresponding positions. The invention obtains the arrangement sequence of the slave relative to the host and the corresponding coded address, is convenient for managing and identifying the equipment, improves the flexibility of the host and the slave structures, and does not need the staff to specially input the coded address into the host or a master system in the repair, installation and replacement processes.

Description

Master-slave communication system, slave machine position identification method and mobile power supply leasing device
Technical Field
The invention relates to the technical field of bus communication, in particular to a master-slave communication system, a slave position identification method and a leasing device of a mobile power supply.
Background
In a conventional master-slave communication system, a master and a plurality of slaves are interconnected by a communication bus for data transmission, and refer to fig. 1 specifically.
However, because of the characteristic of the shared bus, the master and the slave communicate with each other in a one-to-one manner to prevent the bus from being confused, and the slave which does not receive the request of the master is not allowed to occupy the bus.
Because of the flexibility of the host and the slave machine structures, the host machine and the slave machine are very flexible, changeable and convenient to repair, install and replace, however, the host machine needs to obtain the address of the corresponding slave machine again in each installation, manual self-entry is needed, errors are easy to occur, the operation is complex, and the method is not suitable for large-scale popularization.
Disclosure of Invention
The present invention provides a master-slave communication system, a slave position identification method, and a leasing apparatus for a portable power source, which are directed to overcome the above-mentioned drawbacks of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: the method comprises the steps that a master-slave communication system comprises a master machine and a plurality of slave machines, each slave machine comprises a unique coded address, the master machine and the slave machines are connected in parallel through a communication bus and are connected in series with the master machine as the head through a serial bus; the slave position identification method comprises the following steps:
the first slave computer receives the position identification information sent by the host computer through the serial bus, processes and acquires the position information of the first slave computer relative to the host computer;
the next slave computer processes and acquires the position information of the next slave computer relative to the host computer according to the position identification information processed by the previous slave computer received through the serial bus;
the host machine communicates with the slave machines at all positions through the communication bus to obtain the coding addresses of the slave machines at the corresponding positions.
Wherein, the preferred scheme is: the position information is the sequence of each slave relative to the master.
Preferably, the step of communicating the master with the slaves at each location via a communication bus to obtain the coded addresses of the slaves at the corresponding locations includes:
the host sends address pairing information containing position information through a communication bus, and the slave processes the address pairing information after receiving the address pairing information so as to extract the position information;
the slave machine processes the address matching information which is the same as the self position information to form matching success information with a coded address, and the matching success information is sent to the host machine through a communication bus;
and the host acquires the coded address of the slave at the corresponding position according to the pairing success information.
Preferably, the slave device processes the address pairing information, and the step of processing the address pairing information includes:
processing the slave after receiving the address pairing information to extract the position information;
the slave machine compares the position information extracted from the address matching information with the position information acquired from the position identification information, and processes the address matching information if the preset address matching condition is met;
and forming pairing success information with the coded address, and sending the pairing success information to the host through the communication bus.
Preferably, the slave position identifying method further includes:
the host computer sends notification information through the communication bus, and the slave computer waits for receiving the position identification information after receiving the notification information through the communication bus;
the master machine sends the position identification information through the serial bus, each slave machine processes the position identification information after receiving the position identification information, and the processed position identification information is sent to the next slave machine through the serial bus.
Preferably, the slave position identifying method further includes:
the host computer sends notification information through the communication bus, and the slave computer waits for receiving the position identification information within preset time after receiving the notification information through the communication bus;
if the slave does not receive the position identification information within the preset time, sending failure feedback information through a communication bus;
the master machine obtains the number of the slave machines or the slave machine coding addresses which do not receive the position identification information according to the failure feedback information, the master machine readjusts the position identification information to meet the requirement of the slave machines with the corresponding number, and the slave machine sends the position identification information through the serial bus.
Wherein, the preferred scheme is: the master-slave communication system also comprises a controllable switch which is connected with the transceiving end of the slave serial bus in parallel, the control end of the controllable switch is connected with the control pin of the corresponding slave, the controllable switch is normally open under the control of the slave, and when the slave can not work normally, the controllable switch is not controlled any more, and the controllable switch enters a normally closed state.
The technical scheme adopted by the invention for solving the technical problems is as follows: the master-slave communication system comprises a master machine and a plurality of slave machines, each slave machine comprises a unique coded address, the master machine and the slave machines are connected in parallel through communication buses and are connected in series with the master machine through serial buses, and the master-slave communication system can realize the slave machine position identification method.
Wherein, the preferred scheme is: the master-slave communication system also comprises a controllable switch connected with the transceiving end of the slave serial bus in parallel, the control end of the controllable switch is connected with the control pin of the corresponding slave, and the controllable switch is normally opened under the control of the slave; when the slave can not work normally, the controllable switch is not controlled any more, and the controllable switch enters a normally closed state.
The technical scheme adopted by the invention for solving the technical problems is as follows: the leasing device comprises the master-slave communication system and the mobile power supply placed on a slave.
Compared with the prior art, the invention has the advantages that the arrangement sequence of the slave machines relative to the host machine and the corresponding coded addresses are obtained on the premise that the host machine does not need to know the coded addresses of the slave machines in advance, so that the equipment is convenient to manage and identify, the structure flexibility of the host machine and the slave machines is improved, in the repair, installation and replacement processes, a worker does not need to specially input the coded addresses into the host machine or a master system, and the position of the slave machines corresponding to the coded addresses can be obtained in time due to the fact that the worker exchanges the positions of the slave machines; furthermore, when the slave machine has a problem and can not work normally, the position identification information is ignored by the slave machine and directly enters the next slave machine, so that the breakpoint transmission of communication is realized, and the reliability of the system is improved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic diagram of a master-slave communication system according to the present invention;
FIG. 2 is a flow chart illustrating a slave position identification method according to the present invention;
FIG. 3 is a detailed flow chart of the slave position identification method according to the present invention;
FIG. 4 is a flow chart illustrating the slave processing address pairing information according to the present invention;
FIG. 5 is a flow chart illustrating a slave location identification method based on notification information according to the present invention;
FIG. 6 is a schematic diagram of a further flow chart of FIG. 5;
fig. 7 is a schematic diagram of the structure of the controllable switch of the present invention.
Detailed Description
The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
As shown in fig. 1 to 4, the present invention provides a preferred embodiment of a slave position identification method.
A slave position identification method of a master-slave communication system comprises a master 110 and a plurality of slaves 120, each slave 120 comprises a unique coded address, and the master 110 and the slaves 120 are connected in parallel through a communication bus 220 and connected in series with the master 110 through a serial bus 210.
Specifically, the master 110 is provided with one and a plurality of slaves 120 matched with the master 110, the master 110 includes a first master pin 111 having a sending function and a second master pin 112 having an information communication function, the slaves 120 includes a first slave pin 121 having a receiving function, a second slave pin 122 having a sending function and a third slave pin 123 having an information communication function, wherein the master 110 is connected to the communication bus 220 through the second master pin 112, the slaves 120 is connected to the communication bus 220 through the third slave pin 123, the master 110 is connected to the first slave pin 121 of the slaves 120 through the first master pin 111 to realize serial communication, and the slaves 120 is connected to the first slave pin 121 of the next slave 120 through the second slave pin 122 to realize serial communication. The master 110 and the slaves 120 both realize the communication of 'one question and one answer' through the communication bus 220, the master 110 and the slaves 120 realize the serial communication in sequence with the master 110 as the head through the serial bus 210, and the output signals of the master 110 are transmitted to the slaves 120 in sequence.
In order to improve the simplicity of language, the related functional operations of the host 110 and the slave 120 provided in the specification are implemented by the internal processing module as default, and the related pins are also pins of the processing module.
In this embodiment, and referring to fig. 2, the slave position identification method includes the steps of:
step S10, the slave 120 sequentially receives and processes the position identification information sent from the master 110 through the serial bus 210, and acquires the position information of the slave relative to the master 110;
in step S20, the master 110 communicates with the slaves 120 at different positions via the communication bus 220 to obtain the coded addresses of the slaves 120 at the corresponding positions.
The position identification information of the master 110 is sequentially transmitted to the slaves 120 through the serial bus 210, and different position information is acquired according to the receiving sequence of the slaves 120, thereby acquiring the position information of the slave relative to the master 110. And then, on the basis of the position information of each slave machine 120, address identification communication is carried out through the communication bus 220, and the coded address corresponding to the slave machine 120 at each position is obtained, so that the coded address of the slave machine 120 at each position can be intelligently obtained on the basis of unknown information of the slave machine 120.
The position information is the sequence of each slave relative to the master.
Further, and referring to fig. 3, the specific steps of the slave location identification method include:
step S11, the master 110 sends the position identification information through the serial bus 210, each slave 120 processes the position identification information after receiving the position identification information, and sends the processed position identification information to the next slave 120 through the serial bus 210;
step S12, the slave 120 acquires its own position information with respect to the master 110 from the position identification information;
step S21, the master 110 sends address pairing information including location information through the communication bus 220, and the slave 120 performs processing to extract the location information after receiving the address pairing information;
step S22, the slave device 120 processes the address pairing information that is the same as the position information of the slave device itself to form pairing success information with a coded address, and sends the pairing success information to the master device 110 through the communication bus 220;
step S23, the master 110 obtains the coded address of the slave 120 at the corresponding position according to the pairing success information.
Specifically, through steps S11 and S12, depending on the characteristic that the serial bus 210 needs to pass through each slave 120 before reaching the next slave 120, the slave 120 sends the position identification information through the serial bus 210, where the position identification information should include the corresponding position information, or after passing through the slave 120, provides new position information for the next slave 120. For example, the position identification information is a string of continuous numbers, such as a string of 1 to 9 ordered characters, after the slave 120 at the first position acquires the position identification information, the slave 120 at the first position extracts the first digit according to a preset algorithm, modifies the position identification information, such as deletes the first digit string to form new position identification information, and sends the new position identification information to the next slave 120, and each slave 120 acquires a corresponding position, i.e., position information relative to the position of the master 110. For another example, the position identification information is a code, the first slave 120 receives the code first, and extracts the position information through a preset algorithm or a database, that is, the position information of the current slave 120 is considered as "number 1" through the code, and then the code is modified into another new position identification information which can be identified by the slave 120 and represents "number 2" through the preset algorithm or the database, and each slave 120 can obtain a corresponding position, that is, the position information relative to the position of the master 110 through the above operations.
And, through steps S21 to S23, the communication between the master 110 and the plurality of slaves 120 is realized by the communication bus 220, for example, each slave 120 acquires its own position information relative to the master 110, and acquires an address corresponding to each position information through address pairing information including specific position information, that is, the master 110 can acquire a coded address corresponding to the slave 120 at each position according to the mutual communication of the communication bus 220. Subsequently, the master 110 controls the slaves 120 corresponding to the code addresses according to the known code addresses and the intelligent control or the remote command control, and can intelligently acquire the code addresses of the slaves 120 on the premise that the master 110 does not need to know the code addresses of the slaves 120 in advance, so that the flexibility of the structures of the master 110 and the slaves 120 is improved, and in the repair, installation and replacement processes, a worker does not need to specially input the code addresses into the master 110 or a master system, and subsequently, the worker can acquire the positions of the slaves 120 corresponding to the code addresses in time because the worker exchanges the positions of the slaves 120.
The slave 120 processes the address pairing information that is the same as the self-location information, for example, adds the self-location to the address pairing information to form successful pairing information, where the address pairing information is (1) AAA, and the successful pairing information is (1) (XXX) AAA, where (1) belongs to the location information, (XXX) belongs to the coded address, and AAA belongs to the additional information. For another example, the self address is fused into the address pairing information to form pairing success information, for example, the address pairing information is (1) AAA, the pairing success information is (1XXX) AAA or (1) AXAXAX, and the host 110 may extract the coded address XXX by using a specific algorithm, so as to prevent signal interference and improve security performance. Of course, the serial bus 210 and the communication bus 220 can be implemented by high and low levels, which are conventional technologies for information transmission and are not described one by one.
In this embodiment, and referring to fig. 4, the step of the slave 120 processing the address pairing information includes:
step S221, after receiving the address pairing information, the slave 120 performs processing to extract the position information;
step S222, the slave 120 compares the position information extracted from the address matching information with the position information obtained from the position identification information, and processes the address matching information if the preset address matching condition is met;
step S223, forming a pairing success message with the coded address, and sending the pairing success message to the host 110 through the communication bus 220.
Specifically, it is mainly emphasized how the slave 120 performs different processing according to the received address pairing information, if the address pairing information is intentionally sent to the slave 120 by the master 110, the slave 120 performs processing to form pairing success information and feeds back the pairing success information to the master 110, and if the address pairing information is intentionally sent to other slaves 120 by the master 110, the slave 120 does not perform processing. The general processing method is to extract the location information of the address matching information, compare the location information with the location information of the slave 120 itself, and perform the subsequent processing in the same way, or not perform the subsequent processing in the opposite way.
As shown in fig. 5 and 6, the present invention provides a preferred embodiment of a slave location identification method based on notification information.
The slave position identification method further comprises the steps of:
step S31, the master 110 first sends the notification information through the communication bus 220, and the slave 120 waits to receive the location identification information after receiving the notification information through the communication bus 220;
in step S32, the master 110 sends the position identification information through the serial bus 210, and each slave 120 receives the position identification information and processes the position identification information, and sends the processed position identification information to the next slave 120 through the serial bus 210.
Specifically, the main function of the notification information is to prevent the number of the slaves 120 from being too large, and the position identification information of the master 110 cannot enable all the slaves 120 to acquire their own position information, or the position identification information is not transmitted to the corresponding slaves 120 in time due to a midway error. The master 110 first sends a notification message through the communication bus 220 to notify all slaves 120 accessing the communication bus 220 that the master 110 will perform the step of determining the position information, and the slaves 120 enter the corresponding operating mode to wait for receiving the position identification information.
In this embodiment, and referring to fig. 6, the slave position identification method further includes the steps of:
step S311, the host 110 sends a notification message through the communication bus 220;
step S312, after receiving the notification message through the communication bus 220, the slave 120 waits for receiving the location identification message within a preset time;
step S33, if the slave device 120 does not receive the position identification information within the preset time, sending failure feedback information through the communication bus 220;
step S34, the master 110 obtains the number of slaves 120 that have not received the position identification information or the coded addresses of the slaves 120 according to the failure feedback information, and the master 110 readjusts the position identification information to satisfy the number of slaves 120 corresponding to the number, and then sends the position identification information through the serial bus 210.
Specifically, when a certain slave 120 does not receive the position identification information within a predetermined time, it may be considered that the slave 120 cannot acquire its own position information, the slave 120 feeds back the position information to the master 110, that is, the slave 120 transmits failure feedback information through the communication bus 220, the master 110 acquires the number of slaves 120 that do not receive the position identification information or the coded addresses of the slaves 120 according to the failure feedback information, the master 110 readjusts the position identification information to satisfy the number of slaves 120 corresponding to the number, and the slave transmits the position identification information through the serial bus 210. The content of the position identification information is intelligently adjusted to satisfy that different slaves 120 can obtain their own position information.
As shown in fig. 7, the present invention provides a preferred embodiment of the controllable switch.
The master-slave communication system further comprises a controllable switch 300 connected in parallel with the transceiving end of the serial bus 210 of the slave 120, the control end of the controllable switch 300 is connected with the control pin of the corresponding slave 120, the controllable switch 300 is normally open under the control of the slave 120, and when the slave 120 cannot normally work, the controllable switch 300 is not controlled any more, and the controllable switch 300 enters the normally closed state.
Specifically, the first slave pin 121 and the second slave pin 122 of each slave 120 are connected through a controllable switch 300, the controllable switch 300 includes a switch 310 disposed between the first slave pin 121 and the second slave pin 122 and a controller 320 for controlling the switch 310 to be turned on or off, the slave 120 further includes a fourth slave pin 124 for controlling the controller 320 to operate, and the slave 120 controls the controller 320 through the fourth slave pin 124 to control the switch 310 to be normally open. And when the master-slave communication system is powered on, the controllable switch 300 is normally opened under the control of the slave 120, and when the controllable switch 300 is disconnected from the control of the slave 120, the controllable switch enters normally closed, that is, when the slave 120 has a problem and cannot normally work, the first slave pin 121 and the second slave pin 122 can be directly short-circuited, so that the position identification information ignores the slave 120 and directly enters the next slave 120, the breakpoint transmission of communication is realized, and the reliability of the system is improved.
Further, the controller 320 is also connected to ground, so as to realize effective transmission of the control signal of the fourth slave pin 124.
In the present invention, the present invention provides a preferred embodiment of the lending device.
A portable power source rent device which characterized in that: the lending device includes a master-slave communication system, and a portable power source disposed on the slave 120. The master 110 implements normal operation of the slave 120 as a rental device according to intelligent control or remote command control.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the scope of the present invention, but rather as embodying the invention in a wide variety of equivalent variations and modifications within the scope of the appended claims.

Claims (10)

1. The method for identifying the slave position of the master-slave communication system is characterized in that the master-slave communication system comprises a master machine and a plurality of slave machines, each slave machine comprises a unique coded address, the master machine and the slave machines are connected in parallel through a communication bus and are connected in series with the master machine as the head through a serial bus; the slave position identification method comprises the following steps:
the first slave computer receives the position identification information sent by the host computer through the serial bus, processes and acquires the position information of the first slave computer relative to the host computer;
the next slave computer processes and acquires the position information of the next slave computer relative to the host computer according to the position identification information processed by the previous slave computer received through the serial bus;
the host machine communicates with the slave machines at all positions through the communication bus to obtain the coding addresses of the slave machines at the corresponding positions.
2. The slave position identification method according to claim 1, characterized in that: the position information is the sequence of each slave relative to the master.
3. The slave position identification method according to claim 1, wherein the step of the master communicating with the slaves at each position through the communication bus to obtain the coded addresses of the slaves at the corresponding positions comprises:
the host sends address pairing information containing position information through a communication bus, and the slave processes the address pairing information after receiving the address pairing information so as to extract the position information;
the slave machine processes the address matching information which is the same as the self position information to form matching success information with a coded address, and the matching success information is sent to the host machine through a communication bus;
and the host acquires the coded address of the slave at the corresponding position according to the pairing success information.
4. The slave position identification method according to claim 3, wherein the slave processing address pairing information comprises:
processing the slave after receiving the address pairing information to extract the position information;
the slave machine compares the position information extracted from the address matching information with the position information acquired from the position identification information, and processes the address matching information if the preset address matching condition is met;
and forming pairing success information with the coded address, and sending the pairing success information to the host through the communication bus.
5. The slave position identification method according to claim 1, wherein the slave position identification method further comprises the steps of:
the host computer sends notification information through the communication bus, and the slave computer waits for receiving the position identification information after receiving the notification information through the communication bus;
the master machine sends the position identification information through the serial bus, each slave machine processes the position identification information after receiving the position identification information, and the processed position identification information is sent to the next slave machine through the serial bus.
6. The slave position identification method according to claim 5, wherein the slave position identification method further comprises the steps of:
the host computer sends notification information through the communication bus, and the slave computer waits for receiving the position identification information within preset time after receiving the notification information through the communication bus;
if the slave does not receive the position identification information within the preset time, sending failure feedback information through a communication bus;
the master machine obtains the number of the slave machines or the slave machine coding addresses which do not receive the position identification information according to the failure feedback information, the master machine readjusts the position identification information to meet the requirement of the slave machines with the corresponding number, and the slave machine sends the position identification information through the serial bus.
7. The slave position identification method according to any one of claims 1 to 6, characterized in that: the master-slave communication system also comprises a controllable switch which is connected with the transceiving end of the slave serial bus in parallel, the control end of the controllable switch is connected with the control pin of the corresponding slave, the controllable switch is normally open under the control of the slave, and when the slave can not work normally, the controllable switch is not controlled any more, and the controllable switch enters a normally closed state.
8. A master-slave communication system, comprising: the master-slave communication system comprises a master machine and a plurality of slave machines, each slave machine comprises a unique coded address, the master machine and the slave machines are connected in parallel through a communication bus and are connected in series with the master machine through a series bus, and the master-slave communication system can realize the slave machine position identification method according to any one of claims 1 to 7.
9. The master-slave communication system of claim 8, wherein: the master-slave communication system also comprises a controllable switch connected with the transceiving end of the slave serial bus in parallel, the control end of the controllable switch is connected with the control pin of the corresponding slave, and the controllable switch is normally opened under the control of the slave; when the slave can not work normally, the controllable switch is not controlled any more, and the controllable switch enters a normally closed state.
10. A portable power source rent device which characterized in that: the lending device comprises a master-slave communication system according to claim 8 or 9, and a mobile power supply placed on a slave.
CN201911109393.9A 2019-11-13 2019-11-13 Master-slave communication system, slave machine position identification method and mobile power supply leasing device Active CN110830304B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201911109393.9A CN110830304B (en) 2019-11-13 2019-11-13 Master-slave communication system, slave machine position identification method and mobile power supply leasing device
PCT/CN2020/122831 WO2021093540A1 (en) 2019-11-13 2020-10-22 Master/slave communication system, method for identifying positions of slave machines, and appartus for leasing mobile power source
TW109139641A TWI772963B (en) 2019-11-13 2020-11-13 Master-slave communication system, slave position recognition method and power bank rental device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911109393.9A CN110830304B (en) 2019-11-13 2019-11-13 Master-slave communication system, slave machine position identification method and mobile power supply leasing device

Publications (2)

Publication Number Publication Date
CN110830304A true CN110830304A (en) 2020-02-21
CN110830304B CN110830304B (en) 2022-11-11

Family

ID=69554913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911109393.9A Active CN110830304B (en) 2019-11-13 2019-11-13 Master-slave communication system, slave machine position identification method and mobile power supply leasing device

Country Status (3)

Country Link
CN (1) CN110830304B (en)
TW (1) TWI772963B (en)
WO (1) WO2021093540A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087741A (en) * 2020-09-25 2020-12-15 福建福清核电有限公司 Cascade communication device based on one master and multiple slaves in nuclear island
CN112533190A (en) * 2020-11-20 2021-03-19 歌尔科技有限公司 Control method of slave device, and computer-readable storage medium
CN112636779A (en) * 2020-12-17 2021-04-09 深圳街电科技有限公司 Communication method and electronic equipment
WO2021093540A1 (en) * 2019-11-13 2021-05-20 深圳竹芒科技股份有限公司 Master/slave communication system, method for identifying positions of slave machines, and appartus for leasing mobile power source
CN114093090A (en) * 2021-11-17 2022-02-25 广东臻享云科技发展有限公司 Automatic change and adjust precious lease device that charges of distributed
CN114143139A (en) * 2021-11-30 2022-03-04 陕西中源智控科技有限公司 Rubber belt conveyor protection system and method based on hardware redundancy packet communication
CN114327931A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 Network management equipment in complete machine cabinet and network system in complete machine cabinet
CN115801494A (en) * 2023-02-08 2023-03-14 浙江正泰物联技术有限公司 Communication system and networking method for communication system
WO2023123874A1 (en) * 2021-12-30 2023-07-06 如果新能源科技(江苏)股份有限公司 Automatic bus address allocation and identification method, electronic device, storage medium, and program product

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426393A (en) * 2022-08-05 2022-12-02 杭州和利时自动化有限公司 Method and device for realizing wireless control information interaction
CN117349201B (en) * 2023-10-13 2024-03-05 芜湖藦卡机器人科技有限公司 Multi-slave control method, system and storage medium based on serial port communication
CN117319354A (en) * 2023-11-28 2023-12-29 天合光能股份有限公司 Address configuration method and device for photovoltaic tracking bracket controller

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477506A (en) * 2008-01-04 2009-07-08 鸿富锦精密工业(深圳)有限公司 Addressing system and method of master equipment to slave equipment
CN102821017A (en) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 Method and system for sequentially identifying slave addresses from master-slave field bus
CN103454996A (en) * 2013-08-23 2013-12-18 广州视睿电子科技有限公司 Master-slave computer system and control method thereof
CN103826252A (en) * 2014-01-16 2014-05-28 京信通信系统(中国)有限公司 Method of acquiring and sending sequence numbers among main and slave devices and system
CN104951421A (en) * 2015-05-19 2015-09-30 重庆大学 Automatic numbering and type recognition method and device for serial bus communication devices
CN106873513A (en) * 2017-03-01 2017-06-20 深圳市亿维自动化技术有限公司 A kind of PLC system and its principal and subordinate link structure
CN110120989A (en) * 2019-04-19 2019-08-13 珠海格力电器股份有限公司 A kind of method and system realized equipment room and distribute match address automatically
CN110401732A (en) * 2019-07-29 2019-11-01 江西科然科技有限公司 Battery management system slave addresses distribution method, system, mobile terminal and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040225814A1 (en) * 2001-05-29 2004-11-11 Ervin Joseph J. Method and apparatus for constructing wired-AND bus systems
CN101222377B (en) * 2007-11-23 2010-12-22 深圳国人通信有限公司 Method and device for processing slave machine parameter in distributed master-salve machine communication
CN106402009B (en) * 2016-10-26 2018-10-09 华南理工大学 Air quantity control system based on principal and subordinate's logic and method
DE102017117128A1 (en) * 2017-07-28 2019-01-31 Ebm-Papst Mulfingen Gmbh & Co. Kg Wireless allocation of network addresses
US10846155B2 (en) * 2018-10-16 2020-11-24 Samsung Electronics Co., Ltd. Method for NVMe SSD based storage service using RPC and gRPC tunneling over PCIe +
CN110830304B (en) * 2019-11-13 2022-11-11 深圳竹芒科技有限公司 Master-slave communication system, slave machine position identification method and mobile power supply leasing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477506A (en) * 2008-01-04 2009-07-08 鸿富锦精密工业(深圳)有限公司 Addressing system and method of master equipment to slave equipment
CN102821017A (en) * 2011-06-08 2012-12-12 中兴通讯股份有限公司 Method and system for sequentially identifying slave addresses from master-slave field bus
CN103454996A (en) * 2013-08-23 2013-12-18 广州视睿电子科技有限公司 Master-slave computer system and control method thereof
CN103826252A (en) * 2014-01-16 2014-05-28 京信通信系统(中国)有限公司 Method of acquiring and sending sequence numbers among main and slave devices and system
CN104951421A (en) * 2015-05-19 2015-09-30 重庆大学 Automatic numbering and type recognition method and device for serial bus communication devices
CN106873513A (en) * 2017-03-01 2017-06-20 深圳市亿维自动化技术有限公司 A kind of PLC system and its principal and subordinate link structure
CN110120989A (en) * 2019-04-19 2019-08-13 珠海格力电器股份有限公司 A kind of method and system realized equipment room and distribute match address automatically
CN110401732A (en) * 2019-07-29 2019-11-01 江西科然科技有限公司 Battery management system slave addresses distribution method, system, mobile terminal and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021093540A1 (en) * 2019-11-13 2021-05-20 深圳竹芒科技股份有限公司 Master/slave communication system, method for identifying positions of slave machines, and appartus for leasing mobile power source
CN112087741A (en) * 2020-09-25 2020-12-15 福建福清核电有限公司 Cascade communication device based on one master and multiple slaves in nuclear island
CN112533190A (en) * 2020-11-20 2021-03-19 歌尔科技有限公司 Control method of slave device, and computer-readable storage medium
CN112636779A (en) * 2020-12-17 2021-04-09 深圳街电科技有限公司 Communication method and electronic equipment
CN114093090A (en) * 2021-11-17 2022-02-25 广东臻享云科技发展有限公司 Automatic change and adjust precious lease device that charges of distributed
CN114143139A (en) * 2021-11-30 2022-03-04 陕西中源智控科技有限公司 Rubber belt conveyor protection system and method based on hardware redundancy packet communication
CN114327931A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 Network management equipment in complete machine cabinet and network system in complete machine cabinet
CN114327931B (en) * 2021-11-30 2023-11-03 苏州浪潮智能科技有限公司 Network management equipment in complete machine cabinet and network system in complete machine cabinet
WO2023123874A1 (en) * 2021-12-30 2023-07-06 如果新能源科技(江苏)股份有限公司 Automatic bus address allocation and identification method, electronic device, storage medium, and program product
CN115801494A (en) * 2023-02-08 2023-03-14 浙江正泰物联技术有限公司 Communication system and networking method for communication system

Also Published As

Publication number Publication date
TWI772963B (en) 2022-08-01
WO2021093540A1 (en) 2021-05-20
TW202119220A (en) 2021-05-16
CN110830304B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN110830304B (en) Master-slave communication system, slave machine position identification method and mobile power supply leasing device
US9142069B2 (en) Systems and methods for access control
CN104468178B (en) Method and apparatus for configuring control system in operating environment
JPH02500305A (en) aircraft safety system
EP3469859B1 (en) Address assignment and configuration of components of a lighting system by means of transponders
CN108124232B (en) Sound testing system and testing method
CN203858627U (en) Portable RFID (radio frequency identification) equipment
CN106793007A (en) The interactive communication method of high in the clouds and bluetooth equipment, system and wireless router
CN106408691A (en) Many-to-many wireless intelligent door lock system and control method thereof
CN106102266A (en) underground garage lighting energy-saving control system
CN105676052B (en) A kind of method and system of serial ports line sequence identification
CN103345780A (en) One-card conference sign-in terminal
CN110515644A (en) A kind of networking installation and debugging method for applying lamp indoors
CN113686388B (en) Method and system for rapidly testing assembly equipment in production process
CN102023952A (en) Communication system and communication control method thereof
CN208968830U (en) A kind of host computer and automotive diagnostic system
CN202584235U (en) Network attendance machine
CN110543791A (en) reader system and setting method
CN106714378A (en) Lamp control system and method based on mobile terminal
CN207817818U (en) A kind of two-wire system access control system
KR101543148B1 (en) Automatic searching method of sub-module for direct digital control device
CN113518109B (en) Protocol downloading system and method for field monitoring unit FSU and storage medium
CN221102615U (en) Intelligent plug, power supply control system and electronic equipment
CN217061072U (en) Face identification door opening upgrading device suitable for hotel electronic lock
CN209556734U (en) A kind of serial ports control wireless control box

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
CB02 Change of applicant information

Address after: 10 / F, financial technology building, 11 Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Shenzhen zhumang Technology Co.,Ltd.

Address before: 10 / F, financial technology building, 11 Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant before: SHENZHEN SOUDIAN TECHNOLOGY DEVELOPMENT Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 10 / F, financial technology building, 11 Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant after: Shenzhen zhumang Technology Co.,Ltd.

Address before: 10 / F, financial technology building, 11 Keyuan Road, Science Park community, Yuehai street, Nanshan District, Shenzhen, Guangdong 518000

Applicant before: Shenzhen zhumang Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant