WO2019134149A1 - 通信控制方法、控制系统、配件和计算机可读存储介质 - Google Patents

通信控制方法、控制系统、配件和计算机可读存储介质 Download PDF

Info

Publication number
WO2019134149A1
WO2019134149A1 PCT/CN2018/071677 CN2018071677W WO2019134149A1 WO 2019134149 A1 WO2019134149 A1 WO 2019134149A1 CN 2018071677 W CN2018071677 W CN 2018071677W WO 2019134149 A1 WO2019134149 A1 WO 2019134149A1
Authority
WO
WIPO (PCT)
Prior art keywords
identifier
accessory
control system
communication
identification
Prior art date
Application number
PCT/CN2018/071677
Other languages
English (en)
French (fr)
Inventor
郝祎
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2018/071677 priority Critical patent/WO2019134149A1/zh
Priority to CN201880011238.0A priority patent/CN110268798B/zh
Publication of WO2019134149A1 publication Critical patent/WO2019134149A1/zh
Priority to US16/919,811 priority patent/US20200337097A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a communications control method, a control system, an accessory, and a computer readable storage medium.
  • the detachable and rich accessories are the basis of rich functions, users can By adding accessories to the intelligent electronic product system to achieve the need for one or more functions, the user can also achieve the purpose of portability by disassembling some accessories that are not commonly used in the intelligent electronic product system.
  • the accessories usually communicate using the device identification, and the same type of accessories usually have the same device identification.
  • the device IDs of all the handles in the PTZ system are the same, and the device IDs of all the followers are the same.
  • the accessories of the electronic product system are also towards the integration of more functions, providing a variety of operating modes. This results in the same type of accessories, with different functions.
  • the same type of accessories communicate through the device identification, there is a problem of communication logic confusion and functional conflicts between the accessories.
  • Embodiments of the present invention disclose a communication control method, a control system, an accessory, and a computer readable storage medium, so as to implement an identifier for communication for a component through a control system, so that accessories of the same type and different functions are implemented in the same network. Reduce the possibility of communication logic and confusing communication during communication.
  • an embodiment of the present invention provides a communication control method, including:
  • the third identification is assigned to the accessory such that the accessory communicates in the network using the third identification.
  • an embodiment of the present invention provides a communication control method, including:
  • an embodiment of the present invention provides a control system, including:
  • a memory for storing program code
  • a transceiver for communicating with an accessory
  • a processor for calling the program code when the program code is executed, the processor is configured to perform the following operations:
  • the third identification is assigned to the accessory by the transceiver such that the accessory communicates in the network using the third identification.
  • an embodiment of the present invention provides an accessory, including:
  • a memory for storing program code
  • a transceiver for communicating with a control system
  • a processor for calling the program code when the program code is executed, the processor is configured to perform the following operations:
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a plurality of computer instructions, and when the computer instructions are executed, the following processing is performed:
  • the third identification is assigned to the accessory such that the accessory communicates in the network using the third identification.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a plurality of computer instructions, and when the computer instructions are executed, the following processing is performed:
  • the embodiment of the present invention provides a system, comprising the control system of any of the foregoing aspects, and any one of the foregoing four aspects.
  • the control system can determine the type of the accessory according to the second identifier of the accessory, and the first component of the accessory can be used to locate the accessory, and the component is allocated according to the first identifier and the second identifier for communication.
  • the third identifier when communicating in the networking, when the accessories of the same type and different functions communicate in the same network, the possibility of communication logic and function confusion is reduced, and the user experience is improved.
  • FIG. 1 is a schematic flowchart of a communication control method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of a communication control method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic flowchart of a communication control method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic flowchart of a communication control method according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic flowchart of a communication control method according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a control system according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural view of an accessory according to Embodiment 7 of the present invention.
  • Embodiment 8 is a schematic structural diagram of a system according to Embodiment 8 of the present invention.
  • FIG. 9 is a schematic structural diagram of a cloud platform according to Embodiment 8 of the present invention.
  • a component when referred to as being "fixed” to another component, it can be directly on the other component or the component can be present. When a component is considered to "connect” another component, it can be directly connected to another component or possibly a central component.
  • the communication logic is confusing and the function conflicts between the components.
  • the solution of the present invention provides the following solution: based on the information that can uniquely identify the component, the risk of function conflict exists.
  • the type of accessory that assigns different identifiers for communication.
  • the identification for communication based on the allocation can group the same type of accessories in the network, so that when the same type of accessories appear in the network has different functions, the communication logic confusion and the confusing function between the accessories are reduced. .
  • FIG. 1 is a schematic flowchart of a communication control method according to an embodiment of the present invention. This process is applied to the control system.
  • the control system can be a pan/tilt control system.
  • the method in this embodiment may include the following steps:
  • Step 101 Receive a first identifier and a second identifier sent by the accessory.
  • the first identifier and the second identifier received by the control system at present time and other data points being processed may be pointed out.
  • the accessory is also referred to as a target accessory in an embodiment of the invention.
  • the first identifier of the accessory is used to uniquely identify the accessory.
  • the first identifier may be a chip identifier of the chip on the accessory, or the chip identifier of the chip on the accessory may be an encrypted identifier, and the chip may be a micro controller unit (MCU).
  • the first identifier may also be a product serial number capable of uniquely identifying the target accessory.
  • the second identification of the accessory is an identification that indicates the type of accessory.
  • the second identification of the accessory can be the device identification of the accessory.
  • the accessory can be a detachable accessory.
  • the accessory can send the first identifier and the second identifier of the accessory to the control system in real time after accessing the control system.
  • the accessories can be wired access control system or wireless access control system.
  • the accessory can be connected to the control system via a controller area network (CAN) bus, and the accessory can also be connected to the control system by using Bluetooth low energy.
  • the accessory can broadcast the first identification and the second identification broadcast of the accessory to the control system.
  • the control system can periodically receive the first identification and the second identification sent by the accessory.
  • the real time may refer to a smaller period.
  • the first identifier and the second identifier of the accessory in real time may refer to the first sending of the accessory immediately after the first identifier and the second identifier of the sending accessory are completed.
  • Timing can refer to a larger period.
  • real time and timing can also refer to the same cycle.
  • the period corresponding to the real-time and the timing may be determined according to specific needs. For example, the period corresponding to the timing is less than or equal to the minimum time required for the user to complete the plug-in operation of the accessory.
  • Step 102 Assign a third identifier for communication to the accessory according to the first identifier and the second identifier of the accessory.
  • the control system can determine whether a third identity has been assigned to the target accessory based on the first identity of the target accessory.
  • the control system may record the correspondence between the first identifier and the third identifier of the accessory after each time the accessory is assigned a third identifier for communication. After receiving the first identifier sent by the target accessory, the first relationship between the first identifier and the third identifier of the target accessory may be queried in the record, and if yes, it is determined that the control system has assigned the third identifier to the target accessory, if If not, it is determined that the control system does not assign a third identity to the target accessory.
  • the control system has assigned a third identifier for communication to the target accessory, the first identifier and the second identifier of the target accessory may be discarded, and the third identifier is no longer assigned to the target accessory.
  • control system does not assign a third identity for communication to the target accessory, a third identity for communication is assigned to the target accessory.
  • the third identification can be a temporary identification.
  • a third identifier for communication may be allocated to the accessory each time the access control system is assigned, and the third identifier of each assigned accessory is used only for the communication of the accessory access this time, and after the accessory is disconnected, the accessory is deleted.
  • the first identification and the third identification record may be allocated to the accessory each time the access control system is assigned, and the third identifier of each assigned accessory is used only for the communication of the accessory access this time, and after the accessory is disconnected, the accessory is deleted.
  • the functions of the multiple accessories are the same.
  • This type of accessory may not need to assign a third identifier for communication.
  • There are some types of accessories in the system there may be more than one, and the functions of the multiple identical types of accessories may be different.
  • This type of accessories can be assigned a third identifier for communication, based on this, as a In an embodiment, when the third identifier is assigned to the target accessory, whether the target accessory belongs to the type of the identifier that needs to be allocated for communication may be determined according to the second identifier of the target accessory.
  • the control system does not need to assign a third identity to the target accessory, which in subsequent communications communicates in the network using the second identity. If the type of target accessory needs to be assigned an identification for communication, the control system needs to assign a third identity to the target accessory.
  • the type of accessories that need to be assigned an identifier for communication can be defined in advance.
  • assigning a third identity for communication to a target accessory may specifically include multiple ways.
  • the third identifier when the third identifier is assigned to the target accessory, the third identifier may be assigned to the target accessory in combination with the second identifier of the target accessory.
  • the third identifier may include a main number and a sub-number, wherein The main number is the second identifier of the target accessory, and the sub-number is the number assigned by the control system to the target accessory in the target accessory type.
  • the second identifier of the target accessory is “1”, “1” represents the handle, and the identifier that can be assigned to the target accessory is “1-3”, wherein in the “1-3”, 1 is the main number, 3 Numbered for the child.
  • the manner of assigning the third identifier by using the primary number and the sub-number is only an example, and the manner of allocating the third identifier according to the second identifier of the accessory is also in the protection scope of the embodiment of the present invention. No longer.
  • the identifiers of the accessories existing in the control system for communication are different. Based on this, as an embodiment, when the third identifier is assigned to the target accessory, the target accessory may be assigned a type corresponding to the target accessory. The third identifier that is not assigned to other accessories. For example, there are three handles in the system at the same time, and the third identifiers of the other two handles are “1-1” and “1-2” respectively. At this time, the control system allocates a third identifier for communication for the current handle. It is necessary to ensure that the assigned third identifier does not conflict with the third identifier that the other handles already exist. For example, the third identifier that can be assigned to the current handle is “1-3”.
  • Step 103 assigning a third identifier of the accessory to the accessory, so that the accessory communicates in the network using the third identifier of the accessory.
  • the target accessory After the target accessory receives the third identifier sent by the control system, the target component can use the third identifier to communicate in the network formed by the system.
  • the control system can determine the type of the accessory according to the second identifier of the accessory, and in combination with the first identifier of the accessory, the accessory can be positioned, and the third identifier for communication is allocated according to the first identifier and the second identifier.
  • FIG. 2 is a schematic flowchart diagram of a communication control method according to Embodiment 2 of the present invention.
  • the method in the second embodiment may include the following steps:
  • Step 201 Receive a first identifier and a second identifier sent by the accessory.
  • This step 201 is similar to step 101 and will not be described again.
  • Step 202 Check if the first identifier of the accessory is registered to the control system.
  • Step 203 if no, assign a third identifier according to the second identifier of the accessory and the local registry.
  • This step 202 and step 203 are an embodiment of the above step 102.
  • the control system can maintain a local registry, and the registry records that the control system has been assigned a third identifier.
  • the registry may include a correspondence between the first identifier and the third identifier.
  • the first identifier is a chip identifier
  • the third identifier is referred to as a communication identifier.
  • the registry may be as shown in Table 1.
  • step 202 can be further implemented as follows:
  • the registry may also reflect the type of the accessory.
  • the registry may include a correspondence between the first identifier, the second identifier, and the third identifier.
  • the first identifier is a chip identifier
  • the second identifier is a device identifier
  • the third identifier is called a communication identifier.
  • the registry may be as shown in Table 2.
  • step 203 the specific implementation can be implemented as follows:
  • the target accessory is not registered, and the target accessory is not assigned the third identifier.
  • the third identity is assigned according to the second identity and the local registry.
  • the third identifier used for communication is different from the identifier used for communication in all entries in the local registry that include the second identifier.
  • the registry may further reflect the functional authority of the accessory.
  • the registry may include a correspondence between the first identifier, the second identifier, the third identifier, and the function authority.
  • the first identifier is a chip identifier
  • the second identifier is a device identifier
  • the third identifier is called a communication identifier.
  • the registry may be as shown in Table 3.
  • the function authority of the accessory may indicate which functions of the accessory are valid.
  • the function authority may correspond to different modes of the accessory, for example, a one-hand mode of the handle, a right-hand mode of the two-hand mode, or a left-hand mode of the two-hand mode.
  • the function permission of the accessory can be set as needed.
  • the mode of the handle can be selected according to the actual situation, and the function authority is determined according to the mode of the handle.
  • the method further includes: adding an entry in the local registry to implement registration of the first identifier.
  • the added item includes a first identifier and a third identifier; or includes a first identifier, a second identifier, and a third identifier; or includes a first identifier, a second identifier, a third identifier, and a function right.
  • the third identifier included in the added entry is different from the third identifier included in other entries in the registry that include the second identifier.
  • the same type of accessories can be all the same in the networking, and they can all be different or partially different.
  • the function permission of the accessory may be determined according to actual needs. Based on this, as an embodiment, if the entry includes the function permission, the added function included in the added entry and the other entry in the local registry that includes the second identifier are included. The functional permissions are different. In another embodiment, if the entry includes the function permission, the added function of the added entry may be the same as the functional permission included in the other entry in the local registry that includes the second identifier, or may be different, for example,
  • the manner of saving the registry is not limited.
  • a registry containing all registered accessories can be stored locally, or by type of accessory, each class corresponding to a registry.
  • Step 204 assigning a third identifier of the accessory to the accessory, so that the accessory communicates in the network using the third identifier of the accessory.
  • the manner in which the third identification of the accessory is assigned to the accessory can include a plurality of.
  • a registry containing a third identification of the accessory can be sent to the accessory such that the accessory obtains a third identity corresponding to the first identity of the accessory in the received registry upon receipt of the registry.
  • control system may store multiple registries locally, and the control system may send a registry containing the second identifier of the accessory to the accessory, or send all the registries in advance.
  • This step 204 is similar to step 203 and will not be described again.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • FIG. 3 is a schematic flowchart diagram of a communication control method according to Embodiment 3 of the present invention.
  • the method in the third embodiment may include the following steps:
  • Step 301 Receive a first identifier and a second identifier sent by the accessory.
  • This step 301 is similar to the above step 101 and will not be described again.
  • Step 302 Check if the first identification of the accessory is registered to the control system.
  • This step 302 is similar to the above step 202 and will not be described again.
  • Step 303 if no, assign a third identifier according to the second identifier of the accessory and the local registry.
  • This step 303 is similar to the above step 203 and will not be described again.
  • an entry is added to the local registry.
  • the added item includes a first identifier and a third identifier; or includes a first identifier, a second identifier, and a third identifier; or includes a first identifier, a second identifier, a third identifier, and a function right.
  • step 305 the registry of the entry is added by broadcasting.
  • This step is a specific embodiment of the above step 103.
  • the control system broadcasts a registry for the entry, and the accessory connected to the control system can receive the registry with the added entry, wherein the accessory connected to the control system includes the target accessory.
  • control system can only broadcast the registry with the added entries, or broadcast all the registries.
  • the target accessory obtains a third identifier corresponding to the first identifier of the accessory in the registry that receives the added entry that is broadcast by the control system.
  • the target accessory communicates with the control system based on the third identity of the target accessory.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG. 4 is a schematic flowchart diagram of a communication control method according to Embodiment 4 of the present invention. As shown in FIG. 4, based on the first embodiment shown in FIG. 1, the second embodiment shown in FIG. 2 or the third embodiment shown in FIG. 3, the method in the fourth embodiment may include the following steps:
  • Step 401 Receive a first identifier and a second identifier sent by the accessory.
  • This step 401 is similar to the above step 101 and will not be described again.
  • Step 402 Check if the first identification of the accessory is registered to the control system.
  • This step 402 is similar to the above step 202 and will not be described again.
  • Step 403 if no, assign a third identifier according to the second identifier of the accessory and the local registry.
  • This step 403 is similar to the above step 203 and will not be described again.
  • Step 404 adding an entry in the local registry.
  • This step 403 is similar to the above step 303 and will not be described again.
  • Step 405 assigning a third identifier of the accessory to the accessory, so that the accessory communicates in the network using the third identifier of the accessory.
  • step 406 it is determined whether the accessory is offline.
  • determining whether the accessory is offline may include various methods.
  • the first identification and the second identification of the accessory are sent to the control system in real time as the accessory. Whether the accessory is offline may be determined according to the first identification of the target accessory and the reception of the second identification.
  • control system does not receive the first identifier and the second identifier sent by the target accessory within the set time, determining that the target accessory is offline;
  • control system receives the first identifier and the second identifier sent by the target accessory within the set time, it is determined that the target accessory is not offline.
  • the set time may refer to an integer multiple of the period corresponding to the timing in the foregoing Embodiment 1. For example, if the control system does not receive the first identifier and the second identifier sent by the target accessory at two consecutive timings, it determines that the target accessory is offline.
  • Step 407 when it is determined that the accessory is offline, the added entry is deleted in the local registry.
  • the entry corresponding to the target accessory is deleted in the local registry, that is, the entry corresponding to the first identifier of the target accessory is deleted in the local registry.
  • the impact of the hot-swappable accessory on the communication is reduced by detecting the connection state of the accessory, so that the possibility of communication logic and confusing function is reduced during the communication process, and the user experience is improved.
  • power supply or power-off control of the accessory can ensure the stability of the power supply system, and the power of the accessory interface can be quickly cut off after the component is disassembled, which can reduce the exposure of the interface at the interface.
  • the occurrence of a short circuit condition improves the life of the accessory.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • FIG. 5 is a schematic flowchart diagram of a communication control method according to Embodiment 5 of the present invention. As shown in FIG. 5, the method in the first embodiment, the second embodiment shown in FIG. 2, the third embodiment shown in FIG. 3 or the fourth embodiment shown in FIG. , can include the following steps:
  • step 501 the accessory is connected to the PTZ control system.
  • the accessory is any one of a pan/tilt handle, a thumb follower, a follower, a rocker, a somatosensory controller, or a wireless communication component.
  • Each of the above accessories can be connected to the PTZ control system by wire or wirelessly.
  • Step 502 The PTZ control system receives the first identifier and the second identifier sent by the accessory.
  • This step 502 is similar to the above step 101 and will not be described again.
  • Step 503 The PTZ control system checks whether the first identifier of the accessory is registered to the PTZ control system.
  • This step 503 is similar to the above step 202 and will not be described again.
  • the first identification and the second identification of the accessory are discarded, and the accessory is not assigned an identification for communication.
  • Step 504 If no, the PTZ control system checks whether the number of all entries in the local registry that include the second identifier reaches a threshold.
  • the first identification and the second identification of the accessory are discarded, and the accessory is not assigned an identification for communication.
  • Step 505 if no, the pan/tilt controller allocates a third identifier for communication to the accessory according to the second identifier of the accessory.
  • the third identifier used for communication is different from the identifier used for communication in all entries in the local registry that include the second identifier.
  • Step 506 adding an entry in the local registry.
  • the added entry includes a first identifier, a second identifier, a third identifier, and a function right.
  • This step 506 is similar to the above step 304 and will not be described again.
  • step 507 the registry of the entry is added by broadcasting.
  • This step 507 is similar to the above step 305 and will not be described again.
  • the target accessory obtains a third identifier corresponding to the first identifier of the accessory in the registry that receives the added entry that is broadcast by the control system.
  • step 508 it is determined whether the accessory is offline.
  • This step 508 is similar to the above step 405 and will not be described again.
  • step 509 when it is determined that the accessory is offline, the added entry is deleted in the local registry.
  • This step 509 is similar to the above step 406 and will not be described again.
  • FIG. 6 is a structural diagram of a control system according to Embodiment 6 of the present invention.
  • the system corresponds to the method flow shown in FIG.
  • the apparatus may include a transceiver 601, a processor 602, and a memory 603.
  • the memory 603 is configured to store the program code
  • the transceiver 601 is configured to communicate with an accessory; the transceiver 601 can be a wireless transceiver or a wired transceiver.
  • the transceiver can include a receiving unit and a transmitting unit, which can be independent or integrated.
  • the processor 602 is configured to invoke the program code, and when the program code is executed, the processor is configured to perform the following operations:
  • the third identification is assigned to the accessory by the transceiver 601 to cause the accessory to communicate in the network using the third identification.
  • the processor 602 is specifically configured to:
  • the third identifier is assigned according to the second identifier and the local registry.
  • the processor 602 is specifically configured to:
  • the processor 602 is specifically configured to:
  • the third identifier is assigned according to the second identifier and the local registry.
  • the processor 602 is specifically configured to add an entry in the local registry, where the added entry includes the first identifier, the second identifier, and the third identifier.
  • the added entry further includes a functional permission, the added entry containing a different functional right than a functional right included in another entry in the local registry that includes the second identifier.
  • the processor 602 is specifically configured to:
  • a registry in which the entry is added is broadcast through the transceiver 601.
  • the processor 602 is specifically configured to:
  • the processor 602 is specifically configured to:
  • the first identifier is a chip identifier of a chip on the accessory
  • the second identifier is an identifier for indicating a type of the accessory
  • the third identifier for communication is related to the local The identifiers used for communication in all entries in the registry that contain the second identifier are different.
  • control system is a pan/tilt control system.
  • FIG. 7 is a schematic structural view of an accessory according to Embodiment 7 of the present invention.
  • the system corresponds to the method flow shown in FIG.
  • the apparatus may include a transceiver 701, a processor 702, and a memory 703.
  • the memory 703 is configured to store program code.
  • the transceiver 701 is configured to communicate with a control system; the transceiver 701 can be a wireless transceiver or a wired transceiver.
  • the transceiver can include a receiving unit and a transmitting unit, which can be independent or integrated.
  • the processor 702 is configured to invoke the program code, and when the program code is executed, the processor 702 is configured to perform the following operations:
  • the processor 702 is specifically configured to:
  • the first identifier is a chip identifier of a chip on the accessory
  • the second identifier is an identifier for indicating a type of the accessory
  • the third identifier and the local registry include the The identifiers used for communication in all entries of the second identifier are different.
  • FIG. 8 is a schematic structural diagram of a system according to Embodiment 8 of the present invention.
  • the system includes a control system 801 and at least one accessory 802.
  • the control system 801 can be any one of the control systems described in the foregoing sixth embodiment, and the at least one accessory 802 includes at least any one of the accessories described in the seventh embodiment.
  • the system can be a cloud platform, as shown in FIG. 9.
  • FIG. 9 is a schematic structural diagram of a cloud platform according to Embodiment 8 of the present invention.
  • the pan/tilt head can include a pan/tilt controller and a plurality of accessories including three handles, two followers, a rocker, a somatosensory controller, and a wireless communication device. Among them, three handles are used for one-hand mode, the right-hand mode in the two-hand mode, and the left-hand mode in the two-hand mode. The absolute position of the two followers is different.
  • the controller controls communication with the three handles and the two followers by any of the foregoing embodiments 1 through 5.
  • a computer readable storage medium is also provided in the embodiment of the present invention.
  • the computer readable storage medium stores computer instructions. When the computer instructions are executed, the communication method corresponding to the control system is implemented.
  • the computer readable storage medium stores computer instructions. When the computer instructions are executed, the communication method corresponding to the accessory is implemented.
  • the system, apparatus, module or unit set forth in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • embodiments of the invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • these computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction means implements the functions specified in one or more blocks of the flowchart or in a flow or block diagram of the flowchart.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供了通信控制方法、控制系统、配件和计算机可读存储介质。包括:接收配件发送的第一标识和第二标识;依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。以实现相同类型不同功能的配件在同一组网中进行通信时,降低出现通信逻辑以及功能混乱的可能性。

