Indication signal recognition method, device, equipment and computer storage medium

By determining the signal type and duration of the optional signal unit, determining the sampling period and sampling the indication signal, the problem of low indication signal recognition efficiency and accuracy in the prior art is solved, and more efficient and accurate indication signal recognition is achieved.

CN113627362BActive Publication Date: 2025-02-18AUTEL INTELLIGENT TECHNOLOGY CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110932620.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-13
Publication Date
2025-02-18
Estimated Expiration
2041-08-13

AI Technical Summary

Technical Problem

In the prior art, the indication signal recognition efficiency and accuracy are relatively low, and are difficult to apply in general devices such as mobile phones.

Method used

By determining the signal type and signal duration of multiple optional signal units, the sampling period is determined based on the signal type and signal duration, and the sampling signal is sampled, the collected signal is obtained and the target indication type is determined.

Benefits of technology

Improves the efficiency and accuracy of indicator signal recognition and is suitable for a variety of devices, including mobile phones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113627362B_ABST
    Figure CN113627362B_ABST
Patent Text Reader

Abstract

The present application discloses a method for identifying an indication signal, comprising: determining the signal type and signal duration of a plurality of optional signal units; the signal to be sampled includes a plurality of target signal units; the target signal unit is one of the optional signal units; the number of the signal types is at least two; determining a sampling period according to the signal type and signal duration; sampling the signal to be sampled according to the sampling period to obtain a collection signal; parsing the collection signal to determine the target indication type corresponding to the collection signal. The present application solves the technical problem of low accuracy of indication signal identification in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer data processing, and in particular to an indication signal recognition device, method and computer-readable storage medium. Background Art

[0002] Indication signals are signals used by controllers, systems and other devices to indicate status information such as faults and modes. They generally include the on-off sequence of status lights. Different on-off sequences indicate different device states.

[0003] At present, in order to avoid missing the signal characteristics of the indication signal, the oversampling method is generally adopted for sampling the indication signal. On the one hand, the efficiency is low, and on the other hand, it also raises the equipment threshold and is difficult to be applied to common devices such as mobile phones. As a result, the existing technology has the problem of low indication signal recognition efficiency. Summary of the invention

[0004] In view of the above problems, the embodiments of the present invention provide an indication signal recognition method, device and computer storage medium, which are used to solve the problems of indication signal recognition efficiency and accuracy in the prior art.

[0005] In one aspect, an embodiment of the present invention provides an indication signal identification method, the method comprising: determining a signal type and a signal duration of a plurality of optional signal units; the signal to be sampled includes a plurality of target signal units; the target signal unit is one of the optional signal units; the number of the signal types is at least two; determining a sampling period according to the signal type and the signal duration; sampling the signal to be sampled according to the sampling period to obtain a collection signal; parsing the collection signal to determine a target indication type corresponding to the collection signal.

[0006] Optionally, the signal type corresponds to at least one of the signal durations; the method further includes: determining the first duration difference corresponding to each of the signal types according to the difference between all of the signal durations corresponding to each of the signal types; and determining the sampling period according to all of the first duration differences and all of the signal durations.

[0007] Optionally, the method also includes: determining half of the first time length difference as the sampling period difference corresponding to each of the signal types; determining the minimum value of the signal time length as the optional minimum value corresponding to each of the signal types; and determining the sampling period based on the optional minimum value and the sampling period difference.

[0008] Optionally, the method further includes: determining a smaller one of all the optional minimum values ​​and all the sampling period differences as a target minimum value; and determining the sampling period according to the target minimum value.

[0009] Optionally, each of the optional signal units corresponds to a preset indication type; the method also includes: dividing the collected signal to obtain multiple signal segments to be identified; the signal segment to be identified includes one of the signal units to be identified; the signal unit to be identified is one of the optional signal units; the signal types of the signal units to be identified included in the signal segments to be identified with adjacent acquisition times are different; determining the signal segment duration of the signal segment to be identified according to the sampling period and the number of acquisition periods included in the signal segment to be identified; determining the optional signal unit matched to the signal unit to be identified according to the signal segment duration, the sampling period and the signal type of the signal unit to be identified; determining the matching indication type corresponding to the signal segment to be identified according to the preset indication type corresponding to the matched optional signal unit; and determining the target indication type according to all the matching indication types.

[0010] Optionally, the method also includes: determining the optional signal unit with the same signal type as the signal unit to be identified as the signal unit to be matched; respectively determining the second time difference between the duration of the signal segment and the signal duration of each of the signal units to be matched; and determining the matched optional signal unit from the signal units to be matched based on the second time difference and the sampling period.

