CN112153274B - Transmission signal processing method, device, system and storage medium - Google Patents

Transmission signal processing method, device, system and storage medium Download PDF

Info

Publication number
CN112153274B
CN112153274B CN201910580559.9A CN201910580559A CN112153274B CN 112153274 B CN112153274 B CN 112153274B CN 201910580559 A CN201910580559 A CN 201910580559A CN 112153274 B CN112153274 B CN 112153274B
Authority
CN
China
Prior art keywords
target data
data signal
state
camera
sender
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910580559.9A
Other languages
Chinese (zh)
Other versions
CN112153274A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201910580559.9A priority Critical patent/CN112153274B/en
Publication of CN112153274A publication Critical patent/CN112153274A/en
Application granted granted Critical
Publication of CN112153274B publication Critical patent/CN112153274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stroboscope Apparatuses (AREA)
  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a transmission signal processing method, a device, a system and a storage medium. The method is performed by a controller and comprises the following steps: determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal; determining a receiving state or a decoding state of the target data signal according to a sender of the target data signal; and processing the target data signal based on the receiving state or the decoding state of the target data signal. The target data signal receiving state or the target data signal decoding state is determined by judging the sender of the target data signal, so that the target data signal is subjected to targeted processing according to the difference of the senders, and the transmitted target data signal is selectively received or analyzed, so that the bidirectional communication between a camera and a flashing light is realized without adding a signal transmission line.

Description

