CN106411586B - Cloud platform upgrading method of cloud platform control system and cloud platform control system - Google Patents

Cloud platform upgrading method of cloud platform control system and cloud platform control system Download PDF

Info

Publication number
CN106411586B
CN106411586B CN201610847337.5A CN201610847337A CN106411586B CN 106411586 B CN106411586 B CN 106411586B CN 201610847337 A CN201610847337 A CN 201610847337A CN 106411586 B CN106411586 B CN 106411586B
Authority
CN
China
Prior art keywords
current frame
serial port
local
upgrading
holder
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
CN201610847337.5A
Other languages
Chinese (zh)
Other versions
CN106411586A (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 Infinova Ltd
Original Assignee
Shenzhen Infinova 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 Infinova Ltd filed Critical Shenzhen Infinova Ltd
Priority to CN201610847337.5A priority Critical patent/CN106411586B/en
Publication of CN106411586A publication Critical patent/CN106411586A/en
Application granted granted Critical
Publication of CN106411586B publication Critical patent/CN106411586B/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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The invention discloses a holder upgrading method of a holder control system and the holder control system. The holder control system comprises a control center, a serial port converter, a transmitting optical transmitter and receiver, a local holder, a receiving optical transmitter and receiver and a far-end holder; the control center sends the current frame upgrading data to the sending optical transmitter and receiver and the local cloud deck; the sending optical transceiver sends the current frame upgrading data to a far-end holder; the local cradle head checks the received current frame upgrading data, generates a positive response signal or a negative response signal and sends the positive response signal or the negative response signal to the control center; when receiving the positive response signal, the control center sends the next frame of upgrading data as the current frame of upgrading data, and when receiving the negative response signal, the control center repeatedly sends the current frame of upgrading data; and the far-end cloud platform receives the current frame upgrading data and completes the far-end cloud platform upgrading based on all the current frame upgrading data. According to the cloud platform upgrading method of the cloud platform control system, the upgrading of the far-end cloud platform is realized by means of the assistance of the local cloud platform, and the intelligent upgrading of the far-end cloud platform is realized.

Description

Cloud platform upgrading method of cloud platform control system and cloud platform control system
Technical Field
The invention relates to the field of cloud deck upgrading, in particular to a cloud deck upgrading method of a cloud deck control system and the cloud deck control system.
Background
The cloud platform of installing in the existing market does not possess the network function, and in current cloud platform control system, the cloud platform passes through a pair of optical transceiver and links to each other with control center, and the cloud platform sets up the position far away from control center. In the existing holder control system, because the distance between the control center and the holder is long, a certain time delay exists in the process that a signal sent by the control center is sent to the holder through a pair of optical transceivers; and the signal can only be sent to the pan-tilt by the control center through the pair of optical transceivers, and the pan-tilt cannot send the signal to the control center through the pair of optical transceivers, so that the control center cannot determine whether the pan-tilt can receive the signal sent by the control center. In the cloud platform upgrading process of the cloud platform control system, the control center sends upgrading data to the cloud platform in an XMODEM mode, and because signals can only be transmitted in a single direction and time delay exists in the transmission process, the control center cannot determine whether the cloud platform can receive the upgrading data which is verified to be correct so as to complete the cloud platform upgrading, maintenance personnel need to arrive at the site for maintenance and upgrading, and the labor cost of the cloud platform upgrading process of the cloud platform control system is high.
Disclosure of Invention
The invention aims to solve the technical problem of providing a holder upgrading method of a holder control system and the holder control system aiming at the defects that maintenance personnel are required to maintain on site when the existing holder is upgraded.
The technical scheme adopted by the invention for solving the technical problems is as follows: a cloud platform upgrading method of a cloud platform control system comprises a control center, a serial port converter connected with the control center, a transmitting optical transceiver and a local cloud platform connected with the serial port converter, a receiving optical transceiver connected with the transmitting optical transceiver through an optical fiber, and a far-end cloud platform connected with the receiving optical transceiver;
the control center sends the current frame upgrading data to the sending optical transmitter and receiver and the local holder through the serial port converter; the sending optical transmitter sends the current frame upgrading data to the far-end holder through the receiving optical transmitter;
the local cradle head receives the current frame upgrading data, checks the current frame upgrading data to generate a positive response signal or a negative response signal, and sends the positive response signal or the negative response signal to the control center through the serial port converter;
the control center receives the positive response signal or the negative response signal; when the positive response signal is received, sending next frame upgrading data as the current frame upgrading data; repeatedly transmitting the current frame upgrade data upon receiving the negative response signal;
and the far-end cloud platform receives the current frame upgrading data and completes the far-end cloud platform upgrading based on all the current frame upgrading data.
Preferably, the local pan/tilt receives the current frame upgrading data, and completes the local pan/tilt upgrading based on all the current frame upgrading data.
Preferably, the serial port converter comprises a 232-422 serial port converter; the control center is connected with the serial port converter through a 232 serial port line; the serial port converter is connected with the transmitting optical transceiver and the local holder through a 422 serial port line; and the receiving optical transceiver is connected with the far-end holder through a 485 serial port line.
Preferably, the method further comprises the following steps: and the serial port parameter configurations of the local cradle head and the far-end cradle head are the same.
Preferably, the method further comprises the following steps: the local cloud deck receives the current frame upgrading data in a 422 serial port communication mode and finishes upgrading; and the far-end holder receives the current frame upgrading data and completes upgrading in a 485 serial port communication mode, and the local holder and the far-end holder are in a receiving state at the same time.
The invention also provides a holder control system, which comprises a control center, a serial port converter connected with the control center, a transmitting optical transmitter and receiver and a local holder connected with the serial port converter, a receiving optical transmitter and receiver connected with the transmitting optical transmitter and receiver through optical fibers, and a far-end holder connected with the receiving optical transmitter and receiver;
the control center is used for sending the current frame upgrading data to the sending optical transceiver and the local holder through the serial port converter; the sending optical transmitter sends the current frame upgrading data to the far-end holder through the receiving optical transmitter;
the local holder is used for receiving the current frame upgrading data, verifying the current frame upgrading data to generate a positive response signal or a negative response signal, and sending the positive response signal or the negative response signal to the control center through the serial port converter;
the control center is used for receiving the positive response signal or the negative response signal; when the positive response signal is received, sending next frame upgrading data as the current frame upgrading data; repeatedly transmitting the current frame upgrade data upon receiving the negative response signal;
and the far-end holder is used for receiving the current frame upgrading data and finishing the far-end holder upgrading based on all the current frame upgrading data.
Preferably, the local pan/tilt is further configured to receive the current frame upgrade data, and complete the local pan/tilt upgrade based on all the current frame upgrade data.
Preferably, the serial port converter comprises a 232-422 serial port converter; the control center is connected with the serial port converter through a 232 serial port line; the serial port converter is connected with the transmitting optical transceiver and the local holder through a 422 serial port line; and the receiving optical transceiver is connected with the far-end holder through a 485 serial port line.
Preferably, the method further comprises the following steps: and the serial port parameter configurations of the local cradle head and the far-end cradle head are the same.
Preferably, the method further comprises the following steps: the local cloud deck receives the current frame upgrading data in a 422 serial port communication mode and finishes upgrading; and the far-end holder receives the current frame upgrading data and completes upgrading in a 485 serial port communication mode, and the local holder and the far-end holder are in a receiving state at the same time.
Compared with the prior art, the invention has the following advantages: in the holder upgrading method and the holder control system of the holder control system provided by the invention, the local holder capable of bidirectionally communicating with the serial port converter is added in the existing holder control system, so that the control center sends the current frame upgrading data to the local holder and the far-end holder, and the far-end holder can receive all the current frame upgrading data which are checked to be correct through the check of the local holder on the current frame upgrading data, thereby finishing the upgrading of the far-end holder. In the cloud platform upgrading method of the cloud platform control system, the upgrading of the far-end cloud platform is realized by means of the assistance of the local cloud platform, the intelligent upgrading of the far-end cloud platform is realized, maintenance personnel do not need to go to the site for upgrading and maintenance in the process, and the labor cost and the time cost are saved.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic frame diagram of a pan/tilt head control system in embodiment 1 of the present invention.
Fig. 2 is a flowchart of a method for upgrading a pan/tilt head of a pan/tilt head control system according to embodiment 1 of the present invention.
In the figure: 11. a control center; 12. a serial port converter; 13. a transmitting optical transmitter and receiver; 14. a receiving optical transmitter and receiver; 15. a far-end holder; 16. local cloud platform.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Example 1
Fig. 1 shows a schematic frame diagram of a pan/tilt head control system in the present embodiment. As shown in fig. 1, the pan/tilt head control system includes a control center 11, a serial port converter 12 connected to the control center 11, a transmitting optical transceiver 13 and a local pan/tilt head 16 connected to the serial port converter 12, a receiving optical transceiver 14 connected to the transmitting optical transceiver 13 through an optical fiber, and a remote pan/tilt head 15 connected to the receiving optical transceiver 14. Specifically, the serial port converter 12 is a 232-to-422 serial port converter, and the control center 11 is connected to the 232-to-422 serial port converter through a 232 serial port line; the 232-to-422 serial port converter is connected with the transmitting optical terminal 13 and the local holder 16 through 422 serial port lines; the receiving optical transceiver 14 is connected with the far-end pan-tilt 15 through a 485 serial port line. The local cradle head 16 can perform bidirectional communication with the control center 11 through the serial port converter 12, and signals are communicated between the transmitting optical terminal 13 and the receiving optical terminal 14 in a unidirectional manner. In this embodiment, the serial port converter 12, the transmitting optical transceiver 13, and the local pan/tilt head 16 are disposed at positions close to the control center 11; the far-end cradle head 15 and the receiving optical transceiver 14 are arranged at a position far away from the control center 11, such as 10 km or more; the transmitting optical transceiver 13 and the receiving optical transceiver 14 are connected by an optical fiber.
As shown in fig. 2, the method for upgrading the pan/tilt head of the pan/tilt head control system includes the following steps:
s1: the control center 11 sends the current frame upgrading data to the sending optical transceiver 13 and the local cloud deck 16 through the serial port converter 12; the sending optical transceiver 13 sends the current frame upgrading data to the far-end pan-tilt 15 through the receiving optical transceiver 14. The control center 11 includes but is not limited to a PC, the PC uses a 232 serial port capable of sending an XMODEM protocol, the 232 serial port on the PC is connected to a 232-to-422 serial port converter through a 232 serial port line, the 232-to-422 serial port converter is connected to the sending optical transceiver 13 and the local pan/tilt head 16 through a 422 serial port line, and the receiving optical transceiver 14 is connected to the far-end pan/tilt head 15 through a 485 serial port line. In this embodiment, the serial parameter configurations of the local cradle head 16 and the remote cradle head 15 are the same, and the serial parameter configurations include a baud rate, a data bit, a stop bit, a parity bit, and the like, so as to ensure that the verification results of the local cradle head 16 and the remote cradle head 15 for verifying the received same current frame upgrade data are the same.
S2: the local pan/tilt head 16 receives the current frame upgrade data, checks the current frame upgrade data to generate a positive response signal or a negative response signal, and sends the positive response signal or the negative response signal to the control center 11 through the serial port converter 12. Because the control center 11 is connected with the local cloud deck 16 through the serial port converter 12, the local cloud deck 16 checks the received current frame upgrading data; if the verification is qualified, positive response information (namely ACK response) is returned to the control center 11 through the serial port converter 12; if the verification is not qualified, a negative response signal (i.e. NAK response) is returned to the control center 11 through the serial port converter 12.
In this embodiment, the control center 11 sends the current frame of upgrade data to the local pan-tilt 16 and the remote pan-tilt 15 having the same serial parameter configuration through the serial converter 12, and since the serial parameter configurations of the local pan-tilt 16 and the remote pan-tilt 15 are the same, when the local pan-tilt 16 and the remote pan-tilt 15 receive the same current frame of upgrade data, the verification results of the verification performed on the received same current frame of upgrade data by the local pan-tilt 16 and the remote pan-tilt 15 should be the same. That is, based on the same current frame of upgrade data, if the local cradle head 16 returns a positive response signal after verification, the far-end cradle head 15 returns a positive response signal to the receiving optical transceiver 14; if the local cradle head 16 returns a negative response signal after verification, the remote cradle head 15 returns a negative response signal to the receiving optical transceiver 14, but the positive response signal or the negative response signal returned by the remote cradle head 15 cannot be sent to the sending optical transceiver 13 through the receiving optical transceiver 14, so as to be sent to the control center 11. When the control center 11 cannot receive the positive response signal or the negative response signal sent by the remote pan/tilt head 15, the verification result of the remote pan/tilt head 15 verifying the received current frame upgrade data may be estimated based on the received positive response signal or the received negative response signal sent by the local pan/tilt head 16.
S3: the control center 11 receives the positive response signal or the negative response signal; when receiving the positive response signal, sending the next frame of upgrading data as the current frame of upgrading data; and repeatedly transmitting the current frame upgrading data when the negative response signal is received. Specifically, if the control center 11 receives a positive response signal returned by the local pan/tilt 16 through the serial port converter 12, the local pan/tilt 16 and the remote pan/tilt 15, which have the same presumed serial port parameter configuration, both receive the current frame of upgrade data and the current frame of upgrade data is verified to be qualified, so that the control center 11 sends the next frame of upgrade data as the current frame of upgrade data, and the step is repeated until all the upgrade data are sent to the local pan/tilt 16 and the remote pan/tilt 15. If the control center 11 receives a negative response signal returned by the local pan-tilt 16 through the serial port converter 12, it is estimated that both the local pan-tilt 16 and the remote pan-tilt 15 with the same serial port parameter configuration receive the current frame of upgrade data but the current frame of upgrade data is not qualified for verification, so that the control center 11 repeatedly sends the current frame of upgrade data to determine that both the local pan-tilt 16 and the remote pan-tilt 15 receive the current frame of upgrade data qualified for verification.
Further, after the control center 11 sends a plurality of current frame upgrade data to the local pan/tilt 16 and the remote pan/tilt 15 until all the upgrade data are sent, a text end signal (EOT signal) may be sent to the local pan/tilt 16 and the remote pan/tilt 15 to remind that all the upgrade data of the local pan/tilt 16 and the remote pan/tilt 15 have been sent, so that the local pan/tilt 16 and the remote pan/tilt 15 may be upgraded based on all the received current frame upgrade data; after receiving the end of text signal (EOT signal), the local cradle head 16 may send an affirmative response signal (ACK response) to the control center 11 through the serial port converter 12 to notify the control center 11 that the end of text signal (EOT signal) has been received, thereby determining that the local cradle head 16 has received all the upgrade data, and presuming that the remote cradle head 15 has received all the upgrade data.
S4: the far-end pan-tilt 15 receives the current frame upgrading data, and completes the upgrading of the far-end pan-tilt 15 based on all the current frame upgrading data. Specifically, the remote pan/tilt 15 receives all current frame upgrade data continuously sent by the control center 11, runs a Bootloader program on the remote pan/tilt 15, and executes all the received current frame upgrade data to complete the upgrade of the remote pan/tilt 15. In the method for upgrading the pan/tilt head of the pan/tilt head control system provided in this embodiment, the local pan/tilt head 16 and the remote pan/tilt head 15 may receive the same current frame upgrading data when the serial port converter 12, the transmitting optical transmitter/receiver 13, the receiving optical transmitter/receiver 14, the local pan/tilt head 16, and the remote pan/tilt head 15 are intact. Under the condition that the hardware and Bootloader program of the remote platform are intact, if the remote pan-tilt 15 receives all the current frame upgrading data which is from the control center 11 and checked to be correct, the upgrading can be successful.
S5: the local pan/tilt 16 receives the current frame update data, and completes the update of the local pan/tilt 16 based on all the current frame update data. Specifically, the local pan/tilt 16 receives all current frame upgrade data continuously sent by the control center 11, runs a Bootloader program on the local pan/tilt 16, and executes all the received current frame upgrade data to complete the upgrade of the local pan/tilt 16. In this embodiment, under the condition that the hardware of the local pan/tilt head 16 and the Bootloader program are intact, if the local pan/tilt head 16 receives all the current frame update data from the control center 11 without error check, the update may be successful.
Specifically, the far-end pan-tilt 15 receives the current frame of upgrade data and completes the upgrade in the 485 serial port communication mode. In this embodiment, the far-end pan-tilt 15 is in communication connection with the receiving optical transceiver 14 through a 485 serial port line, so that the far-end pan-tilt 15 receives the current frame upgrade data in the 485 serial port communication mode, and the far-end pan-tilt 15 completes the upgrade based on all the received current frame upgrade data in the 485 serial port communication mode. The remote cradle head 15 is upgraded in the 485 serial communication mode, and maintenance personnel can continue upgrading in the 485 serial communication mode on site under the condition that the local cradle head 16 assists in upgrading failure. Further, the local pan/tilt head 16 receives the current frame upgrade data and completes the upgrade in the 422 serial port communication mode, so as to ensure that the transmission of the current frame upgrade data is not interfered.
In order to ensure that the local pan-tilt 16 and the far-end pan-tilt 15 can receive the same current frame of updating data, the local pan-tilt 16 and the far-end pan-tilt 15 are in a receiving state at the same time when the control center 11 needs to send the current frame of updating data. It can be understood that, if the local pan/tilt head 16 and the remote pan/tilt head 15 are not in the receiving state at the same time, the local pan/tilt head 16 and the remote pan/tilt head 15 may receive different current frame upgrading data, and based on the different current frame upgrading data, the verification results of the local pan/tilt head 16 and the remote pan/tilt head 15 are different, so that the control center 11 cannot determine whether the remote platform receives the current frame upgrading data without error.
As shown in fig. 1, the control center 11 uses a 232 serial port for sending the XMODEM protocol and is connected to the 232-to-422 serial port converter through a 232 serial port line, and the control center 11 can send the current frame upgrade data to the 232-to-422 serial port converter. After the 232-to-422 serial port converter receives the current frame of upgrade data, the current frame of upgrade data is transmitted to the transmitting optical transceiver 13 and the local pan/tilt 16, which are provided with the receiving end RX, through the transmitting end TX. The transmitting optical transceiver 13 transmits the received current frame upgrade data to the receiving optical transceiver 14 through an optical fiber, and the receiving optical transceiver 14 transmits the current frame upgrade data to a far-end pan-tilt 15 provided with a receiving end RX through a transmitting end TX. The local pan/tilt 16 checks the current frame of the upgrade data after receiving the current frame of the upgrade data, and sends a positive response signal or a negative response signal to the receiving end RX of the 232-to-422 serial converter through the transmitting end TX of the local pan/tilt 16, and the 232-to-422 serial converter sends the positive response signal or the negative response signal to the control center 11. After receiving the positive response signal or the negative response signal, the control center 11 determines whether to send the next frame of upgrade data as the current frame of upgrade data or to repeatedly send the current frame of upgrade data, and then directly sends all the upgrade data again. The local pan-tilt 16 and the remote pan-tilt 15 complete the equipment upgrade based on all the received current frame upgrade data.
In the method for upgrading the pan/tilt head of the pan/tilt head control system provided in this embodiment, the local pan/tilt head 16 capable of bidirectionally communicating with the serial port converter 12 is added to the existing pan/tilt head control system, so that the control center 11 sends the current frame upgrade data to the local pan/tilt head 16 and the remote pan/tilt head 15, and the current frame upgrade data is verified by the local pan/tilt head 16, so that the remote pan/tilt head 15 can receive all the current frame upgrade data without error, thereby completing the upgrade of the remote pan/tilt head 15. In the cloud platform upgrading method of the cloud platform control system, the remote cloud platform 15 is upgraded by the aid of the local cloud platform 16, the remote cloud platform 15 is intelligently upgraded, and a maintainer does not need to upgrade and maintain on site in the process, so that labor cost and time cost are saved.
Example 2
Fig. 1 shows a schematic frame diagram of a pan/tilt head control system in the present embodiment. As shown in fig. 1, the pan/tilt head control system includes a control center 11, a serial port converter 12 connected to the control center 11, a transmitting optical transceiver 13 and a local pan/tilt head 16 connected to the serial port converter 12, a receiving optical transceiver 14 connected to the transmitting optical transceiver 13 through an optical fiber, and a remote pan/tilt head 15 connected to the receiving optical transceiver 14. Specifically, the serial port converter 12 is a 232-to-422 serial port converter, and the control center 11 is connected to the 232-to-422 serial port converter through a 232 serial port line; the 232-to-422 serial port converter is connected with the transmitting optical terminal 13 and the local holder 16 through 422 serial port lines; the receiving optical transceiver 14 is connected with the far-end pan-tilt 15 through a 485 serial port line. The local cradle head 16 can perform bidirectional communication with the control center 11 through the serial port converter 12, and signals are communicated between the transmitting optical terminal 13 and the receiving optical terminal 14 in a unidirectional manner. In this embodiment, the serial port converter 12, the transmitting optical transceiver 13, and the local pan/tilt head 16 are disposed at positions close to the control center 11; the far-end cradle head 15 and the receiving optical transceiver 14 are arranged at a position far away from the control center 11, such as 10 km or more; the transmitting optical transceiver 13 and the receiving optical transceiver 14 are connected by an optical fiber.
The control center 11 is configured to send the current frame upgrade data to the sending optical transceiver 13 and the local pan/tilt 16 through the serial port converter 12; the sending optical transceiver 13 sends the current frame upgrading data to the far-end pan-tilt 15 through the receiving optical transceiver 14. The control center 11 includes but is not limited to a PC, the PC uses a 232 serial port capable of sending an XMODEM protocol, the 232 serial port on the PC is connected to a 232-to-422 serial port converter through a 232 serial port line, the 232-to-422 serial port converter is connected to the sending optical transceiver 13 and the local pan/tilt head 16 through a 422 serial port line, and the receiving optical transceiver 14 is connected to the far-end pan/tilt head 15 through a 485 serial port line. In this embodiment, the serial parameter configurations of the local cradle head 16 and the remote cradle head 15 are the same, and the serial parameter configurations include a baud rate, a data bit, a stop bit, a parity bit, and the like, so as to ensure that the verification results of the local cradle head 16 and the remote cradle head 15 for verifying the received same current frame upgrade data are the same.
And the local cloud deck 16 is configured to receive the current frame upgrade data, check the current frame upgrade data to generate a positive response signal or a negative response signal, and send the positive response signal or the negative response signal to the control center 11 through the serial port converter 12. Because the control center 11 is connected with the local cloud deck 16 through the serial port converter 12, the local cloud deck 16 checks the received current frame upgrading data; if the verification is qualified, positive response information (namely ACK response) is returned to the control center 11 through the serial port converter 12; if the verification is not qualified, a negative response signal (i.e. NAK response) is returned to the control center 11 through the serial port converter 12.
In this embodiment, the control center 11 sends the current frame of upgrade data to the local pan-tilt 16 and the remote pan-tilt 15 having the same serial parameter configuration through the serial converter 12, and since the serial parameter configurations of the local pan-tilt 16 and the remote pan-tilt 15 are the same, when the local pan-tilt 16 and the remote pan-tilt 15 receive the same current frame of upgrade data, the verification results of the verification performed on the received same current frame of upgrade data by the local pan-tilt 16 and the remote pan-tilt 15 should be the same. That is, based on the same current frame of upgrade data, if the local cradle head 16 returns a positive response signal after verification, the far-end cradle head 15 returns a positive response signal to the receiving optical transceiver 14; if the local cradle head 16 returns a negative response signal after verification, the remote cradle head 15 returns a negative response signal to the receiving optical transceiver 14, but the positive response signal or the negative response signal returned by the remote cradle head 15 cannot be sent to the sending optical transceiver 13 through the receiving optical transceiver 14, so as to be sent to the control center 11. When the control center 11 cannot receive the positive response signal or the negative response signal sent by the remote pan/tilt head 15, the verification result of the remote pan/tilt head 15 verifying the received current frame upgrade data may be estimated based on the received positive response signal or the received negative response signal sent by the local pan/tilt head 16.
A control center 11 for receiving a positive response signal or a negative response signal; when receiving the positive response signal, sending the next frame of upgrading data as the current frame of upgrading data; and repeatedly transmitting the current frame upgrading data when the negative response signal is received. Specifically, if the control center 11 receives a positive response signal returned by the local pan/tilt 16 through the serial port converter 12, the local pan/tilt 16 and the remote pan/tilt 15, which have the same presumed serial port parameter configuration, both receive the current frame of upgrade data and the current frame of upgrade data is verified to be qualified, so that the control center 11 sends the next frame of upgrade data as the current frame of upgrade data, and the step is repeated until all the upgrade data are sent to the local pan/tilt 16 and the remote pan/tilt 15. If the control center 11 receives a negative response signal returned by the local pan-tilt 16 through the serial port converter 12, it is estimated that both the local pan-tilt 16 and the remote pan-tilt 15 with the same serial port parameter configuration receive the current frame of upgrade data but the current frame of upgrade data is not qualified for verification, so that the control center 11 repeatedly sends the current frame of upgrade data to determine that both the local pan-tilt 16 and the remote pan-tilt 15 receive the current frame of upgrade data qualified for verification.
Further, after the control center 11 sends a plurality of current frame upgrade data to the local pan/tilt 16 and the remote pan/tilt 15 until all the upgrade data are sent, a text end signal (EOT signal) may be sent to the local pan/tilt 16 and the remote pan/tilt 15 to remind that all the upgrade data of the local pan/tilt 16 and the remote pan/tilt 15 have been sent, so that the local pan/tilt 16 and the remote pan/tilt 15 may be upgraded based on all the received current frame upgrade data; after receiving the end of text signal (EOT signal), the local cradle head 16 may send an affirmative response signal (ACK response) to the control center 11 through the serial port converter 12 to notify the control center 11 that the end of text signal (EOT signal) has been received, thereby determining that the local cradle head 16 has received all the upgrade data, and presuming that the remote cradle head 15 has received all the upgrade data.
And the far-end cloud platform 15 is used for receiving the current frame upgrading data and finishing the upgrading of the far-end cloud platform 15 based on all the current frame upgrading data. Specifically, the remote pan/tilt 15 receives all current frame upgrade data continuously sent by the control center 11, runs a Bootloader program on the remote pan/tilt 15, and executes all the received current frame upgrade data to complete the upgrade of the remote pan/tilt 15. In the pan/tilt head upgrading device of the pan/tilt head control system provided in this embodiment, under the condition that the serial port converter 12, the transmitting optical transceiver 13, the receiving optical transceiver 14, the local pan/tilt head 16, and the remote pan/tilt head 15 are intact, the local pan/tilt head 16 and the remote pan/tilt head 15 may receive the same current frame upgrading data. Under the condition that the hardware and Bootloader program of the remote platform are intact, if the remote pan-tilt 15 receives all the current frame upgrading data which is from the control center 11 and checked to be correct, the upgrading can be successful.
And the local cloud platform 16 is used for receiving the current frame upgrading data and finishing the upgrading of the local cloud platform 16 based on all the current frame upgrading data. Specifically, the local pan/tilt 16 receives all current frame upgrade data continuously sent by the control center 11, runs a Bootloader program on the local pan/tilt 16, and executes all the received current frame upgrade data to complete the upgrade of the local pan/tilt 16. In this embodiment, under the condition that the hardware of the local pan/tilt head 16 and the Bootloader program are intact, if the local pan/tilt head 16 receives all the current frame update data from the control center 11 without error check, the update may be successful.
Specifically, the far-end pan-tilt 15 receives the current frame of upgrade data and completes the upgrade in the 485 serial port communication mode. In this embodiment, the far-end pan-tilt 15 is in communication connection with the receiving optical transceiver 14 through a 485 serial port line, so that the far-end pan-tilt 15 receives the current frame upgrade data in the 485 serial port communication mode, and the far-end pan-tilt 15 completes the upgrade based on all the received current frame upgrade data in the 485 serial port communication mode. The remote cradle head 15 is upgraded in the 485 serial communication mode, and maintenance personnel can continue upgrading in the 485 serial communication mode on site under the condition that the local cradle head 16 assists in upgrading failure. Further, the local pan/tilt head 16 receives the current frame upgrade data and completes the upgrade in the 422 serial port communication mode, so as to ensure that the transmission of the current frame upgrade data is not interfered.
In order to ensure that the local pan-tilt 16 and the far-end pan-tilt 15 can receive the same current frame of updating data, the local pan-tilt 16 and the far-end pan-tilt 15 are in a receiving state at the same time when the control center 11 needs to send the current frame of updating data. It can be understood that, if the local pan/tilt head 16 and the remote pan/tilt head 15 are not in the receiving state at the same time, the local pan/tilt head 16 and the remote pan/tilt head 15 may receive different current frame upgrading data, and based on the different current frame upgrading data, the verification results of the local pan/tilt head 16 and the remote pan/tilt head 15 are different, so that the control center 11 cannot determine whether the remote platform receives the current frame upgrading data without error.
As shown in fig. 1, the control center 11 uses a 232 serial port for sending the XMODEM protocol and is connected to the 232-to-422 serial port converter through a 232 serial port line, and the control center 11 can send the current frame upgrade data to the 232-to-422 serial port converter. After the 232-to-422 serial port converter receives the current frame of upgrade data, the current frame of upgrade data is transmitted to the transmitting optical transceiver 13 and the local pan/tilt 16, which are provided with the receiving end RX, through the transmitting end TX. The transmitting optical transceiver 13 transmits the received current frame upgrade data to the receiving optical transceiver 14 through an optical fiber, and the receiving optical transceiver 14 transmits the current frame upgrade data to a far-end pan-tilt 15 provided with a receiving end RX through a transmitting end TX. The local pan/tilt 16 checks the current frame of the upgrade data after receiving the current frame of the upgrade data, and sends a positive response signal or a negative response signal to the receiving end RX of the 232-to-422 serial converter through the transmitting end TX of the local pan/tilt 16, and the 232-to-422 serial converter sends the positive response signal or the negative response signal to the control center 11. After receiving the positive response signal or the negative response signal, the control center 11 determines whether to send the next frame of upgrade data as the current frame of upgrade data or to repeatedly send the current frame of upgrade data, and then directly sends all the upgrade data again. The local pan-tilt 16 and the remote pan-tilt 15 complete the equipment upgrade based on all the received current frame upgrade data.
In the pan-tilt control system provided in this embodiment, the local pan-tilt 16 capable of bidirectionally communicating with the serial port converter 12 is added to the existing pan-tilt control system, so that the control center 11 sends the current frame upgrade data to the local pan-tilt 16 and the remote pan-tilt 15, and the remote pan-tilt 15 can receive all the current frame upgrade data without error through the verification of the local pan-tilt 16 on the current frame upgrade data, so as to complete the upgrade of the remote pan-tilt 15. In the holder control system, the remote holder 15 is upgraded by the aid of the local holder 16, the remote holder 15 is intelligently upgraded, and a maintainer does not need to upgrade and maintain on site in the process, so that labor cost and time cost are saved.
While the invention has been described with reference to several particular embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. A cloud platform upgrading method of a cloud platform control system is characterized in that the cloud platform control system comprises a control center, a serial port converter connected with the control center, a transmitting optical transceiver and a local cloud platform connected with the serial port converter, a receiving optical transceiver connected with the transmitting optical transceiver through an optical fiber, and a far-end cloud platform connected with the receiving optical transceiver;
the control center sends the current frame upgrading data to the sending optical transmitter and receiver and the local holder through the serial port converter; the sending optical transmitter sends the current frame upgrading data to the far-end holder through the receiving optical transmitter;
the local cradle head receives the current frame upgrading data, checks the current frame upgrading data to generate a positive response signal or a negative response signal, and sends the positive response signal or the negative response signal to the control center through the serial port converter;
the control center receives the positive response signal or the negative response signal; when the positive response signal is received, sending next frame upgrading data as the current frame upgrading data; repeatedly transmitting the current frame upgrade data upon receiving the negative response signal;
and the far-end cloud platform receives the current frame upgrading data and completes the far-end cloud platform upgrading based on all the current frame upgrading data.
2. The holder upgrading method of a holder control system according to claim 1, wherein the local holder receives the current frame upgrade data, and completes the local holder upgrade based on all the current frame upgrade data.
3. A method of upgrading a head of a head control system according to claim 2, wherein the serial converter comprises a 232 to 422 serial converter; the control center is connected with the serial port converter through a 232 serial port line; the serial port converter is connected with the transmitting optical transceiver and the local holder through a 422 serial port line; and the receiving optical transceiver is connected with the far-end holder through a 485 serial port line.
4. A holder upgrading method according to claim 3, further comprising: and the serial port parameter configurations of the local cradle head and the far-end cradle head are the same.
5. A holder upgrading method according to claim 3, further comprising: the local cloud deck receives the current frame upgrading data in a 422 serial port communication mode and finishes upgrading; and the far-end holder receives the current frame upgrading data and completes upgrading in a 485 serial port communication mode, and the local holder and the far-end holder are in a receiving state at the same time.
6. A cloud deck control system is characterized by comprising a control center, a serial port converter connected with the control center, a transmitting optical transceiver and a local cloud deck connected with the serial port converter, a receiving optical transceiver connected with the transmitting optical transceiver through an optical fiber, and a far-end cloud deck connected with the receiving optical transceiver;
the control center is used for sending the current frame upgrading data to the sending optical transceiver and the local holder through the serial port converter; the sending optical transmitter sends the current frame upgrading data to the far-end holder through the receiving optical transmitter;
the local holder is used for receiving the current frame upgrading data, verifying the current frame upgrading data to generate a positive response signal or a negative response signal, and sending the positive response signal or the negative response signal to the control center through the serial port converter;
the control center is used for receiving the positive response signal or the negative response signal; when the positive response signal is received, sending next frame upgrading data as the current frame upgrading data; repeatedly transmitting the current frame upgrade data upon receiving the negative response signal;
and the far-end holder is used for receiving the current frame upgrading data and finishing the far-end holder upgrading based on all the current frame upgrading data.
7. The pan-tilt control system according to claim 6, wherein the local pan-tilt is further configured to receive the current frame upgrade data, and complete the local pan-tilt upgrade based on all the current frame upgrade data.
8. A pan and tilt head control system according to claim 7, wherein the serial converter comprises a 232 to 422 serial converter; the control center is connected with the serial port converter through a 232 serial port line; the serial port converter is connected with the transmitting optical transceiver and the local holder through a 422 serial port line; and the receiving optical transceiver is connected with the far-end holder through a 485 serial port line.
9. A pan and tilt head control system according to claim 8, further comprising: and the serial port parameter configurations of the local cradle head and the far-end cradle head are the same.
10. A pan and tilt head control system according to claim 8, further comprising: the local cloud deck receives the current frame upgrading data in a 422 serial port communication mode and finishes upgrading; and the far-end holder receives the current frame upgrading data and completes upgrading in a 485 serial port communication mode, and the local holder and the far-end holder are in a receiving state at the same time.
CN201610847337.5A 2016-09-23 2016-09-23 Cloud platform upgrading method of cloud platform control system and cloud platform control system Active CN106411586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610847337.5A CN106411586B (en) 2016-09-23 2016-09-23 Cloud platform upgrading method of cloud platform control system and cloud platform control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610847337.5A CN106411586B (en) 2016-09-23 2016-09-23 Cloud platform upgrading method of cloud platform control system and cloud platform control system

Publications (2)

Publication Number Publication Date
CN106411586A CN106411586A (en) 2017-02-15
CN106411586B true CN106411586B (en) 2020-04-21

Family

ID=57997475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610847337.5A Active CN106411586B (en) 2016-09-23 2016-09-23 Cloud platform upgrading method of cloud platform control system and cloud platform control system

Country Status (1)

Country Link
CN (1) CN106411586B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984222B (en) * 2017-06-05 2023-12-22 泸州禾苗通信科技有限公司 Cloud deck firmware upgrading method and system
CN109640302A (en) * 2018-12-06 2019-04-16 上海荣泰健康科技股份有限公司 Method for updating program, electronic equipment and mobile terminal based on BLE bluetooth

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5665609B2 (en) * 2011-03-04 2015-02-04 キヤノン株式会社 Camera system, display control apparatus, and display control method
CN202395907U (en) * 2011-12-24 2012-08-22 天津光电通信技术有限公司 Video monitoring system capable of being linked with electronic map
CN203181108U (en) * 2013-03-20 2013-09-04 天津市亚安科技股份有限公司 Video monitoring system provided with remote upgrade function
CN105759850A (en) * 2016-03-30 2016-07-13 深圳市哈博森科技有限公司 Holder control system based on CAN bus

Also Published As

Publication number Publication date
CN106411586A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103543752B (en) A kind of remote control thereof and remote control systems
US20040224641A1 (en) Method for transmitting safety related data
US20120219283A1 (en) System And Method For Identifying A Length Of An Installed Fiber Cable
CN106411586B (en) Cloud platform upgrading method of cloud platform control system and cloud platform control system
CN103986610A (en) Communication interface matching method, device and controller
CN101222366B (en) Communication equipment failure location device and method
US10701101B2 (en) Method and device for averting a manipulation on a CAN bus using a node connected to the bus by a CAN controller
CN105430541A (en) Wireless microphone automatic frequency matching method and device
CN105630477B (en) The upgrade method and device of car-mounted terminal application program
KR101100296B1 (en) SATA device having self-test function for OOB signaling
CN108028767A (en) For the method for adapter upgrade, mobile terminal and adapter
KR20100085240A (en) Apparatus and method for control packet transmitting in wide area network
JP2015511440A5 (en)
EP3659039A1 (en) Two-wire communication interface system
US9900050B2 (en) Communication verification system and method of using the same
CN210745571U (en) Wireless communication module and embedded equipment
CN104079443A (en) Data transmission performance testing system and method
CN108541385A (en) A kind of control method, control device and control system
JP3997106B2 (en) Data transmission rate arbitration method and optical communication apparatus
CN113225679A (en) Bluetooth equipment firmware upgrading data transmission method based on software APP technology
CN105634806A (en) Updating method and apparatus for intelligent terminal APP
CN109195182B (en) Pairing type wireless voice signal communication method
CN104468031A (en) Signal system and vehicle management system interface debugging method and signal system
KR102144793B1 (en) Rnet repeater hub device
US20060250232A1 (en) Door intercom communication system and method of using same

Legal Events

Date Code Title Description
C06 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