[go: up one dir, main page]

WO2022141970A1 - Distributed control method and apparatus, electronic devices, storage medium and computer program - Google Patents

Distributed control method and apparatus, electronic devices, storage medium and computer program Download PDF

Info

Publication number
WO2022141970A1
WO2022141970A1 PCT/CN2021/089062 CN2021089062W WO2022141970A1 WO 2022141970 A1 WO2022141970 A1 WO 2022141970A1 CN 2021089062 W CN2021089062 W CN 2021089062W WO 2022141970 A1 WO2022141970 A1 WO 2022141970A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface protocol
electronic device
deployment
protocol
control task
Prior art date
Application number
PCT/CN2021/089062
Other languages
French (fr)
Chinese (zh)
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 成都商汤科技有限公司
Publication of WO2022141970A1 publication Critical patent/WO2022141970A1/en

Links

Images

Classifications

    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Definitions

  • Multi-level control is an important issue in the field of alarm collection technology.
  • the multi-level control and alarm collection system is often based on a homogeneous system, or the heterogeneous system realizes the adaptation through the customization of additional interface protocols, which leads to the need for multi-level control and alarm control under the heterogeneous system. Complicated, time-consuming and labor-intensive.
  • the first electronic device sends the second control task with the common interface protocol to the FTP server in the cross-network gatekeeper, and then the FTP server sends the second control task with the common interface protocol to the second electronic device that executes the control task , or, the second electronic device may actively obtain the second control task with the general interface protocol from the FTP server.
  • step S32 the interface protocol conversion is performed on the second deployment control task with the general interface protocol to obtain the third deployment control task with the second interface protocol, and the second interface protocol is that the second deployment control system in the second electronic device needs to be adapted private interface protocol.
  • the second control system in the second electronic device executes the third control task with the second interface protocol, and obtains second alarm information with the second interface protocol.
  • the first deployment and control task is obtained from the deployment and control system of the provincial-level system equipment, and the first deployment and control task with the first interface protocol is delivered to the first deployment and control task of the provincial-level system equipment through a preset proxy layer. Rules parsing engine.
  • Step A3 Forward the second deployment task to the second FTP server.
  • the second control task with the general interface protocol is sent to the second electronic device.
  • the interface protocol conversion sub-module is configured to perform interface protocol conversion on the second deployment control task with the general interface protocol based on the second protocol script to obtain the third deployment control task with the second interface protocol.
  • the general interface protocol includes at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
  • the embodiments of the present application further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium.
  • An embodiment of the present application further provides an electronic device, including: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • Audio component 810 is configured to output and/or input audio signals.
  • audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 800 is in operating modes, such as calling mode, recording mode, and voice recognition mode.
  • the received audio signal may be further stored in the first memory 804 or transmitted via the communication component 816 .
  • audio component 810 also includes a speaker for outputting audio signals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The present application relates to a distributed control method and apparatus, electronic devices, a computer-readable storage medium and a computer program product. The method is applied to a first electronic device, and comprises: performing interface protocol conversion on a first distributed control task that has a first interface protocol so as to obtain a second distributed control task that has a universal interface protocol, wherein the first interface protocol is a private interface protocol to which a first distributed control system in the first electronic device needs to be adapted; and sending the second distributed control task that has the universal interface protocol to a second electronic device, so that the second electronic device performs interface protocol conversion on the second distributed control task that has the universal interface protocol so as to obtain a third distributed control task that has an interface protocol, wherein a second interface protocol is a private interface protocol to which a second distributed control system in the second electronic device needs to be adapted.

Description

布控方法及装置、电子设备、存储介质和计算机程序Controlling method and device, electronic device, storage medium and computer program
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011592173.9、申请日为2020年12月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011592173.9 and the filing date of December 29, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及计算机技术领域,涉及但不限于一种布控方法及装置、电子设备、计算机可读存储介质和计算机程序产品。The present application relates to the field of computer technology, and relates to, but is not limited to, a dispatching method and apparatus, an electronic device, a computer-readable storage medium, and a computer program product.
背景技术Background technique
多级布控是告警采集技术领域的重要问题。相关技术中,多级布控及告警采集系统常常是基于一个同构系统,或异构系统通过额外的接口协议定制来实现适配打通,导致在异构系统下的多级布控告警的需求场景布控复杂,耗时耗力。Multi-level control is an important issue in the field of alarm collection technology. In the related art, the multi-level control and alarm collection system is often based on a homogeneous system, or the heterogeneous system realizes the adaptation through the customization of additional interface protocols, which leads to the need for multi-level control and alarm control under the heterogeneous system. Complicated, time-consuming and labor-intensive.
发明内容SUMMARY OF THE INVENTION
本申请提出了一种布控方法及装置、电子设备、计算机可读存储介质和计算机程序产品的技术方案。The present application provides technical solutions for a control method and device, an electronic device, a computer-readable storage medium, and a computer program product.
本申请实施例提供了一种布控方法,所述方法应用于第一电子设备,所述方法包括:对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;向第二电子设备发送具有所述通用接口协议的所述第二布控任务,使得所述第二电子设备对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。An embodiment of the present application provides a control method, which is applied to a first electronic device. The method includes: performing interface protocol conversion on a first control task with a first interface protocol to obtain a second control task with a general interface protocol. A control task, the first interface protocol is a private interface protocol that needs to be adapted to a first control system in the first electronic device; sending the second control task with the general interface protocol to the second electronic device, Make the second electronic device perform interface protocol conversion on the second control task with the general interface protocol, and obtain a third control task with the second interface protocol, the second interface protocol is the second electronic device The second deployment and control system in the device needs an adapted private interface protocol.
在本申请一些实施例中,所述向第二电子设备发送具有所述通用接口协议的所述第二布控任务,包括:基于文件传输协议FTP传输方式,向所述第二电子设备发送具有所述通用接口协议的所述第二布控任务。In some embodiments of the present application, the sending the second control task with the general interface protocol to the second electronic device includes: based on a file transfer protocol FTP transmission mode, sending the second electronic device with the second control task with the general interface protocol. the second control task of the general interface protocol.
在本申请一些实施例中,所述对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,包括:确定第一协议脚本,所述第一协议脚本用于实现所述第一接口协议与所述通用接口协议之间的转换;基于所述第一协议脚本,对具有所述第一接口协议的所述第一布控任务进行接口协议转换,得到具有所述通用接口协议的所述第二布控任务。In some embodiments of the present application, the performing interface protocol conversion on the first control task with the first interface protocol to obtain the second control task with the general interface protocol includes: determining a first protocol script, the first protocol The script is used to realize the conversion between the first interface protocol and the general interface protocol; based on the first protocol script, perform interface protocol conversion on the first control task with the first interface protocol, and obtain The second deployment task with the general interface protocol.
在本申请一些实施例中,所述方法还包括:接收所述第二电子设备返回的具有所述通用接口协议的第一告警信息,所述具有所述通用接口协议的所述第一告警信息,是所述第二电子设备对具有所述第二接口协议的第二告警信息进行接口协议转换之后得到的,所述具有所述第二接口协议的所述第二告警信息是所述第二电子设备执行所述具有所述第二接口协议的所述第三布控任务之后得到的;对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。In some embodiments of the present application, the method further includes: receiving first alarm information with the general interface protocol returned by the second electronic device, the first alarm information with the general interface protocol , which is obtained after the second electronic device performs interface protocol conversion on the second alarm information with the second interface protocol, and the second alarm information with the second interface protocol is the second alarm information with the second interface protocol. Obtained after the electronic device executes the third control task with the second interface protocol; performs interface protocol conversion on the first alarm information with the general interface protocol, and obtains the first interface protocol with the first interface protocol the third alarm information.
在本申请一些实施例中,所述通用接口协议包括下述至少一种协议规则;点位信息 的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。In some embodiments of the present application, the general interface protocol includes at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
本申请实施例提供了一种布控方法,所述方法应用于第二电子设备,所述方法包括:接收第一电子设备发送的具有通用接口协议的第二布控任务,所述具有所述通用接口协议的所述第二布控任务,是所述第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。An embodiment of the present application provides a control method, the method is applied to a second electronic device, and the method includes: receiving a second control task with a general interface protocol sent by a first electronic device, the method having the general interface The second control task of the protocol is obtained after the first electronic device performs interface protocol conversion on the first control task with the first interface protocol, and the first interface protocol is the first interface protocol in the first electronic device. The first deployment and control system needs an adapted private interface protocol; the interface protocol conversion is performed on the second deployment and control task with the general interface protocol to obtain a third deployment and control task with the second interface protocol, and the second interface The protocol is a private interface protocol to which the second dispatching system in the second electronic device needs to adapt.
在本申请一些实施例中,所述对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,包括:确定第二协议脚本,所述第二协议脚本用于实现所述通用接口协议与所述第二接口协议之间的转换;基于所述第二协议脚本,对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有所述第二接口协议的所述第三布控任务。In some embodiments of the present application, performing interface protocol conversion on the second control task with the general interface protocol to obtain a third control task with the second interface protocol includes: determining a second protocol script , the second protocol script is used to realize the conversion between the general interface protocol and the second interface protocol; based on the second protocol script, the second control task with the general interface protocol is performed. The interface protocol is converted to obtain the third control task with the second interface protocol.
在本申请一些实施例中,所述方法还包括:根据所述第二布控系统,执行具有所述第二接口协议的所述第三布控任务,得到具有所述第二接口协议的第二告警信息;对具有所述第二接口协议的所述第二告警信息进行接口协议转换,得到具有所述通用接口协议的第一告警信息;向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息,使得所述第一电子设备对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。In some embodiments of the present application, the method further includes: according to the second dispatching system, executing the third dispatching task with the second interface protocol to obtain a second alarm with the second interface protocol information; perform interface protocol conversion on the second alarm information with the second interface protocol to obtain first alarm information with the general interface protocol; send the second alarm information with the general interface protocol to the first electronic device The first alarm information enables the first electronic device to perform interface protocol conversion on the first alarm information with the general interface protocol to obtain third alarm information with the first interface protocol.
在本申请一些实施例中,所述向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息,包括:基于FTP传输方式,向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息。In some embodiments of the present application, the sending the first alarm information having the general interface protocol to the first electronic device includes: based on an FTP transmission method, sending to the first electronic device the first alarm information having the general interface protocol The first alarm information of the general interface protocol.
在本申请一些实施例中,所述通用接口协议包括下述至少一种协议规则;点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。In some embodiments of the present application, the general interface protocol includes at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
本申请实施例提供了一种布控装置,所述装置应用于第一电子设备,所述装置包括:第一接口协议转换模块,配置为对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;发送模块,用于向第二电子设备发送具有所述通用接口协议的所述第二布控任务,使得所述第二电子设备对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。An embodiment of the present application provides a deployment and control device, the device is applied to a first electronic device, and the device includes: a first interface protocol conversion module configured to perform interface protocol conversion on a first deployment and control task having a first interface protocol , to obtain a second deployment and control task with a general interface protocol, the first interface protocol is a private interface protocol that needs to be adapted to the first deployment and control system in the first electronic device; the sending module is used to send to the second electronic device The second dispatching task with the general interface protocol, so that the second electronic device performs interface protocol conversion on the second dispatching task with the general interface protocol to obtain a third dispatching task with the second interface protocol Task, the second interface protocol is a private interface protocol that needs to be adapted to the second deployment and control system in the second electronic device.
本申请实施例提供了一种布控装置,所述装置应用于第二电子设备,所述装置包括:接收模块,配置为接收第一电子设备发送的具有通用接口协议的第二布控任务,所述具有所述通用接口协议的所述第二布控任务,是所述第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;第二接口协议转换模块,配置为对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。An embodiment of the present application provides an arrangement and control device, the device is applied to a second electronic device, the device includes: a receiving module configured to receive a second control task with a general interface protocol sent by the first electronic device, the device The second control task with the general interface protocol is obtained after the first electronic device performs interface protocol conversion on the first control task with the first interface protocol, and the first interface protocol is the first interface protocol. A private interface protocol that needs to be adapted to a first deployment and control system in an electronic device; a second interface protocol conversion module configured to perform interface protocol conversion on the second deployment and control task with the general interface protocol, to obtain a The third control task of the second interface protocol, where the second interface protocol is a private interface protocol to which the second control system in the second electronic device needs to be adapted.
本申请实施例提供了一种电子设备,包括:处理器;配置为存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present application provides an electronic device, including: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。Embodiments of the present application provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
本申请实施例提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一布控方法的指令。Embodiments of the present application provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, a processor in the device executes instructions for implementing any of the preceding control methods.
在本申请实施例中,第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议;向第二电子设备发送具有通用接口协议的第二布控任务,使得第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的布控任务发布,提高布控效率。In the embodiment of the present application, the first electronic device performs interface protocol conversion on the first control task with the first interface protocol, and obtains the second control task with the general interface protocol, and the first interface protocol is the first control task in the first electronic device. A deployment and control system needs an adapted private interface protocol; sending a second deployment and control task with a general interface protocol to a second electronic device, so that the second electronic device performs interface protocol conversion on the second deployment and control task with a general interface protocol, and obtains a second deployment and control task with the general interface protocol The third control task of the second interface protocol, the second interface protocol is a private interface protocol to which the second control system in the second electronic device needs to be adapted. Through the conversion of the interface protocol, the release of the control task can be realized between the first electronic device and the second electronic device according to the general interface protocol that can directly exchange data between the first electronic device and the second electronic device after conversion. , so as to realize the release of the deployment and control tasks between the first deployment and control system and the second deployment and control system with different private interface protocols, and improve the deployment and control efficiency.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本申请实施例。根据下面参考附图对示例性实施例的详细说明,本申请实施例的其它特征及方面将变得清楚。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, rather than limiting, of the embodiments of the present application. Other features and aspects of the embodiments of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。The accompanying drawings, which are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, serve to explain the technical solutions of the present application.
图1为本申请实施例提供的布控场景示意图;FIG. 1 is a schematic diagram of a deployment and control scenario provided by an embodiment of the present application;
图2a为本申请实施例提供的一种布控方法的流程图;FIG. 2a is a flowchart of a control method provided by an embodiment of the present application;
图2b为本申请实施例提供的一种布控方法的流程图;FIG. 2b is a flowchart of a control method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种布控方法的流程图FIG. 3 is a flowchart of another control method provided by an embodiment of the present application
图4为本申请实施例提供的一种布控装置的结构示意图;FIG. 4 is a schematic structural diagram of a deployment and control device according to an embodiment of the present application;
图5为本申请实施例提供的一种布控装置的结构示意图;FIG. 5 is a schematic structural diagram of a deployment and control device according to an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图7为本申请实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
以下将参考附图详细说明本申请实施例的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features and aspects of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures denote elements that have the same or similar functions. While various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,I和/或J,可以表示:单独存在I,同时存在I和J,单独存在J这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合, 例如,包括I、J、K中的至少一种,可以表示包括从I、J和K构成的集合中选择的任意一个或多个元素。The term "and/or" in this text is only an association relationship to describe the associated objects, indicating that there can be three kinds of relationships, for example, I and/or J, it can mean: I exist alone, I and J exist simultaneously, exist independently J these three cases. In addition, the term "at least one" herein refers to any combination of any one of the plurality or at least two of the plurality, for example, including at least one of I, J, and K, can mean including from I, Any one or more elements selected from the set of J and K.
另外,为了更好地说明本申请实施例,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请实施例同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请实施例的主旨。In addition, in order to better illustrate the embodiments of the present application, numerous specific details are given in the following detailed description. It should be understood by those skilled in the art that the embodiments of the present application can also be implemented without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the embodiments of the present application.
现如今多级布控及告警采集技术在很多领域都有重要的应用,特别是在公共安全领域,本申请实施例中,可以针对不同地市县区域的情景下做到高效且及时的进行布控任务下发以及告警信息回传的操作,尽可能的保护社会安全。Nowadays, the multi-level control and alarm collection technology has important applications in many fields, especially in the field of public security. In the embodiment of the present application, the control task can be efficiently and timely carried out under the scenarios of different cities and counties. The operation of issuing and returning alarm information to protect social security as much as possible.
然而,相关技术中对于多级布控的操作是复杂的,主要存在两个方面的问题:一方面是由于大多布控系统使用的传输协议的不同,不同布控系统之间协议打通耗时耗力;另一个方面是跨域打通网络的问题,过程较为复杂且繁琐;由于相关技术中,多级跨域访问方法需要进行大量的协议适配以及繁琐的网络打通工作,随着互联网的发展,亟需一种更方便、高效的跨域布控方法。However, the operation of multi-level deployment and control in the related art is complicated, and there are mainly two problems: on the one hand, due to the different transmission protocols used by most of the deployment and control systems, it is time-consuming and labor-intensive to open up the protocols between different deployment and control systems; One aspect is the problem of opening up the network across domains, and the process is relatively complicated and cumbersome; since the multi-level cross-domain access method in the related art requires a lot of protocol adaptation and tedious network connection work, with the development of the Internet, there is an urgent need for a A more convenient and efficient cross-domain deployment and control method.
基于视频图像分析的布控系统是智能安防领域中的重要研究内容。图1为本申请实施例提供的布控场景示意图。如图1所示,在多级布控场景下,作为布控任务下发方的第一电子设备11,将布控任务下发给作为布控任务接收方的第二电子设备12,以使得第二电子设备12通过执行布控任务得到告警信息,并将告警信息回传给第一电子设备11。一般情况下,作为布控任务下发方的第一电子设备11(例如,省级公安系统中的布控设备)中应用的第一布控系统和作为布控任务接收方的第二电子设备12(例如,市级公安系统中的布控设备)中应用的第二布控系统,采用的可能是来自不同供应厂商提供的布控系统(例如,智能视频研判系统)。由于供应厂商在研发布控系统时,为其研发的布控系统设置的适配的私有接口协议,可能与其它供应厂商研发的布控系统设置的适配的私有接口协议并不相同。例如,供应厂商M提供的布控系统需要适配第一私有接口协议,供应商N提供的布控系统需要适配第二私有接口协议。不同的私有接口协议之间无法直接进行数据交换。因此,当第一电子设备11中的第一布控系统和第二电子设备12中的第二布控系统适配不同的私有接口协议时,无法在第一布控系统和第二布控系统之间直接进行布控任务的发布。根据本申请实施例的布控方法,可以应用于图1所示的布控场景,从而在无需为布控任务下发方(第一电子设备11)和布控任务接收方(第二电子设备12)制定额外的接口协议的情况下,实现在具有不同私有接口协议的第一布控系统和第二布控系统之间进行布控任务的发布和告警信息的回传。The deployment and control system based on video image analysis is an important research content in the field of intelligent security. FIG. 1 is a schematic diagram of a deployment and control scenario provided by an embodiment of the present application. As shown in FIG. 1 , in a multi-level deployment and control scenario, the first electronic device 11 as the dispatcher of the dispatching task issues the dispatching task to the second electronic device 12 as the receiver of the dispatching task, so that the second electronic device 11 12 Obtain alarm information by performing the dispatching task, and transmit the alarm information back to the first electronic device 11 . In general, the first electronic device 11 (for example, the dispatching device in the provincial public security system) that is the dispatcher of the dispatching task and the second electronic device 12 that is the receiver of the dispatching task (for example, The second deployment and control system applied in the deployment and control equipment in the municipal public security system) may adopt the deployment and control system (for example, an intelligent video research and judgment system) provided by different suppliers. When a supplier develops a deployment and control system, the adapted private interface protocol set for the deployment and control system developed by the supplier may not be the same as the adapted private interface protocol set for the deployment and control system developed by other suppliers. For example, the deployment and control system provided by supplier M needs to be adapted to the first private interface protocol, and the deployment and control system provided by supplier N needs to be adapted to the second private interface protocol. There is no direct data exchange between different private interface protocols. Therefore, when the first deployment and control system in the first electronic device 11 and the second deployment and control system in the second electronic device 12 are adapted to different private interface protocols, it is not possible to perform direct operation between the first deployment and control system and the second deployment and control system. The release of the control task. The deployment and control method according to the embodiment of the present application can be applied to the deployment and control scenario shown in FIG. 1 , so that there is no need to formulate additional settings for the deployment task issuer (the first electronic device 11 ) and the deployment task receiver (the second electronic device 12 ). In the case of the interface protocol, the release of the deployment control task and the return of the alarm information are realized between the first deployment and control system and the second deployment and control system with different private interface protocols.
本申请实施例中,接口协议指的是两个电子设备进行数据交换时的接口之间必须遵守的规则。例如,第一电子设备中的第一布控系统适配的第一接口协议包括对数据A的描述规则为:字段名称为id,而第二电子设备中的第二布控系统适配的第二接口协议包括对数据A的描述规则为:字段名称为number,由于第一接口协议和第二接口协议对数据A设置了不同的描述规则,使得第一布控系统和第二布控系统无法直接对数据A进行数据交换。这里,第一布控系统和第二布控系统可以是异构系统下的人工智能视觉研判系统,也可以是其它类型的布控系统。In this embodiment of the present application, the interface protocol refers to a rule that must be complied with between interfaces when two electronic devices perform data exchange. For example, the first interface protocol adapted to the first deployment and control system in the first electronic device includes a description rule for data A: the field name is id, and the second interface adapted to the second deployment and control system in the second electronic device The protocol includes the description rules for data A: the field name is number. Since the first interface protocol and the second interface protocol set different description rules for data A, the first deployment control system and the second deployment control system cannot directly describe data A. data exchange. Here, the first deployment and control system and the second deployment and control system may be an artificial intelligence visual judgment system under a heterogeneous system, or may be other types of deployment and control systems.
下面对本申请实施例的布控方法进行详细说明。The control method according to the embodiment of the present application will be described in detail below.
图2a为本申请实施例提供的一种布控方法的流程图。该布控方法应用于第一电子设备,第一电子设备是布控任务的下发方,第一电子设备可以是终端设备或服务器等电子设备;终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等;该布控方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过服务器执行该布控方法。如图2a所示,该布控方法包括:FIG. 2a is a flowchart of a control method provided by an embodiment of the present application. The deployment control method is applied to a first electronic device, the first electronic device is the party issuing the control task, and the first electronic device may be an electronic device such as a terminal device or a server; the terminal device may be a user equipment (User Equipment, UE), a mobile Equipment, user terminal, terminal, cellular phone, cordless phone, Personal Digital Assistant (PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc.; computer readable instructions. Alternatively, the deployment method may be performed by a server. As shown in Figure 2a, the deployment control method includes:
在步骤S21中,对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,第一接口协议是第一电子设备中的第一布控系统适配的私有接口协议。In step S21, interface protocol conversion is performed on the first deployment and control task with the first interface protocol to obtain a second deployment and control task with a general interface protocol, the first interface protocol is adapted to the first deployment and control system in the first electronic device Private interface protocol.
在步骤S22中,向第二电子设备发送具有通用接口协议的第二布控任务,使得第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统适配的私有接口协议。In step S22, the second control task with the general interface protocol is sent to the second electronic device, so that the second electronic device performs interface protocol conversion on the second control task with the common interface protocol to obtain a third control task with the second interface protocol. For the deployment and control task, the second interface protocol is a private interface protocol adapted to the second deployment and control system in the second electronic device.
可见,通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的布控任务发布,提高布控效率。It can be seen that through the conversion of the interface protocol, the control task can be realized between the first electronic device and the second electronic device according to the general interface protocol that can directly exchange data between the first electronic device and the second electronic device after conversion. release, and then realize the release of the deployment control task between the first deployment and control system and the second deployment and control system with different private interface protocols, and improve the deployment and control efficiency.
在本申请一些实施例中,对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,可以包括:确定第一协议脚本,第一协议脚本用于实现第一接口协议与通用接口协议之间的转换;基于第一协议脚本,对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务。In some embodiments of the present application, performing interface protocol conversion on a first dispatching task with a first interface protocol to obtain a second dispatching task with a general interface protocol may include: determining a first protocol script, and the first protocol script is used for The conversion between the first interface protocol and the general interface protocol is realized; based on the first protocol script, the interface protocol conversion is performed on the first control task with the first interface protocol, and the second control task with the general interface protocol is obtained.
在本申请一些实施例中,第一电子设备通过预先设置的代理层,从第一电子设备中的第一布控系统中获取具有第一接口协议的第一布控任务,第一接口协议是第一布控系统适配的私有接口协议;如果直接向第二电子设备发送具有第一接口协议的第一布控任务,由于第二电子设备中的第二布控系统可能与第一接口协议并不适配,使得第二布控系统无法根据具有第一接口协议的第一布控任务获取到布控数据,进而无法完成布控;因此,第一设备需要首先将具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务;通用接口协议是第一电子设备和第二电子设备进行数据交换时可以适配的接口协议。In some embodiments of the present application, the first electronic device obtains, through a preset proxy layer, a first deployment and control task with a first interface protocol from a first deployment and control system in the first electronic device, and the first interface protocol is the first The private interface protocol adapted to the deployment and control system; if the first deployment and control task with the first interface protocol is directly sent to the second electronic device, since the second deployment and control system in the second electronic device may not be compatible with the first interface protocol, So that the second deployment and control system cannot obtain the deployment and control data according to the first deployment and control task with the first interface protocol, and thus cannot complete the deployment and control; therefore, the first device needs to first perform interface protocol conversion on the first deployment and control task with the first interface protocol. A second control task with a general interface protocol is obtained; the general interface protocol is an interface protocol that can be adapted when the first electronic device and the second electronic device exchange data.
本申请实施例中,协议脚本可以是预先设置的用于进行接口协议之间转换的计算机程序;协议脚本通过对转换前的接口协议进行规则解析,得到规则解析结果,进而将规则解析结果进行编码得到转换后的接口协议。In this embodiment of the present application, the protocol script may be a preset computer program for converting between interface protocols; the protocol script obtains a rule parsing result by performing rule parsing on the interface protocol before the transformation, and then encodes the rule parsing result Get the converted interface protocol.
例如,第一电子设备中可以预先配置多个协议脚本,可以通过轮询适配各个协议脚本,确定用于实现第一接口协议与通用接口协议之间的转换的第一协议脚本;进而,基于第一协议脚本,对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务。For example, a plurality of protocol scripts may be preconfigured in the first electronic device, and each protocol script may be adapted by polling to determine the first protocol script for realizing the conversion between the first interface protocol and the general interface protocol; further, based on The first protocol script converts the interface protocol of the first control task with the first interface protocol to obtain the second control task with the general interface protocol.
在本申请一些实施例中,通用接口协议可以包括下述至少一种协议规则;点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。In some embodiments of the present application, the general interface protocol may include at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
本申请实施例中,通用接口协议指的是在第一电子设备和第二电子设备之间进行数据交换时接口之间需要遵守的规则。例如,通用接口协议设置为第一电子设备和第二电子设备中对点位信息的描述规则均为:点位信息(布控数据)包括图像采集设备的名称、位置和分辨率,其中,图像采集设备的名称的字段名为aa,图像采集设备的位置的字段名为bb,图像采集设备的分辨率的字段名为cc。通过设置通用接口协议,使得第二电子设备在接收到第二布控任务之后,可以根据通用接口协议解析得到第二布控任务中包括的布控数据,进而根据对布控数据进行编码,得到具有执行布控任务的第二布控系统可以适配的第二接口协议的第三布控任务,进而实现第二布控系统对第三布控任务的执行。In this embodiment of the present application, the general interface protocol refers to the rules that need to be complied with between interfaces during data exchange between the first electronic device and the second electronic device. For example, the general interface protocol is set so that the description rules for the point information in the first electronic device and the second electronic device are both: the point information (control data) includes the name, location and resolution of the image acquisition device, wherein the image acquisition The field name of the name of the device is aa, the field name of the location of the image capture device is bb, and the field name of the resolution of the image capture device is cc. By setting the general interface protocol, after receiving the second control task, the second electronic device can parse and obtain the control data included in the second control task according to the general interface protocol, and then encode the control data to obtain the control task with execution control The second deployment and control system can be adapted to the third deployment and control task of the second interface protocol, thereby realizing the execution of the third deployment and control task by the second deployment and control system.
这里,通用接口协议除了可以包括上述协议规则以外,还可以根据实际需要,设置其它协议规则,本申请实施例对此不做具体限定。Here, in addition to the above-mentioned protocol rules, the general interface protocol may also set other protocol rules according to actual needs, which is not specifically limited in this embodiment of the present application.
在一种实施方式中,通用接口协议还可以包括GB1400视图库协议,此外可通过热加载其它的自定义配置的协议脚本以完成私有接口协议适配,这样,使用者只需要关注协议脚本的适配,使其不同系统的不同协议能够通过该功能在多协议以及跨域情形下进行布控任务下发和告警信息回传。In one embodiment, the general interface protocol may also include the GB1400 view library protocol. In addition, other custom-configured protocol scripts can be hot loaded to complete the adaptation of the private interface protocol. In this way, the user only needs to pay attention to the adaptation of the protocol script. This function enables different protocols of different systems to issue control tasks and return alarm information in multi-protocol and cross-domain situations.
在本申请一些实施例中,为了增加通用接口协议的可读性,通用接口协议的数据格式可以为JS对象简谱(JavaScript Object Notation,JSON)格式,也可以为其它数据格式。In some embodiments of the present application, in order to increase the readability of the general interface protocol, the data format of the general interface protocol may be a JS Object Notation (JavaScript Object Notation, JSON) format, or may be other data formats.
在本申请一些实施例中,向第二电子设备发送具有通用接口协议的第二布控任务,可以包括:基于文件传输协议(File Transfer Protocol,FTP)传输方式,向第二电子设备发送具有通用接口协议的第二布控任务。In some embodiments of the present application, sending the second control task with the general interface protocol to the second electronic device may include: based on the file transfer protocol (File Transfer Protocol, FTP) transmission mode, sending the second electronic device with the general interface protocol The second control task of the protocol.
可见,本申请实施例中,第一电子设备将具有第一接口协议的第一布控任务,转换为具有通用接口协议的第二布控任务之后,为了保证数据传输的安全性,基于FTP传输方式,向第二电子设备发送具有通用接口协议的第二布控任务,实现跨网络网闸情况下的数据安全传输。这里,通过FTP传输方式完成跨网络网闸情况下的数据传输,不需要考虑接口协议不同或网络连接带来的问题;能够大幅降低相关技术中布控系统之间由于不同接口协议和跨域问题带来的数据对接和网络打通的复杂度。It can be seen that, in the embodiment of the present application, after the first electronic device converts the first control task with the first interface protocol into the second control task with the general interface protocol, in order to ensure the security of data transmission, based on the FTP transmission method, Send the second control task with the general interface protocol to the second electronic device, so as to realize the safe data transmission in the case of cross-network gatekeeper. Here, the FTP transmission method is used to complete the data transmission in the case of cross-network gatekeepers, without considering the problems caused by different interface protocols or network connections; it can greatly reduce the problems caused by different interface protocols and cross-domain problems between the deployment and control systems in the related art. The complexity of incoming data connection and network connection.
例如,第一电子设备将具有通用接口协议的第二布控任务发送至跨网络网闸中的FTP服务器,进而FTP服务器将具有通用接口协议的第二布控任务发送至执行布控任务的第二电子设备,或者,第二电子设备可以主动向FTP服务器获取具有通用接口协议的第二布控任务。For example, the first electronic device sends the second control task with the common interface protocol to the FTP server in the cross-network gatekeeper, and then the FTP server sends the second control task with the common interface protocol to the second electronic device that executes the control task , or, the second electronic device may actively obtain the second control task with the general interface protocol from the FTP server.
在本申请一些实施例中,该布控方法还可以包括:接收第二电子设备返回的具有通用接口协议的第一告警信息,具有所述通用接口协议的第一告警信息,是第二电子设备对具有第二接口协议的第二告警信息进行接口协议转换之后得到的,具有第二接口协议的第二告警信息是第二电子设备执行具有第二接口协议的第三布控任务之后得到的;对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息。In some embodiments of the present application, the dispatching method may further include: receiving first alarm information having a general interface protocol returned by the second electronic device, where the first alarm information having the general interface protocol is a pair of The second alarm information with the second interface protocol is obtained after the interface protocol conversion is performed, and the second alarm information with the second interface protocol is obtained after the second electronic device performs the third control task with the second interface protocol; The interface protocol conversion is performed on the first alarm information of the general interface protocol to obtain third alarm information having the first interface protocol.
本申请实施例中,通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设 备之间实现告警信息的回传,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的告警信息回传,提高告警效率。In the embodiment of the present application, through the conversion of the interface protocol, the interface protocol between the first electronic device and the second electronic device can be directly exchanged between the first electronic device and the second electronic device according to the general interface protocol after the conversion. It realizes the return of alarm information between the two systems, and further realizes the return of alarm information between the first deployment and control system and the second deployment and control system with different private interface protocols, so as to improve the alarm efficiency.
在一种实施方式中,第二电子设备中的第二布控系统执行具有第二接口协议的第三布控任务之后,得到具有第二接口协议的第二告警信息,如果直接向第一电子设备返回具有第二接口协议的第二告警信息,由于第一设备中的第一布控系统可能与第二接口协议并不适配,使得第一布控系统无法根据具有第二接口协议的第二告警信息获取到告警数据,因此,第一电子设备接收到的是第二电子设备对具有第二接口协议的第二告警信息进行转换之后得到的具有通用接口协议的第一告警信息,进而第一电子设备可以将具有通用接口协议的对第一告警信息进行接口协议转换,得到的具有第一接口协议的第三告警信息,以实现第一布控系统对第三告警信息的进一步分析。In one embodiment, after the second dispatching system in the second electronic device performs the third dispatching task with the second interface protocol, the second alarm information with the second interface protocol is obtained, and if it returns directly to the first electronic device The second alarm information with the second interface protocol, because the first deployment and control system in the first device may not be compatible with the second interface protocol, so that the first deployment and control system cannot obtain the second alarm information with the second interface protocol. Therefore, what the first electronic device receives is the first alarm information with the general interface protocol obtained after the second electronic device converts the second alarm information with the second interface protocol, and then the first electronic device can The interface protocol conversion of the first alarm information with the common interface protocol is performed to obtain the third alarm information with the first interface protocol, so as to realize the further analysis of the third alarm information by the first deployment and control system.
本申请实施例中,第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,向第二电子设备发送具有通用接口协议的第二布控任务,使得第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的布控任务发布,提高布控效率。In the embodiment of the present application, the first electronic device performs interface protocol conversion on the first control task with the first interface protocol, obtains the second control task with the general interface protocol, and sends the second control task with the general interface protocol to the second electronic device. The control task is to enable the second electronic device to perform interface protocol conversion on the second control task with the general interface protocol to obtain a third control task with the second interface protocol. A general interface protocol that can directly exchange data between the device and the second electronic device, realize the release of the deployment and control tasks between the first electronic device and the second electronic device, and then realize the first deployment and control systems with different private interface protocols. The dispatching tasks between the second dispatching and control systems are released to improve the dispatching efficiency.
图2b为本申请实施例提供的一种布控方法的流程图。该布控方法应用于第二电子设备,第二电子设备是布控任务的执行方,第二电子设备可以是终端设备或服务器等电子设备,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,该布控方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。或者,可通过服务器执行该布控方法。如图2b所示,该布控方法可以包括:FIG. 2b is a flowchart of a control method provided by an embodiment of the present application. The control method is applied to a second electronic device, the second electronic device is the executor of the control task, the second electronic device may be an electronic device such as a terminal device or a server, and the terminal device may be a user equipment (User Equipment, UE), a mobile device , user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, wearable device, etc., the deployment control method can call the computer stored in the memory through the processor readable instructions. Alternatively, the deployment method may be performed by a server. As shown in Figure 2b, the deployment control method may include:
在步骤S31中,接收第一电子设备发送的具有通用接口协议的第二布控任务,具有通用接口协议的第二布控任务,是第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议。In step S31, receiving the second control task with the general interface protocol sent by the first electronic device, the second control task with the general interface protocol is the first electronic device to interface the first control task with the first interface protocol Obtained after the protocol conversion, the first interface protocol is a private interface protocol to which the first deployment and control system in the first electronic device needs to adapt.
在步骤S32中,对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。In step S32, the interface protocol conversion is performed on the second deployment control task with the general interface protocol to obtain the third deployment control task with the second interface protocol, and the second interface protocol is that the second deployment control system in the second electronic device needs to be adapted private interface protocol.
通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的布控任务发布,提高布控效率。Through the conversion of the interface protocol, the release of the control task can be realized between the first electronic device and the second electronic device according to the general interface protocol that can directly exchange data between the first electronic device and the second electronic device after conversion. , so as to realize the release of the deployment and control tasks between the first deployment and control system and the second deployment and control system with different private interface protocols, and improve the deployment and control efficiency.
在本申请一些实施例中,对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,可以包括:确定第二协议脚本,第二协议脚本用于实现通用接口协议与第二接口协议之间的转换;基于第二协议脚本,对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务。In some embodiments of the present application, performing interface protocol conversion on the second control task with the general interface protocol to obtain the third control task with the second interface protocol may include: determining a second protocol script, and the second protocol script is used for The conversion between the general interface protocol and the second interface protocol is realized; based on the second protocol script, the interface protocol conversion is performed on the second control task with the general interface protocol, and the third control task with the second interface protocol is obtained.
第二电子设备接收到第一电子设备发送的具有通用接口协议的第二布控任务之后,由于第二电子设备中的第二布控任务需要适配的私有接口协议为第二接口协议,因此,为了使得第二布控系统能够更好地执行布控任务,第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务。After the second electronic device receives the second control task with the general interface protocol sent by the first electronic device, since the private interface protocol to which the second control task in the second electronic device needs to be adapted is the second interface protocol, in order to The second deployment and control system can better perform the deployment and control task, and the second electronic device performs interface protocol conversion on the second deployment and control task with the general interface protocol to obtain the third deployment and control task with the second interface protocol.
例如,第二电子设备中可以预先配置多个协议脚本,可以通过轮询适配各个协议脚本,确定用于实现通用接口协议与第二接口协议之间的转换的第二协议脚本,进而基于第二协议脚本,对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务。For example, a plurality of protocol scripts may be preconfigured in the second electronic device, and each protocol script may be adapted by polling to determine a second protocol script for implementing the conversion between the general interface protocol and the second interface protocol, and then based on the first protocol script. The second protocol script converts the interface protocol of the second control task with the general interface protocol to obtain the third control task with the second interface protocol.
在本申请一些实施例中,该布控方法还可以包括:根据第二布控系统执行具有第二接口协议的第三布控任务,得到具有第二接口协议的第二告警信息;对具有第二接口协议的第二告警信息进行接口协议转换,得到具有通用接口协议的第一告警信息;向第一电子设备发送具有通用接口协议的第一告警信息,使得第一电子设备对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息。In some embodiments of the present application, the dispatching method may further include: performing a third dispatching task with the second interface protocol according to the second dispatching and control system, to obtain second alarm information with the second interface protocol; Perform interface protocol conversion on the second alarm information of the electronic device to obtain the first alarm information with the general interface protocol; send the first alarm information with the general interface protocol to the first electronic device, so that the first electronic device has the general interface protocol. Interface protocol conversion is performed on the alarm information to obtain third alarm information having the first interface protocol.
本申请实施例中,通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现告警信息的回传,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的告警信息回传,提高告警效率。In the embodiment of the present application, through the conversion of the interface protocol, the interface protocol between the first electronic device and the second electronic device can be directly exchanged between the first electronic device and the second electronic device according to the general interface protocol after the conversion. It realizes the return of alarm information between the two systems, and further realizes the return of alarm information between the first deployment and control system and the second deployment and control system with different private interface protocols, so as to improve the alarm efficiency.
在本申请一些实施例中,第二电子设备将具有第二接口协议的第三布控任务通过预先设置的代理层转发至第二布控系统,以使得第二布控系统执行具有第二接口协议的第三布控任务,得到具有第二接口协议的第二告警信息。如果直接向第一电子设备返回具有第二接口协议的第二告警信息,由于第一设备中的第一布控系统可能与第二接口协议并不适配,使得第一布控系统无法根据具有第二接口协议的第二告警信息获取到告警数据,因此,第二电子设备首先将具有第二接口协议的第二告警信息进行接口协议转换之后,得到的具有通用接口协议的第一告警信息,进而向第一电子设备返回具有通用接口协议的第一告警信息,以使得第一电子设备可以将具有通用接口协议的第一告警信息,转换为具有第一接口协议的第三告警信息,以实现第一布控系统对第三告警信息的进一步分析。In some embodiments of the present application, the second electronic device forwards the third dispatching task with the second interface protocol to the second dispatching system through a preset proxy layer, so that the second dispatching system executes the third dispatching task with the second interface protocol. The three control tasks are obtained, and the second alarm information with the second interface protocol is obtained. If the second alarm information with the second interface protocol is directly returned to the first electronic device, since the first deployment and control system in the first device may not be compatible with the second interface protocol, the first deployment and control system cannot be based on the second interface protocol. The second alarm information of the interface protocol obtains the alarm data. Therefore, the second electronic device first converts the second alarm information of the second interface protocol to the interface protocol, and obtains the first alarm information of the general interface protocol, and then sends the first alarm information to the general interface protocol. The first electronic device returns the first alarm information with the general interface protocol, so that the first electronic device can convert the first alarm information with the general interface protocol into the third alarm information with the first interface protocol, so as to realize the first alarm information. Further analysis of the third alarm information by the control system.
例如,第二电子设备可以根据用于实现第二接口协议与通用接口协议之间的转换的第二协议脚本,对具有第二接口协议的第二告警信息进行接口协议转换,得到具有通用接口协议的第一告警信息。For example, the second electronic device may perform interface protocol conversion on the second alarm information with the second interface protocol according to the second protocol script for converting between the second interface protocol and the general interface protocol, to obtain the general interface protocol the first warning message.
在本申请一些实施例中,向第一电子设备发送具有通用接口协议的第一告警信息,包括:基于FTP传输方式,向第一电子设备发送具有通用接口协议的第一告警信息。In some embodiments of the present application, sending the first alarm information having the general interface protocol to the first electronic device includes: sending the first alarm information having the general interface protocol to the first electronic device based on the FTP transmission mode.
本申请实施例中,第二电子设备将具有第二接口协议的第二告警信息,转换为具有通用接口协议的第一告警信息之后,为了保证数据传输的安全性,基于FTP传输方式,向第一电子设备发送具有通用接口协议的第一告警信息,实现跨网络网闸情况下的数据安全传输。In this embodiment of the present application, after the second electronic device converts the second alarm information with the second interface protocol into the first alarm information with the general interface protocol, in order to ensure the security of data transmission, based on the FTP transmission method, the second electronic device sends the first alarm information to the third electronic device based on the FTP transmission method. An electronic device sends the first alarm information with a common interface protocol, so as to realize the safe transmission of data in the case of a cross-network gatekeeper.
例如,第二电子设备将具有通用接口协议的第一告警信息发送至跨网络网闸中的FTP服务器,进而FTP服务器将具有通用接口协议的第一告警信息发送至第一电子设备,或者,第一电子设备可以主动向FTP服务器获取具有通用接口协议的第一告警信息。For example, the second electronic device sends the first alarm information with the common interface protocol to the FTP server in the cross-network gatekeeper, and then the FTP server sends the first alarm information with the common interface protocol to the first electronic device, or, the third An electronic device may actively obtain the first alarm information with the general interface protocol from the FTP server.
本申请实施例中,第二电子设备接收第一电子设备发送的具有通用接口协议的第二布控任务,具有通用接口协议的第二布控任务是第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一电子设备和第二电子设备之间的布控任务发布,提高布控效率。In the embodiment of the present application, the second electronic device receives the second control task with the general interface protocol sent by the first electronic device, and the second control task with the common interface protocol is the first electronic device to the first control task with the first interface protocol Obtained after the interface protocol conversion of the control task is performed, the second electronic device performs interface protocol conversion on the second control task with the general interface protocol, and obtains the third control task with the second interface protocol. After conversion, a general interface protocol that can directly exchange data between the first electronic device and the second electronic device, realize the release of the control task between the first electronic device and the second electronic device, and then realize the interface protocol with different private interfaces. The dispatching task between the first electronic device and the second electronic device is released to improve the dispatching efficiency.
本申请实施例还提供了一种布控系统。该布控系统包括第一电子设备和第二电子设备,该布控系统可以执行下述布控方法:The embodiment of the present application also provides a deployment and control system. The deployment and control system includes a first electronic device and a second electronic device, and the deployment and control system can perform the following deployment and control methods:
第一步,第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议。In the first step, the first electronic device performs interface protocol conversion on the first deployment and control task with the first interface protocol, and obtains a second deployment and control task with a general interface protocol. The first interface protocol is the first deployment and control system in the first electronic device. The private interface protocol that needs to be adapted.
第二步,第一电子设备向第二电子设备发送具有通用接口协议的第二布控任务。In the second step, the first electronic device sends the second control task with the general interface protocol to the second electronic device.
第三步,第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。In the third step, the second electronic device performs interface protocol conversion on the second deployment and control task with the general interface protocol to obtain a third deployment and control task with the second interface protocol. The second interface protocol is the second deployment and control system in the second electronic device. The private interface protocol that needs to be adapted.
第四步,第二电子设备中的第二布控系统执行具有第二接口协议的第三布控任务,得到具有第二接口协议的第二告警信息。In the fourth step, the second control system in the second electronic device executes the third control task with the second interface protocol, and obtains second alarm information with the second interface protocol.
第五步,第二电子设备对具有第二接口协议的第二告警信息进行接口协议转换,得到具有通用接口协议的第一告警信息。In the fifth step, the second electronic device performs interface protocol conversion on the second alarm information with the second interface protocol to obtain the first alarm information with the general interface protocol.
第六步,第二电子设备向第一电子设备发送具有通用接口协议的第一告警信息。In the sixth step, the second electronic device sends the first alarm information with the general interface protocol to the first electronic device.
第七步,第一电子设备对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息。In the seventh step, the first electronic device performs interface protocol conversion on the first alarm information with the general interface protocol, and obtains third alarm information with the first interface protocol.
可见,布控系统通过接口协议的转换,使得可以根据转换后在第一电子设备和第二电子设备之间可以直接进行数据交换的通用接口协议,在第一电子设备和第二电子设备之间实现布控任务的发布,进而实现在具有不同私有接口协议的第一布控系统和第二布控系统之间实现布控任务发布和告警信息回传,提高布控效率和告警效率。It can be seen that through the conversion of the interface protocol, the deployment and control system can realize the realization between the first electronic device and the second electronic device according to the general interface protocol that can directly exchange data between the first electronic device and the second electronic device after conversion. The distribution and control tasks are released, and then the distribution and control tasks are released and the alarm information is returned between the first distribution and control system and the second distribution and control system with different private interface protocols, so as to improve the distribution and control efficiency and alarm efficiency.
为了能够更加体现本申请的目的,在本申请上述实施例的基础上,对布控方法的流程进行说明;图3为本申请实施例提供的另一种布控方法的流程图;这里,第一电子设备为省级公安系统中的布控设备,简称,省级系统设备,第二电子设备为市级公安系统中的布控设备,简称,市级系统设备;如图3所示,该流程可以包括以下步骤:In order to better reflect the purpose of the present application, on the basis of the above-mentioned embodiments of the present application, the flow of the control method is described; FIG. 3 is a flowchart of another control method provided by the embodiment of the present application; here, the first electronic The equipment is the deployment and control equipment in the provincial public security system, referred to as the provincial system equipment, and the second electronic device is the deployment and control equipment in the municipal public security system, referred to as the municipal system equipment; as shown in Figure 3, the process can include the following step:
步骤A1:下发第一布控任务。Step A1: Publish the first control task.
在一种实施方式中,从省级系统设备的布控系统中获取第一布控任务,并通过预先设置的代理层将具有第一接口协议的第一布控任务下发给省级系统设备的第一规则解析引擎。In one embodiment, the first deployment and control task is obtained from the deployment and control system of the provincial-level system equipment, and the first deployment and control task with the first interface protocol is delivered to the first deployment and control task of the provincial-level system equipment through a preset proxy layer. Rules parsing engine.
步骤A2:下发第二布控任务。Step A2: Publish the second control task.
在一种实施方式中,省级系统设备的第一规则解析引擎通过加载协议脚本对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务, 并向省级系统设备的第一FTP服务器下发第二布控任务。In one embodiment, the first rule parsing engine of the provincial system equipment performs interface protocol conversion on the first deployment and control task with the first interface protocol by loading the protocol script, to obtain the second deployment and control task with the general interface protocol, and sends it to the The first FTP server of the provincial system equipment issues the second control task.
步骤A3:转发第二布控任务至第二FTP服务器。Step A3: Forward the second deployment task to the second FTP server.
在一种实施方式中,基于FTP传输方式,向市级系统设备的第二FTP服务器转发具有通用接口协议的第二布控任务。In an implementation manner, based on the FTP transmission mode, the second deployment and control task having the general interface protocol is forwarded to the second FTP server of the municipal system device.
步骤A4:转发第二布控任务至第二规则解析引擎。Step A4: Forward the second control task to the second rule analysis engine.
在一种实施方式中,市级系统设备的第二FTP服务器向市级系统设备的第二规则解析引擎转发具有通用接口协议的第二布控任务。In an implementation manner, the second FTP server of the municipal system device forwards the second control task having the general interface protocol to the second rule parsing engine of the municipal system device.
步骤A5:下发第三布控任务。Step A5: Release the third control task.
在一种实施方式中,市级系统设备的第二规则解析引擎通过加载协议脚本对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,并向省级系统设备下发第三布控任务。In one embodiment, the second rule parsing engine of the municipal system equipment performs interface protocol conversion on the second control task with the general interface protocol by loading the protocol script, and obtains the third control task with the second interface protocol, and sends it to the second control task with the second interface protocol. Provincial system equipment issued the third control task.
步骤A6:发送第二告警信息。Step A6: Send second alarm information.
在一种实施方式中,市级系统设备的布控系统执行第二接口协议的第三布控任务,得到具有第二接口协议的第二告警信息,并发送至省级系统设备的第二规则解析引擎。In one embodiment, the deployment and control system of the municipal system equipment executes the third deployment task of the second interface protocol, obtains second alarm information with the second interface protocol, and sends it to the second rule analysis engine of the provincial system equipment .
步骤A7:发送第一告警信息。Step A7: Send the first alarm information.
在一种实施方式中,省级系统设备的第二规则解析引擎对具有第二接口协议的第二告警信息进行接口协议转换,得到具有通用接口协议的第一告警信息,并发送至省级系统设备的第一FTP服务器。In one embodiment, the second rule parsing engine of the provincial system equipment performs interface protocol conversion on the second alarm information with the second interface protocol, obtains the first alarm information with the general interface protocol, and sends it to the provincial system The device's first FTP server.
步骤A8:转发第一告警信息至第一FTP服务器。Step A8: Forward the first alarm information to the first FTP server.
在一种实施方式中,基于FTP传输方式,向省级系统设备的第一FTP服务器转发具有通用接口协议的第一告警信息。In an implementation manner, based on the FTP transmission mode, the first alarm information having the general interface protocol is forwarded to the first FTP server of the provincial system equipment.
步骤A9:转发第一告警信息至第一规则解析引擎。Step A9: Forward the first alarm information to the first rule parsing engine.
在一种实施方式中,省级系统设备的第一FTP服务器向省级系统设备的第一规则解析引擎转发具有通用接口协议的第一告警信息。In an embodiment, the first FTP server of the provincial system device forwards the first alarm information having the general interface protocol to the first rule parsing engine of the provincial system device.
步骤A10:返回第三告警信息。Step A10: Return the third alarm information.
在一种实施方式中,省级系统设备的第一规则解析引擎通过加载协议脚本对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息;并将得到的第三告警信息返回至省级系统设备。In an implementation manner, the first rule parsing engine of the provincial system equipment performs interface protocol conversion on the first alarm information with the general interface protocol by loading a protocol script to obtain third alarm information with the first interface protocol; and The obtained third alarm information is returned to the provincial system equipment.
可见,布控任务可以由省级公安系统中的布控设备进行统一布控下发,由下级部门进行消息的接收处理,最终将告警信息进行回传;即,做到分层管理,统一控制信息,使不同地域的公安部门能够实时得到不同区域的布控、告警信息,并及时的进行通知和处理。It can be seen that the dispatching task can be dispatched by the dispatching equipment in the provincial public security system in a unified manner, and the lower-level departments can receive and process the messages, and finally send the alarm information back; Public security departments in different regions can obtain real-time control and alarm information in different regions, and notify and deal with them in a timely manner.
本申请实施例中的布控方法,利用纵向连接使其做到分层管理,统一规范控制信息,能够更好对系统进行管控以及对传输规则进行控制;通过规则解析引擎来处理针对不同协议之间的通信问题,能够支持多协议之间的通信;利用FTP服务器屏蔽跨网网闸问题,大幅降低从相关技术中多个系统之间网络打通操作的复杂度。The deployment and control method in the embodiment of the present application utilizes vertical connections to achieve hierarchical management and standardize control information in a unified manner, so as to better manage and control the system and control transmission rules; It can support the communication between multiple protocols; use the FTP server to shield the cross-network gatekeeper problem, and greatly reduce the complexity of the network connection operation between multiple systems in the related technology.
在省市县分局等多级布控需求场景下,面对各个地市的异构系统(使用不同供应厂商的人脸识别解决方案和对接协议)和跨网络网闸只能通过FTP传输数据的严苛要求,联调统一实施难度巨大,省厅和地市至少两个不同供应厂商之间定制开发对接协议,并 且每个供应厂商都要解决一遍跨网络网闸的FTP摆渡问题,不仅容易出现错误和性能瓶颈,更增加了重复工作量。通过本申请实施例,各个地市供应厂商和省厅供应厂商之间的对接就只需要关心两个协议适配的协议脚本,即,不需要改动自己的源码即可完成数据对接。In the scenario of multi-level deployment and control requirements such as provincial, municipal and county sub-bureaus, facing heterogeneous systems in various cities (using face recognition solutions and docking protocols from different suppliers) and cross-network gatekeepers can only transmit data through FTP. Strict requirements, the implementation of joint debugging and unified implementation is very difficult, and at least two different suppliers in the province and city have customized development and docking protocols, and each supplier has to solve the problem of FTP ferry across network gates, which is not only prone to errors and performance bottlenecks, increasing the amount of repetitive work. Through the embodiments of the present application, the docking between the suppliers of each prefecture and the provincial department only needs to be concerned with the protocol scripts for the adaptation of the two protocols, that is, the data docking can be completed without changing its own source code.
可以理解,本申请提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本申请不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above method embodiments mentioned in this application can be combined with each other to form a combined embodiment without violating the principle and logic. Due to space limitations, this application will not repeat them. Those skilled in the art can understand that, in the above method of the specific embodiment, the specific execution order of each step should be determined by its function and possible internal logic.
此外,本申请还提供了布控装置、电子设备、计算机可读存储介质和计算机程序产品,上述均可用来实现本申请提供的任一种布控方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the present application also provides control devices, electronic devices, computer-readable storage media, and computer program products, all of which can be used to implement any of the control methods provided in this application. For the corresponding technical solutions and descriptions, refer to the corresponding records in the Methods section. ,No longer.
图4为本申请实施例提供的一种布控装置的结构示意图。该布控装置应用于第一电子设备,如图4所示,该装置40包括:FIG. 4 is a schematic structural diagram of a deployment and control device according to an embodiment of the present application. The deployment and control device is applied to the first electronic device. As shown in FIG. 4 , the device 40 includes:
第一接口协议转换模块41,配置为对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议;The first interface protocol conversion module 41 is configured to perform interface protocol conversion on the first control task with the first interface protocol, and obtain the second control task with the general interface protocol, and the first interface protocol is the first control task in the first electronic device. The deployment and control system needs to adapt to the private interface protocol;
发送模块42,配置为向第二电子设备发送具有通用接口协议的第二布控任务,使得第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。The sending module 42 is configured to send the second control task with the general interface protocol to the second electronic device, so that the second electronic device performs interface protocol conversion on the second control task with the general interface protocol, and obtains the second control task with the second interface protocol. Three control tasks, the second interface protocol is a private interface protocol that needs to be adapted to the second control system in the second electronic device.
在本申请一些实施例中,发送模块42,具体配置为:In some embodiments of the present application, the sending module 42 is specifically configured as:
基于FTP传输方式,向第二电子设备发送具有通用接口协议的第二布控任务。Based on the FTP transmission mode, the second control task with the general interface protocol is sent to the second electronic device.
在本申请一些实施例中,第一接口协议转换模块41,包括:In some embodiments of the present application, the first interface protocol conversion module 41 includes:
脚本确定子模块,配置为确定第一协议脚本,第一协议脚本用于实现第一接口协议与通用接口协议之间的转换;a script determination submodule, configured to determine a first protocol script, where the first protocol script is used to implement the conversion between the first interface protocol and the general interface protocol;
接口协议转换子模块,配置为基于第一协议脚本,对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务。The interface protocol conversion sub-module is configured to perform interface protocol conversion on the first control task with the first interface protocol based on the first protocol script to obtain the second control task with the general interface protocol.
在本申请一些实施例中,该装置40还包括:In some embodiments of the present application, the apparatus 40 further includes:
接收模块,配置为接收第二电子设备返回的具有通用接口协议的第一告警信息,具有通用接口协议的第一告警信息,是第二电子设备对具有第二接口协议的第二告警信息进行接口协议转换之后得到的,具有第二接口协议的第二告警信息是第二电子设备执行具有第二接口协议的第三布控任务之后得到的;The receiving module is configured to receive the first alarm information with the general interface protocol returned by the second electronic device, the first alarm information with the general interface protocol, and the second electronic device interfaces to the second alarm information with the second interface protocol Obtained after the protocol conversion, the second alarm information with the second interface protocol is obtained after the second electronic device performs the third control task with the second interface protocol;
第一接口协议转换模块41,还配置为对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息。The first interface protocol conversion module 41 is further configured to perform interface protocol conversion on the first alarm information having the general interface protocol to obtain third alarm information having the first interface protocol.
在本申请一些实施例中,通用接口协议包括下述至少一种协议规则;点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。In some embodiments of the present application, the general interface protocol includes at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
在一些实施例中,本申请实施例提供的装置40具有的功能或包含的模块可以用于执行上文图2a所示方法实施例描述的方法,以及实现相应的效果,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatus 40 provided in the embodiments of the present application may be used to execute the method described in the method embodiment shown in FIG. 2a above, and achieve corresponding effects, and the specific implementation can refer to the above The description of the method embodiments in this document will not be repeated here for brevity.
图5为本申请实施例提供的一种布控装置的结构示意图。该布控装置应用于第二电子设备,如图5所示,该装置50包括:FIG. 5 is a schematic structural diagram of a deployment and control device according to an embodiment of the present application. The deployment and control device is applied to the second electronic device. As shown in FIG. 5 , the device 50 includes:
接收模块51,配置为接收第一电子设备发送的具有通用接口协议的第二布控任务,具有通用接口协议的第二布控任务,是第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议;The receiving module 51 is configured to receive the second dispatching task with the general interface protocol sent by the first electronic device, and the second dispatching task with the general interface protocol is the first electronic device performing the first dispatching task with the first interface protocol. Obtained after the interface protocol conversion, the first interface protocol is a private interface protocol that needs to be adapted to the first deployment and control system in the first electronic device;
第二接口协议转换模块52,配置为对具有所述通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。The second interface protocol conversion module 52 is configured to perform interface protocol conversion on the second control task with the general interface protocol, so as to obtain the third control task with the second interface protocol, the second interface protocol is in the second electronic device The second deployment and control system needs an adapted private interface protocol.
在本申请一些实施例中,第二接口协议转换模块52,包括:In some embodiments of the present application, the second interface protocol conversion module 52 includes:
脚本确定子模块,配置为确定第二协议脚本,第二协议脚本用于实现通用接口协议与第二接口协议之间的转换;a script determination submodule, configured to determine a second protocol script, where the second protocol script is used to implement the conversion between the general interface protocol and the second interface protocol;
接口协议转换子模块,配置为基于第二协议脚本,对具有通用接口协议的第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务。The interface protocol conversion sub-module is configured to perform interface protocol conversion on the second deployment control task with the general interface protocol based on the second protocol script to obtain the third deployment control task with the second interface protocol.
在本申请一些实施例中,装置50还包括:In some embodiments of the present application, the apparatus 50 further includes:
布控任务执行模块,配置为根据第二布控系统,执行具有第二接口协议的第三布控任务,得到具有第二接口协议的第二告警信息;The deployment control task execution module is configured to execute the third deployment control task with the second interface protocol according to the second deployment control system, and obtain the second alarm information with the second interface protocol;
第二接口协议转换模块52,还配置为对具有第二接口协议的第二告警信息进行接口协议转换,得到具有通用接口协议的第一告警信息;The second interface protocol conversion module 52 is further configured to perform interface protocol conversion on the second alarm information with the second interface protocol to obtain the first alarm information with the general interface protocol;
发送模块,配置为向第一电子设备发送具有通用接口协议的第一告警信息,使得第一电子设备对具有通用接口协议的第一告警信息进行接口协议转换,得到具有第一接口协议的第三告警信息。The sending module is configured to send the first alarm information with the general interface protocol to the first electronic device, so that the first electronic device performs interface protocol conversion on the first alarm information with the general interface protocol, and obtains the third alarm information with the first interface protocol. Warning information.
在本申请一些实施例中,发送模块,具体配置为:In some embodiments of the present application, the sending module is specifically configured as:
基于FTP传输方式,向第一电子设备发送具有通用接口协议的第一告警信息。Based on the FTP transmission mode, the first alarm information having the general interface protocol is sent to the first electronic device.
在本申请一些实施例中,通用接口协议包括下述至少一种协议规则;点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。In some embodiments of the present application, the general interface protocol includes at least one of the following protocol rules: description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
在一些实施例中,本申请实施例提供的装置50具有的功能或包含的模块可以用于执行上文图2b所示方法实施例描述的方法,以及实现相应的效果,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the apparatus 50 provided in the embodiments of the present application may be used to execute the methods described in the method embodiment shown in FIG. 2b above, and achieve corresponding effects. The description of the method embodiments in this document will not be repeated here for brevity.
本申请实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是非易失性计算机可读存储介质。The embodiments of the present application further provide a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.
本申请实施例还提出一种电子设备,包括:处理器;配置为存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present application further provides an electronic device, including: a processor; a memory configured to store instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本申请实施例还提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现如上任一实施例提供的布控方法的指令。Embodiments of the present application further provide a computer program product, including computer-readable codes. When the computer-readable codes are run on a device, a processor in the device executes instructions for implementing the control method provided by any of the above embodiments. .
本申请实施例还提供了另一种计算机程序产品,用于存储计算机可读指令,指令被执行时使得计算机执行上述任一实施例提供的布控方法的操作。The embodiment of the present application further provides another computer program product, which is used for storing computer-readable instructions, and when the instructions are executed, the computer executes the operations of the control method provided by any of the foregoing embodiments.
电子设备可以被提供为终端、服务器或其它形态的设备。The electronic device may be provided as a terminal, server or other form of device.
图6为本申请实施例提供的一种电子设备的结构示意图。如图6所示,电子设备800可以是移动电话、计算机、数字广播终端、消息收发设备、游戏控制台、平板设备、医疗设备、健身设备、个人数字助理等终端。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 6, the electronic device 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or other terminal.
参照图6,电子设备800可以包括以下一个或多个组件:第一处理组件802,第一存储器804,第一电源组件806,多媒体组件808,音频组件810,第一输入/输出(Input/Output,I/O)的接口812,传感器组件814,以及通信组件816。6, the electronic device 800 may include one or more of the following components: a first processing component 802, a first memory 804, a first power supply component 806, a multimedia component 808, an audio component 810, a first input/output (Input/Output) , I/O) interface 812 , sensor component 814 , and communication component 816 .
第一处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。第一处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,第一处理组件802可以包括一个或多个模块,便于第一处理组件802和其它组件之间的交互。例如,第一处理组件802可以包括多媒体模块,以方便多媒体组件808和第一处理组件802之间的交互。The first processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Additionally, the first processing component 802 may include one or more modules to facilitate interaction between the first processing component 802 and other components. For example, the first processing component 802 may include a multimedia module to facilitate interaction between the multimedia component 808 and the first processing component 802.
第一存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。第一存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random-Access Memory,SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),可编程只读存储器(Programmable Read-Only Memory,PROM),只读存储器(Read-Only Memory,ROM),磁存储器,快闪存储器,磁盘或光盘。The first memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The first memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory ( Read-Only Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.
第一电源组件806为电子设备800的各种组件提供电力。第一电源组件806可以包括电源管理系统,一个或多个电源,及其它与为电子设备800生成、管理和分配电力相关联的组件。The first power supply component 806 provides power to various components of the electronic device 800 . The first power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800 .
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,LCD)和触摸面板(Touch Panel,TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在第一存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。 Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 800 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in the first memory 804 or transmitted via the communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
第一输入/输出接口812为第一处理组件802和外围接口模块之间提供接口,上述外 围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The first input/output interface 812 provides an interface between the first processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal-Oxide-Semiconductor,CMOS)或电荷耦合装置(Charge Coupled Device,CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of electronic device 800 . For example, the sensor assembly 814 can detect the on/off state of the electronic device 800, the relative positioning of the components, such as the display and the keypad of the electronic device 800, the sensor assembly 814 can also detect the electronic device 800 or one of the electronic device 800 Changes in the position of components, presence or absence of user contact with the electronic device 800 , orientation or acceleration/deceleration of the electronic device 800 and changes in the temperature of the electronic device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a Complementary Metal-Oxide-Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于电子设备800和其它设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2nd Generation,2G)或第三代移动通信技术(3rd-generation,3G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(Near Field Communication,NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,RFID)技术,红外数据协会(Infrared Data Association,IrDA)技术,超宽带(Ultra Wide Band,UWB)技术,蓝牙(Blue Tooth,BT)技术和其它技术来实现。 Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2nd Generation, 2G) or a third generation mobile communication technology (3rd-generation, 3G), or their combination. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (Blue Tooth, BT) technology and other technologies to achieve.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(Digital Signal Processing Device,DSPD)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、控制器、微控制器、微处理器或其它电子元件实现,用于执行上述任意一种方法。In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuit (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (Digital Signal Processing Device) , DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation, used to perform the above any method.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的第一存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述任意一种方法。In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a first memory 804 including computer program instructions that can be executed by the processor 820 of the electronic device 800 to accomplish any of the above a way.
图7为本申请实施例提供的一种电子设备的结构示意图。如图7所示,电子设备1900可以被提供为一服务器。参照图7,电子设备1900包括第二处理组件1922,其进一步包括一个或多个处理器,以及由第二存储器1932所代表的存储器资源,用于存储可由第二处理组件1922的执行的指令,例如应用程序。第二存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,第二处理组件1922被配置为执行指令,以执行上述方法。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 7, the electronic device 1900 may be provided as a server. 7, the electronic device 1900 includes a second processing component 1922, which further includes one or more processors, and a memory resource represented by a second memory 1932 for storing instructions executable by the second processing component 1922, such as applications. The application program stored in the second memory 1932 may include one or more modules, each corresponding to a set of instructions. Additionally, the second processing component 1922 is configured to execute instructions to perform the above-described method.
电子设备1900还可以包括一个第二电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个第二输入/输出接口1958。电子设备1900可以操作基于存储在第二存储器1932的操 作系统,例如微软服务器操作系统(Windows ServerTM),苹果公司推出的基于图形用户界面操作系统(Mac OS XTM),多用户多进程的计算机操作系统(UnixTM),自由和开放原代码的类Unix操作系统(LinuxTM),开放原代码的类Unix操作系统(FreeBSDTM)或类似。The electronic device 1900 may also include a second power supply assembly 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and a second input/output interface 1958 . The electronic device 1900 can operate based on an operating system stored in the second memory 1932, such as a Microsoft server operating system (Windows ServerTM), a graphical user interface-based operating system (Mac OS XTM) introduced by Apple, a multi-user multi-process computer operating system (UnixTM), Free and Open Source Unix-like Operating System (LinuxTM), Open Source Unix-like Operating System (FreeBSDTM) or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的第二存储器1932,上述计算机程序指令可由电子设备1900的第二处理组件1922执行以完成上述方法。In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a second memory 1932 comprising computer program instructions executable by the second processing component 1922 of the electronic device 1900 to complete the above method.
本申请实施例可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本申请的各个方面的计算机可读程序指令。Embodiments of the present application may be systems, methods and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of the present application.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、ROM、EEPROM或闪存、SRAM、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其它自由传播的电磁波、通过波导或其它传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), ROM, EEPROM or flash memory, SRAM, portable compact disk read only Memory (Compact Disc Read-Only Memory, CD-ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanical coding devices, such as punched cards or recessed protrusions on which instructions are stored structure, and any suitable combination of the above. Computer-readable storage media, as used herein, are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (eg, light pulses through fiber optic cables), or through electrical wires transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。The computer readable program instructions described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本申请实施例操作的计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言,诸如Smalltalk、C++等,以及常规的过程式编程语言,诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、FPGA或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。The computer program instructions used to perform the operations of the embodiments of the present application may be assembly instructions, instruction set architecture (Instruction Set Architecture, ISA) instructions, machine instructions, machine-related instructions, microcodes, firmware instructions, state setting data, or a Source or object code in any combination of programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as the "C" language or similar programming language. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to an external computer (eg, using Internet service provider to connect via the Internet). In some embodiments, electronic circuits, such as programmable logic circuits, FPGAs, or Programmable Logic Arrays (PLAs), that can execute computer-readable Program instructions are read to implement various aspects of the present application.
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其它设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本申请的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or actions , or can be implemented in a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically implemented by hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present application have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.
工业实用性Industrial Applicability
本申请涉及一种布控方法及装置、电子设备、计算机可读存储介质和计算机程序产品,所述方法应用于第一电子设备,包括:对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,第一接口协议是第一电子设备中的第一布控系统需要适配的私有接口协议;向第二电子设备发送具有通用接口协议的第二布控任务,使得第二电子设备对具有通用接口协议的第二布控任务进行接口协议转换, 得到具有接口协议的第三布控任务,第二接口协议是第二电子设备中的第二布控系统需要适配的私有接口协议。本申请实施例可实现在具有不同私有接口协议的第一布控系统和第二布控系统之间的布控任务发布,提高布控效率。The present application relates to a control method and device, an electronic device, a computer-readable storage medium and a computer program product. The method is applied to a first electronic device and includes: performing interface protocol conversion on a first control task with a first interface protocol , obtain the second control task with a general interface protocol, the first interface protocol is a private interface protocol that needs to be adapted to the first control system in the first electronic device; send the second control task with the general interface protocol to the second electronic device , so that the second electronic device performs interface protocol conversion on the second deployment and control task with a general interface protocol, and obtains a third deployment and control task with an interface protocol, and the second interface protocol is the second deployment and control system in the second electronic device needs to be adapted. Private interface protocol. The embodiment of the present application can realize the release of the deployment control task between the first deployment and control system and the second deployment and control system having different private interface protocols, thereby improving the deployment and control efficiency.

Claims (23)

  1. 一种布控方法,所述方法应用于第一电子设备,所述方法包括:A deployment control method, the method is applied to a first electronic device, and the method includes:
    对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;Perform interface protocol conversion on the first deployment and control task with the first interface protocol to obtain a second deployment and control task with a general interface protocol, the first interface protocol is that the first deployment and control system in the first electronic device needs to be adapted private interface protocol;
    向第二电子设备发送具有所述通用接口协议的所述第二布控任务,使得所述第二电子设备对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。Sending the second control task with the general interface protocol to the second electronic device, so that the second electronic device performs interface protocol conversion on the second control task with the common interface protocol, and obtains the second control task with the general interface protocol. The third control task of the interface protocol, where the second interface protocol is a private interface protocol that needs to be adapted to the second control system in the second electronic device.
  2. 根据权利要求1所述的方法,其中,所述向第二电子设备发送具有所述通用接口协议的所述第二布控任务,包括:The method according to claim 1, wherein the sending the second control task with the general interface protocol to the second electronic device comprises:
    基于文件传输协议FTP传输方式,向所述第二电子设备发送具有所述通用接口协议的所述第二布控任务。Based on the file transfer protocol FTP transfer mode, the second control task with the general interface protocol is sent to the second electronic device.
  3. 根据权利要求1或2所述的方法,其中,所述对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,包括:The method according to claim 1 or 2, wherein the performing interface protocol conversion on the first deployment and control task with the first interface protocol to obtain the second deployment and control task with a general interface protocol, comprising:
    确定第一协议脚本,所述第一协议脚本用于实现所述第一接口协议与所述通用接口协议之间的转换;determining a first protocol script, where the first protocol script is used to implement the conversion between the first interface protocol and the general interface protocol;
    基于所述第一协议脚本,对具有所述第一接口协议的所述第一布控任务进行接口协议转换,得到具有所述通用接口协议的所述第二布控任务。Based on the first protocol script, interface protocol conversion is performed on the first deployment and control task with the first interface protocol to obtain the second deployment and control task with the general interface protocol.
  4. 根据权利要求1至3中任意一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    接收所述第二电子设备返回的具有所述通用接口协议的第一告警信息,所述具有所述通用接口协议的所述第一告警信息,是所述第二电子设备对具有所述第二接口协议的第二告警信息进行接口协议转换之后得到的,所述具有所述第二接口协议的所述第二告警信息是所述第二电子设备执行所述具有所述第二接口协议的所述第三布控任务之后得到的;Receiving the first alarm information with the general interface protocol returned by the second electronic device, the first alarm information with the general interface protocol is the second electronic device having the second The second alarm information of the interface protocol is obtained after the interface protocol conversion is performed, and the second alarm information with the second interface protocol is executed by the second electronic device. Obtained after describing the third control task;
    对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。Perform interface protocol conversion on the first alarm information with the general interface protocol to obtain third alarm information with the first interface protocol.
  5. 根据权利要求1至4中任意一项所述的方法,其中,所述通用接口协议包括下述至少一种协议规则;The method according to any one of claims 1 to 4, wherein the general interface protocol includes at least one of the following protocol rules;
    点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。The description rules of point information, the description rules of portrait information, the description rules of control actions, and the description rules of alarm information.
  6. 一种布控方法,所述方法应用于第二电子设备,所述方法包括:A dispatching method, the method being applied to a second electronic device, the method comprising:
    接收第一电子设备发送的具有通用接口协议的第二布控任务,所述具有所述通用接口协议的所述第二布控任务,是所述第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;Receive a second dispatching task with a general interface protocol sent by a first electronic device, the second dispatching task with the general interface protocol is the first dispatching task with the first interface protocol by the first electronic device Obtained after the task performs interface protocol conversion, the first interface protocol is a private interface protocol that needs to be adapted to the first deployment and control system in the first electronic device;
    对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统 需要适配的私有接口协议。Perform interface protocol conversion on the second control task with the general interface protocol, and obtain a third control task with the second interface protocol, the second interface protocol is the second in the second electronic device. The deployment and control system needs to adapt to the private interface protocol.
  7. 根据权利要求6所述的方法,其中,所述对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,包括:The method according to claim 6, wherein the performing interface protocol conversion on the second deployment and control task with the general interface protocol to obtain a third deployment and control task with the second interface protocol, comprising:
    确定第二协议脚本,所述第二协议脚本用于实现所述通用接口协议与所述第二接口协议之间的转换;determining a second protocol script, where the second protocol script is used to implement the conversion between the general interface protocol and the second interface protocol;
    基于所述第二协议脚本,对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有所述第二接口协议的所述第三布控任务。Based on the second protocol script, interface protocol conversion is performed on the second control task with the general interface protocol to obtain the third control task with the second interface protocol.
  8. 根据权利要求6或7所述的方法,其中,所述方法还包括:The method according to claim 6 or 7, wherein the method further comprises:
    根据所述第二布控系统,执行具有所述第二接口协议的所述第三布控任务,得到具有所述第二接口协议的第二告警信息;According to the second deployment and control system, execute the third deployment and control task with the second interface protocol, and obtain second alarm information with the second interface protocol;
    对具有所述第二接口协议的所述第二告警信息进行接口协议转换,得到具有所述通用接口协议的第一告警信息;Perform interface protocol conversion on the second alarm information with the second interface protocol to obtain first alarm information with the general interface protocol;
    向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息,使得所述第一电子设备对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。Send the first alarm information with the universal interface protocol to the first electronic device, so that the first electronic device performs interface protocol conversion on the first alarm information with the universal interface protocol, and obtains the first alarm information with the universal interface protocol. The third alarm information of the first interface protocol.
  9. 根据权利要求8所述的方法,其中,所述向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息,包括:The method according to claim 8, wherein the sending the first alarm information having the general interface protocol to the first electronic device comprises:
    基于FTP传输方式,向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息。Based on the FTP transmission mode, the first alarm information having the general interface protocol is sent to the first electronic device.
  10. 根据权利要求6至9中任意一项所述的方法,其中,所述通用接口协议包括下述至少一种协议规则;The method according to any one of claims 6 to 9, wherein the general interface protocol includes at least one of the following protocol rules;
    点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。The description rules of point information, the description rules of portrait information, the description rules of control actions, and the description rules of alarm information.
  11. 一种布控装置,所述装置应用于第一电子设备,所述装置包括:A deployment and control device, the device is applied to a first electronic device, and the device includes:
    第一接口协议转换模块,配置为对具有第一接口协议的第一布控任务进行接口协议转换,得到具有通用接口协议的第二布控任务,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;The first interface protocol conversion module is configured to perform interface protocol conversion on the first deployment and control task with the first interface protocol, and obtain the second deployment and control task with the general interface protocol, the first interface protocol is in the first electronic device. The first deployment control system needs to adapt to the private interface protocol;
    发送模块,配置为向第二电子设备发送具有所述通用接口协议的所述第二布控任务,使得所述第二电子设备对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。A sending module, configured to send the second control task with the general interface protocol to a second electronic device, so that the second electronic device performs interface protocol conversion on the second control task with the common interface protocol to obtain a third control task with a second interface protocol, where the second interface protocol is a private interface protocol to which the second control system in the second electronic device needs to be adapted.
  12. 根据权利要求11所述的装置,其中,所述发送模块,具体配置为:The device according to claim 11, wherein the sending module is specifically configured as:
    基于文件传输协议FTP传输方式,向所述第二电子设备发送具有所述通用接口协议的所述第二布控任务。Based on the file transfer protocol FTP transfer mode, the second control task with the general interface protocol is sent to the second electronic device.
  13. 根据权利要求11或12所述的装置,其中,所述第一接口协议转换模块,包括:The device according to claim 11 or 12, wherein the first interface protocol conversion module comprises:
    脚本确定子模块,配置为确定第一协议脚本,所述第一协议脚本用于实现所述第一接口协议与所述通用接口协议之间的转换;a script determination submodule, configured to determine a first protocol script, where the first protocol script is used to implement conversion between the first interface protocol and the general interface protocol;
    接口协议转换子模块,配置为基于所述第一协议脚本,对具有所述第一接口协议的所述第一布控任务进行接口协议转换,得到具有所述通用接口协议的所述第二布控任务。An interface protocol conversion submodule, configured to perform interface protocol conversion on the first deployment and control task with the first interface protocol based on the first protocol script, to obtain the second deployment and control task with the general interface protocol .
  14. 根据权利要求11至13中任意一项所述的装置,其中,所述装置还包括:The apparatus of any one of claims 11 to 13, wherein the apparatus further comprises:
    接收模块,配置为接收所述第二电子设备返回的具有所述通用接口协议的第一告警信息,所述具有所述通用接口协议的所述第一告警信息,是所述第二电子设备对具有所述第二接口协议的第二告警信息进行接口协议转换之后得到的,所述具有所述第二接口协议的所述第二告警信息是所述第二电子设备执行所述具有所述第二接口协议的所述第三布控任务之后得到的;A receiving module, configured to receive first alarm information with the general interface protocol returned by the second electronic device, where the first alarm information with the general interface protocol is a pair of The second alarm information with the second interface protocol is obtained after the interface protocol conversion is performed, and the second alarm information with the second interface protocol is executed by the second electronic device. obtained after the third control task of the second interface protocol;
    第一接口协议转换模块,还配置为对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。The first interface protocol conversion module is further configured to perform interface protocol conversion on the first alarm information with the general interface protocol to obtain third alarm information with the first interface protocol.
  15. 根据权利要求11至14中任意一项所述的装置,其中,所述通用接口协议包括下述至少一种协议规则;The apparatus according to any one of claims 11 to 14, wherein the general interface protocol includes at least one of the following protocol rules;
    点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描述规则。The description rules of point information, the description rules of portrait information, the description rules of control actions, and the description rules of alarm information.
  16. 一种布控装置,所述装置应用于第二电子设备,所述装置包括:A deployment and control device, the device is applied to a second electronic device, and the device includes:
    接收模块,配置为接收第一电子设备发送的具有通用接口协议的第二布控任务,所述具有所述通用接口协议的所述第二布控任务,是所述第一电子设备对具有第一接口协议的第一布控任务进行接口协议转换之后得到的,所述第一接口协议是所述第一电子设备中的第一布控系统需要适配的私有接口协议;A receiving module, configured to receive a second control task with a general interface protocol sent by a first electronic device, the second control task with the general interface protocol is a pair of the first electronic device with a first interface Obtained after the first deployment and control task of the protocol performs interface protocol conversion, the first interface protocol is a private interface protocol that needs to be adapted to the first deployment and control system in the first electronic device;
    第二接口协议转换模块,配置为对所述具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有第二接口协议的第三布控任务,所述第二接口协议是所述第二电子设备中的第二布控系统需要适配的私有接口协议。The second interface protocol conversion module is configured to perform interface protocol conversion on the second control task with the general interface protocol, to obtain a third control task with the second interface protocol, the second interface protocol is the The second deployment and control system in the second electronic device needs an adapted private interface protocol.
  17. 根据权利要求16所述的装置,其中,第二接口协议转换模块,包括:The device according to claim 16, wherein the second interface protocol conversion module comprises:
    脚本确定子模块,配置为确定第二协议脚本,所述第二协议脚本用于实现所述通用接口协议与所述第二接口协议之间的转换;a script determination submodule, configured to determine a second protocol script, where the second protocol script is used to implement the conversion between the general interface protocol and the second interface protocol;
    接口协议转换子模块,配置为基于所述第二协议脚本,对具有所述通用接口协议的所述第二布控任务进行接口协议转换,得到具有所述第二接口协议的所述第三布控任务。An interface protocol conversion sub-module, configured to perform interface protocol conversion on the second control task with the general interface protocol based on the second protocol script, to obtain the third control task with the second interface protocol .
  18. 根据权利要求16或17所述的装置,其中,所述装置还包括:The apparatus of claim 16 or 17, wherein the apparatus further comprises:
    布控任务执行模块,配置为根据所述第二布控系统,执行具有所述第二接口协议的所述第三布控任务,得到具有所述第二接口协议的第二告警信息;a deployment and control task execution module, configured to execute the third deployment and control task with the second interface protocol according to the second deployment and control system, and obtain second alarm information with the second interface protocol;
    第二接口协议转换模块,还配置为对具有所述第二接口协议的所述第二告警信息进行接口协议转换,得到具有所述通用接口协议的第一告警信息;The second interface protocol conversion module is further configured to perform interface protocol conversion on the second alarm information with the second interface protocol to obtain first alarm information with the general interface protocol;
    发送模块,配置为向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息,使得所述第一电子设备对具有所述通用接口协议的所述第一告警信息进行接口协议转换,得到具有所述第一接口协议的第三告警信息。A sending module, configured to send the first alarm information with the general interface protocol to the first electronic device, so that the first electronic device interfaces with the first alarm information with the general interface protocol Protocol conversion is performed to obtain third alarm information having the first interface protocol.
  19. 根据权利要求18所述的装置,其中,所述发送模块,具体配置为:The device according to claim 18, wherein the sending module is specifically configured to:
    基于FTP传输方式,向所述第一电子设备发送具有所述通用接口协议的所述第一告警信息。Based on the FTP transmission mode, the first alarm information with the general interface protocol is sent to the first electronic device.
  20. 根据权利要求16至19中任意一项所述的装置,其中,所述通用接口协议包括下述至少一种协议规则;The apparatus according to any one of claims 16 to 19, wherein the general interface protocol includes at least one of the following protocol rules;
    点位信息的描述规则、人像信息的描述规则、布控动作的描述规则、告警信息的描 述规则。Description rules for point information, description rules for portrait information, description rules for control actions, and description rules for alarm information.
  21. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    配置为存储处理器可执行指令的存储器;memory configured to store processor executable instructions;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至10中任意一项所述的方法。wherein the processor is configured to invoke the memory-stored instructions to perform the method of any one of claims 1-10.
  22. 一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现权利要求1至10中任意一项所述的方法。A computer-readable storage medium having computer program instructions stored thereon, the computer program instructions implementing the method of any one of claims 1 to 10 when executed by a processor.
  23. 一种计算机程序产品,包括计算机可读代码,当计算机可读代码在设备上运行时,设备中的处理器执行用于实现权利要求1至10中任意一项所述的方法。A computer program product comprising computer readable code, when the computer readable code is run on a device, a processor in the device executes a method for implementing the method of any one of claims 1 to 10.
PCT/CN2021/089062 2020-12-29 2021-04-22 Distributed control method and apparatus, electronic devices, storage medium and computer program WO2022141970A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011592173.9A CN112738231B (en) 2020-12-29 2020-12-29 Deployment control method and device, electronic equipment and storage medium
CN202011592173.9 2020-12-29

Publications (1)

Publication Number Publication Date
WO2022141970A1 true WO2022141970A1 (en) 2022-07-07

Family

ID=75607824

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/089062 WO2022141970A1 (en) 2020-12-29 2021-04-22 Distributed control method and apparatus, electronic devices, storage medium and computer program

Country Status (3)

Country Link
CN (1) CN112738231B (en)
TW (1) TW202226799A (en)
WO (1) WO2022141970A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457777A (en) * 2013-09-05 2013-12-18 华为技术有限公司 Power-supply distribution unit disaster tolerance method, managers and system
US9009352B1 (en) * 2012-03-28 2015-04-14 Emc Corporation Transformation of common information model messages
CN108964963A (en) * 2017-09-20 2018-12-07 北京视联动力国际信息技术有限公司 A method of warning system and realization alarm based on view networking
CN108989273A (en) * 2017-07-03 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus obtaining video flowing
CN110401876A (en) * 2019-07-16 2019-11-01 视联动力信息技术股份有限公司 Audio and video asynchronous alarm method, device, electronic equipment and readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040264503A1 (en) * 2003-06-30 2004-12-30 Microsoft Corporation Method and system for providing a virtual protocol interlayer
CN103036732B (en) * 2011-09-30 2015-11-18 方正宽带网络服务有限公司 A kind of method of network monitoring process, system and equipment
US9307027B2 (en) * 2013-01-15 2016-04-05 Toyota Jidosha Kabushiki Kaisha Identifying server protocol for translation in smart grid
CN103678928A (en) * 2013-12-20 2014-03-26 广东宝莱特医用科技股份有限公司 Method, device and system for sharing medical information
CN111447109B (en) * 2020-03-23 2022-03-22 京东方科技集团股份有限公司 Monitoring and management device and method, and computer-readable storage medium
CN111740960A (en) * 2020-05-25 2020-10-02 杭州涂鸦信息技术有限公司 Communication method of Internet of things equipment, Internet of things equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9009352B1 (en) * 2012-03-28 2015-04-14 Emc Corporation Transformation of common information model messages
CN103457777A (en) * 2013-09-05 2013-12-18 华为技术有限公司 Power-supply distribution unit disaster tolerance method, managers and system
CN108989273A (en) * 2017-07-03 2018-12-11 北京视联动力国际信息技术有限公司 A kind of method and apparatus obtaining video flowing
CN108964963A (en) * 2017-09-20 2018-12-07 北京视联动力国际信息技术有限公司 A method of warning system and realization alarm based on view networking
CN110401876A (en) * 2019-07-16 2019-11-01 视联动力信息技术股份有限公司 Audio and video asynchronous alarm method, device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112738231A (en) 2021-04-30
CN112738231B (en) 2022-10-04
TW202226799A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US10938756B2 (en) Task management based on instant message
US20190306277A1 (en) Interaction between devices displaying application status information
WO2021121052A1 (en) Multi-screen cooperation method and system, and electronic device
CN112925788B (en) A data set management method, system, device, electronic device and storage medium
CN113377465A (en) Service-based SDK calling method and device, electronic equipment and storage medium
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
TW202248848A (en) Software definition method, electronic equipment and computer-readable storage medium of smart camera
CN113420338B (en) Data processing method and device for data processing
CN115733812A (en) An information interaction method, device, equipment and medium
CN110750961A (en) File format conversion method and device, computer equipment and storage medium
WO2022141970A1 (en) Distributed control method and apparatus, electronic devices, storage medium and computer program
CN114385373A (en) Data sharing method, data sharing device and computer readable storage medium
CN108984294B (en) Resource scheduling method, device and storage medium
CN106600230A (en) Method and device for process approval
CN110730118A (en) Message sending method, device, computer equipment and storage medium
CN110263211B (en) Resource synchronization method and device
CN114546436A (en) Micro front-end service updating method and device, electronic equipment and storage medium
CN109032583B (en) Data interaction method and device
WO2017092126A1 (en) Information processing method and device
CN107395724A (en) Network request method and device
CN107181669A (en) The display methods and equipment of the transmission time of chat messages
CN117667423B (en) Method, system, apparatus, device and medium for accessing storage device by codec
CN111522787B (en) Data processing method and device of distributed system and storage medium
CN109375959B (en) Method and device for directionally pulling up application
CN111723321B (en) Page request method, device and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 07/12/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21912734

Country of ref document: EP

Kind code of ref document: A1