CN111083466A - Equipment detection method, device and equipment - Google Patents

Equipment detection method, device and equipment Download PDF

Info

Publication number
CN111083466A
CN111083466A CN201811230604.XA CN201811230604A CN111083466A CN 111083466 A CN111083466 A CN 111083466A CN 201811230604 A CN201811230604 A CN 201811230604A CN 111083466 A CN111083466 A CN 111083466A
Authority
CN
China
Prior art keywords
video signal
information
receiving end
signal receiving
sending
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
CN201811230604.XA
Other languages
Chinese (zh)
Other versions
CN111083466B (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 CN201811230604.XA priority Critical patent/CN111083466B/en
Publication of CN111083466A publication Critical patent/CN111083466A/en
Application granted granted Critical
Publication of CN111083466B publication Critical patent/CN111083466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Systems (AREA)

Abstract

The embodiment of the invention provides a device detection method, a device and a device, which are applied to a video signal receiving end, and the method comprises the following steps: receiving a video signal sent by a video signal sending end; acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset; detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing; and if so, determining that the video signal sending end is matched with the video signal receiving end. By applying the schemes provided by the embodiment of the invention, the equipment can be effectively prevented from goods mixing.

Description

Equipment detection method, device and equipment
Technical Field
The invention relates to the technical field of video signal acquisition, in particular to a method, a device and equipment for equipment detection.
Background
When providing the equipment, each manufacturer can provide different versions of the equipment in a targeted manner for different regions. The cross-shipment behavior means that the equipment that should originally flow to area a flows to area B. It can be seen that the cross-shipment behavior violates the original intention of the manufacturer. Therefore, how to effectively prevent the equipment from the phenomenon of goods mixing is a problem to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention aims to provide a device detection method, a device and equipment, so as to prevent the equipment from having a goods mixing behavior. The specific technical scheme is as follows:
in one aspect of the present invention, an apparatus detection method is provided, which is applied to a video signal receiving end, and the method includes:
receiving a video signal sent by a video signal sending end;
acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset;
detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing;
and if so, determining that the video signal sending end is matched with the video signal receiving end.
Optionally, before the step of receiving the video signal sent by the video signal sending end, the method further includes:
receiving a video signal which carries configuration information in a preset blanking line in a vertical blanking area sent by the video signal sending end, wherein the configuration information comprises: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
confirming whether the first blanking line is occupied at the video signal receiving end so that the video signal sending end obtains a confirmation result and determines a target blanking line according to the confirmation result, wherein the target blanking line is used for carrying the first information;
the video signal sent by the video signal sending end is received, and the method comprises the following steps:
and receiving the video signal which is sent by a video signal sending end and carries the first information in the target blanking line.
Optionally, when the first blanking line at the video signal receiving end is occupied, the method further includes:
and determining a second type of blank line which is not occupied at the video signal receiving end, and sending a confirmation result containing the information of the second type of blank line to the video signal sending end, so that the video signal sending end confirms whether the second type of blank line is occupied at the video signal sending end.
Optionally, when the first blanking line at the video signal receiving end is not occupied, the method further includes:
sending a request for acquiring the first information to the video signal sending terminal;
the video signal which is sent by the sending end of the received video signal and carries the first information in the target blanking line comprises the following steps:
and receiving the video signal which is sent by the video signal sending end after receiving the request and carries the first information in the target blanking line.
Optionally, the step of detecting whether the first information matches with the second information includes:
acquiring a numerical value stored in each byte contained in the first information;
judging whether each acquired numerical value is respectively matched with the numerical value stored in each byte contained in the second information;
and if so, judging that the first information is matched with the second information.
Optionally, the step of obtaining the value stored in each byte included in the first information includes:
acquiring an information header of the first information;
obtaining the numerical values stored in the bytes included in the first information according to the reading sequence included in the information header, wherein the reading sequence is as follows: reading the order of values from the respective bytes comprised in said first information.
Optionally, the step of obtaining the value stored in each byte included in the first information includes:
performing 0 and 1 inversion on binary data of a numerical value stored in each byte included in the first information;
the values stored in the respective bytes after the inversion of 0, 1 are obtained.
In another aspect of the present invention, there is also provided an apparatus detection method applied to a video signal transmitting end, where the method includes:
acquiring first pre-stored information, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
sending the video signal carrying the first information in the blanking area to a video signal receiving end so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, wherein the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
Optionally, before the step of sending the video signal carrying the first information in the blanking region to the video signal receiving end, the method further includes:
sending a video signal carrying configuration information in a preset blanking line in a vertical blanking area to the video signal receiving end so that the video signal receiving end can confirm whether the first type of blanking line is occupied at the video signal receiving end, wherein the configuration information comprises: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
obtaining a confirmation result, wherein the confirmation result is as follows: representing the result whether the first blanking line is occupied at the video signal receiving end;
determining a target blanking line for carrying the first information according to the confirmation result;
the step of sending the video signal carrying the first information in the blanking region to the video signal receiving end includes:
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
Optionally, the step of obtaining the confirmation result includes:
receiving a confirmation result sent by the video signal receiving end;
the step of determining a target blanking line for carrying the first information according to the confirmation result includes:
obtaining information of a second type of blanking lines from the confirmation result when the confirmation result indicates that the first type of blanking lines are occupied at the video signal receiving end, wherein the second type of blanking lines: blank lines which are not occupied at the video signal receiving end;
confirming whether the second blanking line is occupied at the sending end of the video signal;
if so, re-determining the first type of unoccupied blanking lines at the video signal sending end, and returning to the step of sending the video signal carrying the configuration information in the preset blanking lines in the vertical blanking area to the video signal receiving end;
if not, determining the second type of blanking line as the target blanking line.
Optionally, the step of sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
receiving a request for acquiring the first information sent by the video signal receiving end;
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
Optionally, the step of sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
determining a header of the first information, wherein the header contains an order of reading values from respective bytes contained in the first information;
and sending the video signal carrying the information header and the first information in the target blanking line to the video signal receiving end.
Optionally, the step of sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
inverting 0 and 1 of binary data of a numerical value stored in each byte included in the first information;
and sending the video signal carrying the first information after the inversion of 0 and 1 in the target blanking line to the video signal receiving end.
In another aspect of the present invention, there is also provided an apparatus for detecting a device, applied to a video signal receiving end, the apparatus including:
the first receiving module is used for receiving the video signal sent by the video signal sending end;
a first obtaining module, configured to obtain first information carried in a vertical blanking area of the video signal, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a detection module, configured to detect whether the first information matches second information, where the second information is: the preset information for preventing the video signal receiving end from goods mixing is used for triggering the determining module when the detection result is yes;
and the first determining module is used for determining that the video signal sending end is matched with the video signal receiving end.
Optionally, the apparatus further comprises:
a second receiving module, configured to receive a video signal that carries configuration information in a preset blanking line in a vertical blanking region sent by the video signal sending end, where the configuration information includes information of a first type of blanking line that is not occupied at the video signal sending end;
the confirming module is used for confirming whether the first blanking line is occupied at the video signal receiving end so that the video signal sending end obtains a confirming result and determines a target blanking line according to the confirming result, wherein the target blanking line is used for carrying the first information;
the first receiving module is specifically configured to receive a video signal that carries the first information in the target blanking line and is sent by a video signal sending end.
Optionally, the apparatus further comprises:
the first sending module is configured to determine a second type of blank line that is not occupied at the video signal receiving end, and send a confirmation result including information of the second type of blank line to the video signal sending end, so that the video signal sending end confirms whether the second type of blank line is occupied at the video signal sending end.
Optionally, the apparatus further comprises:
the second sending module is used for sending a request for acquiring the first information to the video signal sending end;
the first receiving module is specifically configured to receive the video signal that carries the first information in the target blanking line and is sent by the video signal sending end after receiving the request.
Optionally, the detection module includes:
the first obtaining submodule is used for obtaining the numerical value stored in each byte contained in the first information;
the judgment submodule is used for judging whether the acquired numerical values are respectively matched with the numerical values stored in the bytes contained in the second information or not and triggering the judgment submodule when the judgment result is yes;
and the judging submodule judges that the first information is matched with the second information.
Optionally, the first obtaining sub-module includes:
a first acquisition unit configured to acquire a header of the first information;
a second obtaining unit, configured to obtain, according to a reading order included in the header, a numerical value stored in each byte included in the first information, where the reading order is: reading the order of values from the respective bytes comprised in said first information.
Optionally, the first obtaining sub-module includes:
an inversion unit configured to invert 0 and 1 of binary data of a value stored in each byte included in the first information;
and the obtaining unit is used for obtaining the numerical values stored in the bytes after 0 and 1 are inverted.
In another aspect of the present invention, there is also provided an apparatus detecting device applied to a video signal transmitting end, where the apparatus includes:
a second obtaining module, configured to obtain first information stored in advance, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a first sending module, configured to send a video signal carrying the first information in a blanking region to a video signal receiving end, so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, where the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
Optionally, the apparatus further comprises:
a second sending module, configured to send a video signal carrying configuration information in a preset blanking line in a vertical blanking region to the video signal receiving end, so that the video signal receiving end determines whether the first type of blanking line is occupied at the video signal receiving end, where the configuration information includes: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
a third obtaining module, configured to obtain a confirmation result, where the confirmation result is: representing the result whether the first blanking line is occupied at the video signal receiving end;
a second determining module, configured to determine, according to the confirmation result, a target blanking line for carrying the first information;
and the first sending module is specifically configured to send the video signal carrying the first information in the target blanking line to the video signal receiving end.
Optionally, the third obtaining module is specifically configured to receive a confirmation result sent by the video signal receiving end;
the second determining module includes:
a second obtaining sub-module, configured to, when the confirmation result indicates that the first type of blanking line is occupied at the video signal receiving end, obtain information of a second type of blanking line from the confirmation result, where the second type of blanking line: blank lines which are not occupied at the video signal receiving end;
the confirming submodule is used for confirming whether the second blanking line is occupied at the video signal sending end, re-confirming the first blanking line which is not occupied at the video signal sending end when the confirming result is yes, triggering the second sending module, and triggering the first confirming submodule when the confirming result is no;
a first determining submodule, configured to determine the blanking line of the second type as the target blanking line.
Optionally, the first sending module includes:
the receiving submodule is used for receiving a request for acquiring the first information sent by the video signal receiving terminal;
and the first sending submodule is used for sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
Optionally, the first sending module includes:
a second determining submodule, configured to determine a header of the first information, where the header includes an order in which values are read from respective bytes included in the first information;
and the second sending submodule is used for sending the video signal carrying the information header and the first information in the target blanking line to the video signal receiving end.
Optionally, the first sending module includes:
the reverse submodule is used for reversing the binary data of the numerical value stored in each byte contained in the first information by 0 and 1;
and the third sending submodule is used for sending the video signal carrying the inverted first information of 0 and 1 in the target blanking line to the video signal receiving end.
In another aspect of the present invention, there is also provided a video signal receiving device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any equipment detection method applied to the video signal receiving end when executing the program stored in the memory.
In another aspect of the present invention, there is also provided a video signal transmitting device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any equipment detection method applied to the video signal transmitting end when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any one of the above-mentioned device detection methods applied to a video signal receiving end.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any of the above-mentioned device detection methods applied to a video signal transmitting end.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, enable the computer to execute any one of the above-mentioned device detection methods applied to a video signal receiving end.
Embodiments of the present invention further provide a computer program product containing instructions, which when run on a computer, enable the computer to execute any of the above-mentioned device detection methods applied to a video signal transmitting end.
According to the equipment detection method, the device and the equipment provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the field blanking area, and sends the video signal to the video signal receiving equipment, and the video signal receiving equipment receives the video signal and then matches the first information with the second information.
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 flowchart of an apparatus detection method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another apparatus detection method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus detection device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another apparatus detection device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a video signal receiving apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video signal transmitting apparatus 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.
Referring to fig. 1, a flowchart of an apparatus detection method provided in an embodiment of the present invention is shown, and is applied to a video signal receiving end, where the method includes:
and S100, receiving the video signal sent by the video signal sending end.
In the process of transmitting video signals, each frame of video frame comprises a vertical blanking area and an effective video data area, the vertical blanking area can be used for carrying other information except video data to realize the transmission of other information, for example, the vertical blanking area is used for carrying control information for controlling a pan-tilt camera to move up and down and left and right to realize the transmission of the control information.
The vertical blanking area may include a plurality of blanking lines, and when the storage resource of one blanking line is insufficient, the information to be transmitted may be carried by the plurality of blanking lines, and when the storage resource of the blanking area of one video frame is insufficient, the information to be transmitted may be carried by the plurality of video frames.
S110, first information carried in a vertical blanking area of the video signal is obtained, wherein the first information is as follows: and the preset information for preventing the video signal sending end from the goods mixing behavior.
Specifically, the first information may include a plurality of bytes, each byte representing a different meaning; for example, the first byte represents the type of video signal sent by the video signal sending end; the second byte represents the language used by the video signal transmitting end, such as Chinese, English; the third byte represents a sales area or the like of the video signal transmitting end.
In one implementation, a video signal sending end and a video signal receiving end may pre-specify a blanking line for carrying first information, and when the video signal sending end sends a video signal to the video signal receiving end, the video signal sending end may carry the first information through the pre-specified blanking line. When the blanking line for carrying the first information is agreed, one blanking line may be agreed to carry the first information, or multiple blanking lines may be agreed to carry the first information, for example, multiple blanking lines are agreed, and each blanking line carries one byte included in the first information.
In another implementation manner, the video signal receiving end and the video signal transmitting end may determine the target blanking line for carrying the first information in a negotiation manner.
Specifically, before sending the video signal carrying the first information in the blanking region to the video signal receiving end, the video signal sending end may send the video signal carrying the configuration information in the preset blanking line in the vertical blanking region to the video signal receiving end; the preset blanking line is a blanking line which is predetermined by the video signal receiving terminal and the video signal transmitting terminal and is used for carrying configuration information, for example, the video signal receiving terminal and the video signal transmitting terminal can determine the 6 th blanking line in the video signal to be used for carrying the configuration information; the configuration information includes information of a first type of blank line that is not occupied at a sending end of the video signal, and specifically, the configuration information may include: specific row, total row, etc. For example, the configuration information includes: 6. 7, 8, 9, 4; the first type of blanking lines that indicate that the transmitting end of the video signal is unoccupied include: lines 6, 7, 8, 9 blank lines.
Correspondingly, before S100, the video signal receiving end receives the video signal carrying the configuration information in the preset blanking line in the vertical blanking area sent by the video signal sending end; then the video signal receiving end can confirm whether the first type of blanking line at the video signal receiving end is occupied, after the confirmation result is obtained, the video signal receiving end can not send the confirmation result to the video signal sending end, at the moment, the video signal receiving end and the video signal sending end can be well defined in advance, the video signal sending end can confirm that the first type of blanking line at the video signal receiving end is unoccupied within a certain time length, such as 5 seconds, and when the confirmation result sent by the video signal receiving end is not received, so that the first type of blanking line is determined to be the target blanking line for carrying the first information;
the video signal receiving end confirms whether the first class blanking line at the video signal receiving end is occupied or not, and after a confirmation result is obtained, the video signal receiving end can also send the confirmation result to the video signal sending end, and the confirmation result can comprise two conditions at the moment;
one is as follows: under the condition that a first blanking line of a video signal receiving end is unoccupied, the video signal receiving end sends a confirmation result representing that the first blanking line is unoccupied to a video signal sending end, and after the video signal sending end receives the confirmation result, the first blanking line is determined as a target blanking line used for carrying first information;
the second step is as follows: in the case that the first type of blanking line at the receiving end of the video signal is occupied, the target blanking line for carrying the first information can be determined by the following two implementation manners:
in one implementation mode, a video signal receiving end sends a confirmation result representing that a first type of blanking line is occupied to a video signal sending end, the video signal sending end can confirm the first type of blanking line which is not occupied at the video signal sending end again after receiving the confirmation result, then sends a video signal carrying configuration information in a preset blanking line in a field blanking area to the video signal receiving end again, and the video signal receiving end judges whether the first type of blanking line is occupied at the video signal receiving end again until the first type of blanking line which is not occupied at the video signal sending end and the video signal receiving end is confirmed, and determines the type of blanking line as a target blanking line for carrying the first information.
In another implementation, the video signal receiving end may first determine the second type of blank line that is not occupied at the video signal receiving end, then, the confirmation result containing the information of the second type blanking lines is sent to a video signal sending end which sends the second type blanking lines to a video signal sending end, after confirming whether the second class blanking line is occupied or not at the video signal sending end and obtaining the confirmation result, the video signal sending end can not send the confirmation result to the video signal receiving end, at this time, the video signal receiving end and the video signal sending end can be well defined in advance, when the video signal receiving end does not receive the confirmation result sent by the video signal sending end within a certain time length, such as 5 seconds, the video signal receiving end confirms that the second blanking line is a target blanking line used for carrying the first information, so as to obtain the first information in the second blanking line of the subsequently received video signal.
The video signal sending end confirms whether the second blanking line is occupied or not, and after a confirmation result is obtained, the video signal sending end can also send the confirmation result to the video signal receiving end, and the confirmation result can comprise two conditions;
one is as follows: under the condition that a second blanking line of a video signal sending end is unoccupied, the video signal sending end sends a confirmation result that the first blanking line is unoccupied to a video signal receiving end, and after the video signal receiving end receives the confirmation result, the video signal receiving end confirms that the second blanking line is a target blanking line used for carrying first information so as to obtain the first information in the second blanking line of a subsequently received video signal;
the second step is as follows: in the case that the second type of blanking line at the sending end of the video signal is occupied, the target blanking line for carrying the first information can be determined by the following two implementation manners:
in one implementation, a video signal sending end sends a confirmation result that a second type of blanking line is occupied to a video signal receiving end, and the video signal receiving end can send the second type of blanking line which is not occupied at the video signal receiving end to the video signal sending end again after receiving the confirmation result, so that the video signal sending end judges whether the second type of blanking line is occupied at the video signal sending end again until the second type of blanking line which is not occupied at the video signal sending end is confirmed, and the video signal sending end confirms the second type of blanking line as a target blanking line for carrying first information;
in another implementation manner, the video signal sending end may confirm the first type of blank line that is not occupied at the video signal sending end again, then send the video signal carrying the configuration information in the preset blank line in the field blank area to the video signal receiving end, and the video signal receiving end judges again whether the first type of blank line is occupied at the video signal receiving end until the first type of blank line that is not occupied at both the video signal sending end and the video signal receiving end is confirmed, and determines the type of blank line as a target blank line for carrying the first information;
it should be noted that the first-type blanking line is a generic name of a blanking line which is sent from a video signal sending end to a video signal receiving end and is not occupied in video signal sending, and specific lines included in every two times of sending of the first-type blanking line from the video signal sending end to the video signal receiving end are not completely the same, for example, the first-type blanking line sent to the video signal receiving end for the first time: 6. lines 7, 8 and 9, the first blanking behavior transmitted to the video signal receiving end for the second time is: 6. lines 7, 9, 10. Accordingly, the second type of blanking lines is a general term for the blanking lines which are not occupied at the video signal receiving end and are sent from the video signal receiving end to the video signal sending end.
In an implementation manner of the embodiment of the present invention, under the condition that the first-type blanking line of the video signal receiving end is not occupied, the video signal receiving end may send a request for acquiring the first information to the video signal sending end after sending the confirmation result to the video signal sending end; the video signal receiving end can also directly send a request for acquiring the first information to the video signal sending end, after the video signal sending end receives the acquisition request, the video signal sending end confirms that the first blanking line is not occupied, then the video signal carrying the first information in the target blanking line is sent to the video signal receiving end corresponding to the request, and based on the result, the video signal receiving end receives the video signal carrying the first information in the target blanking line sent by the video signal sending end after receiving the request.
S120, detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing behavior is executed, and S130 is executed to determine that the video signal sending end is matched with the video signal receiving end when the detection result is yes; and when the detection result is negative, determining that the video signal sending end is not matched with the video signal receiving end.
Corresponding to the first information, the second information may also include a plurality of bytes, each byte corresponds to the meaning represented by each byte included in the first information, for example, the first byte in the first information represents the type of the video signal transmitted by the video signal transmitting end, and correspondingly, the first byte in the second information represents the signal type of the video signal processed by the video signal receiving end; the second byte in the first message represents the language used by the sending end of the video signal, and correspondingly, the second byte in the second message represents the language used by the receiving end of the video signal.
Specifically, only when the first information and the second information are completely the same, it can be determined that the video signal sending end is matched with the video signal receiving end, that is, the video signal sending end or the video signal receiving end has no goods mixing action; if the first information and the second information are not completely the same, it indicates that the video signal sending end or the video signal receiving end has a series behavior, and accordingly, the video signal receiving end may not display the picture corresponding to the video signal sent by the video signal sending end.
In one implementation, when the first information and the second information both include a plurality of bytes, in the process of detecting whether the first information matches with the second information, a value stored in each byte included in the first information may be acquired; then judging whether the acquired numerical values are respectively matched with the numerical values stored in the bytes contained in the second information; and if so, judging that the first information is matched with the second information.
In order to enhance the security of the first information during transmission, in an implementation manner, when a video signal sending end sends a video signal carrying the first information in a target blanking line to a video signal receiving end, the video signal sending end may first determine an information header of the first information, where the information header includes an order of reading values from each byte included in the first information, for example, a value stored in a first byte included in the first information is 0xaa, and when the reading order is forward reading, the value of the first byte is 0 xaa; when the reading order is reverse, the value of the first byte is aax 0. After the video signal sending end determines the information head of the first information, the video signal sending end sends the video signal carrying the information head and the first information in the target blanking line to the video signal receiving end, and any blanking line in the target blanking line can be selected to carry the information head;
accordingly, in the process of acquiring the numerical values of the bytes included in the first information, the video signal receiving end needs to acquire the information header of the first information first, and then acquire the numerical values of the bytes included in the first information according to the reading sequence included in the information header.
In another implementation manner, when the video signal transmitting end transmits a video signal carrying first information in a target blanking line to the video signal receiving end, the video signal transmitting end may invert 0 and 1 binary data of values stored in each byte included in the first information; and then sending the video signal carrying the first information after the binary data inversion in the target blanking line to a video signal receiving end.
Correspondingly, in the process of acquiring the numerical value of each byte contained in the first information, the video signal receiving end needs to perform 0 and 1 inversion on binary data of the numerical value stored in each byte contained in the first information; and then the numerical values stored in the respective bytes after the inversion of 0 and 1 are obtained.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
Referring to fig. 2, a schematic flow chart of another device detection method provided in an embodiment of the present invention is shown, and is applied to a video signal transmitting end, where the method includes:
s200, first information stored in advance is acquired, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
s210, sending the video signal carrying the first information in the blanking region to a video signal receiving end, so that the video signal receiving end determines whether the video signal sending end matches with the video signal receiving end according to the first information and second information, where the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
In an implementation manner of the embodiment of the present invention, before the step S200, the method further includes:
sending a video signal carrying configuration information in a preset blanking line in a vertical blanking area to the video signal receiving end so that the video signal receiving end can confirm whether the first type of blanking line is occupied at the video signal receiving end, wherein the configuration information comprises: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
obtaining a confirmation result, wherein the confirmation result is as follows: representing the result whether the first blanking line is occupied at the video signal receiving end;
determining a target blanking line for carrying the first information according to the confirmation result;
correspondingly, the step of S210 sending the video signal carrying the first information in the blanking region to the video signal receiving end includes:
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the step of obtaining the confirmation result includes:
receiving a confirmation result sent by the video signal receiving end;
the step of determining a target blanking line for carrying the first information according to the confirmation result includes:
obtaining information of a second type of blanking lines from the confirmation result when the confirmation result indicates that the first type of blanking lines are occupied at the video signal receiving end, wherein the second type of blanking lines: blank lines which are not occupied at the video signal receiving end;
confirming whether the second blanking line is occupied at the sending end of the video signal;
if yes, re-determining the first kind of unoccupied blanking lines at the video signal sending end, and returning to S210 to send the video signal carrying the configuration information in the preset blanking lines in the vertical blanking area to the video signal receiving end;
if not, determining the second type of blanking line as the target blanking line.
In an implementation manner of the embodiment of the present invention, the step of sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
receiving a request for acquiring the first information sent by the video signal receiving end;
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the step of S210 sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
determining a header of the first information, wherein the header contains an order of reading values from respective bytes contained in the first information;
and sending the video signal carrying the information header and the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the step of S210 sending the video signal carrying the first information in the target blanking line to the video signal receiving end includes:
inverting 0 and 1 of binary data of a numerical value stored in each byte included in the first information;
and sending the video signal carrying the first information after the inversion of 0 and 1 in the target blanking line to the video signal receiving end.
It should be noted that the above embodiments of the device detection method applied to the video signal sending end correspond to the embodiments of the device detection method applied to the video signal receiving end, and the same contents refer to the embodiments of the device detection method applied to the video signal receiving end, and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, because the first information is information … … for preventing the video signal sending end from having the series goods behavior, and the second information is information … … for preventing the video signal receiving end from having the series goods behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the series goods behavior.
Referring to fig. 3, a schematic structural diagram of an apparatus detecting device provided in an embodiment of the present invention is shown, and is applied to a video signal receiving end, where the apparatus includes:
a first receiving module 300, configured to receive a video signal sent by a video signal sending end;
a first obtaining module 310, configured to obtain first information carried in a vertical blanking interval of the video signal, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a detecting module 320, configured to detect whether the first information matches second information, where the second information is: the preset information for preventing the video signal receiving end from goods mixing is used for triggering the determining module when the detection result is yes;
a first determining module 330, configured to determine that the video signal sending end matches with the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the apparatus further includes:
a second receiving module, configured to receive a video signal that carries configuration information in a preset blanking line in a vertical blanking region sent by the video signal sending end, where the configuration information includes information of a first type of blanking line that is not occupied at the video signal sending end;
the confirming module is used for confirming whether the first blanking line is occupied at the video signal receiving end so that the video signal sending end obtains a confirming result and determines a target blanking line according to the confirming result, wherein the target blanking line is used for carrying the first information;
the first receiving module is specifically configured to receive a video signal that carries the first information in the target blanking line and is sent by a video signal sending end.
In an implementation manner of the embodiment of the present invention, the apparatus further includes:
the first sending module is configured to determine a second type of blank line that is not occupied at the video signal receiving end, and send a confirmation result including information of the second type of blank line to the video signal sending end, so that the video signal sending end confirms whether the second type of blank line is occupied at the video signal sending end.
In an implementation manner of the embodiment of the present invention, the apparatus further includes:
the second sending module is used for sending a request for acquiring the first information to the video signal sending end;
the first receiving module is specifically configured to receive the video signal that carries the first information in the target blanking line and is sent by the video signal sending end after receiving the request.
In an implementation manner of the embodiment of the present invention, the detecting module 320 includes:
the first obtaining submodule is used for obtaining the numerical value stored in each byte contained in the first information;
the judgment submodule is used for judging whether the acquired numerical values are respectively matched with the numerical values stored in the bytes contained in the second information or not and triggering the judgment submodule when the judgment result is yes;
and the judging submodule judges that the first information is matched with the second information.
In an implementation manner of the embodiment of the present invention, the first obtaining sub-module includes:
a first acquisition unit configured to acquire a header of the first information;
a second obtaining unit, configured to obtain, according to a reading order included in the header, a numerical value of each byte included in the first information, where the reading order is: reading the order of values from the respective bytes comprised in said first information.
In an implementation manner of the embodiment of the present invention, the first obtaining sub-module includes:
an inversion unit configured to invert 0 and 1 of binary data of a value stored in each byte included in the first information;
and the obtaining unit is used for obtaining the numerical values stored in the bytes after 0 and 1 are inverted.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
Referring to fig. 4, a schematic structural diagram of another apparatus detection device provided in an embodiment of the present invention is shown, and is applied to a video signal transmitting end, where the apparatus includes:
a second obtaining module 400, configured to obtain first information stored in advance, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a first sending module 410, configured to send a video signal carrying the first information in a blanking area to a video signal receiving end, so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, where the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
In an implementation manner of the embodiment of the present invention, the apparatus further includes:
a second sending module, configured to send a video signal carrying configuration information in a preset blanking line in a vertical blanking region to the video signal receiving end, so that the video signal receiving end determines whether the first type of blanking line is occupied at the video signal receiving end, where the configuration information includes information of the first type of blanking line that is not occupied at the video signal sending end;
a third obtaining module, configured to obtain a confirmation result, where the confirmation result is: representing the result whether the first blanking line is occupied at the video signal receiving end;
a second determining module, configured to determine, according to the confirmation result, a target blanking line for carrying the first information;
and the first sending module is specifically configured to send the video signal carrying the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the third obtaining module is specifically configured to receive a confirmation result sent by the video signal receiving end;
a second obtaining sub-module, configured to, when the confirmation result indicates that the first type of blanking line is occupied at the video signal receiving end, obtain information of a second type of blanking line from the confirmation result, where the second type of blanking line: blank lines which are not occupied at the video signal receiving end;
the confirming submodule is used for confirming whether the second blanking line is occupied at the video signal sending end, re-confirming the first blanking line which is not occupied at the video signal sending end when the confirming result is yes, triggering the second sending module, and triggering the first confirming submodule when the confirming result is no;
a first determining submodule, configured to determine the blanking line of the second type as the target blanking line.
In an implementation manner of the embodiment of the present invention, the first sending module includes:
the receiving submodule is used for receiving a request for acquiring the first information sent by the video signal receiving terminal;
and the first sending submodule is used for sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the first sending module includes:
a second determining submodule, configured to determine a header of the first information, where the header includes a reading order of values from each byte included in the first information;
and the second sending submodule is used for sending the video signal carrying the information header and the first information in the target blanking line to the video signal receiving end.
In an implementation manner of the embodiment of the present invention, the first sending module includes:
the reverse submodule is used for reversing the binary data of the numerical value stored in each byte contained in the first information by 0 and 1;
and the third sending submodule is used for sending the video signal carrying the inverted first information of 0 and 1 in the target blanking line to the video signal receiving end.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
An embodiment of the present invention further provides a video signal receiving apparatus, as shown in fig. 5, including a processor 001, a communication interface 002, a memory 003 and a communication bus 004, where the processor 001, the communication interface 002 and the memory 003 complete mutual communication through the communication bus 004,
a memory 003 for storing a computer program;
the processor 001 is configured to implement the device detection method applied to the video signal receiving end according to the embodiment of the present invention when executing the program stored in the memory 003.
Specifically, the device detection method includes:
receiving a video signal sent by a video signal sending end;
acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset;
detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing;
and if so, determining that the video signal sending end is matched with the video signal receiving end.
It should be noted that, the processor 001 executes the program stored in the memory 003 to implement other embodiments of the device detection method applied to the video signal receiving end, which are the same as the embodiments provided in the foregoing method embodiments and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
The embodiment of the present invention further provides a video signal transmitting apparatus, as shown in fig. 6, including a processor 011, a communication interface 012, a memory 013, and a communication bus 014, wherein the processor 011, the communication interface 012, and the memory 013 complete mutual communication through the communication bus 014,
a memory 013 for storing computer programs;
the processor 011 is configured to implement the device detection method applied to the video signal transmitting end when executing the program stored in the memory 013.
Specifically, the device detection method includes:
acquiring first pre-stored information, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
sending the video signal carrying the first information in the blanking area to a video signal receiving end so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, wherein the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
It should be noted that, the processor 011 executes the program stored in the memory 013 to implement other embodiments of the method for detecting a device applied to the sending end of the video signal, which are the same as the embodiments provided in the foregoing method embodiments and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), 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 Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-mentioned device detection method applied to a video signal receiving end.
Specifically, the device detection method includes:
receiving a video signal sent by a video signal sending end;
acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset;
detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing;
and if so, determining that the video signal sending end is matched with the video signal receiving end.
It should be noted that other embodiments of the method for detecting a device applied to a video signal receiving end implemented by the computer-readable storage medium are the same as the embodiments provided in the foregoing method embodiments, and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute the above-mentioned device detection method applied to a video signal transmitting end.
Specifically, the device detection method includes:
acquiring first pre-stored information, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
sending the video signal carrying the first information in the blanking area to a video signal receiving end so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, wherein the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
It should be noted that other embodiments of the method for implementing the device detection method applied to the video signal transmitting end by using the computer-readable storage medium are the same as the embodiments provided in the foregoing method embodiments, and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
In another aspect of the present invention, the present invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the above-mentioned device detection methods applied to a video signal receiving end.
Specifically, the device detection method includes:
receiving a video signal sent by a video signal sending end;
acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset;
detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing;
and if so, determining that the video signal sending end is matched with the video signal receiving end.
It should be noted that other embodiments of the method for detecting a device applied to a video signal receiving end implemented by the computer program product are the same as the embodiments provided in the foregoing method embodiment section, and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
In another aspect of the present invention, the present invention also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above-mentioned device detection methods applied to a video signal transmitting end.
Specifically, the device detection method includes:
acquiring first pre-stored information, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
sending the video signal carrying the first information in the blanking area to a video signal receiving end so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, wherein the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
It should be noted that other embodiments of the method for detecting a device applied to a video signal transmitting end implemented by the computer program product are the same as the embodiments provided in the foregoing method embodiments, and are not described again here.
In each scheme provided by the embodiment of the invention, the video signal sending end obtains the video signal carrying the first information in the vertical blanking area, and sends the video signal to the video signal receiving equipment, and after the video signal receiving equipment receives the video signal, the first information is matched with the second information, and as the first information is information for preventing the video signal sending end from having the goods mixing behavior and the second information is information for preventing the video signal receiving end from having the goods mixing behavior, when the first information is matched with the second information, the video signal sending end and the video signal receiving end do not have the goods mixing behavior.
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 apparatus, the electronic device, the computer-readable storage medium, and the computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
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 (19)