Description

通信控制方法、控制系统、配件和计算机可读存储介质 技术领域
本发明实施例涉及通信技术领域,特别涉及通信控制方法、控制系统、配件和计算机可读存储介质。
背景技术
随着智能电子产品的日益丰富,智能电子产品的功能也越来越强大,但是对于不同用户而言,智能电子产品的功能需求也是不同的,可拆卸、丰富配件是丰富功能的基础,用户可以通过在智能电子产品系统中增加配件来实现对一种或多种功能的需求,用户也可以通过在智能电子产品系统中拆卸一些不用活不常用的配件,以达到便携的目的。
在电子产品系统组网通信过程中,配件通常使用设备标识进行通信,相同类型的配件通常设备标识相同。例如,云台系统中所有手柄的设备标识相同,所有跟焦器的设备标识相同。
但是,在具体应用过程中,电子产品系统的配件也朝着集成更多的功能,提供多种操作模式的方向发展。这就导致相同类型的配件,功能也不尽相同。相同类型的配件通过设备标识进行通信时,会出现通信逻辑混乱以及配件之间功能冲突的问题。
发明内容
本发明实施例公开了通信控制方法、控制系统、配件和计算机可读存储介质,以通过控制系统为配件分配用于通信的标识的方式,以实现相同类型不同功能的配件在同一组网中进行通信时,降低出现通信逻辑以及功能混乱的可能性。
第一方面,本发明实施例提供了通信控制方法,包括:
接收配件发送的第一标识和第二标识;
依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
第二方面,本发明实施例提供了通信控制方法,包括:
将本配件的第一标识和第二标识广播发送给控制系统;
接收控制系统为本配件分配的第三标识;
根据所述第三标识与所述控制系统进行通信。
第三方面,本发明实施例提供一种控制系统,包括:
存储器,用于存储程序代码;
收发器,用于与配件进行通信;
处理器,用于调用所述程序代码,当程序代码被执行时,所述处理器用于执行以下操作:
通过所述收发器接收配件发送的第一标识和第二标识;
依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
通过所述收发器将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
第四方面,本发明实施例提供一种配件,包括:
存储器,用于存储程序代码;
收发器,用于与控制系统进行通信;
处理器,用于调用所述程序代码,当程序代码被执行时,所述处理器用于执行以下操作:
通过所述收发器将本配件的第一标识和第二标识广播发送给控制系统;
通过所述收发器接收控制系统为本配件分配的第三标识;
根据所述第三标识与所述控制系统进行通信。
第五方面,本发明实施例提供一种计算机可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:
接收配件发送的第一标识和第二标识;
依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
第六方面,本发明实施例提供一种计算机可读存储介质,所述机器可读存储介质上存储有若干计算机指令,所述计算机指令被执行时进行如下处理:
将本配件的第一标识和第二标识广播发送给控制系统;
接收控制系统为本配件分配的第三标识;
根据所述第三标识与所述控制系统进行通信。
第七方面,本发明实施例提供了一种系统,该系统包括前述第三方面所述的任意一种控制系统和前述第四方面所述的任意一种配件。
综上分析,通过本发明实施例,控制系统能够根据配件的第二标识确定配件的类型,结合配件的第一标识,可以定位配件,根据第一标识和第二标识为配件分配的用于通信的第三标识,在组网内通信使用过程中,相同类型不同功能的配件在同一组网中进行通信时,降低出现通信逻辑以及功能混乱的可能性,提升用户体验。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一提供的一种通信控制方法流程示意图;
图2为本发明实施例二提供的一种通信控制方法流程示意图;
图3为本发明实施例三提供的一种通信控制方法流程示意图;
图4为本发明实施例四提供的一种通信控制方法流程示意图;
图5为本发明实施例五提供的一种通信控制方法流程示意图;
图6为本发明实施例六提供的控制系统的结构示意图;
图7为本发明实施例七提供的配件结构示意图;
图8为本发明实施例八提供的系统结构示意图;
图9为本发明实施例八提供的云台结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。
除非另有定义,本文所使用的所有的技术和科学术语与属于本发明的技术领域的技术人
员通常理解的含义相同。本文中在本发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本发明。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。
针对配件使用设备标识在组网中进行通信时,会出现通信逻辑混乱以及配件之间功能冲突的问题,本发明实施例提供了如下解决思路:基于能够唯一标识配件的信息,为存在功能冲突风险的类型的配件,分配不同的用于通信的标识。基于该分配的用于通信的标识能够区分组网中相同类型的配件,从而在组网中出现相同类型的配件具有不同的功能时,降低了出现通信逻辑混乱以及配件之间的功能混乱的情况。
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
本发明实施例提供了通信控制方法。参见图1,图1为本发明实施例提供的一种通信控制方法流程示意图。该流程应用于控制系统。作为一个实施例,该控制系统可以为云台控制系统。
如图1所示,本实施例中的方法可以包括以下步骤:
步骤101,接收配件发送的第一标识和第二标识。
需要说明的是,在本发明实施例中,可以包括多个配件,为了实现区分,以便更清晰的描述方案,控制系统当前时刻接收到的第一标识和第二标识以及其他正在处理的数据指向的配件在本发明实施例中还被称为目标配件。
其中,配件的第一标识用于唯一标识该配件。例如,该第一标识可以为该配件上芯片的芯片标识,或者该配件上芯片的芯片标识加密后的标识,该芯片可以是指微控制单元(micro controller unit,MCU)。再例如,该第一标识还可以是能够唯一标识目标配件的产品序列号。
配件的第二标识为用于指示配件的类型的标识。例如,该配件的第二标识可以为该配件的设备标识。
其中,该配件可以为可拆卸配件。
配件可以在接入控制系统后,向控制系统实时发送本配件的第一标识和第二标识。其中,配件可以有线接入控制系统,也可以无线接入控制系统。例如,配件可以通过控制器局域网络(controller area network,CAN)总线接入控制系统,配件还可以通过使用低功耗蓝牙的方式接入控制系统。例如,配件可以将本配件的第一标识和第二标识广播发送给控制系统。控制系统可以定时接收配件发送的第一标识和第二标识。其中,实时可以是指一个较小的周期,例如,实时发送本配件的第一标识和第二标识可以指,本次发送配件的第一标识和第二标识完成后立即再次发送配件的第一标识和第二标识。定时可以是指一个较大的周期。当然,实时和定时也可以指相同的周期。其中,实时和定时对应的周期可以根据具体的需要确定,例如,定时对应的周期小于等于用户完成一次配件的拔插操作所需要的最小时间。
步骤102,依据该配件的第一标识和第二标识为该配件分配用于通信的第三标识。
在应用中,控制系统可以根据目标配件的第一标识确定是否已经为目标配件分配了第三标识。作为一个实施例,控制系统在每次为配件分配用于通信的第三标识后,可以记录该配件的第一标识和第三标识的对应关系。在接收到目标配件发送的第一标识后,可以查询记录中是否存在目标配件的第一标识和第三标识的对应关系,如果存在,则确定控制系统已经为目标配件分配了第三标识,如果不存在,则确定控制系统未为目标配件分配第三标识。
若控制系统已经为目标配件分配了用于通信的第三标识,则可以丢弃目标配件的第一标识和第二标识,不再为目标配件分配第三标识。
若控制系统未为目标配件分配用于通信的第三标识,则为目标配件分配用于通信的第三标识。
在一个例子中,第三标识可以为临时标识。可以在配件每次接入控制系统都分配用于通信的第三标识,每次分配配件的第三标识仅用于该配件本次接入的通信,在该配件断开连接后,删除该配件的第一标识和第三标识的记录。
在应用中,组网中有些类型的配件可能仅会出现一个,或者即使会出现多个,该多个配件的功能也相同,此种类型的配件则可以不用分配用于通信的第三标识。系统中还有些类型的配件,则可能会出现多个,且该多个相同类型的配件功能可能不同,此种类型的配件则可为其分配用于通信的第三标识,基于此,作为一个实施例,在为目标配件分配第三标识时,可以根据目标配件的第二标识确定目标配件是否属于需要分配用于通信的标识的类型。如果目标配件的类型不需要分配用于通信的标识,那么控制系统无需为目标配件分配第三标识,在后续通信中该配件使用第二标识在组网中进行通信。如果目标配件的类型需要分配用于通 信的标识,那么控制系统需要为目标配件分配第三标识。其中,需要分配用于通信的标识的配件类型可以预先定义。
在应用中,为目标配件分配用于通信的第三标识具体可以包括多种方式。
在一个示例中,在为目标配件分配第三标识时,可以结合目标配件的第二标识为目标配件分配第三标识,基于此,作为一个实施例,第三标识可以包括主编号和子编号,其中,该主编号为目标配件的第二标识,该子编号为控制系统在目标配件类型中为目标配件分配的编号。例如,目标配件的第二标识为“1”,“1”表示手柄,可以为目标配件分配的标识为“1-3”,其中,在该“1-3”中,1为主编号,3为子编号。需要说明是的,本发明实施例中,采用主编号和子编号分配第三标识的方式仅为举例,其他根据配件的第二标识分配第三标识的方式也在本发明实施例的保护范围中,不再赘述。
另外,在控制系统中同时存在的配件用于通信的标识各不相同,基于此,作为一个实施例,在为目标配件分配第三标识时,可以为目标配件分配一个目标配件对应的类型下,未分配给其他配件的第三标识。例如,系统中同时存在三个手柄,且其他两个手柄的第三标识分别为“1-1”和“1-2”,此时,控制系统在为当前手柄分配用于通信的第三标识时,需要保证分配的第三标识与其他手柄已存在的第三标识不冲突,例如,可以为当前手柄分配的第三标识为“1-3”。
步骤103,将该配件的第三标识分配给该配件,以使该配件使用该配件的第三标识在组网中通信。
在目标配件接收到控制系统发送的第三标识后,目标配件便可以使用该第三标识在系统构成的组网中进行通信。
通过本发明实施例,控制系统能够根据配件的第二标识确定配件的类型,结合配件的第一标识,可以定位配件,根据第一标识和第二标识为配件分配的用于通信的第三标识,在组网内通信使用过程中,相同类型不同功能的配件在同一组网中进行通信时,降低出现通信逻辑以及功能混乱的可能性,提升用户体验。使得组网中可以连接多个相同类型的配件,并且相同类型的配件功能不相互冲突,可兼容使用。
在图1所示实施例一的基础上,本发明实施例二提供了一种通信控制方法。图2为本发明实施例二提供的一种通信控制方法的流程示意图。如图2所示,在图1所示实施例一的基础上,本实施例二中的方法,可以包括以下步骤:
步骤201,接收配件发送的第一标识和第二标识。
本步骤201类似步骤101,不再赘述。
步骤202,检查该配件的第一标识是否已注册至控制系统。
步骤203,若否,依据该配件的第二标识和本地注册表分配第三标识。
本步骤202和步骤203,为上述步骤102的一个实施例。
控制系统可以维护一个本地注册表,该注册表记录有控制系统已经分配过第三标识,具体的,该注册表可以包括第一标识和第三标识的对应关系。例如,以第一标识为芯片标识,第三标识称为通信标识为例,该注册表可以如表1所示。
表1
Figure PCTCN2018071677-appb-000001
基于此,步骤202中可以进一步通过如下方式实现:
检查本地注册表中是否包括目标配件的第一标识;
若是,确定第一标识注册至控制系统;
若否,确定第一标识未注册至控制系统。
进一步地,该注册表还可以体现配件的类型,具体的,该注册表可以包括第一标识、第二标识和第三标识的对应关系。例如,以第一标识为芯片标识,第二标识为设备标识,第三标识称为通信标识为例,该注册表可以如表2所示。
表2
Figure PCTCN2018071677-appb-000002
基于此,可以设定组网中,预定义同一类型的组件的数量上限。在步骤203中,具体可以通过如下方式实现:
检查本地注册表中包含第二标识的所有表项的数量是否达到阈值。
若是,则丢弃所述第一标识和第二标识;此时,不在对目标配件进行注册,也不未目标配件分配第三标识。
若否,则依据第二标识和本地注册表分配第三标识。其中,用于通信的第三标识与本地注册表中包含第二标识的所有表项中用于通信的标识不同。
再进一步地,该注册表还可以体现配件的功能权限,具体的,该注册表可以包括第一标识、第二标识、第三标识和功能权限的对应关系。例如,以第一标识为芯片标识,第二标识为设备标识,第三标识称为通信标识为例,该注册表可以如表3所示。
表3
Figure PCTCN2018071677-appb-000003
其中,配件的功能权限可以指示该配件的哪些功能有效,在一个示例中,该功能权限可 以对应配件不同模式,例如,手柄的单手模式、双手模式的右手模式或者双手模式的左手模式。配件的功能权限可以根据需要设置,例如,可以根据实际情况选择手柄的模式,根据手柄的模式确定功能权限。
在依据第一标识和第二标识为目标配件分配第三标识之后,还包括:在本地注册表中增加表项,以实现第一标识的注册。其中,增加的表项包括第一标识和第三标识;或者,包括第一标识、第二标识和第三标识;或者,包括第一标识、第二标识、第三标识和功能权限。
其中,增加的表项包含的第三标识,与该注册表中包含第二标识的其他表项中包含的第三标识不同。
相同类型的配件在组网中功能可以全部相同,可以全部不同,也可以部分不同。具体可以根据实际需要确定配件的功能权限,基于此,作为一个实施例,若表项中包含功能权限,增加的表项包含的功能权限与本地注册表中包含第二标识的其他表项中包含的功能权限不同。作为另一个实施例中,若表项中包含功能权限,增加的表项包含的功能权限与本地注册表中包含第二标识的其他表项中包含的功能权限可以相同,也可以不同,例如,
需要说明的是,在本发明实施例中,保存注册表的方式不限。例如,可以在本地存储一个包含全部已注册配件的注册表,也可以按配件的类型分类,每一类对应一个注册表。
步骤204,将该配件的第三标识分配给配件,以使该配件使用该配件的第三标识在组网中通信。
在实现中,将配件的第三标识分配给配件的方式可以包括多种。
在一个示例中,可以向配件发送包含配件的第三标识的注册表,以便配件在接收到注册表后,在接收的注册表中获取与本配件的第一标识对应的第三标识。
需要说明的是,控制系统本地可能存储有多个注册表,控制系统可以向配件发送包含该配件的第二标识的注册表,也可以额发送所有的注册表。
本步骤204类似步骤203,不再赘述。
以上对图3所示的实施例二进行了描述。
实施例三:
在图1所示实施例一或图2所示实施例二的基础上,本发明实施例三提供了另一种通信控制方法。图3为本发明实施例三提供的一种通信控制方法的流程示意图。如图3所示,在图1所示实施例一或图2所示实施例二的基础上,本实施例三中的方法,可以包括以下步 骤:
步骤301,接收配件发送的第一标识和第二标识。
本步骤301类似上述步骤101,不再赘述。
步骤302,检查该配件的第一标识是否已注册至控制系统。
本步骤302类似上述步骤202,不再赘述。
步骤303,若否,依据该配件的第二标识和本地注册表分配第三标识。
本步骤303类似上述步骤203,不再赘述。
步骤304,在本地注册表中增加表项。其中,增加的表项包括第一标识和第三标识;或者,包括第一标识、第二标识和第三标识;或者,包括第一标识、第二标识、第三标识和功能权限。
步骤305,广播增加了表项的注册表。
本步骤为上述步骤103的一个具体实施例。
控制系统广播增加了表项的注册表,与该控制系统连接的配件可以接收到该增加了表项的注册表,其中,与该控制系统连接的配件包括目标配件。
由于控制系统中可能存储有多个注册表,控制系统可以仅广播增加了表项的注册表,也可以广播所有的注册表。
目标配件在接收到控制系统广播的增加了表项的注册表中获取与本配件的第一标识对应的第三标识。
目标配件根据目标配件的第三标识与控制系统进行通信。
以上对图3所示的实施例三进行了描述。
实施例四:
在图1所示实施例一、图2所示实施例二或图3所示的实施例三的基础上,本发明实施例四提供了另一种通信控制方法。图4为本发明实施例四提供的一种通信控制方法的流程示意图。如图4所示,图1所示实施例一、图2所示实施例二或图3所示的实施例三的基础上,本实施例四中的方法,可以包括以下步骤:
步骤401,接收配件发送的第一标识和第二标识。
本步骤401类似上述步骤101,不再赘述。
步骤402,检查该配件的第一标识是否已注册至控制系统。
本步骤402类似上述步骤202,不再赘述。
步骤403,若否,依据该配件的第二标识和本地注册表分配第三标识。
本步骤403类似上述步骤203,不再赘述。
步骤404,在本地注册表中增加表项。
本步骤403类似上述步骤303,不再赘述。
步骤405,将该配件的第三标识分配给该配件,以使该配件使用该配件的第三标识在组网中通信。
步骤406,确定该配件是否离线。
其中,确定配件是否离线可以包括多种方式。
在一个示例中,由于配件实时向控制系统发送该配件的第一标识和第二标识。可以根据目标配件的第一标识和第二标识的接收情况来确定该配件是否离线。
具体地,若控制系统在设定时间内未接收到目标配件发送的第一标识和第二标识,则确定目标配件离线;
若控制系统在设定时间内接收到目标配件发送的第一标识和第二标识,则确定目标配件未离线。
其中,该设定时间可以指前述实施例一中定时对应的周期的整数倍。例如,若控制系统在连续两个定时时刻都未接收到目标配件发送的第一标识和第二标识,则确定目标配件离线。
步骤407,当确定该配件离线,则在本地注册表中删除增加的表项。
当确定目标配件离线时,则在本地注册表中删除该目标配件对应的表项,即,在本地注册表中删除目标配件的第一标识对应的表项。
通过本发明实施例,通过检测配件的连接状态,来降低热插拔配件对通信造成的影响,使得,在通信过程中,降低出现通信逻辑以及功能混乱的可能性,提升用户体验。
进一步地,根据配件的连接状态,对配件进行供电或去电控制可以保证供电系统的稳定性,在配件拆调后迅速断掉配件借口的电源,可以降低由于接口处触点裸露,而导致的短 路情况的发生,提高配件的寿命。
实施例五:
在图1所示实施例一、图2所示实施例二、图3所示的实施例三或图4所示的实施例四的基础上,本发明实施例五提供了另一种通信控制方法。图5为本发明实施例五提供的一种通信控制方法的流程示意图。如图5所示,图1所示实施例一、图2所示实施例二、图3所示的实施例三或图4所示的实施例四的基础上,本实施例五中的方法,可以包括以下步骤:
步骤501,配件接入云台控制系统。
其中,该配件为云台手柄、拇指跟焦器、跟焦器、摇轮、体感控制器或者无线通信组件等等中的任意一项。
上述各个配件可以通过有线或无线的方式接入云台控制系统。
步骤502,云台控制系统接收配件发送的第一标识和第二标识。
本步骤502类似上述步骤101,不再赘述。
步骤503,云台控制系统检查该配件的第一标识是否已注册至本云台控制系统。
本步骤503类似上述步骤202,不再赘述。
若是,则丢弃该配件的第一标识和第二标识,不为该配件分配用于通信的标识。
步骤504,若否,云台控制系统检查本地注册表中包含第二标识的所有表项的数量是否达到阈值。
若是,则丢弃该配件的第一标识和第二标识,不为该配件分配用于通信的标识。
步骤505,若否,云台控制器依据该配件的第二标识为该配件分配用于通信的第三标识。其中,用于通信的第三标识与本地注册表中包含第二标识的所有表项中用于通信的标识不同。
步骤506,在本地注册表中增加表项。其中,增加的表项包括第一标识、第二标识、第三标识和功能权限。
本步骤506类似上述步骤304,不再赘述。
步骤507,广播增加了表项的注册表。
本步骤507类似上述步骤305,不再赘述。
目标配件在接收到控制系统广播的增加了表项的注册表中获取与本配件的第一标识对应的第三标识。
步骤508,确定该配件是否离线。
本步骤508类似上述步骤405,不再赘述。
步骤509,当确定该配件离线,则在本地注册表中删除增加的表项。
本步骤509类似上述步骤406,不再赘述。
实施例六:
本实施例六提供了控制系统的结构图。图6为本发明实施例六提供的控制系统的结构图。该系统对应图1所示的方法流程。如图6所示,该装置可包括:收发器601、处理器602、存储器603。
其中,存储器603,用于存储程序代码;
收发器601,用于与配件进行通信;该收发器601可以为无线收发器,也可以为有线收发器。该收发器可以包括接收单元和发送单元,该接收单元和发送单元可以独立或集成在一起。
处理器602,用于调用所述程序代码,当程序代码被执行时,所述处理器用于执行以下操作:
通过所述收发器601接收配件发送的第一标识和第二标识;
依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
通过所述收发器601将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
在一个示例中,所述处理器602具体用于,
检查所述第一标识是否已注册至所述控制系统;
若否,依据所述第二标识和本地注册表分配第三标识。
在一个示例中,所述处理器602具体用于,
检查所述本地注册表中是否包括所述第一标识;
若是,确定所述第一标识注册至所述控制系统;
若否,确定所述第一标识未注册至所述控制系统。
在一个示例中,所述处理器602具体用于,
检查所述本地注册表中包含所述第二标识的所有表项的数量是否达到阈值;
若是,则丢弃所述第一标识和第二标识;
若否,则依据所述第二标识和本地注册表分配第三标识。
在一个示例中,所述处理器602具体用于,在所述本地注册表中增加表项,增加的表项包括所述第一标识、第二标识和第三标识。
在一个示例中,所述增加的表项还包括功能权限,所述增加的表项包含的功能权限与所述本地注册表中包含所述第二标识的其他表项中包含的功能权限不同。
在一个示例中,所述处理器602具体用于,
通过所述收发器601广播增加了所述表项的注册表。
在一个示例中,所述处理器602具体用于,
确定所述配件是否离线,
当确定所述配件离线,则在本地注册表中删除所述表项。
在一个示例中,所述处理器602具体用于,
若在设定时间内未接收到所述配件发送的第一标识和第二标识,则确定所述配件离线;
若在设定时间内接收到所述配件发送的第一标识和第二标识,则确定所述配件未离线。
在一个示例中,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述用于通信的第三标识与所述本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
在一个示例中,所述控制系统为云台控制系统。
以上对实施例六进行了描述。
本实施例七提供了配件的结构图。图7为本发明实施例七提供的配件结构示意图。该系统对应图1所示的方法流程。如图7所示,该装置可包括:收发器701、处理器702、存储 器703。
其中,存储器703,用于存储程序代码;
收发器701,用于与控制系统进行通信;该收发器701可以为无线收发器,也可以为有线收发器。该收发器可以包括接收单元和发送单元,该接收单元和发送单元可以独立或集成在一起。
处理器702,用于调用所述程序代码,当程序代码被执行时,所述处理器702用于执行以下操作:
通过所述收发器701将本配件的第一标识和第二标识广播发送给控制系统;
通过所述收发器701接收控制系统为本配件分配的第三标识;
根据所述第三标识与所述控制系统进行通信。
在一个示例中,所述处理器702具体用于,
通过所述收发器701接收所述控制系统广播的注册表;
在所述注册表中获取与本配件的第一标识、第二标识对应的第三标识。
在一个示例中,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述第三标识与本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
实施例八:
本实施例八提供了系统的结构。如图8所示,图8为本发明实施例八提供的系统结构示意图。该系统包括控制系统801和至少一个配件802。该控制系统801可以为前述实施例六中描述的控制系统中的任意一种,该至少一个配件802中至少包括实施例七中描述的配件中的任意一种。
在一个示例中,该系统可以为云台,如图9所示,图9为本发明实施例八提供的云台结构示意图。该云台可以包括云台控制器和多个配件,该多个配件包括三个手柄、两个跟焦器、一个摇轮、一个体感控制器以及一个无线通讯装置。其中,三个手柄分别用于单手模式,双手模式中的右手模式,双手模式中的左手模式。两个跟焦器的绝对位置不同。该控制器通过通过前述实施例一至实施例五任意一种方法控制与该三个手柄以及该两个跟焦器的通信。
本发明实施例中还提出一种计算机可读存储介质,计算机可读存储介质上存储有计算 机指令,所述计算机指令被执行时,实现上述控制系统对应的通信方法。
本发明实施例中还提出另一种计算机可读存储介质,计算机可读存储介质上存储有计算机指令,所述计算机指令被执行时,实现上述配件对应的通信方法。
上述实施例阐明的系统、装置、模块或单元,可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本发明时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本发明实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可以由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其它可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其它可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
而且,这些计算机程序指令也可以存储在能引导计算机或其它可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或者多个流程和/或方框图一个方框或者多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其它可编程数据处理设备,使得在计算机或者其它可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其它可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (31)

  1. 一种通信控制方法,应用于控制系统,其特征在于,所述方法包括:
    接收配件发送的第一标识和第二标识;
    依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
    将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
  2. 根据权利要求1所述的方法,其特征在于,所述依据第一标识和第二标识为所述配件分配第三标识包括:
    检查所述第一标识是否已注册至所述控制系统;
    若否,依据所述第二标识和本地注册表分配第三标识。
  3. 根据权利要求2所述的方法,其特征在于,所述检查第一标识是否已注册至本系统包括:
    检查所述本地注册表中是否包括所述第一标识;
    若是,确定所述第一标识注册至所述控制系统;
    若否,确定所述第一标识未注册至所述控制系统。
  4. 根据权利要求2所述的方法,其特征在于,所述依据所述第二标识和本地注册表分配第三标识包括:
    检查所述本地注册表中包含所述第二标识的所有表项的数量是否达到阈值;
    若是,则丢弃所述第一标识和第二标识;
    若否,则依据所述第二标识和本地注册表分配第三标识。
  5. 根据权利要求2所述的方法,其特征在于,在依据所述第一标识和第二标识为所述配件分配第三标识之后,还包括:在所述本地注册表中增加表项,增加的表项包括所述第一标识、第二标识和第三标识。
  6. 根据权利要求5所述的方法,其特征在于,所述增加的表项还包括功能权限,所述增加的表项包含的功能权限与所述本地注册表中包含所述第二标识的其他表项中包含的功能权限不同。
  7. 根据权利要求5所述的方法,其特征在于,将所述第三标识分配给所述配件包括:
    广播增加了所述表项的注册表。
  8. 根据权利要求7所述的方法,其特征在于,该方法还包括:
    确定所述配件是否离线,
    当确定所述配件离线,则在本地注册表中删除所述表项。
  9. 根据权利要求8所述的方法,其特征在于,所述确定配件是否离线包括:
    若在设定时间内未接收到所述配件发送的第一标识和第二标识,则确定所述配件离线;
    若在设定时间内接收到所述配件发送的第一标识和第二标识,则确定所述配件未离线。
  10. 根据权利要求2-9任意一项所述的方法,其特征在于,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述用于通信的第三标识与所述本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
  11. 根据权利要求1-9任意一项所述的方法,其特征在于,所述控制系统为云台控制系统。
  12. 一种通信控制方法,应用于配件,其特征在于,所述方法包括:
    将本配件的第一标识和第二标识广播发送给控制系统;
    接收控制系统为本配件分配的第三标识;
    根据所述第三标识与所述控制系统进行通信。
  13. 根据权利要求12所述的方法,其特征在于,接收控制系统为本配件分配的第三标识包括:
    接收所述控制系统广播的注册表;
    在所述注册表中获取与本配件的第一标识、第二标识对应的第三标识。
  14. 根据权利要求13所述的方法,其特征在于,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述第三标识与本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
  15. 一种控制系统,其特征在于,包括:
    收发器,用于与配件进行通信;
    处理器,用于
    通过所述收发器接收配件发送的第一标识和第二标识;
    依据所述第一标识和第二标识为所述配件分配用于通信的第三标识;
    通过所述收发器将所述第三标识分配给所述配件,以使所述配件使用所述第三标识在组网中通信。
  16. 根据权利要求15所述的系统,其特征在于,所述处理器具体用于,
    检查所述第一标识是否已注册至所述控制系统;
    若否,依据所述第二标识和本地注册表分配第三标识。
  17. 根据权利要求16所述的系统,其特征在于,所述处理器具体用于,
    检查所述本地注册表中是否包括所述第一标识;
    若是,确定所述第一标识注册至所述控制系统;
    若否,确定所述第一标识未注册至所述控制系统。
  18. 根据权利要求17所述的系统,其特征在于,所述处理器具体用于,
    检查所述本地注册表中包含所述第二标识的所有表项的数量是否达到阈值;
    若是,则丢弃所述第一标识和第二标识;
    若否,则依据所述第二标识和本地注册表分配第三标识。
  19. 根据权利要求16所述的系统,其特征在于,所述处理器具体用于,在所述本地注册表中增加表项,增加的表项包括所述第一标识、第二标识和第三标识。
  20. 根据权利要求19所述的方法,其特征在于,所述增加的表项还包括功能权限,所述增加的表项包含的功能权限与所述本地注册表中包含所述第二标识的其他表项中包含的功能权限不同。
  21. 根据权利要求19所述的系统,其特征在于,所述处理器具体用于,
    通过所述收发器广播增加了所述表项的注册表。
  22. 根据权利要求21所述的系统,其特征在于,所述处理器具体用于,
    确定所述配件是否离线,
    当确定所述配件离线,则在本地注册表中删除所述表项。
  23. 根据权利要求22所述的系统,其特征在于,所述处理器具体用于,
    若在设定时间内未接收到所述配件发送的第一标识和第二标识,则确定所述配件离线;
    若在设定时间内接收到所述配件发送的第一标识和第二标识,则确定所述配件未离线。
  24. 根据权利要求16-23任意一项所述的系统,其特征在于,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述用于通信的第三标识与所述本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
  25. 根据权利要求15-23任意一项所述的系统,其特征在于,所述控制系统为云台控制系统。
  26. 一种配件,其特征在于,所述配件包括:
    收发器,用于与控制系统进行通信;
    处理器,用于通过所述收发器将本配件的第一标识和第二标识广播发送给控制系统;
    通过所述收发器接收控制系统为本配件分配的第三标识;
    根据所述第三标识与所述控制系统进行通信。
  27. 根据权利要求26所述的配件,其特征在于,所述处理器具体用于,
    通过所述收发器接收所述控制系统广播的注册表;
    在所述注册表中获取与本配件的第一标识、第二标识对应的第三标识。
  28. 根据权利要求27所述的配件,其特征在于,所述第一标识为所述配件上芯片的芯片标识,所述第二标识为用于指示所述配件的类型的标识,所述第三标识与本地注册表中包含所述第二标识的所有表项中用于通信的标识不同。
  29. 一种计算机可读存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行如权利要求1-11任意一项所述的方法。
  30. 一种计算机可读存储介质,包括计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行如权利要求12-14任意一项所述的方法。
  31. 一种系统,包括如权利要求15-25所述的控制系统和如权利要求26-28任意一项所述的配件。