Transmission signal processing method, device, system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of bayonet monitoring, in particular to a transmission signal processing method, device and system and a storage medium.
Background
The road vehicle intelligent detection recording system (for short, a bayonet) can realize automatic acquisition and processing of road vehicle information, and the road vehicle intelligent detection recording system relates to detection of a target object by an intelligent camera and a light supplement process of an explosion flash lamp (usually, a gas explosion flash lamp or an LED explosion flash lamp). In this in-process, the condition of intelligent camera detection passing vehicle to send trigger pulse (be switching value or level volume usually) to the flashing light that explodes through the trigger signal line, thereby the flashing light that explodes is triggered and explodes the sudden strain of a muscle, realizes the environment light filling.
But in current bayonet socket system and the application of exploding the flashing light, the bayonet socket system can't carry out good information intercommunication with exploding between the flashing light, and the bayonet socket system can only give trigger command in order to trigger to explode the flashing light, but can't carry out other communication processes to it can't give the bayonet socket with the information feedback of self to explode the flashing light. In addition, when communication is performed according to the current communication protocol, hardware devices such as specific communication signal lines need to be added between the bayonet system and the flashing light, so that the complexity and cost of hardware are increased, and the unification of transmission line settings between all bayonet systems and the flashing light cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a transmission signal processing method, a transmission signal processing device, a controller and a storage medium, which are used for realizing the bidirectional communication between a camera and a flashing light without increasing a signal transmission line.
In a first aspect, an embodiment of the present invention provides a transmission signal processing method, which is executed by a controller, and includes:
determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
determining a reception state or a decoding state of the target data signal according to a sender of the target data signal;
and processing the target data signal based on the receiving state or the decoding state of the target data signal.
In a second aspect, an embodiment of the present invention provides a signal processing apparatus, including:
the receiving module is used for determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
the state determining module is used for determining the receiving state or the decoding state of the target data signal according to the sender of the target data signal;
and the processing module is used for processing the target data signal based on the receiving state or the decoding state of the target data signal.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus is a camera or a flash lamp, and the apparatus includes a controller, where the controller includes:
one or more processing units;
a storage unit for storing one or more programs;
when the one or more programs are executed by the one or more processing units, the one or more processing units are caused to implement the transmission signal processing method according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processing unit, implements the transmission signal processing method according to any one of the embodiments of the present invention.
In the embodiment of the invention, the target data signals sent by different senders are processed differently in a targeted manner by determining the sender of the target data signals transmitted by the camera or the flashing light and judging the sender of the target data signals according to the judgment result, the receiving state or the decoding state of the target data signals is determined, the receiving state and the decoding state of the target data signals are given, and the target data signals are processed, so that the bidirectional transmission of the signals between the camera and the flashing light is realized, the bidirectional communication process is realized, the information can be transmitted and fed back more comprehensively, the interaction and information transmission modes of the camera and the flashing light are enriched, the state of the flashing light can be known more comprehensively by the camera, and the flashing light can be controlled or configured in multiple aspects.
Drawings
Fig. 1 is a flowchart of a transmission signal processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic view of a camera and a strobe light according to a first embodiment of the present invention;
FIG. 3 is a circuit diagram of a camera and a strobe signal transmission circuit according to an embodiment of the invention;
fig. 4 is a flowchart of a transmission signal processing method according to a second embodiment of the present invention;
fig. 5 is a flowchart of a transmission signal processing method according to a third embodiment of the present invention;
FIG. 6 is a diagram illustrating target digital signal encoding according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a signal processing apparatus according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a controller according to a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a transmission signal processing method according to a first embodiment of the present invention. The transmission signal processing method provided by the embodiment can be applied to the situation of processing the signals transmitted in two directions between the camera and the flashing light. The method may be specifically executed by a signal processing device, the device may be implemented by software and/or hardware, the device may be integrated in a controller, the controller may be connected to a camera and/or a flash lamp, the camera may be a camera or a video camera, referring to fig. 1, and the method of the embodiment of the present invention specifically includes:
s110, determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal.
The target data signal is sent from the camera to the flash lamp or sent from the flash lamp to the camera, optionally, if the target data signal is sent from the camera to the flash lamp, the target data signal is used for controlling or configuring the flash lamp, and if the target data signal is sent from the flash lamp to the camera, the target data signal is used for feeding back a control instruction or a configuration instruction sent by the camera, so that the camera knows the state parameter information of the flash lamp at present. The target data signal may be transmitted through at least one signal line of any type, for example, as shown in fig. 2, a camera receiving end and a flash lamp output end are added in a current bayonet system, and the target data signal may be transmitted through a signal line connecting the camera and the flash lamp in the current bayonet system without adding an additional signal line, thereby reducing hardware cost and complexity.
Alternatively, the transmission timing of the target data signal may be set by a technician according to actual conditions. For example, the camera may actively send the target data signal to the flash lamp, or the flash lamp may actively send the target data signal to the camera, or the camera may first send the target data signal to the flash lamp to control or configure the flash lamp, and then the flash lamp sends the target data signal to the camera to feed back the control instruction or the configuration instruction of the camera.
Optionally, the target data signal is a digital coded signal, where the digital coded signal includes at least one bit of data bit, and may include, for example, a flag bit, a data bit, and a parity bit, and may also be provided with other coded bits, which is not specifically limited in the embodiment of the present invention. The start bit is used to verify the target data signal to prevent the target data signal from being transmitted incorrectly, for example, the start bit may be set to 4 bits, the standard data bit may be set to 0101, and if the start bit of the received target data signal matches the standard data bit, the start bit may be verified to pass. The parity bit is used to verify whether the number of "1" s in the target data signal is odd or even. For example, when the number of the digital signals "1" in the check bits and the data bits is odd, the parity bit should be "0", and when the number of the digital signals "1" in the check bits and the data bits is even, the parity bit should be "1", so as to ensure that the number of the data signals "1" in the digital coding is odd. Similarly, when the number of the digital signals "1" in the check bits and the data bits is odd, the parity bits should be "1", and when the number of the digital signals "1" in the check bits and the data bits is even, the parity bits should be "0", so as to ensure that the number of the data signals "1" in the digital code is even. The data bits are used for analyzing and obtaining the response instruction information or the feedback information. In the embodiment of the present invention, the number of bits of the target data signal is not limited, and may be set by a technician according to an actual situation.
Optionally, the coding length of the target data signal is determined according to the effective trigger time interval of the flashing light. Specifically, if the target data signal is a signal sent to the flash lamp by the camera, the camera sends a trigger pulse to trigger the flash lamp to flash to realize light supplement before sending the target data signal to the flash lamp, and due to the application condition of the flash lamp, the two flash flashes cannot be continuous, that is, the time interval for receiving the trigger pulse needs to be greater than the effective trigger time interval of the flash lamp to meet the power return requirement of the energy storage capacitor of the flash lamp, so that the sum of the transmission time of the target data signal sent to the flash lamp by the camera and the analysis time of the flash lamp on the target data signal, or the sum of the transmission time of the target data signal sent to the flash lamp by the camera and the analysis time of the flash lamp on the target data signal and the transmission time of the flash lamp feeding the target data signal back to the camera are less than the effective trigger time interval to ensure the complete transmission of the target data signal, and normal transmission of trigger pulses.
Specifically, the controller determines the sender of the target data signal transmitted by the camera or the strobe light so as to realize different processing of the target data signal in a targeted manner.
And S120, determining the receiving state or the decoding state of the target data signal according to the sender of the target data signal.
Wherein the sender comprises a camera or a flashing light. The receiving state includes a normal receiving state or a rejecting state. The decoding state includes a normal decoding state or a non-decoding state.
Specifically, in order to realize the signal transmission in the half-duplex form between the camera and the strobe, the sender of the received target data signal needs to be determined, so as to perform different forms of targeted processing on the target data signal according to different senders. In addition, as shown in fig. 3, since the signal transmission lines are connected, when the output end 4 in the camera sends out the target data signal, the receiving end 1 in the flash lamp and the receiving end 3 in the camera both receive the target data signal, and at this time, the receiving end 4 in the camera is not required to process the target data signal, and similarly, when the output end 2 in the flash lamp sends out the target data signal, the receiving end 1 in the flash lamp and the receiving end 3 in the camera both receive the target data signal, and at this time, the receiving end 3 in the flash lamp is not required to process the target data signal. In the embodiment of the invention, the sender of the target data signal is judged firstly, and then the receiving state or the decoding state of the target data signal is determined according to the sender of the target data signal.
Optionally, the determining, by the controller located in the camera, a receiving status or a decoding status of the target data signal according to the sender of the target data signal includes: if the sender of the target data signal is a flashing light, the decoding state is a normal decoding state or the receiving state is a normal receiving state; and if the sender of the target data signal is a camera, the decoding state is a non-decoding state or the receiving state is a rejecting state.
Optionally, if the controller is located in the flashing light, determining a receiving state or a decoding state of the target signal according to the sender of the target data signal includes: if the sender of the target data is a camera, the decoding state is a normal decoding state or the receiving state is a normal receiving state; and if the sender of the target data is the flashing light, the decoding state is the non-decoding state or the receiving state is the rejecting state.
Specifically, if the controller in the camera determines that the sender is a flashing light according to the target data signal, the controller should normally receive the target data signal or normally decode the target data signal, so that the decoding state is set to a normal decoding state, or the receiving state is set to a normal receiving state; if the sender is judged to be the camera according to the target data signal, the target data signal should be refused to be received or not processed, and the decoding operation is not carried out, so that the decoding state is set to be a non-decoding state or the receiving state is set to be a refusing state. For the controller in the flashing light, if the sender is judged to be the camera according to the target data signal, the target data signal is normally received or normally decoded, so that the decoding state is set to be the normal decoding state, or the receiving state is set to be the normal receiving state; if the sender is judged to be the flashing light according to the target data signal, the target data signal is refused to be received or not processed, and the decoding operation is not carried out, so that the decoding state is set to be a non-decoding state or the receiving state is set to be a refusing state.
It should be noted that the above-mentioned scheme in the embodiment of the present invention is also applicable to the case when the controller is connected to the camera and the flashing light at the same time, and the method for determining the recipient of the target data signal and the method for processing the target signal are the same as those described above, and are described in detail in the above-mentioned scheme.
And S130, processing the target data signal based on the receiving state or the decoding state of the target data signal.
Specifically, the controller may determine whether to receive or decode the target data signal according to a reception state or a decoding state of the target data signal. Wherein the receiving of the target data signal may be performed in accordance with an input of the control I/O. And if the decoding state is a normal decoding state, performing decoding operation on the target data signal according to a decoding rule, and if the decoding state is a non-decoding state, not decoding the target data signal. And if the receiving state is a normal receiving state, controlling the I/O port to normally receive the target data signal and normally perform subsequent operation on the target data signal, and if the receiving state is a rejection state, controlling the I/O port not to receive the target data signal.
According to the technical scheme of the embodiment of the invention, a sender of a target data signal transmitted by a camera or a flashing light is determined; determining a receiving state or a decoding state of the target data signal according to a sender of the target data signal; and processing the target data signal based on the receiving state or the decoding state of the target data signal. The target data signal receiving state or the target data signal decoding state is determined by judging the sender of the target data signal, the target data signal is processed in a targeted mode according to the difference of the sender, the signal bidirectional transmission between the camera and the flashing light can be achieved, the transmitted target data signal is selectively received or analyzed, the bidirectional communication between the camera and the flashing light is achieved under the condition that a signal transmission line is not needed to be added, information can be transmitted and fed back more comprehensively, the interaction and information transmission modes of the camera and the flashing light are enriched, the state of the flashing light can be known more comprehensively by the camera, and the flashing light can be controlled or configured in multiple aspects.
Example two
Fig. 4 is a flowchart of a transmission signal processing method according to a second embodiment of the present invention. The present embodiment is optimized based on the above embodiments, and details not described in detail in the present embodiment are described in the above embodiments. Referring to fig. 4, the transmission signal processing method provided in this embodiment may include:
s210, determining that a transmitted target data signal exists currently, wherein the target data signal is a digital coding signal.
S220, if the controller is positioned in the camera, judging whether the current zone bit is the first zone bit, if so, executing S250, and if not, executing S230-S240.
Wherein the first flag bit is a flag bit of the controller when the camera transmits the target data signal.
Specifically, the first flag bit may be set by a technician according to actual situations, for example, set to "0" or "1". The controller sets a flag bit and a corresponding relationship between a transmission state and a reception state of the current target data signal corresponding to the flag bit in advance, for example, when the flag bit of the controller is "1", the flag bit is in a state where the camera transmits the target data signal, and when the flag bit is "0", the flag bit is in a state where the camera does not transmit the target data signal, and the first flag bit should be set to "1". When the flag bit of the current controller is detected to be the first flag bit, namely '1', the target data signal is sent by the current camera. Similarly, the status of the camera transmitting the target data signal may be set when the flag bit is "0", and the status of the camera not transmitting the target data signal may be set when the flag bit is "1", and the first flag bit should be set to "0". When the flag bit of the current controller is detected to be the first flag bit, namely '0', the target data signal is sent by the current camera.
And S230, determining that the sender of the target data signal is a flashing light, and the decoding state is a normal decoding state or the receiving state is a normal receiving state.
When the flag bit is judged not to be the first flag bit, the current target data signal is not sent by the camera and is sent by the flashing light, so that the decoding state is set to be a normal decoding state or the receiving state is set to be a normal receiving state.
S240, decoding the target data signal according to the mapping relation between the data bits in the digital coding signal in the signal decoding rule of the camera and the camera instruction information to determine the target instruction information sent by the camera.
TABLE 1
Figure BDA0002112961380000101
Specifically, as shown in table 1, a signal decoding rule of the camera is preset, and a mapping relationship between a data bit code in the digital code and the camera instruction information is determined, so as to determine the target instruction information sent by the camera corresponding to the currently received target data code.
And S250, determining that the sender of the target data signal is a camera, and the decoding state is a non-decoding state or the receiving state is a rejection state.
When the current flag bit is judged to be the first flag bit, it indicates that the current controller is sending the target data signal, that is, the camera is sending the target data signal, and at this time, the camera end does not need to receive the target data signal sent by itself, or does not need to decode after receiving the target data signal, so that the decoding state is a non-decoding state or the receiving state is a rejection state.
According to the technical scheme of the embodiment of the invention, the sender of the target data signal is determined through the zone bit positioned in the controller of the flash explosion lamp, so that the received target data signal is decoded in different forms in a targeted manner according to the decoding rule corresponding to the sender, the target data signal in the bidirectional communication between the camera and the flash explosion lamp is processed and decoded, the bidirectional communication between the camera and the flash explosion lamp is realized under the condition that an additional signal transmission line is not required to be added, the information can be more comprehensively transmitted and fed back, the interaction and information transmission modes of the camera and the flash explosion lamp are enriched, the state of the flash explosion lamp can be more comprehensively known by the camera, and the flash explosion lamp is controlled or configured in multiple aspects.
EXAMPLE III
Fig. 5 is a flowchart of a transmission signal processing method according to a second embodiment of the present invention. The present embodiment is optimized based on the above embodiments, and details not described in detail in the present embodiment are described in the above embodiments. Referring to fig. 5, the transmission signal processing method provided in this embodiment may include:
s310, determining that a transmitted target data signal exists currently, wherein the target data signal is a digital coding signal.
And S320, if the controller is positioned in the flashing light, judging whether the current zone bit is the second zone bit, if so, executing S350, and if not, executing S330-S340.
And the second zone bit is a zone bit of the controller when the flashing lamp sends the target data signal.
Specifically, the second flag bit may be set by a technician according to actual situations, for example, set to "0" or "1". The controller sets a flag bit and a corresponding relationship between a sending state and a receiving state of a current target data signal corresponding to the flag bit in advance, for example, when the flag bit of the controller is "1", the controller is in a state of sending the target data signal for the flashing light, when the flag bit is "0", the controller is in a state of not sending the target data signal for the flashing light, and the second flag bit is set to be "1". When the flag bit of the current controller is detected to be the second flag bit, namely '1', the current flashing light is indicating to send the target data signal. Similarly, it may be set that when the flag bit is "0", the target data signal is sent to the flashing light, and when the flag bit is "1", the target data signal is not sent to the flashing light, and at this time, the first flag bit should be set to "0". When the flag bit of the current controller is detected to be the second flag bit, namely 0, the target data signal is sent by the current flashing light.
S330, determining that the sender of the target data signal is a camera, and the decoding state is a normal decoding state or the receiving state is a normal receiving state.
When the flag bit is judged not to be the second flag bit, the current target data signal is not sent by the flashing light and is sent by the camera, so that the decoding state is set to be the normal decoding state or the receiving state is set to be the normal receiving state.
S340, decoding the target data signal according to the mapping relation between the data bits in the digital coding signal in the signal decoding rule of the flashing light and the flashing light feedback information to determine the target feedback information fed back by the flashing light.
TABLE 2
Data bit encoding Target feedback instruction for flashing light
0000001 Low brightness level setting success
0000010 Less than 150V
0000011 Device on-line normal
0000100 Flash for 50 ten thousand times
……
Specifically, as shown in table 2, a signal decoding rule of the flashing light is preset, and a mapping relationship between a data bit code in the digital code and flashing light feedback information is determined, so that target feedback information fed back by the flashing light corresponding to a currently received target data code is determined.
S350, determining that the sender of the target data signal is an explosion flash lamp, and the decoding state is a non-decoding state or the receiving state is a rejection state.
When the current zone bit is judged to be the first zone bit, the current controller is indicating to be sending the target data signal, that is, the flashing lamp is sending the target data signal, and at this time, the flashing lamp does not need to receive the target data signal sent by the flashing lamp or does not need to decode after receiving the target data signal, so that the decoding state is a non-decoding state or the receiving state is a rejection state.
According to the technical scheme of the embodiment of the invention, the sender of the target data signal is determined according to the zone bit of the controller positioned in the flashing light, so that the received target data signal is decoded in different forms in a targeted manner according to the decoding rule corresponding to the sender, the target data signal in the bidirectional communication between the camera and the flashing light is processed and decoded, the bidirectional communication between the camera and the flashing light is realized under the condition that an additional signal transmission line is not required to be added, the information can be more comprehensively transmitted and fed back, the interaction and information transmission modes of the camera and the flashing light are enriched, the state of the flashing light can be more comprehensively known by the camera, and the flashing light is controlled or configured in multiple aspects.
Example four
In the fourth embodiment of the present invention, a detailed description is given of a specific flow of signal processing in the case of processing a signal transmitted in two directions between a camera and a flash lamp, details which are not described in detail in the fourth embodiment are described in the above embodiments, and a technical solution in the fourth embodiment of the present invention is executed by a controller connected to the camera and/or the flash lamp.
(1) The camera sends a trigger pulse and a target data signal.
In the bayonet system, when a camera detects that a vehicle passes through, a trigger pulse is sent to a flashing light through a trigger output end in the camera to trigger the flashing light to flash to realize light supplement, and a target data signal is sent out through a trigger pulse index. And after the trigger output end in the camera finishes sending the target data signal, controlling a receiving end in the camera to be in a state of receiving the target data signal and in a state of decoding the target data signal. In the embodiment of the present invention, the effective triggering time interval of the flashing light is set to be 60ms, the target data signal is a 12-bit encoded signal, which includes 4 as a start bit, 7 as a data bit, and 1 as a parity bit, as shown in fig. 6, 7-bit data can represent 128 instructions. In the case where the 1-bit encoding has a transmission time of 2ms, the transmission time of the target data signal is 24 ms. The target data signal fed back by the flashing light is 12, the transmission time is 24ms, so the transmission time of the target data signal is 48ms, the analysis time of the target data signal is less than 12ms, and the total time required for processing the target data signal is less than 60 ms.
(2) The strobe light receives the trigger pulse and the target data signal and decodes the target data signal.
And after the flashing lamp receives the trigger pulse, flashing is carried out, a target data signal is received, and the target data signal is decoded by the controller. Before decoding, checking the start bit in the target data signal; if the check of the initial bit in the target data signal passes, checking the parity check bit in the target data signal; if the parity check bits in the target data signal pass the check, the data bits in the target data signal are decoded. If the check on the start bit and the parity bit is not passed, the decoding procedure is exited. And the flashing light determines target instruction information corresponding to the data bit in the target digital signal according to the mapping relation between the data bit code in the digital code and the camera instruction information. For example, if the data bit in the received target data signal is "0000001", the target command information corresponding to the data bit may be determined as "flash set to low brightness level" according to table 1 in the above embodiment.
(3) And the flashing light generates a feedback target data signal and sends the feedback target data signal to the camera.
The flash lamp generates target feedback information according to the target instruction information, determines a data bit code corresponding to the target feedback information according to a mapping relation between the data bit code in the digital code and the flash lamp feedback information, further generates a feedback target data signal by the start bit, the data bit and the parity bit, and sends the target data signal to the camera. And in the process of sending the target data signal to the camera by the output end in the flashing light, controlling the receiving end in the flashing light to reject the target data signal or not decoding the target data signal after receiving the target data signal. And after the target data signal is sent, controlling a receiving end in the flashing light to be in a state of receiving the target data signal and in a state of decoding the target data signal.
(4) And the camera receives the target data signal fed back by the flashing light and decodes the target data signal.
After the camera receives the target data signal fed back by the flashing light through the receiving end of the camera, the fed back target feedback information corresponding to the fed back target data signal is determined according to the mapping relation between the data bit in the digital coding signal in the signal decoding rule of the flashing light and the flashing light feedback information, and therefore the current state of the flashing light is obtained. For example, if the data bit in the target data signal of the feedback received by the camera is "0000001", it can be determined from table 2 that the target feedback information corresponding to the data bit is "low brightness level setting success".
According to the technical scheme of the embodiment of the invention, the camera sends the trigger pulse and the target data signal to the flash explosion lamp, so that the control and the configuration of the flash explosion lamp of the camera are realized, the target data signal fed back is generated by the flash explosion lamp according to the instruction signal obtained by decoding, and the target data signal is fed back to the camera, so that the bidirectional signal transmission between the camera and the flash explosion lamp is realized under the condition of only one signal wire without adding an additional signal transmission wire, the information transmission form and the information transmission content are enriched, and the state of the flash explosion lamp can be more comprehensively known by the camera.
EXAMPLE five
Fig. 7 is a schematic structural diagram of a signal processing apparatus according to a fifth embodiment of the present invention. The device is suitable for processing signals transmitted in two directions between the camera and the flashing light, can be realized in a software and/or hardware mode, and can be integrated in the controller. Referring to fig. 7, the apparatus specifically includes:
a sender determining module 410, configured to determine a sender of a target data signal transmitted by a camera or a flash lamp, where the target data signal is a digital encoded signal;
a state determining module 420, configured to determine a receiving state or a decoding state of the target data signal according to a sender of the target data signal;
a processing module 430, configured to process the target data signal based on a receiving status or a decoding status of the target data signal.
Optionally, the determining module 410 includes:
and the camera sending determining module is used for determining that the sender of the target data signal is the camera if the controller is positioned in the camera and the current flag bit is the first flag bit, wherein the first flag bit is the flag bit of the controller when the camera sends the target data signal.
Optionally, the determining module 410 further includes:
and the flashing light sending and determining unit is used for determining that the sender of the target data signal is the flashing light if the controller is positioned in the flashing light and the current zone bit is the second zone bit, wherein the second zone bit is the zone bit of the controller when the flashing light sends the target data signal.
Optionally, the processing module 430 includes:
the target feedback information determining unit is used for decoding the target data signal according to the mapping relation between the data bit in the digital coding signal in the signal decoding rule of the flashing light and the flashing light feedback information if the sender of the target data signal is the flashing light so as to determine the target feedback information fed back by the flashing light;
and the target instruction information determining unit is used for decoding the target data signal according to the mapping relation between the data bits in the digital coding signal in the signal decoding rule of the camera and the camera instruction information if the sender of the target data signal is the camera so as to determine the target instruction information sent by the camera.
Optionally, the camera instruction information includes at least one of: setting the brightness of the flashing light, inquiring the voltage condition of a power grid, inquiring the operation monitoring condition of the power grid and inquiring the service life condition of the flashing light; the flashing light feedback information comprises at least one of the following items: brightness setting condition, voltage value, on-grid running state and the residual flash-exploding times of the flash-exploding lamp.
Optionally, if the controller is located in the camera, the state determining module 420 includes:
the first state determining unit is used for determining whether the decoding state is a normal decoding state or the receiving state is a normal receiving state if the sender of the target data signal is an explosion flash lamp;
and the second state determining unit is used for determining that the decoding state is a non-decoding state or the receiving state is a rejection state if the sender of the target data signal is a camera.
Optionally, if the controller is located in a flashing light, the state determination module 420 includes:
a third state determination unit, configured to determine that the decoding state is a normal decoding state or the receiving state is a normal receiving state if the sender of the target data signal is a camera;
and the fourth state determination unit is used for determining that the decoding state is a non-decoding state or the receiving state is a rejection state if the sender of the target data signal is an explosion flash lamp.
Optionally, the digital coding signal includes a flag bit, a data bit and a parity bit, and the coding length of the target data signal is determined according to the effective trigger time interval of the flashing light.
According to the technical scheme of the embodiment of the invention, a receiving module determines a sender of a target data signal transmitted by a camera or an explosion flash lamp; the state determining module determines the receiving state or the decoding state of the target data signal according to the sender of the target data signal; the processing module processes the target data signal based on a receiving state or a decoding state of the target data signal. The target data signal receiving state or the target data signal decoding state is determined by judging the sender of the target data signal, the target data signal is processed in a targeted mode according to the difference of the sender, the signal bidirectional transmission between the camera and the flashing light can be achieved, the transmitted target data signal is selectively received or analyzed, the bidirectional communication between the camera and the flashing light is achieved under the condition that a signal transmission line is not needed to be added, information can be transmitted and fed back more comprehensively, the interaction and information transmission modes of the camera and the flashing light are enriched, the state of the flashing light can be known more comprehensively by the camera, and the flashing light can be controlled or configured in multiple aspects.
EXAMPLE six
Fig. 8 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. The device is a camera or a strobe light and includes a controller 512. FIG. 8 illustrates a block diagram of an exemplary controller 512 suitable for use in implementing embodiments of the present invention. The controller 512 shown in fig. 8 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in fig. 8, the controller 512 includes: one or more processing units 516; the storage unit 528 is configured to store one or more programs, and when the one or more programs are executed by the one or more processing units 516, the one or more processing units 516 implement the transmission signal processing method provided in the embodiment of the present invention, including:
determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
determining a reception state or a decoding state of the target data signal according to a sender of the target data signal;
and processing the target data signal based on the receiving state or the decoding state of the target data signal.
In the form of a universal controller. The components of the controller 512 may include, but are not limited to: one or more processing units or processing units 516, a system memory unit 528, and a bus 518 that couples various system components including the system memory unit 528 and the processing unit 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Controller 512 typically includes a variety of computer system readable storage media. These storage media may be any available storage media that can be accessed by controller 512 and includes both volatile and nonvolatile storage media, removable and non-removable storage media.
System storage unit 528 may include computer system readable storage media in the form of volatile memory units, such as random access memory unit (RAM)530 and/or cache storage unit 532. The controller 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic storage media (not shown in FIG. 8, and commonly referred to as a "hard drive"). Although not shown in FIG. 8, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical storage medium) may be provided. In such cases, each drive may be connected to bus 518 through one or more data storage media interfaces. Storage unit 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 540 having a set (at least one) of program modules 542 may be stored, for example, in storage 528, such program modules 562 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. The program modules 562 generally execute the functions and/or methodologies of the described embodiments of the invention.
The controller 512 may also communicate with one or more external controllers 514 (e.g., keyboard, pointing controller, display 526, etc.), with one or more controllers that enable a user to interact with the controller 512, and/or with any controllers (e.g., network card, modem, etc.) that enable the controller 512 to communicate with one or more other computing controllers. Such communication may occur via input/output (I/O) interfaces 522. Also, the controller 512 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 520. As shown, the network adapter 520 communicates with the other modules of the controller 512 via a bus 518. It should be appreciated that although not shown in FIG. 8, other hardware and/or software modules may be used in conjunction with the controller 512, including but not limited to: microcode, controller drives, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 516 executes various functional applications and data processing by running at least one of other programs in the plurality of programs stored in the system storage unit 528, for example, to implement a transmission signal processing method provided by the embodiment of the present invention, including:
determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
determining a reception state or a decoding state of the target data signal according to a sender of the target data signal;
and processing the target data signal based on the receiving state or the decoding state of the target data signal.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processing unit, are configured to perform a transmission signal processing method:
determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
determining a reception state or a decoding state of the target data signal according to a sender of the target data signal;
and processing the target data signal based on the receiving state or the decoding state of the target data signal.
Computer storage media for embodiments of the present invention can take the form of any combination of one or more computer-readable storage media. The computer readable storage medium may be a computer readable signal storage medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory unit (RAM), a read-only memory unit (ROM), an erasable programmable read-only memory unit (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory unit (CD-ROM), an optical storage unit, a magnetic storage unit, or any suitable combination of the foregoing. In embodiments of the invention, the computer readable storage medium may be any tangible storage medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal storage medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal storage medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable storage medium may be transmitted using any appropriate storage medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or controller. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A transmission signal processing method, performed by a controller, the method comprising:
determining a sender of a target data signal transmitted by a camera or a flashing light, wherein the target data signal is a digital coding signal;
the determining the sender of the target data signal transmitted by the camera or the strobe comprises:
if the controller is located in the camera and the current zone bit is the first zone bit, determining that the sender of the target data signal is the camera;
if the controller is located in the flashing light and the current zone bit is the second zone bit, determining that the sender of the target data signal is the flashing light;
determining a reception state or a decoding state of the target data signal according to a sender of the target data signal;
specifically, if the controller is located in the camera, determining a receiving status or a decoding status of the target data signal according to a sender of the target data signal includes:
if the sender of the target data signal is a flashing light, the decoding state is a normal decoding state or the receiving state is a normal receiving state; if the sender of the target data signal is a camera, the decoding state is a non-decoding state or the receiving state is a rejecting state;
the controller is located in the flashing light, and determines a target signal receiving state or a target signal decoding state according to the sender of the target data signal, and the method comprises the following steps:
if the sender of the target data is a camera, the decoding state is a normal decoding state or the receiving state is a normal receiving state; if the sender of the target data is an explosion flashing light, the decoding state is a non-decoding state or the receiving state is a rejecting state;
processing the target data signal based on a reception state or a decoding state of the target data signal;
the processing the target data signal based on the decoding status of the target data signal includes:
if the sender of the target data signal is the flashing light, decoding the target data signal according to the mapping relation between the data bit in the digital coding signal in the signal decoding rule of the flashing light and the flashing light feedback information so as to determine the target feedback information fed back by the flashing light;
if the sender of the target data signal is a camera, decoding the target data signal according to the mapping relation between the data bits in the digital coding signal in the signal decoding rule of the camera and the camera instruction information to determine the target instruction information sent by the camera;
and if the receiving state is a normal receiving state, controlling an I/O port to normally receive the target data signal and normally perform subsequent operation on the target data signal, and if the receiving state is a rejection state, controlling the I/O port not to receive the target data signal.
2. The method of claim 1, wherein the first flag bit is a flag bit of a controller when a camera transmits the target data signal, wherein the camera comprises a camera receiving end and a camera trigger output end.
3. The method of claim 1, wherein the second flag bit is a flag bit of a controller when the flashing lamp sends the target data signal, and wherein the flashing lamp comprises a flashing lamp output end and a flashing lamp receiving end.
4. The method of claim 1, wherein the camera instruction information comprises at least one of: setting the brightness of the flashing light, inquiring the voltage condition of a power grid, inquiring the operation monitoring condition of the power grid and inquiring the service life condition of the flashing light; the flashing light feedback information comprises at least one of the following items: brightness setting condition, voltage value, on-grid running state and the residual flash-exploding times of the flash-exploding lamp.
5. The method of claim 1, wherein the digitally encoded signal comprises at least one bit of data, and wherein the encoded length of the digitally encoded signal is determined based on an active time interval for triggering the strobe light.
6. A signal processing apparatus, characterized in that the apparatus comprises:
the device comprises a sender determining module, a sending module and a receiving module, wherein the sender determining module is used for determining a sender of a target data signal transmitted by a camera or a flashing light, and the target data signal is a digital coding signal;
the sender determination module includes:
a camera sender determining unit, configured to determine that a sender of the target data signal is a camera if the controller is located in the camera and the current flag is the first flag;
the flash lamp sender determining unit is used for determining that the sender of the target data signal is a flash lamp if the controller is located in the flash lamp and the current zone bit is the second zone bit;
the state determining module is used for determining the receiving state or the decoding state of the target data signal according to the sender of the target data signal;
the controller is located in the camera, and the state determination module includes:
the first state determining unit is used for determining whether the decoding state is a normal decoding state or the receiving state is a normal receiving state if the sender of the target data signal is an explosion flash lamp;
a second state determination unit, configured to determine that the decoding state is a non-decoding state or the receiving state is a rejection state if the sender of the target data signal is a camera;
the controller is located in the flashing light, then the state determination module includes:
a third state determination unit, configured to determine that the decoding state is a normal decoding state or the receiving state is a normal receiving state if the sender of the target data signal is a camera;
a fourth state determination unit, configured to determine that the decoding state is a non-decoding state or the receiving state is a rejection state if the sender of the target data signal is a flashing light;
a processing module, configured to process the target data signal based on a reception state or a decoding state of the target data signal;
the processing module comprises:
the target feedback information determining unit is used for decoding the target data signal according to the mapping relation between the data bit in the digital coding signal in the signal decoding rule of the flashing light and the flashing light feedback information if the sender of the target data signal is the flashing light so as to determine the target feedback information fed back by the flashing light;
a target instruction information determining unit, configured to decode the target data signal according to a mapping relationship between data bits in a digital coding signal in a signal decoding rule of a camera and camera instruction information if a sender of the target data signal is the camera, so as to determine the target instruction information sent by the camera;
the processing module is further configured to control the I/O port to normally receive the target data signal and normally perform subsequent operations on the target data signal if the receiving state is a normal receiving state, and control the I/O port not to receive the target data signal if the receiving state is a rejection state.
7. An electronic device, wherein the device is a camera or a strobe, comprising a controller, the controller comprising:
one or more processing units;
a storage unit for storing one or more programs;
when executed by the one or more processing units, cause the one or more processing units to implement a transmission signal processing method as claimed in any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processing unit, carries out a transmission signal processing method according to any one of claims 1 to 5.
CN201910580559.9A 2019-06-28 2019-06-28 Transmission signal processing method, device, system and storage medium Active CN112153274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910580559.9A CN112153274B (en) 2019-06-28 2019-06-28 Transmission signal processing method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910580559.9A CN112153274B (en) 2019-06-28 2019-06-28 Transmission signal processing method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN112153274A CN112153274A (en) 2020-12-29
CN112153274B true CN112153274B (en) 2022-03-15

Family

ID=73891716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910580559.9A Active CN112153274B (en) 2019-06-28 2019-06-28 Transmission signal processing method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN112153274B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112996206B (en) * 2019-12-17 2022-06-14 浙江宇视科技有限公司 Stroboscopic lamp information acquisition method and device, stroboscopic lamp and light supplementing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11253404A (en) * 1998-03-10 1999-09-21 Canon Inc Ophthalmologyical device
CN101296541A (en) * 2008-06-12 2008-10-29 上海宝康电子控制工程有限公司 Frequency-flashing light source control device
CN102143320A (en) * 2010-02-01 2011-08-03 佳能株式会社 Image pickup apparatus and camera system
CN201965483U (en) * 2010-11-29 2011-09-07 上海宝康电子控制工程有限公司 Detection device of camera light supplement lamp control line
CN103795936A (en) * 2013-11-14 2014-05-14 深圳光启创新技术有限公司 Method and device for controlling optical signals of mobile terminal and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3926244B2 (en) * 2002-09-26 2007-06-06 株式会社島津製作所 Imaging device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11253404A (en) * 1998-03-10 1999-09-21 Canon Inc Ophthalmologyical device
CN101296541A (en) * 2008-06-12 2008-10-29 上海宝康电子控制工程有限公司 Frequency-flashing light source control device
CN102143320A (en) * 2010-02-01 2011-08-03 佳能株式会社 Image pickup apparatus and camera system
CN201965483U (en) * 2010-11-29 2011-09-07 上海宝康电子控制工程有限公司 Detection device of camera light supplement lamp control line
CN103795936A (en) * 2013-11-14 2014-05-14 深圳光启创新技术有限公司 Method and device for controlling optical signals of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN112153274A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN112583878B (en) Vehicle information checking method, device, equipment and medium
CN112153274B (en) Transmission signal processing method, device, system and storage medium
CN112436972B (en) Data processing method, device, network equipment and computer readable storage medium
US20110022936A1 (en) Sending device, receiving device, communication control device, communication system, and communication control method
US20140107863A1 (en) Vehicle Control Device, Vehicle Control System
CN113382056A (en) Data reporting method, device, equipment, storage medium and system
US10471911B2 (en) Power supply control apparatus, communication system, and power supply control method
CN111491233A (en) Method, device and equipment for reminding electric quantity of charging box and storage medium
US9128831B2 (en) Electrical device and method of setting address
CN115098052B (en) Screen projection method, device, equipment and storage medium
WO2023045795A1 (en) Infrared communication method and apparatus, and storage medium and electronic apparatus
CN115422099A (en) Communication information sending method and device, electronic equipment and storage medium
CN112260982A (en) Audio processing method and device
CN113726598B (en) Communication method and device and electronic equipment
CN107566291A (en) Multicast transmission method, device, electronic equipment and storage medium
CN111026690B (en) Star affair data processing equipment and method
CN109558113B (en) Data field representation method and device and electronic equipment
CN109150414B (en) Method, device, equipment and storage medium for enhancing Bluetooth communication stability between equipment
CN112241556B (en) Interrupt management method, device and equipment of control circuit and storage medium
CN114679194B (en) Transmission method, system, device and computer readable storage medium
KR102262230B1 (en) Communication system capable of inproving coummunication success rate
JPS5848593A (en) Polling transmission system
US20230318742A1 (en) Selection circuit, transceiver device, and selection method
CN114286393A (en) Link self-adaption method, device, equipment and storage medium
CN109218287B (en) Remote control method of inert gas system

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