1. A device detection method applied to a video signal receiving end, the method comprising:
receiving a video signal sent by a video signal sending end;
acquiring first information carried in a vertical blanking area of the video signal, wherein the first information is: information for preventing the video signal sending end from goods mixing is preset;
detecting whether the first information is matched with second information, wherein the second information is: the preset information for preventing the video signal receiving end from goods mixing;
and if so, determining that the video signal sending end is matched with the video signal receiving end.
2. The method of claim 1, wherein before the step of receiving the video signal transmitted by the video signal transmitting end, further comprising:
receiving a video signal which carries configuration information in a preset blanking line in a vertical blanking area sent by the video signal sending end, wherein the configuration information comprises: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
confirming whether the first blanking line is occupied at the video signal receiving end so that the video signal sending end obtains a confirmation result and determines a target blanking line according to the confirmation result, wherein the target blanking line is used for carrying the first information;
the video signal sent by the video signal sending end is received, and the method comprises the following steps:
and receiving the video signal which is sent by a video signal sending end and carries the first information in the target blanking line.
3. The method as claimed in claim 2, wherein in case that the first type of blanking line is occupied at the video signal receiving end, further comprising:
and determining a second type of blank line which is not occupied at the video signal receiving end, and sending a confirmation result containing the information of the second type of blank line to the video signal sending end, so that the video signal sending end confirms whether the second type of blank line is occupied at the video signal sending end.
4. The method as claimed in claim 2, wherein in case that the first type of blanking line is unoccupied at the video signal receiving end, further comprising:
sending a request for acquiring the first information to the video signal sending terminal;
the video signal which is sent by the sending end of the received video signal and carries the first information in the target blanking line comprises the following steps:
and receiving the video signal which is sent by the video signal sending end after receiving the request and carries the first information in the target blanking line.
5. The method of claim 1, wherein the step of detecting whether the first information matches the second information comprises:
acquiring a numerical value stored in each byte contained in the first information;
judging whether each acquired numerical value is respectively matched with the numerical value stored in each byte contained in the second information;
and if so, judging that the first information is matched with the second information.
6. The method of claim 5, wherein the step of obtaining the value stored in each byte included in the first information comprises:
acquiring an information header of the first information;
obtaining the numerical values stored in the bytes included in the first information according to the reading sequence included in the information header, wherein the reading sequence is as follows: reading the order of values from the respective bytes comprised in said first information.
7. The method of claim 5, wherein the step of obtaining the value stored in each byte included in the first information comprises:
performing 0 and 1 inversion on binary data of a numerical value stored in each byte included in the first information;
the values stored in the respective bytes after the inversion of 0, 1 are obtained.
8. A device detection method, applied to a video signal transmitting end, the method comprising:
acquiring first pre-stored information, wherein the first information is as follows: information for preventing the video signal sending end from goods mixing is preset;
sending the video signal carrying the first information in the blanking area to a video signal receiving end so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, wherein the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
9. The method of claim 8, wherein before the step of transmitting the video signal carrying the first information in the blanking region to the video signal receiving end, further comprising:
sending a video signal carrying configuration information in a preset blanking line in a vertical blanking area to the video signal receiving end so that the video signal receiving end can confirm whether the first type of blanking line is occupied at the video signal receiving end, wherein the configuration information comprises: information of a first type of blanking lines which are not occupied at a sending end of the video signal;
obtaining a confirmation result, wherein the confirmation result is as follows: representing the result whether the first blanking line is occupied at the video signal receiving end;
determining a target blanking line for carrying the first information according to the confirmation result;
the step of sending the video signal carrying the first information in the blanking region to the video signal receiving end includes:
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
10. The method of claim 9, wherein the step of obtaining the confirmation result comprises:
receiving a confirmation result sent by the video signal receiving end;
the step of determining a target blanking line for carrying the first information according to the confirmation result includes:
obtaining information of a second type of blanking lines from the confirmation result when the confirmation result indicates that the first type of blanking lines are occupied at the video signal receiving end, wherein the second type of blanking lines: blank lines which are not occupied at the video signal receiving end;
confirming whether the second blanking line is occupied at the sending end of the video signal;
if so, re-determining the first type of unoccupied blanking lines at the video signal sending end, and returning to the step of sending the video signal carrying the configuration information in the preset blanking lines in the vertical blanking area to the video signal receiving end;
if not, determining the second type of blanking line as the target blanking line.
11. The method of claim 9, wherein the step of transmitting the video signal carrying the first information in the target blanking line to the video signal receiving end comprises:
receiving a request for acquiring the first information sent by the video signal receiving end;
and sending the video signal carrying the first information in the target blanking line to the video signal receiving end.
12. The method of claim 9, wherein the step of transmitting the video signal carrying the first information in the target blanking line to the video signal receiving end comprises:
determining a header of the first information, wherein the header contains an order of reading values from respective bytes contained in the first information;
and sending the video signal carrying the information header and the first information in the target blanking line to the video signal receiving end.
13. The method of claim 9, wherein the step of transmitting the video signal carrying the first information in the target blanking line to the video signal receiving end comprises:
inverting 0 and 1 of binary data of a numerical value stored in each byte included in the first information;
and sending the video signal carrying the first information after the inversion of 0 and 1 in the target blanking line to the video signal receiving end.
14. An apparatus for detecting a device, applied to a video signal receiving end, the apparatus comprising:
the first receiving module is used for receiving the video signal sent by the video signal sending end;
a first obtaining module, configured to obtain first information carried in a vertical blanking area of the video signal, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a detection module, configured to detect whether the first information matches second information, where the second information is: the preset information for preventing the video signal receiving end from goods mixing is used for triggering the determining module when the detection result is yes;
and the first determining module is used for determining that the video signal sending end is matched with the video signal receiving end.
15. An apparatus detecting device, applied to a video signal transmitting end, the apparatus comprising:
a second obtaining module, configured to obtain first information stored in advance, where the first information is: information for preventing the video signal sending end from goods mixing is preset;
a first sending module, configured to send a video signal carrying the first information in a blanking region to a video signal receiving end, so that the video signal receiving end determines whether the video signal sending end is matched with the video signal receiving end according to the first information and second information, where the second information is: and the preset information for preventing the video signal receiving end from the goods mixing behavior.
16. The video signal receiving equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
17. The video signal sending equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 8 to 13 when executing a program stored in the memory.
18. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method steps of any of claims 1-7.
19. A computer-readable storage medium having stored therein instructions which, when executed on a computer, cause the computer to perform the method steps of any of claims 8-13.
CN201811230604.XA 2018-10-22 2018-10-22 Equipment detection method, device and equipment Active CN111083466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230604.XA CN111083466B (en) 2018-10-22 2018-10-22 Equipment detection method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230604.XA CN111083466B (en) 2018-10-22 2018-10-22 Equipment detection method, device and equipment