[0011] Optionally, the method further includes: comparing the absolute value of the second time difference with the sampling period; and determining the to-be-matched signal unit whose absolute value is smaller than the sampling period as the matched optional signal unit.

[0012] Optionally, the method further includes: combining the matching indication types according to the acquisition time sequence of each of the signal segments to be identified to obtain the target indication type.

[0013] In addition, to achieve the above-mentioned purpose, the present application also provides an indication signal recognition device, on which an indication signal recognition program is stored, and the indication signal recognition program can be executed by at least one processor to implement the steps of the indication signal recognition method.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which an indication signal recognition program is stored, and the indication signal recognition program can be executed by at least one processor to implement the steps of the indication signal recognition method.

[0015] The indication signal recognition method, device and computer-readable storage medium proposed in the present application determine the signal type and signal duration of multiple optional signal units; wherein the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of signal types is at least two; thereby determining the signal type information of all signal units that may be included in the signal to be sampled; then determining the sampling period according to the signal type and signal duration, and sampling the signal to be sampled according to the sampling period to obtain a collection signal; thereby ensuring the conversion process between the various target signal units collected in the signal to be sampled; finally, parsing the collection signal to determine the target indication type corresponding to the collection signal. The present application determines the sampling period according to the signal type and signal duration of the signal unit included in the signal to be sampled in the above manner, thereby improving the efficiency of indication signal recognition while also improving the accuracy of indication signal recognition.

[0016] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation mode of the present invention is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.

[0018] Figure 1 A schematic diagram of a preferred embodiment of the indication signal recognition method of the present application;

[0019] Figure 2 This is an application scenario diagram of the indication signal identification method in an embodiment of the indication signal identification method of the present application;

[0020] Figure 3 This is a signal parsing diagram of an indication signal identification method in an embodiment of an indication signal identification method of the present application;

[0021] Figure 4 This is a module diagram of an indication signal identification system in an embodiment of an indication signal identification device of the present application;

[0022] Figure 5 A schematic diagram of the structure of an indication signal recognition device provided by an embodiment of the present invention is shown.

[0023] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0024] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0025] Reference Figure 1 As shown in FIG. 1 , it is a flow chart of a preferred embodiment of the method for identifying an indication signal provided by the present application. The method is executed by a computer processing device. The computer processing device may include a mobile phone, a laptop computer, etc. In one embodiment of the present invention, Figure 2 As shown, a preset diagnostic software is installed on the computer processing device, and the diagnostic software is used to collect and analyze the flashing signal of the status light on the device according to the indication signal recognition method, wherein the device can be, for example, a dashboard of a vehicle.

[0026] In one embodiment of the present invention, the indicator signal identification method includes: Step 10: determining the signal type and signal duration of multiple optional signal units; the signal to be sampled includes multiple target signal units.

[0027] In one embodiment of the present invention, each optional signal unit is the smallest indication state identification unit, corresponding to a preset indication state, wherein the indication state is used to characterize a specific state of the device or object to be observed that can be identified by a person, such as an indication long light, an indication short light, and other on-off states, and the device to be observed may be a status indicator light, etc. The signal type and signal duration of the optional signal unit can be determined according to the signal transmission protocol of the signal to be sampled.

[0028] The signal type can be determined according to the signal value of the optional signal unit. For example, when the signal value represents the RGB (Red Green Blue) value, the signal type is determined to be red, yellow, etc. according to the interval in which the signal value is located. When the signal value represents the level value, the signal type is determined to be high level or low level according to the signal value of 1 or 0. When the signal type represents the grayscale type, the signal type is determined to be black, white, gray, etc. according to the interval in which the grayscale value is located. The signal duration refers to the unit duration of the optional signal unit.

[0029] In one embodiment of the present invention, each optional signal unit is defined by two dimensions: signal type and signal duration. That is, when either the signal type or the signal duration is different, the optional signal unit is different. For example, an optional signal unit with a signal type of red and a signal duration of 1 second can represent a short red, an optional signal unit with a signal type of red and a signal duration of 5 seconds can represent a long red, and correspondingly, an optional signal unit with a signal type of yellow and a signal duration of 1 second can represent a short yellow.

[0030] In one embodiment of the present invention, the target signal unit is one of the optional signal units; the number of the signal types is at least two; the optional signal units cover all possible signal unit types that may appear in the signal to be sampled, and the signal to be sampled should include optional signal units of at least two signal types, otherwise there will be no change in the signal type in the signal to be sampled, and there is no need to specifically determine the sampling period. For example, when the optional signal units include four types of long on, short on, long off, and short off, the target signal unit should include both the on and off signal types, such as a combination of long on and short off.

[0031] Step 20: Determine a sampling period according to the signal type and signal duration.