PCT/CN2018/071677 2018-01-05 2018-01-05 通信控制方法、控制系统、配件和计算机可读存储介质 WO2019134149A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2018/071677 WO2019134149A1 (zh) 2018-01-05 2018-01-05 通信控制方法、控制系统、配件和计算机可读存储介质
CN201880011238.0A CN110268798B (zh) 2018-01-05 2018-01-05 通信控制方法、控制系统、配件和计算机可读存储介质
US16/919,811 US20200337097A1 (en) 2018-01-05 2020-07-02 Communication control method, control system and accessory, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/071677 WO2019134149A1 (zh) 2018-01-05 2018-01-05 通信控制方法、控制系统、配件和计算机可读存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/919,811 Continuation US20200337097A1 (en) 2018-01-05 2020-07-02 Communication control method, control system and accessory, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2019134149A1 true WO2019134149A1 (zh) 2019-07-11

Family

ID=67144082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/071677 WO2019134149A1 (zh) 2018-01-05 2018-01-05 通信控制方法、控制系统、配件和计算机可读存储介质

Country Status (3)

Country Link
US (1) US20200337097A1 (zh)
CN (1) CN110268798B (zh)
WO (1) WO2019134149A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097866A1 (en) * 2005-11-01 2007-05-03 Nokia Corporation Variable length radio link ID for resource allocation in mobile communication systems
CN102714791A (zh) * 2009-07-24 2012-10-03 瑞典爱立信有限公司 通信网络中的终端标识符
CN103095581A (zh) * 2011-10-31 2013-05-08 中兴通讯股份有限公司 分离终端身份位置标识的系统、方法和服务路由器
CN103581171A (zh) * 2013-09-03 2014-02-12 华为数字技术(苏州)有限公司 一种报文发送方法及装置
CN106802658A (zh) * 2017-03-21 2017-06-06 厦门大学 一种全自动高精度室内快速定位方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2741500A1 (fr) * 1995-11-22 1997-05-23 Philips Electronics Nv Poste telephonique comportant un module d'identification
JP2004173221A (ja) * 2002-11-21 2004-06-17 Tietech Co Ltd 移動通信端末の使用制限方式
CN102316416B (zh) * 2010-06-29 2016-07-27 中兴通讯股份有限公司 终端接入方法和无线通信网络
CN103744384A (zh) * 2013-12-23 2014-04-23 乐视致新电子科技(天津)有限公司 一种智能家居实现方法、相关设备及系统
WO2015115748A1 (en) * 2014-01-31 2015-08-06 Lg Electronics Inc. Method for handling an id collision for d2d communication system and device therefor
CN106817766B (zh) * 2015-11-30 2019-11-19 大唐移动通信设备有限公司 一种对终端进行无线资源优化的方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070097866A1 (en) * 2005-11-01 2007-05-03 Nokia Corporation Variable length radio link ID for resource allocation in mobile communication systems
CN102714791A (zh) * 2009-07-24 2012-10-03 瑞典爱立信有限公司 通信网络中的终端标识符
CN103095581A (zh) * 2011-10-31 2013-05-08 中兴通讯股份有限公司 分离终端身份位置标识的系统、方法和服务路由器
CN103581171A (zh) * 2013-09-03 2014-02-12 华为数字技术(苏州)有限公司 一种报文发送方法及装置
CN106802658A (zh) * 2017-03-21 2017-06-06 厦门大学 一种全自动高精度室内快速定位方法

Also Published As

Publication number Publication date
CN110268798A (zh) 2019-09-20
US20200337097A1 (en) 2020-10-22
CN110268798B (zh) 2022-06-24

Similar Documents

Publication Publication Date Title
US10797988B2 (en) Method and apparatus for controlling and managing a field device using an industry internet operating system
US10334528B2 (en) Short-range wireless controller filtering and reporting
KR102509679B1 (ko) IEEE 802.11 표준에 정의된 TWT(target wake time)를 이용하여 무선 매체에 대한 접근을 지원하는 전자 장치
EP3039564B1 (en) Method for sharing media data and electronic device thereof
US20120290730A1 (en) Mass re-formation of groups in a peer-to-peer network
EP3281141A1 (en) Cloud-based cross-device digital pen pairing
US9019878B2 (en) Phone supporting mode conversion
KR20160045635A (ko) 통신용 논리 채널을 이용한 전자 장치
CN105683936A (zh) 具有多个从设备标识符的相机控制从设备
WO2017162043A1 (zh) 用于设备间服务的访问方法、配置方法及装置
EP3038292B1 (en) Method, apparatus and system for device management
WO2018227457A1 (zh) 参数处理方法、设备、机器可读存储介质以及系统
JP2020524869A (ja) 仮想マシン管理
WO2019019991A1 (zh) 聚合组的创建
KR101821016B1 (ko) 제어 시스템의 구성요소에 식별자를 할당하는 장치, 시스템 및 방법
CN109067735B (zh) 通信协议的动态配置方法、无线通信装置和智能设备
US10200864B2 (en) Method and device for managing wireless access point
US20130097675A1 (en) Positioning system for server
US10635606B2 (en) Method and apparatus for maintaining continuity of on-going session over wired or wireless interface
US20170093462A1 (en) File transmission/reception device and control method of file transmission/reception device
WO2019134149A1 (zh) 通信控制方法、控制系统、配件和计算机可读存储介质
CN106933646B (zh) 一种创建虚拟机的方法及装置
CN111679918B (zh) 一种消息传输方法及装置
EP2938143A1 (en) Control device and communication system
CN109309966B (zh) 基于网关控制的共用通道的蓝牙通信方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18898613

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18898613

Country of ref document: EP

Kind code of ref document: A1