Publications (2)

Publication Number Publication Date
CN111083466A true CN111083466A (en) 2020-04-28
CN111083466B CN111083466B (en) 2021-07-30

Family

ID=70309790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230604.XA Active CN111083466B (en) 2018-10-22 2018-10-22 Equipment detection method, device and equipment

Country Status (1)

Country Link
CN (1) CN111083466B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809616A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Method and system for preventing selling beyond agreed areas
CN105046391A (en) * 2015-04-13 2015-11-11 青岛海尔智能家电科技有限公司 Method and apparatus for discovering cross-boundary selling of household electrical appliances of Internet of Things, and household electrical appliances of Internet of Things

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809616A (en) * 2014-01-23 2015-07-29 珠海格力电器股份有限公司 Method and system for preventing selling beyond agreed areas
CN105046391A (en) * 2015-04-13 2015-11-11 青岛海尔智能家电科技有限公司 Method and apparatus for discovering cross-boundary selling of household electrical appliances of Internet of Things, and household electrical appliances of Internet of Things

Also Published As

Publication number Publication date
CN111083466B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN113840012B (en) Block chain-based screen recording evidence obtaining method and system and electronic equipment
CN108400904B (en) Health examination method and device based on micro-service architecture
CN110808881B (en) Model deployment method and device, target monitoring method and device, equipment and system
CN111159269B (en) Data processing method, device and system
CN111031359B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN108536850A (en) A kind of method, apparatus, electronic equipment and storage medium preloading picture
CN111083466B (en) Equipment detection method, device and equipment
CN111984582B (en) PCIE link training method, equipment and medium
CN112235630B (en) Data backup transmission method, LED mesh loop backup system and electronic equipment
CN111263107B (en) Video data processing method, device, equipment and system
CN108388797B (en) Intrusion detection method and device and electronic equipment
CN110209513B (en) Broadcast registration method, device, equipment and medium of application program
CN111488171B (en) Data generation and analysis method and device and electronic equipment
CN110995848B (en) Service management method, device, system, electronic equipment and storage medium
CN113630282B (en) Method and device for detecting server state
CN111343062A (en) In-vehicle electronic control unit identification method, system and storage medium
CN114938472B (en) Video playing method and device, electronic equipment and computer readable storage medium
CN111800625B (en) HDMI (high-definition multimedia interface) port camera connection detection method, device and equipment
CN110909171B (en) Data scheduling method, device, terminal and storage medium
CN111091016B (en) Tripod nine-code reading method and device and mobile terminal
CN110874520B (en) Method and device for removing overlapped paths and terminal equipment
CN113365112B (en) Remote assistance method and device, electronic equipment and storage medium
US10965880B2 (en) Information processing apparatus, information processing method, and information processing program
CN109347933B (en) Method and device for establishing connection
JP2019097012A (en) Information processing apparatus, information processing method, and program

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