[0032] In one embodiment of the present invention, since there are at least two signal types in the target signal unit, that is, the signal characteristics of the signal to be sampled are manifested in the order information of the target signal units of different signal types and signal durations. Therefore, the minimum time interval of the change of the target signal unit in the signal to be sampled is determined according to the signal types and signal durations of all the target signal units, and then the sampling period that can cover the change of all signal units is determined according to the minimum time interval, thereby ensuring that all signal characteristics contained in the signal to be sampled are not missed while sampling at the lowest frequency possible, thereby improving the accuracy of the identification of the indication signal.

[0033] Therefore, in another embodiment of the present invention, the signal type corresponds to at least one of the signal durations, that is, there may be multiple optional signal units with the same signal type but different signal durations, such as the long light and short light mentioned above, whose signal types are both light, but the signal durations are different.

[0034] Step 20 also includes: Step 2011: determining a first duration difference corresponding to each signal type according to the difference between all the signal durations corresponding to each signal type.

[0035] In one embodiment of the present invention, for each signal type, such as high level or low level, red, yellow or green, etc., the difference between the signal durations of all optional signal units under the signal type is determined, and the set consisting of the absolute values ​​of each difference is determined as the first duration difference corresponding to the signal type. For example, when signal type A corresponds to n types of signal durations, signal type A corresponds to at most n(n-1) / 2 first duration differences, where n is a positive integer. For example, under the red signal type, there are three optional signal units, namely long red, medium red and short red, whose signal durations are 5s, 3s and 1s respectively, then the first duration differences corresponding to the red signal type are 2s and 4s.

[0036] Step 2012: Determine the sampling period according to all the first time length differences and all the signal time lengths.

[0037] In one embodiment of the present invention, a minimum value is determined in a set consisting of all first duration differences and all signal durations, and the minimum value is used to characterize the minimum difference in signal durations between target signal units in the signal to be sampled, and the difference is used to characterize the minimum difference in signal durations of different optional signal units. A sampling period is determined based on the smaller value, wherein the sampling period needs to be greater than the smaller value, so that when sampling the signal to be sampled, the change process of each target signal unit can be covered, thereby improving the reliability of the signal to be sampled.

[0038] In yet another embodiment of the present invention, step 2012 further includes at least:

[0039] Step 121: Determine half of the first time difference as the sampling period difference corresponding to each of the signal types.

[0040] In one embodiment of the present invention, considering that any signal can be decomposed into the sum of several sine / cosine signals, and based on the conversion relationship between the sampling frequency and the sampling period, half of each first time difference is taken as a reference value for determining the subsequent sampling period.

[0041] Step 122: Determine the minimum value of the signal duration as the optional minimum value corresponding to each of the signal types.

[0042] In one embodiment of the present invention, in combination with the above example, under the red signal type, the optional minimum value is 1s.

[0043] Step 123: Determine the sampling period according to the optional minimum value and the sampling period difference.

[0044] In one embodiment of the present invention, a minimum value is determined in a set consisting of optional minimum values ​​and the sampling period difference, and the sampling period is determined according to the minimum value.

[0045] In yet another embodiment of the present invention, step 123 further includes: step 231: determining a smaller one among all the optional minimum values ​​and all the sampling period differences as a target minimum value.

[0046] For example, the minimum value in a set consisting of the optional minimum value and the sampling period difference is determined as the target minimum value.

[0047] Step 232: Determine the sampling period according to the target minimum value.

[0048] In one embodiment of the present invention, the target minimum value is rounded up to obtain a sampling period. For example, when the target minimum value is 2.4 s, the sampling period is determined to be 3 s.

[0049] Step 30: Sampling the signal to be sampled according to the sampling period to obtain a sampled signal.

[0050] In one embodiment of the present invention, the method for sampling the signal to be sampled may be as follows: Figure 2 As shown, the sampling period is sent to the diagnostic software installed on the computer processing device, and the user collects the acquisition signal for a period of time by installing the diagnostic software.

[0051] Step 40: Analyze the acquisition signal to determine the target indication type corresponding to the acquisition signal.

[0052] In one embodiment of the present invention, parsing the collected signal includes parsing out each target signal unit in the collected signal, then looking up a table based on the target signal unit to determine the corresponding indication state type, such as long on, short off, etc., and finally combining all the target signal units in the time sequence of signal collection to obtain the target indication type corresponding to the collected signal, such as long on-short off-short on-long off-long on, etc.

[0053] Therefore, in another embodiment of the present invention, each of the optional signal units corresponds to a preset indication type; the preset indication type is used to characterize a specific state of the device or object to be observed that can be identified by a person, such as long-on, short-on, etc. The preset indication type can be determined by querying in a preset signal indication table, wherein the signal indication table includes the preset indication type corresponding to each optional signal unit.

