CN111464785A - Information transmission method, device and system - Google Patents

Information transmission method, device and system Download PDF

Info

Publication number
CN111464785A
CN111464785A CN202010270397.1A CN202010270397A CN111464785A CN 111464785 A CN111464785 A CN 111464785A CN 202010270397 A CN202010270397 A CN 202010270397A CN 111464785 A CN111464785 A CN 111464785A
Authority
CN
China
Prior art keywords
weight coefficient
acquisition
identifier
data
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010270397.1A
Other languages
Chinese (zh)
Other versions
CN111464785B (en
Inventor
杨帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010270397.1A priority Critical patent/CN111464785B/en
Publication of CN111464785A publication Critical patent/CN111464785A/en
Application granted granted Critical
Publication of CN111464785B publication Critical patent/CN111464785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides an information transmission method, an information transmission device and an information transmission system.A front-end control system acquires data acquired by acquisition equipment and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data, carries out weighting operation on the acquisition equipment identification, the preset point identification and the acquisition rule identification corresponding to the data according to a first weight coefficient corresponding to the preset acquisition equipment identification, a second weight coefficient corresponding to the preset point identification and a third weight coefficient corresponding to the acquisition rule identification to obtain a data address character string, and sends an information body address containing the data address character string and the data acquired by the acquisition equipment to a remote control system. By means of weighting, the use range of the data address character string is expanded, so that the use range of the information body address is expanded, and all identification information of the acquisition equipment can be completely represented by the information body address as far as possible.

Description

Information transmission method, device and system
Technical Field
The present invention relates to the field of monitoring technologies, and in particular, to an information transmission method, apparatus, and system.
Background
In the monitoring system, the acquisition equipment is monitored and data is acquired through the remote control system and the front-end control system. As shown in fig. 1, the monitoring and data acquisition process mainly includes: the remote control system sends a control command to the front-end control system, the front-end control system transmits the control command to the acquisition equipment, the acquisition equipment uploads acquired data to the front-end control system, and the front-end control system transmits the data acquired by the acquisition equipment to the remote control system.
The remote control system and the front-end control system perform information interaction by adopting a preset transmission protocol, and a key value pair < an information body address and data corresponding to the information body address > exists in the transmission protocol, wherein the information body address is identification information corresponding to specific identification information of acquisition equipment, such as an identification of the acquisition equipment, an identification of a preset point on the acquisition equipment, an identification of an acquisition rule adopted when the acquisition equipment acquires data, and the like.
In an actual monitoring scenario, the number of the acquisition devices is often large, each acquisition device has a large number of preset points, and each preset point also has a large number of acquisition rules, however, a certain number of information body addresses are generally agreed in the transmission protocol, for example, 0x1000 information body addresses are agreed, so that the use range of the information body addresses in the transmission protocol is limited, and all identification information of the acquisition devices cannot be completely represented.
Disclosure of Invention
An object of the embodiments of the present invention is to provide an information transmission method, apparatus and system, so as to extend the range of use of an address of an information body. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information transmission method, which is applied to a front-end control system, and the method includes:
acquiring data acquired by acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data;
according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to obtain a data address character string, wherein the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition equipment;
and sending the information body address containing the data address character string and the data acquired by the acquisition equipment to a remote control system.
Optionally, the first weight coefficient is a product of the number of the collection rules with the largest number of each preset point and the number of the preset points with the largest number of each collection device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
Optionally, the method further includes:
acquiring a control address character string sent by a remote control system, wherein the control address character string is obtained by weighting a collection equipment identifier and a preset point identifier of a control target according to a fourth weight coefficient corresponding to a preset collection equipment identifier and a fifth weight coefficient corresponding to the preset point identifier based on the control type of the control target by the remote control system, and the fourth weight coefficient is related to the maximum number of preset points of each collection equipment;
calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain the control type, the acquisition equipment identifier and the preset point identifier of the control target;
and controlling the data acquired by the acquisition equipment with the acquisition equipment identification at the preset point corresponding to the preset point identification according to the control type.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
Optionally, the fourth weight coefficient is the maximum number of preset points of each acquisition device, and the fifth weight coefficient is 1.
Optionally, the step of calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain the control type of the control target, the acquisition device identifier, and the preset point identifier includes:
obtaining a control address character string expressed by decimal system;
determining the control type of the control target according to the numerical range to which the control address character string belongs and the corresponding relation between the preset numerical range and the control type;
calculating a difference value between the control address character string and the minimum value of the numerical range, dividing the difference value by a fourth weight coefficient to obtain a first result, and rounding the first result downwards to obtain an acquisition equipment identifier of the control target;
calculating a second result of multiplying the acquisition equipment identifier by a fourth weight coefficient, and subtracting the control address character string from the second result to obtain a third result; and dividing the third result by the fifth weight coefficient to obtain the preset point identification of the control target.
In a second aspect, an embodiment of the present invention provides an information transmission method, which is applied to a remote control system, and the method includes:
acquiring an information body address containing a data address character string sent by a front-end control system and data acquired by acquisition equipment, wherein the data address character string is obtained by weighting acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data by the front-end control system according to a first weight coefficient corresponding to a preset acquisition equipment identification, a second weight coefficient corresponding to the preset point identification and a third weight coefficient corresponding to the acquisition rule identification; the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device;
and reading the data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
Optionally, the first weight coefficient is a product of the number of the collection rules with the largest number of each preset point and the number of the preset points with the largest number of each collection device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
Optionally, the step of calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain the acquisition device identifier, the preset point identifier and the acquisition rule identifier corresponding to the data includes:
obtaining a data address character string expressed by decimal system;
calculating a fourth result obtained by dividing the data address character string by the first weight coefficient, and rounding the fourth result downwards to obtain an acquisition equipment identifier corresponding to the data;
calculating a fifth result obtained by multiplying the acquisition equipment identifier corresponding to the data by the first weight coefficient, and subtracting the data address character string from the fifth result to obtain a sixth result; calculating a seventh result obtained by dividing the sixth result by the second weight coefficient, and rounding the seventh result downwards to obtain a preset point identifier corresponding to the data;
calculating an eighth result obtained by multiplying the preset point identifier corresponding to the data by the second weight coefficient, and subtracting the sixth result from the eighth result to obtain a ninth result; and dividing the ninth result by the third weight coefficient to obtain the acquisition rule identifier corresponding to the data.
Optionally, the method further includes:
acquiring a control type, an acquisition equipment identifier and a preset point identifier of a control target;
based on the control type, carrying out weighted operation on the acquisition equipment identification and the preset point identification according to a fourth weight coefficient corresponding to a preset acquisition equipment identification and a fifth weight coefficient corresponding to the preset point identification to obtain a control address character string, wherein the fourth weight coefficient is related to the maximum number of preset points of each acquisition equipment, and the control address character string is used for representing the control type, the acquisition equipment identification and the preset point identification of a control target to be controlled;
and sending the control address character string to a front-end control system.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
Optionally, the fourth weight coefficient is the maximum number of preset points of each acquisition device, and the fifth weight coefficient is 1.
Optionally, based on the control type, according to a fourth weight coefficient corresponding to a preset acquisition device identifier and a fifth weight coefficient corresponding to a preset point identifier, performing a weighted operation on the acquisition device identifier and the preset point identifier to obtain a control address character string, including:
determining a numerical range to which the control address character string belongs according to the control type and a corresponding relation between a preset numerical range and the control type;
according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to a preset point identifier, carrying out weighting operation on the acquisition equipment identifier and the preset point identifier to obtain a weighting result;
and adding the minimum value of the numerical range and the weighting result to obtain the control address character string.
In a third aspect, an embodiment of the present invention provides an information transmission apparatus, which is applied to a front-end control system, and includes:
the acquisition module is used for acquiring data acquired by acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data;
the operation module is used for carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier to obtain a data address character string, wherein the second weight coefficient is related to the maximum number of acquisition rules of each preset point, and the first weight coefficient is related to the maximum number of acquisition rules of each preset point and the maximum number of preset points of each acquisition equipment;
and the sending module is used for sending the information body address containing the data address character string and the data collected by the collecting equipment to the remote control system.
In a fourth aspect, an embodiment of the present invention provides an information transmission apparatus, which is applied to a remote control system, and includes:
the acquisition module is used for acquiring an information body address containing a data address character string sent by the front-end control system and data acquired by the acquisition equipment, wherein the data address character string is obtained by weighting the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data by the front-end control system according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier; the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device;
and the operation module is used for reading the data address character string from the information body address and operating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
In a fifth aspect, an embodiment of the present invention provides a front-end control system, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the machine executable instructions are loaded and executed by the processor, so as to implement the method provided in the first aspect of the embodiment of the present invention.
In a sixth aspect, the present invention provides a remote control system, which includes a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the machine executable instructions are loaded and executed by the processor to implement the method provided in the second aspect of the present invention.
In a seventh aspect, an embodiment of the present invention provides a monitoring system, where the monitoring system includes a remote control system, a front-end control system, and multiple acquisition devices;
the acquisition equipment is used for acquiring data and sending the acquired data and the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to the front-end control system;
the front-end control system is used for acquiring data acquired by the acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data; according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to obtain a data address character string, wherein the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition equipment; sending the information body address containing the data address character string and the data to a remote control system;
the remote control system is used for acquiring the address and the data of the information body sent by the front-end control system; and reading the data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
In the information transmission method, device and system provided by the embodiment of the invention, the front-end control system acquires the data acquired by the acquisition equipment and the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data, according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, weighting the corresponding collection device identification, preset point identification and collection rule identification to obtain data address character string, the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points of each acquisition device, and the information body address containing the data address character string and the data acquired by the acquisition devices are sent to the remote control system.
When the front-end control system sets the information body address, the front-end control system weights the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier to obtain a data address character string, then sends the information body address containing the data address character string to a remote control system, and expands the use range of the data address character string in a weighting mode, so that the use range of the information body address is expanded, and all identification information of the acquisition equipment can be completely represented by the information body address as far as possible.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an interaction flow of monitoring and data acquisition in a prior art monitoring system;
fig. 2 is a flowchart illustrating an information transmission method applied to a front-end control system according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an information transmission method applied to a front-end control system according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating an information transmission method applied to a remote control system according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an information transmission method applied to a remote control system according to another embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an information transmission apparatus applied to a front-end control system according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an information transmission apparatus applied to a remote control system according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a front-end control system according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a remote control system according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a monitoring system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to extend the use range of the address of the information body, the embodiment of the invention provides an information transmission method, an information transmission device and an information transmission system.
First, an information transmission method provided in an embodiment of the present invention is described below, where the information transmission method is applied to a monitoring system, such as a video monitoring system, an infrared monitoring system, and a radar monitoring system. The monitoring system comprises a remote control system, a front-end control system and acquisition equipment. The remote Control system refers to a server for issuing Control instructions and acquiring monitoring Data, such as a Scada (Supervisory Control and Data Acquisition) system; the front-end control system is an intermediate server, such as a video monitoring system, which forwards a control instruction issued by the remote control system to the acquisition equipment and forwards acquired data uploaded by the acquisition equipment to the remote control system; the acquisition device is a device with a data acquisition function at the front end, for example, an IPC, the acquisition device has a plurality of data acquisition channels, such as a visual channel, a thermal imaging channel, and the like, and different types of data can be acquired through different channels.
As shown in fig. 2, an information transmission method provided in an embodiment of the present invention is applied to a front-end control system in the monitoring system, and the method may include the following steps.
S201, acquiring data acquired by acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data.
S202, according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to data acquired by acquisition equipment to obtain a data address character string, wherein the second weight coefficient is related to the number of the acquisition rules with the largest number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the largest number of each preset point and the number of the preset points with the largest number of each acquisition equipment.
And S203, sending the information body address containing the data address character string and the data acquired by the acquisition equipment to a remote control system.
By applying the embodiment of the invention, the front-end control system acquires the data acquired by the acquisition equipment, the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data, carries out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to the preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier to obtain the data address character string, wherein the second weight coefficient is related to the maximum acquisition rule number of each preset point, the first weight coefficient is related to the maximum acquisition rule number of each preset point and the preset point number of each acquisition equipment, and sends the information body address containing the data address character string and the data acquired by the acquisition equipment to the remote control system. When the front-end control system sets the information body address, the front-end control system weights the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier to obtain a data address character string, then sends the information body address containing the data address character string to a remote control system, and expands the use range of the data address character string in a weighting mode, so that the use range of the information body address is expanded, and all identification information of the acquisition equipment can be completely represented by the information body address as far as possible.
The remote control system can send a control instruction to the front-end control system according to a traditional control instruction issuing mode, for example, the remote control system sends a PTZ action instruction to the front-end control system, and the front-end control system transmits the PTZ action instruction to the corresponding acquisition equipment. And then data acquisition, for example, temperature acquisition, video acquisition, and the like are performed, after the data is acquired by the acquisition device, the acquired data is sent to the front-end control system, and the front-end control system can acquire the data acquired by the acquisition device, and also can acquire an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data, that is, the front-end control system knows which acquisition device acquires the data at which preset point according to what acquisition rule, where the acquisition rule refers to an area rule selected when data acquisition is performed, such as data in a rectangular range, data in an elliptical range, or data in a circular range.
The acquisition equipment, the preset points and the acquisition rules have an inclusion relationship, that is, one acquisition equipment comprises a plurality of preset points, and one preset point comprises a plurality of acquisition rules, that is, when the number of the acquisition rules, the number of the preset points and the number of the acquisition equipment are counted, a certain carry rule is satisfied. It can be understood that, each time a certain number of collection rules are counted (i.e. the number of collection rules with the largest number per preset point), one preset point number is added; each time a certain number of preset points (i.e. the maximum number of preset points per acquisition device) is counted, the number of acquisition devices is increased by one.
Based on the carry rule, a weight coefficient may be pre-assigned to the collection device, the preset point, and the collection rule, and different weight coefficients correspond to different identifiers, that is, the collection device identifier corresponds to the first weight coefficient, the preset point identifier corresponds to the second weight coefficient, and the collection rule identifier corresponds to the third weight coefficient, so that the data address character string of the data collected by the collection device may be obtained by performing a weighted operation on the collection device identifier, the preset point identifier, and the collection rule identifier of the data according to the first weight coefficient, the second weight coefficient, and the third weight coefficient, for example, assuming that the collection device identifier corresponding to the collected data is a, the preset point identifier is b, and the collection rule identifier is c, the data address character string is a + b + n + c, where m is the first weight coefficient, and n is the second weight coefficient, t is a third weight coefficient. The data address character string refers to values of a collecting device identifier, a preset point identifier and a collecting rule identifier which can represent data collected by the collecting device, and one value corresponds to one collecting device identifier, one preset point identifier and one collecting rule identifier.
Based on the carry rule, since the number of the preset points is increased every time a certain number of the collection rules are counted (i.e. the number of the collection rules with the largest number per preset point) and the number of the collection devices is increased every time a certain number of the preset points are counted (i.e. the number of the preset points with the largest number per collection device), it can be determined that the first weight coefficient is related to the number of the collection rules with the largest number per preset point and the number of the preset points with the largest number per collection device, and the second weight coefficient is related to the number of the collection rules with the largest number per preset point.
Specifically, the first weight coefficient is a product of the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
After the data address character string is obtained based on the above manner, the information address containing the data address character string and the data collected by the collecting device can be sent to the remote control system, the remote control system can analyze the collecting device identifier, the preset point identifier and the collecting rule identifier corresponding to the data collected by the collecting device according to the inverse operation process of the weighting operation, the remote control system can output the analyzed collecting device identifier, the preset point identifier and the collecting rule identifier to a remote user, and the user can know which collecting device collected the data according to which collecting rule the collecting device collected at which preset point, or, the remote control system may store the analyzed acquisition device identifier, the preset point identifier, the acquisition rule identifier and the data acquired by the acquisition device in a corresponding manner, so as to perform subsequent data analysis.
As shown in fig. 3, an embodiment of the present invention further provides an information transmission method, which is applied to the front-end control system in the monitoring system, and the method may include the following steps.
S301, a control address character string sent by the remote control system is obtained, wherein the control address character string is obtained by weighting the acquisition equipment identifier and the preset point identifier of the control target according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to the preset point identifier based on the control type of the control target of the remote control system, and the fourth weight coefficient is related to the maximum number of the preset points of each acquisition equipment.
And S302, calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain the control type, the acquisition equipment identifier and the preset point identifier of the control target.
And S303, controlling the data acquired by the acquisition equipment with the acquisition equipment identification at the preset point corresponding to the preset point identification according to the control type.
The remote control system also sends a control address character string to the front-end control system, wherein the control address character string refers to numerical values which can represent the control type, the acquisition equipment identification and the preset point identification of a control target to be controlled, and one numerical value corresponds to one control type, one acquisition equipment identification and one preset point identification. In the conventional information transmission method, a remote control system issues a control instruction to a front-end control system, the control instruction needs to carry detailed information such as a control type of a control target, an acquisition device identifier, a preset point identifier and the like, and the control instruction is complex and difficult to implement in a transmission protocol.
Based on the same design concept as the data address character string, according to the carry rule, when the number of the acquisition devices is increased every time a certain number of preset points (namely the maximum number of the preset points of each acquisition device) are counted, a weight coefficient can be respectively allocated to the acquisition devices and the preset points in advance, different weight coefficients correspond to different identifications, namely the acquisition device identification corresponds to a fourth weight coefficient and the preset point identification corresponds to a fifth weight coefficient, and because the control types are multiple, such as PTZ action, television wall mounting and the like, different control types can set different numerical value intervals, the control address character string can be obtained by performing weighted operation on the acquisition device identification and the preset point identification of the control target based on the control type of the control target according to the fourth weight coefficient and the fifth weight coefficient, for example, assuming that the acquisition device identification of the control target is a, And if the preset point mark is b, the data address character string is a + j + b + f, wherein j is a fourth weight coefficient, and f is a fifth weight coefficient.
Based on the carry rule, since the number of the acquisition devices is increased by one per counted number of preset points (i.e. the maximum number of preset points per acquisition device), it may be determined that the fourth weight coefficient is associated with the maximum number of preset points per acquisition device.
Specifically, the fourth weight coefficient is the maximum number of preset points of each acquisition device; the fifth weight coefficient is 1.
After the front-end control system obtains the control address character string, the control type, the acquisition equipment identifier and the preset point identifier of the control target can be analyzed by using the inverse operation of the weighted operation. The data acquired by the acquisition equipment with the acquisition equipment identifier at the preset point corresponding to the preset point identifier can be controlled according to the control type, for example, if the analyzed control type is a PTZ action, the front-end control system can issue the PTZ action to the acquisition equipment corresponding to the analyzed acquisition equipment identifier, so that the acquisition equipment acquires the data at the preset point; or the analyzed control type is television on-wall, the front-end control system acquires data acquired by the acquisition equipment corresponding to the analyzed acquisition equipment identifier at the preset point corresponding to the analyzed preset point identifier, and performs television on-wall operation on the acquired data.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
Correspondingly, S201 in the embodiment shown in fig. 2 may specifically be: adding the data address character string to the front preset bit of the information body address; and sending the information body address and the data acquired by the acquisition equipment to a remote control system.
S301 in the embodiment shown in fig. 3 may specifically be: receiving an information body address sent by a remote control system; and reading a rear preset bit of the information body address to obtain a control address character string.
The data address character string and the control address character string can share an information body address, and the information body address represents real physical information of data acquisition and/or real physical information of a control target, namely acquisition equipment identification, preset point identification, acquisition rule identification and the like in the embodiment of the invention. For example, in a temperature monitoring scenario, there are at most 1900 collection devices, each collection device has at most 250 preset points, and each preset point has at most 20 collection rules, so that temperature monitoring is at most 1900 × 250 × 20 — 9500000 monitoring points, and the address of the information body is set to 3 bytes, that is, there are at most 2 monitoring points24-1-16777215 values, so that the first 1000 ten thousand value bits of the address of the information body can be used as the character string of the data address, and the last 600 ten thousand value bitsThe numerical value bit serves as a control address string. Thus, the data address character string and the control address character string realize the sharing of the information body address.
Optionally, S302 may specifically be: obtaining a control address character string expressed by decimal system; determining the control type of the control target according to the numerical range to which the control address character string belongs and the corresponding relation between the preset numerical range and the control type; calculating a difference value between the control address character string and the minimum value of the numerical range, dividing the difference value by a fourth weight coefficient to obtain a first result, and rounding the first result downwards to obtain an acquisition equipment identifier of the control target; calculating a second result of multiplying the acquisition equipment identifier by a fourth weight coefficient, and subtracting the control address character string from the second result to obtain a third result; and dividing the third result by the fifth weight coefficient to obtain the preset point identification of the control target.
The control address character string acquired by the front-end control system has a certain binary type, such as binary, octal, decimal, hexadecimal, and the like, for convenience of calculation, the acquired control address character string needs to be converted into decimal, and if the received control address character string is 0x991C75, the control address character string is converted into decimal to obtain 10034293, and a corresponding relationship between a numerical range and a control type is preset, for example, if the corresponding control type is PTZ action control when the numerical range is preset to be 10000000-10499999, the control type of the control target can be determined to be PTZ action control when the control address character string is 0x991C 75. Assuming that each acquisition device has 250 preset points at most and each preset point has 20 acquisition rules at most, the fourth weight coefficient is 250, and the fifth weight coefficient can be set to 1, the minimum value 10000000 of the range 10000000-10499999 is subtracted from 10034293 to obtain the difference value 34293, the difference value 34293/250 is calculated to 137.172, the value is rounded down to obtain 137, that is, the identification of the acquisition device of the control target is 137, and then the difference value 34293 is calculated to 137 to 43, that is, the identification of the preset point of the control target is 43.
As shown in fig. 4, an information transmission method provided in an embodiment of the present invention is applied to a remote control system in the monitoring system, and the method may include the following steps.
S401, acquiring an information body address containing a data address character string sent by a front-end control system and data acquired by acquisition equipment, wherein the data address character string is obtained by weighting acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data acquired by the acquisition equipment by the front-end control system according to a first weight coefficient corresponding to a preset acquisition equipment identification, a second weight coefficient corresponding to the preset point identification and a third weight coefficient corresponding to the acquisition rule identification; the second weight coefficient is associated with the number of the most collection rules per preset point, and the first weight coefficient is associated with the number of the most collection rules per preset point and the number of the most preset points per collection device.
S402, reading a data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data acquired by the acquisition equipment.
By applying the embodiment of the invention, the remote control system acquires the information body address containing the data address character string sent by the front-end control system and the data acquired by the acquisition equipment, reads the data address character string from the information body address, and operates the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data. The data address character string in the information body address is obtained by weighting the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier. In addition, the remote control system can adopt the inverse operation of the weighted operation to accurately determine the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data acquired by the acquisition equipment, namely, the data acquired by which acquisition equipment at which preset point according to which acquisition rule is specific, so that the accurate positioning of the acquisition information of the data is realized.
The front-end control system may obtain the data address character string in a weighting manner according to the embodiment shown in fig. 2, and send the information body address including the data address character string and the data acquired by the acquisition device to the remote control system, and a specific weighting operation process is shown in the embodiment shown in fig. 2 and is not described herein again.
As shown in the embodiment of fig. 2, since the number of preset points is increased for each counted number of acquisition rules (i.e. the number of acquisition rules with the largest number per preset point) and the number of acquisition devices is increased for each counted number of preset points (i.e. the number of preset points with the largest number per acquisition device), it can be determined that the first weight coefficient is related to the number of acquisition rules with the largest number per preset point and the number of preset points with the largest number per acquisition device, and the second weight coefficient is related to the number of acquisition rules with the largest number per preset point.
Specifically, the first weight coefficient is a product of the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
The remote control system acquires the weighted data address character string, and the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data acquired by the acquisition equipment can be analyzed only by performing inverse operation of weighted operation on the data address character string. Specifically, in S402, the step of calculating the data address character string according to the first weight coefficient, the second weight coefficient, and the third weight coefficient to obtain the acquisition device identifier, the preset point identifier, and the acquisition rule identifier corresponding to the data acquired by the acquisition device may specifically be implemented by the following steps:
in a first step, a data address string expressed in decimal is obtained.
And secondly, calculating a fourth result obtained by dividing the data address character string by the first weight coefficient, and rounding the fourth result downwards to obtain an acquisition equipment identifier corresponding to the data acquired by the acquisition equipment.
Thirdly, calculating a fifth result obtained by multiplying the acquisition equipment identification corresponding to the data acquired by the acquisition equipment by the first weight coefficient, and subtracting the data address character string from the fifth result to obtain a sixth result; and calculating a seventh result obtained by dividing the sixth result by the second weight coefficient, and rounding the seventh result downwards to obtain the preset point identifier corresponding to the data acquired by the acquisition equipment.
Fourthly, calculating an eighth result obtained by multiplying the preset point identification corresponding to the data acquired by the acquisition equipment by the second weight coefficient, and subtracting the sixth result from the eighth result to obtain a ninth result; and dividing the ninth result by the third weight coefficient to obtain an acquisition rule identifier corresponding to the data acquired by the acquisition equipment.
The data address character string acquired by the remote control system has a certain binary type, for example, binary, octal, decimal, hexadecimal, etc., for convenience of calculation, the data address character string is firstly converted into decimal, the data address character string is assumed to be 0x3549, the data address character string is firstly converted into decimal to obtain 13641, the first weight coefficient is 5000, the second weight coefficient is 20, the third weight coefficient is 1, the data address character string is calculated 13641/5000 ═ 2.7282 and rounded down to obtain 2, namely the data acquired by the data acquisition device is identified as 2, then (13641-2 ═ 5000)/20 ═ 182.05 is calculated, the data address character string is 182, namely the data acquired by the data acquisition device is identified as 182, and then (13641-2 × 5000-. Therefore, the data acquired by the acquisition equipment is obtained, specifically, the data acquired by the acquisition equipment No. 2 at the preset point No. 182 according to the acquisition rule No. 1.
As shown in fig. 5, an embodiment of the present invention further provides an information transmission method, which is applied to a remote control system in the monitoring system, and the method may include the following steps.
S501, acquiring a control type, a collecting device identification and a preset point identification of a control target.
S502, based on the control type, carrying out weighted operation on the acquisition equipment identifier and the preset point identifier according to a fourth weight coefficient corresponding to the preset acquisition equipment identifier and a fifth weight coefficient corresponding to the preset point identifier to obtain a control address character string, wherein the fourth weight coefficient is related to the maximum number of the preset points of each acquisition equipment, and the control address character string is used for representing the control type, the acquisition equipment identifier and the preset point identifier of the control target to be controlled.
And S503, sending the control address character string to the front-end control system.
The remote control system also sends a control address character string to the front-end control system, wherein the control address character string refers to numerical values which can represent the control type, the acquisition equipment identification and the preset point identification of a control target to be controlled, and one numerical value corresponds to one control type, one acquisition equipment identification and one preset point identification. In the conventional information transmission method, a remote control system issues a control instruction to a front-end control system, the control instruction needs to carry detailed information such as a control type of a control target, an acquisition device identifier, a preset point identifier and the like, and the control instruction is complex and difficult to implement in a transmission protocol.
Based on the same design concept as the data address character string, according to the carry rule, when the number of the acquisition devices is increased every time a certain number of preset points (namely the maximum number of the preset points of each acquisition device) are counted, a weight coefficient can be respectively allocated to the acquisition devices and the preset points in advance, different weight coefficients correspond to different identifications, namely the acquisition device identification corresponds to a fourth weight coefficient and the preset point identification corresponds to a fifth weight coefficient, and because the control types are multiple, such as PTZ action, television wall mounting and the like, different control types can set different numerical value intervals, the control address character string can be obtained by performing weighted operation on the acquisition device identification and the preset point identification of the control target based on the control type of the control target according to the fourth weight coefficient and the fifth weight coefficient, for example, assuming that the acquisition device identification of the control target is a, And if the preset point mark is b, the data address character string is a + j + b + f, wherein j is a fourth weight coefficient, and f is a fifth weight coefficient.
Based on the carry rule, since the number of the acquisition devices is increased by one per counted number of preset points (i.e. the maximum number of preset points per acquisition device), it may be determined that the fourth weight coefficient is associated with the maximum number of preset points per acquisition device.
Specifically, the fourth weight coefficient is the maximum number of preset points of each acquisition device; the fifth weight coefficient is 1.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
The data address character string and the control address character string can share an information body address, and the information body address represents real physical information of data acquisition and/or real physical information of a control target, namely acquisition equipment identification, preset point identification, acquisition rule identification and the like in the embodiment of the invention. For example, in a temperature monitoring scenario, there are at most 1900 collection devices, each collection device has at most 250 preset points, and each preset point has at most 20 collection rules, so that temperature monitoring is at most 1900 × 250 × 20 — 9500000 monitoring points, and the address of the information body is set to 3 bytes, that is, there are at most 2 monitoring points24-1-16777215 values, so that the information body address can be addressedThe first 1000 ten thousand numerical bits are used as a data address character string, and the last 600 ten thousand numerical bits are used as a control address character string. Thus, the data address character string and the control address character string realize the sharing of the information body address.
Optionally, S502 may specifically be: determining a numerical range to which the control address character string belongs according to the control type and a corresponding relation between a preset numerical range and the control type; according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to a preset point identifier, carrying out weighting operation on the acquisition equipment identifier and the preset point identifier to obtain a weighting result; and adding the minimum value of the numerical range and the weighting result to obtain the control address character string.
The control address character strings correspond to a plurality of indexes in total, such as 600 thousands in the above example, assuming that there are 1900 acquisition devices and 250 preset points exist in each acquisition device, the control address character strings of each control type include 1900 × 250 — 475000, and can support control address character strings of 12 control types, and the control address character strings of each control type can occupy 50 thousands, and are pre-divided, for example, 10000000 to 10499999 are control types of PTZ actions, 10500000 to 10999999 are control types of tv upper walls, and so on. Then, according to the control type and the corresponding relationship between the preset numerical range and the control type, the numerical range to which the control address character string belongs may be determined first, for example, the control type is PTZ motion control, the numerical range to which the control address character string belongs may be determined to be 10000000 to 10499999, then, according to a fourth weight coefficient and a fifth weight coefficient, the acquiring device identifier and the preset point identifier of the control target are subjected to weighting operation, for example, the acquiring device identifier of the control target is 137 and the preset point identifier is 43, and if the control type is a PTZ motion command, the numerical range is 10000000 to 10499999, the fourth weight coefficient is 250 and the fifth weight coefficient is 1, then 137 × 250+43 — 34293 is calculated, and in the above numerical range, the control address character string is 10034293.
Generally, the control address character string has a designated type of the scale, for example, hexadecimal, and after the control address character string expressed by the decimal is calculated, the decimal control address character string needs to be converted into the scale of the scale, for example, 10034293 obtained above is converted into the scale of the scale, and the control address character string is 0x991C 75.
For convenience of understanding, the information transmission method provided by the embodiment of the present invention is described below with reference to specific examples.
Assuming a total of 1900 acquisition devices, each acquisition device has a maximum of 250 preset points, and each preset point has a maximum of 20 acquisition rules. The remote control system acquires an input PTZ action command, a control object is No. 2 acquisition equipment, the No. 2 acquisition equipment is controlled to rotate to No. 182 preset point, 2 x 250+182 is calculated to be 628, a decimal control address character string is 10000628 and is converted into 0x9898F4 in hexadecimal, and the control address character string is sent to a front-end control system to be 0x9898F 4.
And the front-end control system receives the control address character string, converts the control address character string into a decimal number 10000628, converts the decimal number 10000628 into a number 2 acquisition device and a number 182 preset point, and controls the number 2 acquisition device to rotate to the number 182 preset point.
The No. 2 acquisition device acquires temperature data at the No. 182 preset point according to the acquisition rule 1, and sends the acquired data, the No. 2 acquisition device, the No. 182 preset point and the acquisition rule 1 to the front-end control system.
After receiving the data collected by the collection equipment, the collection equipment No. 2, the preset point No. 182 and the collection rule 1, the front-end control system calculates 2 x 250 x 20+182 x 20+1 to 13641, converts the data into hexadecimal to obtain 0x3549, and sends a data address character string 0x3549 and corresponding data to the remote control system.
And the remote control system receives the data address character string, converts the data address character string into a decimal number 13641, converts the decimal number 13641 into a number 2 acquisition device, a number 182 preset point and a number 1 acquisition rule, and determines that the acquired data is acquired by the number 2 acquisition device at the number 182 preset point according to the number 1 acquisition rule. Wherein the control address string and the data address string are both contained in the body address.
Based on the foregoing method embodiment, an embodiment of the present invention provides an information transmission apparatus, as shown in fig. 6, which is applied to a front-end control system, and the apparatus may include:
the acquiring module 610 is configured to acquire data acquired by an acquisition device, and an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data;
an operation module 620, configured to perform a weighting operation on the acquisition device identifier, the preset point identifier, and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to a preset acquisition device identifier, a second weight coefficient corresponding to a preset point identifier, and a third weight coefficient corresponding to an acquisition rule identifier, to obtain a data address character string, where the second weight coefficient is related to the number of the acquisition rules that are the largest for each preset point, and the first weight coefficient is related to the number of the acquisition rules that are the largest for each preset point and the number of the preset points that are the largest for each acquisition device;
a sending module 630, configured to send the address of the information body including the data address character string and the data acquired by the acquisition device to the remote control system.
Optionally, the first weight coefficient is a product of the number of the collection rules with the largest number of each preset point and the number of the preset points with the largest number of each collection device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
Optionally, the obtaining module 610 may be further configured to obtain a control address character string sent by the remote control system, where the control address character string is obtained by weighting the acquisition device identifier and the preset point identifier of the control target according to a fourth weight coefficient corresponding to a preset acquisition device identifier and a fifth weight coefficient corresponding to the preset point identifier, where the fourth weight coefficient is related to the maximum number of preset points of each acquisition device, and the control address character string is based on the control type of the control target of the remote control system;
the operation module 620 may be further configured to perform operation on the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain a control type of the control target, an acquisition device identifier, and a preset point identifier;
the apparatus may further include:
and the control module is used for controlling the data acquired by the acquisition equipment with the acquisition equipment identifier at the preset point corresponding to the preset point identifier according to the control type.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
Optionally, the fourth weight coefficient is the maximum number of preset points of each acquisition device, and the fifth weight coefficient is 1.
Optionally, the operation module 620 may be specifically configured to:
obtaining a control address character string expressed by decimal system;
determining the control type of the control target according to the numerical range to which the control address character string belongs and the corresponding relation between the preset numerical range and the control type;
calculating a difference value between the control address character string and the minimum value of the numerical range, dividing the difference value by a fourth weight coefficient to obtain a first result, and rounding the first result downwards to obtain an acquisition equipment identifier of the control target;
calculating a second result of multiplying the acquisition equipment identifier by a fourth weight coefficient, and subtracting the control address character string from the second result to obtain a third result; and dividing the third result by the fifth weight coefficient to obtain the preset point identification of the control target.
By applying the embodiment of the invention, the front-end control system acquires the data acquired by the acquisition equipment, the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data, carries out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to the preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier to obtain the data address character string, wherein the second weight coefficient is related to the maximum acquisition rule number of each preset point, the first weight coefficient is related to the maximum acquisition rule number of each preset point and the preset point number of each acquisition equipment, and sends the information body address containing the data address character string and the data acquired by the acquisition equipment to the remote control system. When the front-end control system sets the information body address, the front-end control system weights the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier to obtain a data address character string, then sends the information body address containing the data address character string to a remote control system, and expands the use range of the data address character string in a weighting mode, so that the use range of the information body address is expanded, and all identification information of the acquisition equipment can be completely represented by the information body address as far as possible.
An embodiment of the present invention further provides an information transmission apparatus, as shown in fig. 7, which is applied to a remote control system, and the apparatus may include:
the acquiring module 710 is configured to acquire an information body address containing a data address character string sent by a front-end control system and data acquired by an acquisition device, where the data address character string is obtained by the front-end control system weighting an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to a preset acquisition device identifier, a second weight coefficient corresponding to the preset point identifier, and a third weight coefficient corresponding to the acquisition rule identifier; the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device;
and the operation module 720 is configured to read the data address character string from the address of the information body, and perform operation on the data address character string according to the first weight coefficient, the second weight coefficient, and the third weight coefficient to obtain an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data.
Optionally, the first weight coefficient is a product of the number of the collection rules with the largest number of each preset point and the number of the preset points with the largest number of each collection device; the second weight coefficient is the maximum number of the acquisition rules of each preset point; the third weight coefficient is 1.
Optionally, the operation module 720 may be specifically configured to:
obtaining a data address character string expressed by decimal system;
calculating a fourth result obtained by dividing the data address character string by the first weight coefficient, and rounding the fourth result downwards to obtain an acquisition equipment identifier corresponding to the data;
calculating a fifth result obtained by multiplying the acquisition equipment identifier corresponding to the data by the first weight coefficient, and subtracting the data address character string from the fifth result to obtain a sixth result; calculating a seventh result obtained by dividing the sixth result by the second weight coefficient, and rounding the seventh result downwards to obtain a preset point identifier corresponding to the data;
calculating an eighth result obtained by multiplying the preset point identifier corresponding to the data by the second weight coefficient, and subtracting the sixth result from the eighth result to obtain a ninth result; and dividing the ninth result by the third weight coefficient to obtain the acquisition rule identifier corresponding to the data.
Optionally, the obtaining module 710 may be further configured to obtain a control type of the control target, an identification of the acquisition device, and an identification of the preset point;
the operation module 720 may further be configured to perform, based on the control type, a weighting operation on the acquisition device identifier and the preset point identifier according to a fourth weight coefficient corresponding to the preset acquisition device identifier and a fifth weight coefficient corresponding to the preset point identifier, so as to obtain a control address character string, where the fourth weight coefficient is related to the maximum number of preset points of each acquisition device, and the control address character string is used to represent the control type, the acquisition device identifier, and the preset point identifier of the control target to be controlled;
the apparatus may further include:
and the sending module is used for sending the control address character string to the front-end control system.
Optionally, the control address string is included in the address of the informosome; the data address character string occupies the front preset bit of the information body address, and the control address character string occupies the rear preset bit of the information body address.
Optionally, the fourth weight coefficient is the maximum number of preset points of each acquisition device, and the fifth weight coefficient is 1.
Optionally, the operation module 720 may be specifically configured to:
determining a numerical range to which the control address character string belongs according to the control type and a corresponding relation between a preset numerical range and the control type;
according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to a preset point identifier, carrying out weighting operation on the acquisition equipment identifier and the preset point identifier to obtain a weighting result;
and adding the minimum value of the numerical range and the weighting result to obtain the control address character string.
By applying the embodiment of the invention, the remote control system acquires the information body address containing the data address character string sent by the front-end control system and the data acquired by the acquisition equipment, reads the data address character string from the information body address, and operates the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data. The data address character string in the information body address is obtained by weighting the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier. In addition, the remote control system can adopt the inverse operation of the weighted operation to accurately determine the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data acquired by the acquisition equipment, namely, the data acquired by which acquisition equipment at which preset point according to which acquisition rule is specific, so that the accurate positioning of the acquisition information of the data is realized.
The embodiment of the present invention further provides a front-end control system, as shown in fig. 8, which includes a processor 801 and a memory 802, where the memory 802 stores machine executable instructions that can be executed by the processor 801, and the machine executable instructions are loaded and executed by the processor 801, so as to implement the information transmission method applied to the front-end control system provided in the embodiment of the present invention.
An embodiment of the present invention further provides a remote control system, as shown in fig. 9, which includes a processor 901 and a memory 902, where the memory 902 stores machine executable instructions that can be executed by the processor 901, and the machine executable instructions are loaded and executed by the processor 901, so as to implement the information transmission method applied to the remote control system provided in the embodiment of the present invention.
By applying the embodiment of the invention, the front-end control system acquires the data acquired by the acquisition equipment, the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data, carries out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to the preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier to obtain the data address character string, wherein the second weight coefficient is related to the maximum acquisition rule number of each preset point, the first weight coefficient is related to the maximum acquisition rule number of each preset point and the preset point number of each acquisition equipment, and sends the information body address containing the data address character string and the data acquired by the acquisition equipment to the remote control system. When the front-end control system sets the information body address, the front-end control system weights the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the acquired data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier to obtain a data address character string, then sends the information body address containing the data address character string to a remote control system, and expands the use range of the data address character string in a weighting mode, so that the use range of the information body address is expanded, and all identification information of the acquisition equipment can be completely represented by the information body address as far as possible.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor including a CPU, an NP (Network Processor), and the like; but also a DSP (Digital Signal Processor), an ASIC (application specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
Data transmission can be performed between the memory 802 and the processor 801 and between the memory 902 and the processor 901 through wired connection or wireless connection, and communication can be performed between the remote control system and the front-end control system and other devices through wired communication interfaces or wireless communication interfaces. Fig. 8 and 9 are only examples of data transmission via a bus, and are not limited to specific connection methods.
In another embodiment provided by the present invention, a machine-readable storage medium is further provided, where instructions are stored in the machine-readable storage medium, and when the instructions are executed on a front-end control system, the instructions cause the front-end control system to execute the information transmission method applied to the front-end control system provided by the embodiment of the present invention.
In another embodiment provided by the present invention, a machine-readable storage medium is further provided, where instructions are stored in the machine-readable storage medium, and when the instructions are executed on a remote control system, the instructions cause the remote control system to execute the information transmission method applied to the remote control system provided by the embodiment of the present invention.
In another embodiment provided by the present invention, a computer program product containing instructions is further provided, which, when running on a front-end control system, causes the front-end control system to execute the information transmission method applied to the front-end control system provided by the embodiment of the present invention.
In another embodiment provided by the present invention, a computer program product containing instructions is further provided, which when run on a remote control system, causes the remote control system to execute the information transmission method applied to the remote control system provided by the embodiment of the present invention.
The embodiment of the present invention further provides a monitoring system, as shown in fig. 10, the monitoring system includes a remote control system 1001, a front-end control system 1002, and a plurality of acquisition devices 1003;
the acquisition device 1003 is used for acquiring data and sending the acquired data and the acquisition device identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to the front-end control system 1002;
the front-end control system 1002 is configured to obtain data acquired by the acquisition device 1003, and an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data; according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to obtain a data address character string, wherein the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition equipment; sending the body address containing the data address string and the data to the remote control system 1001;
a remote control system 1001 for acquiring an address and data of an information body transmitted by the front-end control system 1002; and reading the data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
Optionally, the remote control system 1001 may further be configured to obtain a control type of the control target, an identification of the acquisition device, and an identification of the preset point; based on the control type, carrying out weighted operation on the acquisition equipment identification and the preset point identification according to a fourth weight coefficient corresponding to a preset acquisition equipment identification and a fifth weight coefficient corresponding to the preset point identification to obtain a control address character string, wherein the fourth weight coefficient is related to the maximum number of preset points of each acquisition equipment, and the control address character string is used for representing the control type, the acquisition equipment identification and the preset point identification of a control target to be controlled; sending the control address string to the front end control system 1002;
the front-end control system 1002 is further configured to obtain a control address character string sent by the remote control system 1001; calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain the control type, the acquisition equipment identifier and the preset point identifier of the control target; and controlling the data acquired by the acquisition equipment with the acquisition equipment identification at the preset point corresponding to the preset point identification according to the control type.
For the embodiments of the apparatus, the remote control system, the front-end control system, the machine-readable storage medium, the computer program product and the monitoring system, since the contents of the related methods are substantially similar to those of the foregoing method embodiments, the description is relatively simple, and the related points can be referred to the partial description of the method embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device, the remote control system, the front-end control system, the machine-readable storage medium, the computer program product and the monitoring system embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and in relation to the description, reference may be made to the part of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (18)

1. An information transmission method is applied to a front-end control system, and the method comprises the following steps:
acquiring data acquired by acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data;
according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to obtain a data address character string, wherein the second weight coefficient is related to the number of the most acquisition rules of each preset point, and the first weight coefficient is related to the number of the most acquisition rules of each preset point and the number of the most preset points of each acquisition equipment;
and sending the information body address containing the data address character string and the data acquired by the acquisition equipment to a remote control system.
2. Method according to claim 1, characterized in that the first weighting factor is the product of the maximum number of acquisition rules per preset point and the maximum number of preset points per acquisition device, the second weighting factor is the maximum number of acquisition rules per preset point and the third weighting factor is 1.
3. The method of claim 1, further comprising:
acquiring a control address character string sent by the remote control system, wherein the control address character string is obtained by weighting the acquisition equipment identifier and the preset point identifier of a control target according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to the preset point identifier based on the control type of the control target by the remote control system, and the fourth weight coefficient is related to the maximum number of preset points of each acquisition equipment;
calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain a control type of a control target, an acquisition equipment identifier and a preset point identifier;
and controlling the data acquired by the acquisition equipment with the acquisition equipment identification at the preset point corresponding to the preset point identification according to the control type.
4. The method of claim 3, wherein the control address string is included in the body address; the data address character string occupies a front preset bit of the information body address, and the control address character string occupies a rear preset bit of the information body address.
5. The method of claim 3, wherein the fourth weight factor is a maximum number of preset points per acquisition device, and wherein the fifth weight factor is 1.
6. The method according to claim 3, wherein the calculating the control address character string according to the fourth weight coefficient and the fifth weight coefficient to obtain a control type, a collection device identifier, and a preset point identifier of a control target includes:
obtaining the control address character string expressed by decimal system;
determining the control type of a control target according to the numerical range to which the control address character string belongs and the corresponding relation between the preset numerical range and the control type;
calculating a difference value between the control address character string and the minimum value of the numerical range, dividing the difference value by the fourth weight coefficient to obtain a first result, and rounding the first result downwards to obtain the acquisition equipment identifier of the control target;
calculating a second result obtained by multiplying the acquisition equipment identifier by the fourth weight coefficient, and subtracting the control address character string from the second result to obtain a third result; and dividing the third result by the fifth weight coefficient to obtain the preset point identifier of the control target.
7. An information transmission method is applied to a remote control system, and the method comprises the following steps:
acquiring an information body address containing a data address character string sent by a front-end control system and data acquired by acquisition equipment, wherein the data address character string is obtained by weighting acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data by the front-end control system according to a first weight coefficient corresponding to a preset acquisition equipment identification, a second weight coefficient corresponding to the preset point identification and a third weight coefficient corresponding to the acquisition rule identification; the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device;
and reading the data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
8. The method according to claim 7, wherein the first weight factor is the product of the maximum number of acquisition rules per preset point and the maximum number of preset points per acquisition device; the second weight coefficient is the number of the acquisition rules with the maximum number of each preset point; the third weight coefficient is 1.
9. The method according to claim 7, wherein the operating the data address character string according to the first weight coefficient, the second weight coefficient, and the third weight coefficient to obtain an acquisition device identifier, a preset point identifier, and an acquisition rule identifier corresponding to the data includes:
obtaining the data address character string expressed by decimal system;
calculating a fourth result obtained by dividing the data address character string by the first weight coefficient, and rounding the fourth result downwards to obtain an acquisition equipment identifier corresponding to the data;
calculating a fifth result obtained by multiplying the acquisition equipment identifier corresponding to the data by the first weight coefficient, and subtracting the data address character string from the fifth result to obtain a sixth result; calculating a seventh result obtained by dividing the sixth result by the second weight coefficient, and rounding the seventh result downwards to obtain a preset point identifier corresponding to the data;
calculating an eighth result obtained by multiplying the preset point identifier corresponding to the data by the second weight coefficient, and subtracting the sixth result from the eighth result to obtain a ninth result; and dividing the ninth result by the third weight coefficient to obtain an acquisition rule identifier corresponding to the data.
10. The method of claim 7, further comprising:
acquiring a control type, an acquisition equipment identifier and a preset point identifier of a control target;
based on the control type, carrying out weighted operation on the acquisition equipment identification and the preset point identification according to a fourth weight coefficient corresponding to a preset acquisition equipment identification and a fifth weight coefficient corresponding to the preset point identification to obtain a control address character string, wherein the fourth weight coefficient is related to the maximum number of preset points of each acquisition equipment, and the control address character string is used for representing the control type, the acquisition equipment identification and the preset point identification of a control target to be controlled;
and sending the control address character string to the front-end control system.
11. The method of claim 10, wherein the control address string is included in the body address; the data address character string occupies a front preset bit of the information body address, and the control address character string occupies a rear preset bit of the information body address.
12. The method of claim 10, wherein the fourth weight factor is a maximum number of preset points per acquisition device, and wherein the fifth weight factor is 1.
13. The method according to claim 10, wherein the performing, based on the control type, a weighting operation on the acquisition device identifier and the preset point identifier according to a fourth weight coefficient corresponding to a preset acquisition device identifier and a fifth weight coefficient corresponding to a preset point identifier to obtain a control address character string includes:
determining the numerical range to which the control address character string belongs according to the control type and the corresponding relation between the preset numerical range and the control type;
according to a fourth weight coefficient corresponding to a preset acquisition equipment identifier and a fifth weight coefficient corresponding to a preset point identifier, carrying out weighting operation on the acquisition equipment identifier and the preset point identifier to obtain a weighting result;
and adding the minimum value of the numerical range and the weighting result to obtain a control address character string.
14. An information transmission apparatus, applied to a front-end control system, the apparatus comprising:
the acquisition module is used for acquiring data acquired by acquisition equipment, and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data;
the operation module is used for carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to the preset point identifier and a third weight coefficient corresponding to the acquisition rule identifier to obtain a data address character string, wherein the second weight coefficient is related to the maximum acquisition rule number of each preset point, and the first weight coefficient is related to the maximum acquisition rule number of each preset point and the maximum preset point number of each acquisition equipment;
and the sending module is used for sending the information body address containing the data address character string and the data collected by the collecting equipment to a remote control system.
15. An information transmission apparatus, applied to a remote control system, the apparatus comprising:
the acquisition module is used for acquiring an information body address containing a data address character string sent by a front-end control system and data acquired by acquisition equipment, wherein the data address character string is obtained by weighting acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data by the front-end control system according to a first weight coefficient corresponding to a preset acquisition equipment identification, a second weight coefficient corresponding to the preset point identification and a third weight coefficient corresponding to the acquisition rule identification; the second weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point, and the first weight coefficient is related to the number of the acquisition rules with the maximum number of each preset point and the number of the preset points with the maximum number of each acquisition device;
and the operation module is used for reading the data address character string from the information body address and operating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
16. A front end control system comprising a processor and a memory, wherein the memory stores machine executable instructions executable by the processor, the machine executable instructions being loaded and executed by the processor to implement the method of any one of claims 1 to 6.
17. A remote control system comprising a processor and a memory, wherein the memory stores machine executable instructions executable by the processor, the machine executable instructions being loaded and executed by the processor to implement the method of any one of claims 7 to 13.
18. A monitoring system is characterized by comprising a remote control system, a front-end control system and a plurality of acquisition devices;
the acquisition equipment is used for acquiring data and sending the acquired data and acquisition equipment identification, preset point identification and acquisition rule identification corresponding to the data to the front-end control system;
the front-end control system is used for acquiring the data acquired by the acquisition equipment, and an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data; according to a first weight coefficient corresponding to a preset acquisition equipment identifier, a second weight coefficient corresponding to a preset point identifier and a third weight coefficient corresponding to an acquisition rule identifier, carrying out weighting operation on the acquisition equipment identifier, the preset point identifier and the acquisition rule identifier corresponding to the data to obtain a data address character string, wherein the second weight coefficient is related to the number of the most acquisition rules of each preset point, and the first weight coefficient is related to the number of the most acquisition rules of each preset point and the number of the most preset points of each acquisition equipment; sending the information body address containing the data address character string and the data to the remote control system;
the remote control system is used for acquiring the address and the data of the information body sent by the front-end control system; and reading the data address character string from the information body address, and calculating the data address character string according to the first weight coefficient, the second weight coefficient and the third weight coefficient to obtain an acquisition equipment identifier, a preset point identifier and an acquisition rule identifier corresponding to the data.
CN202010270397.1A 2020-04-08 2020-04-08 Information transmission method, device and system Active CN111464785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010270397.1A CN111464785B (en) 2020-04-08 2020-04-08 Information transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010270397.1A CN111464785B (en) 2020-04-08 2020-04-08 Information transmission method, device and system

Publications (2)

Publication Number Publication Date
CN111464785A true CN111464785A (en) 2020-07-28
CN111464785B CN111464785B (en) 2021-05-14

Family

ID=71681222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010270397.1A Active CN111464785B (en) 2020-04-08 2020-04-08 Information transmission method, device and system

Country Status (1)

Country Link
CN (1) CN111464785B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804477A (en) * 2021-03-29 2021-05-14 浙江华创视讯科技有限公司 Method and device for determining image parameters of preset points, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080773A (en) * 2010-07-08 2013-05-01 Sk电信有限公司 Method and device for estimating AP position using a map of a wireless LAN radio environment
JP2013168886A (en) * 2012-02-16 2013-08-29 Kddi Corp System and method for automatically imaging subject to be moved with portable terminal
CN104484905A (en) * 2014-12-23 2015-04-01 北海激活商贸有限责任公司 Fingerprintattendance checking system
US20190110112A1 (en) * 2017-10-06 2019-04-11 Six Star Services LLC Video streaming system with participant tracking and highlight selection
CN110264658A (en) * 2019-07-16 2019-09-20 湖北烽火平安智能消防科技有限公司 A kind of fire early-warning system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103080773A (en) * 2010-07-08 2013-05-01 Sk电信有限公司 Method and device for estimating AP position using a map of a wireless LAN radio environment
JP2013168886A (en) * 2012-02-16 2013-08-29 Kddi Corp System and method for automatically imaging subject to be moved with portable terminal
CN104484905A (en) * 2014-12-23 2015-04-01 北海激活商贸有限责任公司 Fingerprintattendance checking system
US20190110112A1 (en) * 2017-10-06 2019-04-11 Six Star Services LLC Video streaming system with participant tracking and highlight selection
CN110264658A (en) * 2019-07-16 2019-09-20 湖北烽火平安智能消防科技有限公司 A kind of fire early-warning system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804477A (en) * 2021-03-29 2021-05-14 浙江华创视讯科技有限公司 Method and device for determining image parameters of preset points, electronic equipment and storage medium
CN112804477B (en) * 2021-03-29 2021-07-09 浙江华创视讯科技有限公司 Method and device for determining image parameters of preset points, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111464785B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN111835842B (en) Gateway resource updating method and device and Internet of things control platform
CN108924221B (en) Method and device for allocating resources
EP3940306A1 (en) Air-conditioning control system and air-conditioning control method
CN111464785B (en) Information transmission method, device and system
US20060089727A1 (en) System, method and program product for house automation
CN113268403B (en) Time series analysis and prediction method, device, equipment and storage medium
CN110249642B (en) Method and device for operating instance resource
CN110753305B (en) Indoor inspection method and related device
CN110677683B (en) Video storage and video access method and distributed storage and video access system
CN110543509B (en) Monitoring system, method and device for user access data and electronic equipment
CN116566696B (en) Security assessment system and method based on cloud computing
JP2014078134A (en) Sensor information high-speed data processing system and sensor information high-speed processing/display system
JP6925889B2 (en) Relay device, transmission processing program
CN113672807B (en) Recommendation method, recommendation device, recommendation medium, recommendation device and computing equipment
CN115904719A (en) Data acquisition method and device, electronic equipment and storage medium
CN115049267A (en) Wind turbine generator data processing method, system, equipment and computer medium
CN107656967A (en) A kind of scene information processing method and processing device
JP5967322B1 (en) Information processing apparatus and information processing method
US9686168B1 (en) Managing component capacity
KR102000199B1 (en) Method and Server Apparatus for Providing Internet of Things Platform Service
CN111556087B (en) Data transmission method, device, equipment and readable storage medium
CN113762292A (en) Training data acquisition method and device and model training method and device
JP6554011B2 (en) Timeout time setting device and timeout time setting method
JP7102952B2 (en) Data relay device and program
CN111008611A (en) Queuing time determining method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant