CN115379050A - Method, device, equipment and medium for identifying calling number identification signal - Google Patents

Method, device, equipment and medium for identifying calling number identification signal Download PDF

Info

Publication number
CN115379050A
CN115379050A CN202211012560.XA CN202211012560A CN115379050A CN 115379050 A CN115379050 A CN 115379050A CN 202211012560 A CN202211012560 A CN 202211012560A CN 115379050 A CN115379050 A CN 115379050A
Authority
CN
China
Prior art keywords
signal
sampling
preset
frequency domain
acquiring
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.)
Pending
Application number
CN202211012560.XA
Other languages
Chinese (zh)
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.)
Beijing Jiaxun Feihong Electrical Co Ltd
Original Assignee
Beijing Jiaxun Feihong Electrical 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 Beijing Jiaxun Feihong Electrical Co Ltd filed Critical Beijing Jiaxun Feihong Electrical Co Ltd
Priority to CN202211012560.XA priority Critical patent/CN115379050A/en
Publication of CN115379050A publication Critical patent/CN115379050A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/2236Quality of speech transmission monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/229Wire identification arrangements; Number assignment determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2242/00Special services or facilities
    • H04M2242/24Detection or indication of type terminal or call, (e.g. fax, broadband)
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, a device, equipment and a medium for identifying a calling number identification signal. The method comprises the following steps: performing signal sampling on the received signals based on a preset sampling frequency to obtain a first preset number of sampling signals, and obtaining a second preset number of energy and values corresponding to each sampling signal; acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal; and when detecting that the energy sum value of the second preset quantity is larger than the signal energy threshold value, acquiring the received signal as a calling number identification signal. According to the technical scheme of the embodiment, the received signals are sampled, the corresponding signal energy threshold is obtained based on the energy sum value corresponding to each sampled signal, and then the calling number identification signal is identified based on the signal energy threshold, so that the identification accuracy and robustness of the calling number identification signal can be improved.

Description