[0054] Step 40 also includes: Step 401: Segment the collected signal to obtain multiple signal segments to be identified.

[0055] Considering that two different target signal units can only be distinguished when the signal types between adjacent target signal units are different, therefore, referring to the definition of the signal unit to be identified in the electronic circuit, in one embodiment of the present invention, the acquired signal is first divided into a plurality of signal segments to be identified, wherein the signal segment to be identified includes a signal unit to be identified; the signal unit to be identified is one of the optional signal units; and the signal types of the signal units to be identified included in the signal segments to be identified that are adjacent in the acquisition time are different.

[0056] For example, the collected signal may be 1112222233211001, and the signal segments to be identified are respectively "111", "22222", "33", "2", "11", "00" and "1".

[0057] Step 402: Determine the duration of the signal segment to be identified according to the sampling period and the number of acquisition periods included in the signal segment to be identified.

[0058] In one embodiment of the present invention, the product of the sampling period and the number of sampling periods is determined as the duration of the signal segment. For example, in combination with the above example, when the sampling period is 2s and the signal segment to be identified is "22222", the number of sampling periods is 5, then the duration of the signal segment is 2*5=10s.

[0059] Step 403: Determine the optional signal unit that matches the signal unit to be identified according to the duration of the signal segment, the sampling period, and the signal type of the signal unit to be identified.

[0060] Taking into account that with different sampling periods, when collecting the same optional signal unit, the number of sampling periods contained in the collected signal segment to be identified is also different. For example, for the optional signal unit s1 is "111", as the sampling frequency increases, the signal segment to be identified collected for the optional signal unit may be "111", "11111" or even "11111111". At this time, if there are optional signal units s2 and s3 that are "11111" or "11111111", it is impossible to determine whether the optional signal unit corresponding to the signal segment to be identified "111" is s1, s2 or s3.

[0061] Therefore, in one embodiment of the present invention, the difference between the signal duration of each optional signal unit and the duration of the signal segment is determined respectively, the absolute value of the difference is compared with the sampling period, and the optional signal unit whose absolute value of the difference is less than one sampling period is determined as the matched optional signal unit. The reason is that according to the aforementioned principle of determining the sampling period, the sampling period should cover the change process of the smallest signal unit in the signal to be sampled. Therefore, on the basis of the different signal types of the signal units to be identified included in the signal segments to be identified adjacent to each other in the acquisition time, the difference between the signal segment duration and the duration of the optional signal unit does not exceed one sampling period, indicating that the signal segment to be identified is still in the optional signal unit, and there is no change in the optional signal unit, so it is determined as the matched optional signal unit.

[0062] In still another embodiment of the present invention, step 403 further includes: step 4031: determining the optional signal unit having the same signal type as the signal unit to be identified as the signal unit to be matched.

[0063] In one embodiment of the present invention, considering that the signal type of the matched optional signal unit must be the same as the signal unit to be identified, firstly screening is performed according to the signal type, and the optional signal unit with the same signal type as the signal unit to be identified is determined as the signal unit to be matched. For example, when there are two signal types, high level and low level, and the signal type of the signal unit to be identified is high level, all high level optional signal units are determined as the signal units to be matched.

[0064] Step 4032: respectively determine the second duration difference between the duration of the signal segment and the signal duration of each of the signal units to be matched.

[0065] For example, when the signal to be identified is the aforementioned "22222", its signal segment duration is 10s, the sampling period is 2s, and there are signal units to be matched "22222", "2222" and "222222" with signal durations of 11s, 8s and 14s respectively. The second duration differences are -1s, 2s and -4s respectively.

[0066] Step 4033: Determine the matched optional signal unit from the signal units to be matched according to the second time difference and the sampling period.

[0067] In one embodiment of the present invention, it is determined whether the absolute value of the second time difference is less than one sampling period. If so, it indicates that the to-be-matched unit corresponding to the second time difference is the matched optional signal unit.

[0068] In still another embodiment of the present invention, step 4033 further includes: step 331: comparing the absolute value of the second time difference with the sampling period.

[0069] In combination with the above example, 1s, 2s and 4s are compared with the sampling period of 2s respectively.

[0070] Step 332: Determine the to-be-matched signal unit whose absolute value is smaller than the sampling period as the matched optional signal unit.

[0071] In combination with the above example, the to-be-matched signal unit "22222" with an absolute value of 1s is determined as the matched optional signal unit.

[0072] Step 404: Determine the matching indication type corresponding to the signal segment to be identified according to the preset indication type corresponding to the matched optional signal unit.

[0073] In one embodiment of the present invention, the matching indication type refers to the indication type corresponding to the optional signal unit that matches the signal segment to be identified, wherein, different from the signal type directly determined according to the signal value, the indication type is the state information of the signal type that can be translated into the existence indication meaning that can be read by humans, such as long light, short light, and red, etc. Different from the prior art that requires human eyes to read and identify the flashing sequence of the indicator light, the recognition accuracy is low, such as it is difficult for humans to distinguish between long light and short light, the matching indication type corresponding to the signal segment to be identified collected for the two different optional signal units of long light and short light is directly displayed, thereby improving the accuracy and efficiency of indication signal recognition.

[0074] Step 405: Determine the target indication type according to all the matching indication types.

[0075] All matching indication types included in the acquisition signal are combined to determine a sequence consisting of all matching indication types corresponding to the acquisition signal, and obtain a target indication type corresponding to the sequence.

[0076] In yet another embodiment of the present invention, step 405 further includes:

[0077] Step 4051: Combine the matching indication types according to the acquisition time sequence of each of the signal segments to be identified to obtain the target indication type.

[0078] In one embodiment of the present invention, reference Figure 3 , when the acquisition signal AB is "11001111001100110011", the target indication type is short on-short off-long on-short off-short on-short on-short on-short off-short on-short off-short on-short off.

[0079] In another embodiment of the present invention, a table lookup can be further performed according to the target indication type to determine the corresponding device status type. For example, the device status corresponding to "short on-short off" may be that the engine is short of oil, and the device status corresponding to "long on-short off-short on" may be that the engine temperature is too high.

[0080] The indication signal recognition method proposed in the present application determines the signal type and signal duration of multiple optional signal units; wherein the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of signal types is at least two; thereby determining the signal type information of all signal units that may be included in the signal to be sampled; then determining the sampling period according to the signal type and signal duration, and sampling the signal to be sampled according to the sampling period to obtain a collection signal; thereby ensuring the conversion process between each target signal unit collected in the signal to be sampled; finally, parsing the collection signal to determine the target indication type corresponding to the collection signal. The present application determines the sampling period according to the signal type and signal duration of the signal unit included in the signal to be sampled in the above manner, thereby improving the efficiency of indication signal recognition while also improving the accuracy of indication signal recognition.

[0081] In one embodiment of the present invention, the indication signal recognition method of the present invention is described in an application scenario where "the signal to be sampled is a binary signal of high and low levels".

[0082] The sampling process is as follows:

[0083] According to the first formula, the sampling period (denoted as T 采样 ), the first formula is:

[0084] T Sampling <min{{T H}, {T L}, {ΔT H / 2}, {ΔT L / 2}};

[0085] Among them, {T H} is the set of all possible high level widths;

[0086] {T L} is the set of all possible low level widths;

[0087] {ΔT H} is the set of differences between the level widths of all possible high levels;

[0088] {ΔT L} is the set of differences between all possible low level widths;

[0089] In another embodiment of the present invention, the first formula can also be rewritten as the second formula:

[0090] T 采样 <min{T Hmin , T Lmin , min(ΔT H ) / 2, min(ΔTL ) / 2};

[0091] Determine T 采样 Then the controller controls the sampling unit, such as the camera, the level acquisition probe, etc., to sample with a sampling period of T, obtain the logical information of each frame of sampling, and generate the original sequence (recorded as ARRAY_PRIME). For example, the bright information in each frame of the image is identified as 1, and the dark information is identified as 0, and the ARRAY_PRIME generated by "bright bright bright dark dark bright" is 111001. (It can be stored in the form of bits or bytes).

[0092] The parsing process is as follows:

[0093] Assume that the time length of the original signal unit si to be identified is T i , let N i =T i / T 采样 .

[0094] Then in the original sequence ARRAY_PRIME, if the sequence length of a certain signal unit to be identified is N i or N i +1 sequence, the corresponding actual signal unit to be identified is s i The information corresponding to the signal unit to be identified is stored in the parsing sequence ARRAY_SOLVED in chronological order. At this point, the identification and restoration of the key information of the original signal is completed.

[0095] In one embodiment of this application scenario, the signal type and signal duration of the optional signal unit are specified as follows: The optional signal unit consists of a long-light signal (T H长 = 3s, logic 1), short bright signal (T H短 =1s, logic is 0), forming a binary logic, the signal is dark during the interval, and the interval between consecutive bits (T L短 = 1s), the interval between characters (T L长 =3s).

[0096] In the analytical process, it can be obtained from the second formula that T 采样 <min{T Hmin , T Lmin , min(ΔT H ) / 2, min(ΔT L ) / 2}=1s,T 采样 0.9s may be selected, and the diagnostic device controls the camera (or other sampling device) to sample video frames at a sampling period of 0.9s;

[0097] Identify the on / off information in the video frame and generate ARRAY_PRIME=…011001111001100110011001111001… in sequence;

[0098] According to the analysis principle of the embodiment of the present invention, Table 1 is prepared, i.e., a correspondence table between the first signal period number and the analysis result. According to Table 1, ARRAY_SOLVED=…010110111010…, wherein ARRAY_SOLVED is the logic information directly corresponding to the original signal.

[0099] Table 1 Correspondence between the first signal period number and the analysis results

[0100]

[0101] In another embodiment of this application scenario, the signal type and signal duration of the optional signal unit are defined as follows: the information volume of a valid interval is 10 bits, and within a valid interval, both the on and off have meanings, and each segment is continuous for 1 s The state represents 1 bit of information (on is 1, off is 0), and the interval between valid intervals lasts for 15 seconds. s of low level.

[0102] In the analytical process, it can be obtained from the second formula that T 采样 <min(ΔT H ) / 2=0.5 s , T 采样 0.4 is acceptable s The diagnostic device controls the camera (or other sampling device) to detect the s The sampling period samples the video frames;

[0103] The on / off information in the identified video frame is processed and generated in sequence ARRAY_PRIME=…0011000111110001111111100011000…; the signal unit to be identified is analyzed according to Table 2, i.e., the correspondence table between the second signal period number and the analysis result, to obtain the logic information ARRAY_SOLVED directly corresponding to the original signal, which is…010110111010….

[0104] Table 2 Correspondence between the second signal period number and analysis results

[0105]

[0106]

[0107] Figure 4 FIG. 2 shows a schematic diagram of a module of an indication signal recognition system provided by an embodiment of the present invention. Figure 4As shown, the indication signal recognition system 200 is one or more program modules, and one or more program modules are stored in a memory and executed by one or more processors to complete the present application. The module referred to in the present application refers to a series of computer program instruction segments that can complete specific functions.

[0108] The indication signal identification system 200 includes: a first determination module 201, a second determination module 202, a sampling module 203 and an analysis module 204. The functions or operation steps implemented by the indication signal identification system 200 are substantially the same as those of the above embodiment, and will not be described in detail.

[0109] Figure 5 A schematic diagram of the structure of an indication signal recognition device provided by an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the indication signal recognition device.

[0110] like Figure 5 As shown, the indication signal recognition device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .

[0111] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the indication signal identification system 200, and specifically can execute the relevant steps in the above-mentioned indication signal identification method embodiment.

[0112] Specifically, the indication signal recognition system 200 may include one or more program modules composed of program codes (see Figure 4 ), the program code includes computer executable instructions.

[0113] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the indication signal recognition device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0114] The memory 306 is used to store the indication signal recognition program constituting the indication signal recognition system 200. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0115] The indication signal recognition program constituting the indication signal recognition system 200 can be specifically called by the processor 302 to enable the indication signal recognition device to perform the following operations: determine the signal type and signal duration of multiple optional signal units; the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of the signal types is at least two; determine the sampling period according to the signal type and signal duration; sample the signal to be sampled according to the sampling period to obtain a collection signal; and parse the collection signal to determine the target indication type corresponding to the collection signal.

[0116] In an optional manner, the signal type corresponds to at least one of the signal durations; the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: determine the first duration difference corresponding to each of the signal types according to the difference between all the signal durations corresponding to each of the signal types; determine the sampling period according to all of the first duration differences and all of the signal durations.

[0117] In an optional manner, the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: determine half of the first time length difference as the sampling period difference corresponding to each of the signal types; determine the minimum value of the signal time length as the optional minimum value corresponding to each of the signal types; and determine the sampling period based on the optional minimum value and the sampling period difference.

[0118] In an optional manner, the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: determine the smaller one of all the optional minimum values ​​and all the sampling period differences as the target minimum value; and determine the sampling period according to the target minimum value.

[0119] In an optional manner, each of the optional signal units corresponds to a preset indication type; the indication signal identification program constituting the indication signal identification system 200 is called by the processor 302 to enable the indication signal identification device to perform the following operations: the collected signal is divided to obtain multiple signal segments to be identified; the signal segment to be identified includes one of the signal units to be identified; the signal unit to be identified is one of the optional signal units; the signal types of the signal units to be identified included in the signal segments to be identified with adjacent acquisition times are different; the signal segment duration of the signal segment to be identified is determined according to the sampling period and the number of acquisition periods included in the signal segment to be identified; the optional signal unit to which the signal unit to be identified matches is determined according to the signal segment duration, the sampling period and the signal type of the signal unit to be identified; the matching indication type corresponding to the signal segment to be identified is determined according to the preset indication type corresponding to the matched optional signal unit; the target indication type is determined according to all the matching indication types.

[0120] In an optional manner, the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: determine the optional signal unit with the same signal type as the signal unit to be recognized as the signal unit to be matched; respectively determine the second time difference between the duration of the signal segment and the signal duration of each of the signal units to be matched; and determine the matched optional signal unit from the signal units to be matched based on the second time difference and the sampling period.

[0121] In an optional manner, the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: compare the absolute value of the second time difference with the sampling period; and determine the signal unit to be matched whose absolute value is less than the sampling period as the matched optional signal unit.

[0122] In an optional manner, the indication signal recognition program constituting the indication signal recognition system 200 is called by the processor 302 to enable the indication signal recognition device to perform the following operations: combining the matching indication types according to the acquisition time sequence of each of the signal segments to be recognized to obtain the target indication type.

[0123] The indication signal recognition device proposed in the present application determines the signal type and signal duration of multiple optional signal units; wherein the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of signal types is at least two; thereby determining the signal type information of all signal units that may be included in the signal to be sampled; then determining the sampling period according to the signal type and signal duration, and sampling the signal to be sampled according to the sampling period to obtain a collection signal; thereby ensuring the conversion process between each target signal unit collected in the signal to be sampled; finally, parsing the collection signal to determine the target indication type corresponding to the collection signal. The present application determines the sampling period according to the signal type and signal duration of the signal unit included in the signal to be sampled in the above manner, thereby improving the efficiency of indication signal recognition while also improving the accuracy of indication signal recognition.

[0124] In addition, an embodiment of the present application further provides a computer-readable storage medium, on which an indication signal recognition program is stored, and the indication signal recognition program can be executed by one or more processors to implement the following operations:

[0125] Determine the signal type and signal duration of multiple optional signal units; the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of the signal types is at least two; determine the sampling period according to the signal type and signal duration; sample the signal to be sampled according to the sampling period to obtain a collection signal; analyze the collection signal to determine the target indication type corresponding to the collection signal.

[0126] In an optional manner, the signal type corresponds to at least one of the signal durations; the executable instructions enable the indication signal identification device to perform the following operations: determine the first duration difference corresponding to each of the signal types according to the difference between all the signal durations corresponding to each of the signal types; determine the sampling period according to all of the first duration differences and all of the signal durations.

[0127] In an optional manner, the executable instructions cause the indication signal identification device to perform the following operations: determine half of the first time length difference as the sampling period difference corresponding to each of the signal types; determine the minimum value of the signal time length as the optional minimum value corresponding to each of the signal types; and determine the sampling period based on the optional minimum value and the sampling period difference.

[0128] In an optional manner, the executable instruction enables the indication signal identification device to perform the following operations: determine the smaller one of all the optional minimum values ​​and all the sampling period differences as the target minimum value; and determine the sampling period according to the target minimum value.

[0129] In an optional manner, each of the optional signal units corresponds to a preset indication type; the executable instruction enables the indication signal recognition device to perform the following operations:

[0130] The collected signal is divided to obtain multiple signal segments to be identified; the signal segment to be identified includes a signal unit to be identified; the signal unit to be identified is one of the optional signal units; the signal types of the signal units to be identified included in the signal segments to be identified with adjacent acquisition times are different; the signal segment duration of the signal segment to be identified is determined according to the sampling period and the number of acquisition periods included in the signal segment to be identified; the optional signal unit to which the signal unit to be identified matches is determined according to the signal segment duration, the sampling period and the signal type of the signal unit to be identified; the matching indication type corresponding to the signal segment to be identified is determined according to the preset indication type corresponding to the matched optional signal unit; the target indication type is determined according to all the matching indication types.

[0131] In one embodiment of the present invention, the executable instructions cause the indication signal identification device to perform the following operations: determine the optional signal unit having the same signal type as the signal unit to be identified as the signal unit to be matched; respectively determine the second time difference between the duration of the signal segment and the signal duration of each of the signal units to be matched; and determine the matched optional signal unit from the signal units to be matched based on the second time difference and the sampling period.

[0132] In one embodiment of the present invention, the executable instructions enable the indication signal identification device to perform the following operations: compare the absolute value of the second time difference with the sampling period; and determine the signal unit to be matched whose absolute value is smaller than the sampling period as the matched optional signal unit.

[0133] In one embodiment of the present invention, the executable instructions enable the indication signal recognition device to perform the following operations: combine the matching indication types according to the acquisition time sequence of each of the signal segments to be recognized to obtain the target indication type.

[0134] The computer-readable storage medium proposed in the present application determines the signal type and signal duration of multiple optional signal units; wherein the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of signal types is at least two; thereby determining the signal type information of all signal units that may be included in the signal to be sampled; then determining the sampling period according to the signal type and signal duration, and sampling the signal to be sampled according to the sampling period to obtain a collection signal; thereby ensuring the conversion process between each target signal unit collected in the signal to be sampled; finally, parsing the collection signal to determine the target indication type corresponding to the collection signal. The present application determines the sampling period according to the signal type and signal duration of the signal unit included in the signal to be sampled in the above manner, thereby improving the efficiency of indication signal recognition and also improving the accuracy of indication signal recognition.

[0135] The specific implementation of the computer-readable storage medium of the present application is basically the same as the above-mentioned embodiments of the indication signal recognition method and device, and will not be described in detail here.

[0136] An embodiment of the present invention provides an indication signal recognition device, which is used to execute the above indication signal recognition method.

[0137] An embodiment of the present invention provides a computer program, which can be called by a processor to enable an indication signal recognition device to execute the indication signal recognition method in any of the above method embodiments.

[0138] An embodiment of the present invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed on a computer, the computer executes the indication signal recognition method in any of the above method embodiments.

[0139] The algorithm or display provided herein is not inherently related to any particular computer, virtual system or other equipment. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the embodiment of the present invention is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description made to specific languages ​​above is for disclosing the best mode of the present invention.

[0140] The steps in the above embodiments, unless otherwise specified, should not be understood as limiting the execution order. The above are only preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for identifying an indication signal, characterized in that: The method comprises: Determine the signal type and signal duration of multiple optional signal units, the signal type corresponds to at least one of the signal durations; the signal to be sampled includes multiple target signal units; the target signal unit is one of the optional signal units; the number of the signal types is at least two; Determine a first duration difference corresponding to each signal type according to the difference between all the signal durations corresponding to each signal type; Determine half of the first time difference as the sampling period difference corresponding to each of the signal types; Determine the minimum value of the signal duration as the optional minimum value corresponding to each of the signal types; Determine the sampling period according to the optional minimum value and the sampling period difference; Sampling the signal to be sampled according to the sampling period to obtain a sampled signal; The acquisition signal is analyzed to determine the target indication type corresponding to the acquisition signal.

2. The method according to claim 1, characterized in that The determining the sampling period according to the optional minimum value and the sampling period difference comprises: Determine a smaller one of all the optional minimum values ​​and all the sampling period differences as a target minimum value; The sampling period is determined according to the target minimum value.

3. The method according to claim 1, characterized in that Each of the optional signal units corresponds to a preset indication type; the parsing of the acquisition signal to determine the target indication type of the acquisition signal includes: The collected signal is divided to obtain a plurality of signal segments to be identified; the signal segment to be identified includes a signal unit to be identified; the signal unit to be identified is one of the optional signal units; the signal types of the signal units to be identified included in the signal segments to be identified that are adjacent in the collection time are different; Determine the duration of the signal segment of the signal segment to be identified according to the sampling period and the number of acquisition periods included in the signal segment to be identified; Determine the optional signal unit that the signal unit to be identified matches according to the duration of the signal segment, the sampling period, and the signal type of the signal unit to be identified; Determining the matching indication type corresponding to the signal segment to be identified according to the preset indication type corresponding to the matched optional signal unit; The target indication type is determined according to all the matching indication types.

4. The method according to claim 3, characterized in that The determining, according to the duration of the signal segment, the sampling period, and the signal type of the signal unit to be identified, the optional signal unit to which the signal unit to be identified matches includes: Determine the optional signal unit having the same signal type as the signal unit to be identified as the signal unit to be matched; Respectively determine a second duration difference between the duration of the signal segment and the signal duration of each of the signal units to be matched; The matched optional signal unit is determined from the signal units to be matched according to the second time difference and the sampling period.

5. The method according to claim 4, characterized in that The step of determining the matched optional signal unit from the signal units to be matched according to the second time difference and the sampling period includes: Comparing the absolute value of the second time difference with the sampling period; The to-be-matched signal unit whose absolute value is smaller than the sampling period is determined as the matched optional signal unit.

6. The method according to claim 3, characterized in that: The determining the target indication type according to all the matching indication types comprises: The matching indication types are combined according to the acquisition time sequence of each of the signal segments to be identified to obtain the target indication type.

7. An indication signal recognition device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the indication signal recognition method as described in any one of claims 1-6.

8. A computer-readable storage medium, characterized in that: The storage medium stores at least one executable instruction, and when the executable instruction is executed by the processor of the indication signal recognition device, the indication signal recognition device performs the operation of the indication signal recognition method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image capturing apparatus and driving method of image sensor

    CN105721783A

  • Equipment state monitoring method and system

    CN110991347A