Method, device, equipment and medium for identifying calling number identification signal
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to a method, an apparatus, a device, and a medium for identifying a calling number identification signal.
Background
Calling number identification is an important function in telephone communication, and with the gradual production stop of mainstream chips for realizing the calling number identification function, software is mainly adopted to realize the demodulation of calling number information in a caller identification signal at present. The stability and reliability of signal capture are crucial to correct demodulation of calling number information, and are the precondition for realizing correct demodulation of signals.
At present, the existing identification method for the identification signal of the calling number generally adopts a decision mode of setting a fixed energy threshold of an empirical value, that is, a threshold value is set according to scene experience, and whether the signal normally arrives is judged by comparing the energy of the received signal with the threshold value, so that the identification of the identification signal of the calling number is realized. However, because signals such as burst interference and incoming call ringing occur inevitably on a channel, in the prior art, a mode of setting a fixed energy threshold is adopted, and if the fixed energy threshold is set to be low, false signals are easily captured, namely false start occurs; if the fixed energy threshold is set to be higher, the capturing of correct signals is easily missed, and therefore synchronization is missed; therefore, the existing identification method of the calling number identification signal has poor robustness and low accuracy.
Disclosure of Invention
The invention provides a method, a device, equipment and a medium for identifying a calling number identification signal, which can improve the accuracy and robustness of identification of the calling number identification signal.
According to an aspect of the present invention, there is provided a method for identifying a calling number identification signal, including:
performing signal sampling on received signals based on a preset sampling frequency to obtain a first preset number of sampling signals and obtain a second preset number of energy sum values corresponding to the sampling signals;
acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal;
and when detecting that the energy sum value of the second preset quantity is larger than the signal energy threshold value, acquiring the received signal as a calling number identification signal.
According to another aspect of the present invention, there is provided an apparatus for identifying a calling number identification signal, comprising:
the sampling signal acquisition module is used for carrying out signal sampling on the received signals based on a preset sampling frequency, acquiring a first preset number of sampling signals and acquiring a second preset number of energy sum values corresponding to each sampling signal;
the signal energy threshold value acquisition module is used for acquiring a signal energy threshold value corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal;
and the calling number identification signal acquisition module is used for acquiring the received signal as a calling number identification signal when detecting that the energy sum value of the second preset quantity is greater than the signal energy threshold value.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a method of identifying a calling number identification signal according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for identifying a calling number identification signal according to any one of the embodiments of the present invention when the computer instructions are executed.
According to the technical scheme of the embodiment of the invention, the received signals are subjected to signal sampling based on the preset sampling frequency, so that a first preset number of sampling signals are obtained, and a second preset number of energy and values corresponding to each sampling signal are obtained; further acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal; when the fact that the energy sum value of the second preset quantity is larger than the signal energy threshold value is detected, the received signal is obtained to be the calling number identification signal, the received signal is sampled, the corresponding signal energy threshold value is obtained based on the energy sum value corresponding to each sampled signal, and then the calling number identification signal is identified based on the signal energy threshold value, so that the problem that the fixed energy threshold value is set improperly to cause false start or synchronization missing can be avoided, and the accuracy and robustness of identification of the calling number identification signal can be improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for identifying a calling number identification signal according to an embodiment of the present invention;
fig. 2A is a flowchart of a method for identifying a calling number identification signal according to a second embodiment of the present invention;
FIG. 2B is a schematic diagram illustrating the recognition effect of the caller ID signal with a signal-to-noise ratio of 0dB according to a second embodiment of the present invention;
FIG. 2C is a schematic diagram illustrating the recognition effect of the caller ID signal with a signal-to-noise ratio of 5dB according to a second embodiment of the present invention;
FIG. 2D is a schematic diagram illustrating the recognition effect of a caller ID signal with a signal-to-noise ratio of 10dB according to a second embodiment of the present invention;
FIG. 2E is a schematic diagram illustrating the recognition effect of the caller ID signal with 15dB SNR according to the second embodiment of the present invention;
FIG. 2F is a schematic diagram illustrating the recognition effect of the caller ID signal with 20dB SNR according to the second embodiment of the present invention;
FIG. 2G is a schematic diagram illustrating the recognition effect of a caller ID signal with a signal-to-noise ratio of 25dB according to a second embodiment of the present invention;
FIG. 2H is a schematic diagram illustrating the recognition effect of the caller ID signal with a signal-to-noise ratio of 30dB according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an identification apparatus for identifying a calling number identification signal according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the method for identifying a calling number identification signal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," "target," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of an embodiment of the present invention, which provides a method for identifying a caller id signal, where the embodiment is applicable to a case of identifying a caller id signal, and the method may be implemented by a caller id signal identification device, where the caller id signal identification device may be implemented in a hardware and/or software form, and the caller id signal identification device may be configured in an electronic device, and typically, the electronic device may be a mobile terminal. As shown in fig. 1, the method includes:
s110, carrying out signal sampling on the received signals based on a preset sampling frequency, acquiring a first preset number of sampling signals, and acquiring a second preset number of energy sum values corresponding to the sampling signals.
The preset sampling frequency can be a preset fixed sampling frequency; the first preset number may be a preset number of sampling points, and may be 512, for example. In a specific example, the received signal may be signal sampled based on a preset sampling frequency to obtain 512 sampled signals. In this embodiment, the value of the preset sampling frequency may be adaptively set according to an actual scene.
The second preset number may be a preset fixed number, for example, 64. In a specific example, the energy values of every adjacent 8 sampling signals may be added to obtain an energy sum value, so that for 512 sampling signals, corresponding 64 energy sum values may be obtained.
And S120, acquiring a signal energy threshold corresponding to each sampling signal according to the energy sum value of the second preset quantity corresponding to each sampling signal.
Specifically, after the second preset number of energy sum values is obtained, an average value of each energy sum value can be calculated to serve as a signal energy threshold corresponding to each sampling signal; alternatively, a set ratio (for example, 80%) of the average value may be set as the signal energy threshold corresponding to each sampling signal.
In this embodiment, for the current sampling signal, a corresponding signal energy threshold may be calculated. Therefore, the signal energy threshold can be adaptively changed along with the sampling signal, virtual start and missing synchronization caused by setting a fixed energy threshold can be avoided, and accurate identification of the identification signal of the calling number can be realized in the channel environments with low signal-to-noise ratio and high signal-to-noise ratio.
Optionally, the signal energy threshold may be calculated in the form of a sliding window, specifically, the length of the window is the sampling signals of the first preset number, and the sliding step length of the window is the sampling signals of the ratio of the first preset number to the second preset number. Therefore, when the sampling signals of the ratio of the first preset number to the second preset number are acquired newly, the current signal energy threshold is recalculated. Further, the sampled signals of the current window may be determined based on the current signal energy threshold.
In a specific example, the window includes 512 sampling signals, and when 8 sampling signals are newly acquired, the window slides once, and the signal energy threshold corresponding to each sampling signal in the current window is recalculated, that is, the signal energy threshold is updated once every time 8 sampling signals are newly acquired.
The setting has the advantages that the missed detection probability of the calling number identification signal can be reduced, and the detection accuracy of the calling number identification signal can be improved.
S130, when the energy sum value of the second preset quantity is detected to be larger than the signal energy threshold value, acquiring the received signal as a calling number identification signal.
Specifically, when it is detected that each energy sum is greater than the calculated signal energy threshold, it may be determined that a calling number identification signal arrives, and the currently received signal and subsequently received signals may be determined as calling number identification signals. Or, after detecting that each energy sum value is greater than the calculated signal energy threshold value, each sampling signal can be changed to a frequency domain, and then when detecting that the frequency domain characteristics of each sampling signal meet the preset signal detection conditions, the arrival of the calling number identification signal is determined.
According to the technical scheme of the embodiment of the invention, the received signals are subjected to signal sampling based on the preset sampling frequency, so that a first preset number of sampling signals are obtained, and a second preset number of energy and values corresponding to each sampling signal are obtained; further acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal; when the fact that the energy sum value of the second preset quantity is larger than the signal energy threshold value is detected, the received signal is obtained to be the calling number identification signal, the received signal is sampled, the corresponding signal energy threshold value is obtained based on the energy sum value corresponding to each sampled signal, and then the calling number identification signal is identified based on the signal energy threshold value, so that the problem that the fixed energy threshold value is set improperly to cause false start or synchronization missing can be avoided, and the accuracy and robustness of identification of the calling number identification signal can be improved.
In an optional implementation manner of this embodiment, the obtaining the energy sum value of the second preset number corresponding to each sampling signal may include:
acquiring self energy values corresponding to the sampling signals;
and adding self energy values corresponding to a third preset number of sampling signals to obtain energy sum values of a second preset number corresponding to each sampling signal, wherein the third preset number is the ratio of the first preset number to the second preset number.
In one particular example, it may be based on a formula
Figure BDA0003811156750000071
Obtaining the energy sum value E corresponding to each sampling signal i Where i =1,2.., 64, denotes a second preset number, and X denotes the amplitude of the sampled signal. Specifically, the self energy value corresponding to the sampling signal may be a square value of the amplitude of the sampling signal. When the first predetermined number is 512 and the second predetermined number is 64, the third predetermined number is 8. Thus, the self energy values corresponding to the adjacent 8 sampling signals are added to obtain 64 energy sum values.
In another optional implementation manner of this embodiment, obtaining the signal energy threshold corresponding to each sampling signal according to the second preset number of energy sum values corresponding to each sampling signal may include:
acquiring the average value of the energy sum values of the second preset quantity;
and acquiring a signal energy threshold corresponding to each sampling signal according to a first preset proportionality coefficient and the average value.
The first preset scaling factor may be a fixed scaling value preset, for example, 0.8. Specifically, the product of the first preset scaling factor and the average value may be used as the signal energy threshold corresponding to each sampling signal.
In one specific example, the formula may first be based on
Figure BDA0003811156750000081
Calculating to obtain an average value avgPower of each energy sum value; then, a signal energy threshold value threshold may be calculated based on the formula threshold = avgPower × 0.8, where 0.8 represents a first preset scaling factor.
Example two
Fig. 2A is a flowchart of a method for identifying a calling number identification signal according to a second embodiment of the present invention, which is a further refinement of the foregoing technical solution. As shown in fig. 2A, the method includes:
s210, signal sampling is carried out on the received signals based on a preset sampling frequency, a first preset number of sampling signals are obtained, and a second preset number of energy sum values corresponding to the sampling signals are obtained.
S220, acquiring a signal energy threshold corresponding to each sampling signal according to the energy sum value of the second preset quantity corresponding to each sampling signal.
And S230, when the energy sum value of the second preset quantity is detected to be larger than the signal energy threshold value, acquiring a frequency domain signal corresponding to each sampling signal.
In this embodiment, after it is detected that each energy sum is greater than the current signal energy threshold, the fast fourier transform may be further performed on each sampling signal to obtain a frequency domain signal corresponding to each sampling signal.
S240, when it is detected that each sampling signal meets a preset signal detection condition according to the frequency domain signal corresponding to each sampling signal, acquiring the received signal as a calling number identification signal.
The preset signal detection condition may be preset condition information for determining whether the frequency domain signal satisfies the frequency domain feature of the calling number identification signal, for example, the frequency corresponding to the maximum amplitude is in a preset frequency range, and the maximum amplitude is greater than a preset amplitude threshold.
In this embodiment, after the frequency domain signal corresponding to each sampling signal is obtained, it may be further determined whether the frequency domain signal meets a preset signal detection condition, and if so, it may be determined that the calling number identification signal arrives, and the currently received signal may be determined as a start part of the calling number identification signal, so as to obtain the calling number identification signal.
According to the technical scheme of the embodiment of the invention, after the fact that the energy sum value of the second preset quantity is larger than the signal energy threshold value is detected, the frequency domain signal corresponding to each sampling signal is obtained, and then when the fact that each sampling signal meets the preset signal detection condition is detected according to the frequency domain signal corresponding to each sampling signal, the received signal is obtained as the calling number identification signal; by adopting a combined secondary judgment mode, accurate identification of the calling number identification signal can be realized in a larger signal-to-noise ratio dynamic range, and the accuracy and robustness of identification of the calling number identification signal can be further improved.
In an optional implementation manner of this embodiment, detecting that each of the sampling signals satisfies a preset signal detection condition according to a frequency domain signal corresponding to each of the sampling signals may include:
acquiring a frequency domain amplitude value corresponding to each sampling signal according to the frequency domain signal corresponding to each sampling signal; acquiring a maximum frequency domain amplitude value corresponding to each sampling signal and a receiving signal frequency matched with the maximum frequency domain amplitude value according to the frequency domain amplitude value corresponding to each sampling signal;
specifically, fast fourier transform may be performed on each sampling signal to obtain a frequency domain signal, and each amplitude of the frequency domain signal is compared and analyzed to obtain a maximum frequency domain amplitude, and a received signal frequency corresponding to the maximum frequency domain amplitude is obtained at the same time.
Obtaining the received signal frequency matched with the maximum frequency domain amplitude corresponding to each sampling signal according to the frequency domain amplitude corresponding to each sampling signal may include:
acquiring the maximum amplitude frequency corresponding to each sampling signal according to the frequency domain amplitude corresponding to each sampling signal;
and acquiring the receiving signal frequency matched with the maximum frequency domain amplitude corresponding to each sampling signal according to the maximum amplitude frequency corresponding to each sampling signal and the preset sampling frequency.
In a specific example, the maximum frequency domain amplitude max _ mag corresponding to each sampling signal and the maximum amplitude frequency index (abscissa corresponding to the maximum frequency domain amplitude in the spectrogram) with the maximum frequency domain amplitude matching can be obtained based on the functions max _ mag, index = max (mag (FFT (x))). Then, the maximum amplitude frequency may be converted into a received signal frequency f according to a preset sampling frequency fs based on the formula f = index × fs/512. Of these, 512 is the number of Fast Fourier Transform (FFT) points.
Acquiring a frequency domain amplitude threshold value corresponding to each sampling signal according to the frequency domain amplitude corresponding to each sampling signal and a second preset proportional coefficient; and if the received signal frequency matched with the maximum frequency domain amplitude is detected to be in a preset frequency range and the maximum frequency domain amplitude corresponding to each sampling signal is larger than the frequency domain amplitude threshold value, each sampling signal really meets the preset signal detection condition.
Obtaining a frequency domain amplitude threshold value corresponding to each sampling signal according to the frequency domain amplitude corresponding to each sampling signal and a second preset scaling factor may include:
and acquiring a sum of frequency domain amplitude values corresponding to the sampling signals, multiplying the sum by the second preset proportional coefficient, and taking the product as a frequency domain amplitude value threshold value corresponding to the sampling signals.
The second preset scaling factor may be a preset fixed scaling factor, for example, 0.05.
In one particular example, it may be based on a formula
Figure BDA0003811156750000101
A frequency domain amplitude threshold is obtained, where N represents a first preset number, e.g., 512, and ratio represents a second preset scaling factor, e.g., ratio =0.05.
The preset frequency range may be a frequency range corresponding to a preset maximum frequency domain amplitude, for example, 1600Hz to 1800Hz.
In this embodiment, if it is detected that the frequency of the received signal with the maximum frequency domain amplitude matching is within the preset frequency range and the maximum frequency domain amplitude corresponding to each sampling signal is greater than the frequency domain amplitude threshold, it is satisfied that 1600 < f < 1800 and
Figure BDA0003811156750000102
and two conditions, each sampling signal can be determined to meet the preset signal detection condition.
The identification effect of the calling number identification signal under different signal-to-noise ratios according to the technical scheme of the embodiment of the invention can be shown in fig. 2B, fig. 2C, fig. 2D, fig. 2E, fig. 2F, fig. 2G and fig. 2H, wherein the signal-to-noise ratios corresponding to the respective figures are 0dB, 5dB, 10dB, 15dB, 20dB, 25dB and 30dB in sequence. In each figure, the upper part is an original received signal, the lower part is an identified calling number identification signal, and the calling number identification signal starts with a 2FSK (Frequency shift keying) signal. Specifically, the 2FSK signal and subsequent signals are intercepted by successfully identifying the 2FSK signal in the received signal, so as to obtain a complete calling number identification signal.
Therefore, the technical scheme of the embodiment can realize stable and reliable identification of the identification signal of the calling number in the dynamic range of the signal-to-noise ratio of 0dB to 30dB, and improves the robustness of identification, thereby providing better guarantee for the successful demodulation of the identification information of the calling number.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an identification apparatus for identifying a calling number according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: a sampling signal acquisition module 310, a signal energy threshold acquisition module 320 and a calling number identification signal acquisition module 330; wherein, the first and the second end of the pipe are connected with each other,
a sampling signal obtaining module 310, configured to perform signal sampling on a received signal based on a preset sampling frequency, obtain a first preset number of sampling signals, and obtain a second preset number of energy sum values corresponding to each sampling signal;
a signal energy threshold obtaining module 320, configured to obtain a signal energy threshold corresponding to each sampling signal according to a second preset number of energy sum values corresponding to each sampling signal;
a calling number identification signal obtaining module 330, configured to obtain the received signal as a calling number identification signal when it is detected that both the energy and the value of the second preset amount are greater than the signal energy threshold.
According to the technical scheme of the embodiment of the invention, the received signals are subjected to signal sampling based on the preset sampling frequency, so that a first preset number of sampling signals are obtained, and a second preset number of energy and values corresponding to each sampling signal are obtained; further acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal; when the fact that the energy sum value of the second preset quantity is larger than the signal energy threshold value is detected, the received signal is obtained to be the calling number identification signal, the received signal is sampled, the corresponding signal energy threshold value is obtained based on the energy sum value corresponding to each sampled signal, and then the calling number identification signal is identified based on the signal energy threshold value, so that the problem that the fixed energy threshold value is set improperly to cause false start or synchronization missing can be avoided, and the accuracy and robustness of identification of the calling number identification signal can be improved.
Optionally, the sampled signal acquiring module 310 includes:
the self energy value acquisition unit is used for acquiring self energy values corresponding to the sampling signals;
and the energy sum value acquisition unit is used for adding self energy values corresponding to a third preset number of sampling signals to acquire energy sum values of a second preset number corresponding to each sampling signal, and the third preset number is the ratio of the first preset number to the second preset number.
Optionally, the signal energy threshold obtaining module 320 includes:
the average value acquisition unit is used for acquiring the average value of the energy sum values of the second preset quantity;
and the signal energy threshold value acquisition unit is used for acquiring the signal energy threshold value corresponding to each sampling signal according to a first preset proportionality coefficient and the average value.
Optionally, the calling number identification signal obtaining module 330 includes:
a frequency domain signal obtaining unit, configured to obtain a frequency domain signal corresponding to each of the sampling signals;
and the calling number identification signal acquisition unit is used for acquiring the received signal as a calling number identification signal when detecting that each sampling signal meets a preset signal detection condition according to the frequency domain signal corresponding to each sampling signal.
Optionally, the calling number identification signal obtaining unit includes:
the frequency domain amplitude acquisition subunit is used for acquiring the frequency domain amplitude corresponding to each sampling signal according to the frequency domain signal corresponding to each sampling signal;
a received signal frequency obtaining subunit, configured to obtain, according to the frequency domain amplitude corresponding to each of the sampling signals, a maximum frequency domain amplitude corresponding to each of the sampling signals, and a received signal frequency matched with the maximum frequency domain amplitude;
a frequency domain amplitude threshold obtaining subunit, configured to obtain, according to a frequency domain amplitude corresponding to each of the sampling signals and a second preset scaling factor, a frequency domain amplitude threshold corresponding to each of the sampling signals;
and the preset signal detection condition determining subunit is configured to, if it is detected that the received signal frequency matched with the maximum frequency domain amplitude is within a preset frequency range and the maximum frequency domain amplitude corresponding to each sampling signal is greater than the frequency domain amplitude threshold, determine that each sampling signal satisfies a preset signal detection condition.
Optionally, the frequency domain amplitude threshold obtaining subunit is specifically configured to obtain a sum of frequency domain amplitudes corresponding to each of the sampling signals, multiply the sum by the second preset scaling factor, and use the product as the frequency domain amplitude threshold corresponding to each of the sampling signals.
Optionally, the received signal frequency obtaining subunit is specifically configured to obtain, according to the frequency domain amplitude corresponding to each of the sampling signals, a maximum amplitude frequency corresponding to each of the sampling signals;
and acquiring the receiving signal frequency matched with the maximum frequency domain amplitude corresponding to each sampling signal according to the maximum amplitude frequency corresponding to each sampling signal and the preset sampling frequency.
The identification device of the calling number identification signal provided by the embodiment of the invention can execute the identification method of the calling number identification signal provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the technical solution of the present embodiment, the acquisition, storage, application, and the like of the personal information of the related user all conform to the regulations of the relevant laws and regulations, and do not violate the good custom of the public order.
Example four
FIG. 4 shows a schematic block diagram of an electronic device 40 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a Read Only Memory (ROM) 42, a Random Access Memory (RAM) 43, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 41 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 42 or the computer program loaded from the storage unit 48 into the Random Access Memory (RAM) 43. In the RAM 43, various programs and data necessary for the operation of the electronic apparatus 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other via a bus 44. An input/output (I/O) interface 45 is also connected to the bus 44.
A number of components in the electronic device 40 are connected to the I/O interface 45, including: an input unit 46 such as a keyboard, a mouse, etc.; an output unit 47 such as various types of displays, speakers, and the like; a storage unit 48 such as a magnetic disk, optical disk, or the like; and a communication unit 49 such as a network card, modem, wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Processor 41 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. Processor 41 performs the various methods and processes described above, such as the identification of a calling number identification signal.
In some embodiments, the method of identifying a calling number identification signal may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 40 via the ROM 42 and/or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the identification method of a calling number identification signal described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the identification method of the calling number identification signal by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for identifying a calling number identification signal, comprising:
performing signal sampling on received signals based on a preset sampling frequency to obtain a first preset number of sampling signals, and obtaining a second preset number of energy sum values corresponding to each sampling signal;
acquiring a signal energy threshold corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal;
and when detecting that the energy sum value of the second preset quantity is larger than the signal energy threshold value, acquiring the received signal as a calling number identification signal.
2. The method of claim 1, wherein obtaining a second predetermined number of energy sums corresponding to each of the sampled signals comprises:
acquiring self energy values corresponding to the sampling signals;
and adding self energy values corresponding to a third preset number of sampling signals to obtain energy sum values of a second preset number corresponding to each sampling signal, wherein the third preset number is the ratio of the first preset number to the second preset number.
3. The method of claim 2, wherein obtaining the signal energy threshold corresponding to each sampling signal according to the second preset number of energy sum values corresponding to each sampling signal comprises:
acquiring the average value of the energy sum values of the second preset quantity;
and acquiring a signal energy threshold corresponding to each sampling signal according to a first preset proportionality coefficient and the average value.
4. The method of claim 1, wherein obtaining the received signal as a calling number identification signal comprises:
acquiring a frequency domain signal corresponding to each sampling signal;
and when detecting that each sampling signal meets a preset signal detection condition according to the frequency domain signal corresponding to each sampling signal, acquiring the received signal as a calling number identification signal.
5. The method according to claim 4, wherein detecting that each of the sampling signals satisfies a predetermined signal detection condition according to the frequency domain signal corresponding to each of the sampling signals comprises:
acquiring a frequency domain amplitude value corresponding to each sampling signal according to a frequency domain signal corresponding to each sampling signal;
acquiring a maximum frequency domain amplitude value corresponding to each sampling signal and a receiving signal frequency matched with the maximum frequency domain amplitude value according to the frequency domain amplitude value corresponding to each sampling signal;
acquiring a frequency domain amplitude threshold value corresponding to each sampling signal according to a frequency domain amplitude corresponding to each sampling signal and a second preset proportional coefficient;
and if the received signal frequency matched with the maximum frequency domain amplitude is detected to be in a preset frequency range and the maximum frequency domain amplitude corresponding to each sampling signal is larger than the frequency domain amplitude threshold value, each sampling signal really meets the preset signal detection condition.
6. The method of claim 5, wherein obtaining the frequency domain amplitude threshold corresponding to each of the sampling signals according to the frequency domain amplitude corresponding to each of the sampling signals and a second preset scaling factor comprises:
and acquiring a sum of the frequency domain amplitude values corresponding to the sampling signals, multiplying the sum by the second preset proportional coefficient, and taking the product as the frequency domain amplitude threshold value corresponding to the sampling signals.
7. The method of claim 5, wherein obtaining the received signal frequency with the maximum frequency domain amplitude matching the maximum frequency domain amplitude corresponding to each of the sampled signals according to the frequency domain amplitude corresponding to each of the sampled signals comprises:
acquiring the maximum amplitude frequency corresponding to each sampling signal according to the frequency domain amplitude corresponding to each sampling signal;
and acquiring the receiving signal frequency matched with the maximum frequency domain amplitude corresponding to each sampling signal according to the maximum amplitude frequency corresponding to each sampling signal and the preset sampling frequency.
8. An apparatus for identifying a calling number identification signal, comprising:
the sampling signal acquisition module is used for carrying out signal sampling on the received signals based on a preset sampling frequency, acquiring a first preset number of sampling signals and acquiring a second preset number of energy sum values corresponding to each sampling signal;
the signal energy threshold value acquisition module is used for acquiring a signal energy threshold value corresponding to each sampling signal according to a second preset quantity of energy sum values corresponding to each sampling signal;
and the calling number identification signal acquisition module is used for acquiring the received signal as a calling number identification signal when detecting that the energy sum value of the second preset quantity is greater than the signal energy threshold value.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of caller number identification signal identification of any one of claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a processor to implement the method of identifying a calling number identification signal according to any one of claims 1 to 7 when executed.
CN202211012560.XA 2022-08-23 2022-08-23 Method, device, equipment and medium for identifying calling number identification signal Pending CN115379050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211012560.XA CN115379050A (en) 2022-08-23 2022-08-23 Method, device, equipment and medium for identifying calling number identification signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211012560.XA CN115379050A (en) 2022-08-23 2022-08-23 Method, device, equipment and medium for identifying calling number identification signal

Publications (1)

Publication Number Publication Date
CN115379050A true CN115379050A (en) 2022-11-22

Family

ID=84068021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211012560.XA Pending CN115379050A (en) 2022-08-23 2022-08-23 Method, device, equipment and medium for identifying calling number identification signal

Country Status (1)

Country Link
CN (1) CN115379050A (en)

Similar Documents

Publication Publication Date Title
US20170076739A1 (en) Method and Apparatus for Detecting Audio Signal According to Frequency Domain Energy
CN112767935B (en) Awakening index monitoring method and device and electronic equipment
CN115379050A (en) Method, device, equipment and medium for identifying calling number identification signal
CN115358992A (en) Light spot detection method and device, electronic equipment and storage medium
CN114071192A (en) Information acquisition method, terminal, server, electronic device, and storage medium
CN113808585A (en) Earphone awakening method, device, equipment and storage medium
CN115333715B (en) Synchronization method, device, communication equipment and medium of narrowband communication system
EP4099319A1 (en) Wake-up index monitoring method and apparatus, and electronic device
CN115174426B (en) Output message detection method and device, electronic equipment and storage medium
CN115065370B (en) Gain control method, device, equipment and medium
CN115801163A (en) Method, device, equipment and medium for synchronizing symbols identified by calling number
CN117132682A (en) Waveform drawing method, device and equipment of lock-in amplifier and storage medium
CN117746069B (en) Graph searching model training method and graph searching method
CN115361308A (en) Industrial control network data risk determination method, device, equipment and storage medium
CN115550300A (en) Instant communication system login method, device, equipment and medium
CN117596704A (en) Random access detection method and device, electronic equipment and storage medium
CN114820770A (en) Scanning triggering method and device, electronic equipment and storage medium
CN114567698A (en) Detection method, device, equipment and storage medium for fraud-related numbers
CN117132681A (en) Waveform drawing method, device and equipment of lock-in amplifier and storage medium
CN117538825A (en) Sound source positioning method and device, electronic equipment and medium
CN117041429A (en) Dialogue method, dialogue device, electronic equipment and storage medium
CN116567145A (en) Customer service call operation quality inspection method and device, electronic equipment and storage medium
CN115662396A (en) Method, device, equipment and storage medium for determining starting and stopping time of sound event
CN117611175A (en) Fraud-prevention account transfer method and device, electronic equipment and storage medium
CN115859300A (en) Vulnerability detection method and device, electronic equipment and storage medium

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