CN114449085A - Telephone set detection method and system based on earphone audio self-checking - Google Patents

Telephone set detection method and system based on earphone audio self-checking Download PDF

Info

Publication number
CN114449085A
CN114449085A CN202210086122.1A CN202210086122A CN114449085A CN 114449085 A CN114449085 A CN 114449085A CN 202210086122 A CN202210086122 A CN 202210086122A CN 114449085 A CN114449085 A CN 114449085A
Authority
CN
China
Prior art keywords
telephone
self
checking
preset
audio
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
CN202210086122.1A
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.)
Shenzhen Dongfang Junke Co ltd
Original Assignee
Shenzhen Dongfang Junke 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 Shenzhen Dongfang Junke Co ltd filed Critical Shenzhen Dongfang Junke Co ltd
Priority to CN202210086122.1A priority Critical patent/CN114449085A/en
Publication of CN114449085A publication Critical patent/CN114449085A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to the field of industrial telephones, in particular to a telephone detection method and a telephone detection system based on earphone audio self-checking, wherein the telephone detection method comprises the following steps: judging whether the telephone is in self-checking time; if not, keeping the standby state; if yes, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone; and analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the fault result to a server. The method and the device have the advantages that the preset audio is generated through the telephone receiver of the telephone, then the microphone of the telephone receives the preset audio, the received preset audio is decoded, whether the telephone breaks down or not is judged according to the decoding success rate, the fault result is uploaded to the server, and the worker does not need to manually check the place where the telephone is installed.

Description

Telephone set detection method and system based on earphone audio self-checking
Technical Field
The application relates to the field of industrial telephones, in particular to a telephone detection method and system based on earphone audio self-checking.
Background
A telephone set is a telecommunication device for transmitting and receiving sound, and the telephone set includes a wired telephone set and a wireless telephone set, and as the telephone set is developed, the wireless telephone set is gradually replacing the wired telephone set in daily production and living.
However, in some places where signals are bad or interfere with equipment, a line telephone is usually installed to realize internal and external communication, for example, in areas such as tunnels and subways, two telephones are connected through a telephone line, during a call, one telephone converts a sound wave signal of a person speaking into an electric signal to be transmitted to the next telephone, and the condition in the tunnel is transmitted to the outside through the telephone, so that in the special environment, the connection condition of the telephones needs to be detected frequently to ensure the connection between the special environment such as the tunnel and the outside environment.
In view of the above-mentioned related technologies, the inventor believes that, as the telephone is installed in the tunnel, when the telephone is checked to be in good condition, a worker needs to enter the tunnel to manually check the circuit, and the checking of the telephone is time-consuming and labor-consuming.
Disclosure of Invention
In order to facilitate checking and save labor, the application provides a telephone detection method based on earphone audio self-checking.
The telephone detection method and system based on the earphone audio self-checking provided by the application adopt the following technical scheme:
a telephone detection method based on earphone audio self-checking comprises the following steps: judging whether the telephone is in the self-checking time or not;
if not, keeping the standby state;
if yes, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone;
and analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the fault result to a server.
By adopting the technical scheme, whether the telephone is in the self-checking time or not is judged, when the telephone is in the self-checking time, the receiver generates the preset audio according to the preset rule, the microphone receives the audio generated by the receiver, if the telephone is not in the self-checking time, the telephone is kept in the standby state, after the telephone starts the self-checking, the preset audio received by the microphone is analyzed, whether the telephone breaks down or not is judged according to the judgment result obtained by analyzing the audio, and then the judgment result is uploaded to the server. And the server makes corresponding action according to the judgment result. The telephone is manually checked in the tunnel as far as possible by workers, whether the telephone breaks down or not is judged according to people, whether the telephone breaks down or not can be judged only by receiving the preset audio through the telephone after the preset audio sent by the receiver is received, and the received audio is analyzed, so that the telephone is prevented from manually entering the tunnel, the highway and the like to check as far as possible.
Optionally, the determining whether the telephone is in the self-checking time includes:
acquiring current standard time;
judging whether the current time is in the self-checking time or not;
if yes, the telephone performs self-checking;
if not, the telephone is not in the self-checking time, and the telephone enters a standby state.
By adopting the technical scheme, after the current standard time of the telephone is obtained, the judgment is carried out, whether the current time is within the preset self-checking time is judged, when the current time is within the self-checking time, the telephone carries out self-checking, the receiver sends out the preset audio, the microphone receives the preset audio and analyzes and judges whether the telephone is in fault, when the telephone is not within the self-checking time, the telephone enters a standby state, the time for carrying out self-checking on the telephone is controlled through the time, and the phenomenon that the surrounding environment is noisy due to the fact that the preset audio is sent out for a long time is avoided.
Optionally, before the causing the handset of the telephone to generate the preset audio based on the preset rule includes:
acquiring background sound information of the current surrounding environment;
and controlling the receiver of the telephone to generate different types of audio based on the background sound information.
Through adopting above-mentioned technical scheme, behind the earphone produced the audio frequency, when the produced audio frequency of earphone was received to the microphone, the definition that the microphone received the audio frequency that the earphone sent was influenced by surrounding environment very greatly, in order to make the audio frequency that the microphone received comparatively clear, need acquire surrounding environment's background sound information, according to the difference of surrounding environment's background sound information, make the audio frequency that the microphone received more clear.
Optionally, the generating audio adapted to the volume of the background sound based on the volume of the background sound before comprises:
judging whether the volume of the background sound is larger than a sound threshold value;
if so, stopping self-checking if the preset audio frequency is not generated;
if not, based on the volume of the background sound, adjusting the volume of the preset audio frequency emitted by a receiver of the telephone.
By adopting the technical scheme, the volume of the background sound of the surrounding environment has a very serious influence on the self-checking of the telephone, the volume of the surrounding background sound is received and detected, when the volume of the background sound is greater than a sound threshold, the background sound in the environment is larger at the moment, the self-checking is carried out at the moment, the preset audio frequency received by the microphone is greatly influenced by the background sound, the accuracy of the audio frequency sent by the microphone is greatly influenced, the self-checking is stopped at the moment, and if the volume of the background sound is less than or equal to the sound threshold, the audio frequency of the volume which can be received by the telephone is generated.
Optionally, the controlling an earpiece of the telephone to generate audio with different volumes based on the background sound information includes:
judging whether the duration time of the background sound is longer than a preset time or not;
if the duration time of the background sound is longer than the preset time, generating a preset audio immediately after the preset time is over and performing self-checking again in the next time period;
and if the duration time of the background sound is not more than the preset time, generating the audio after the background sound is finished.
By adopting the technical scheme, the existence of the background sound influences the accuracy of the self-checking result of the telephone, the duration time of the background sound is compared with the preset time within the self-checking time, if the background sound still exists after the preset time is over, the preset audio is generated firstly to carry out the self-checking to carry out the initial judgment, then the accuracy is improved once the self-checking is carried out in the next time period, if the background sound disappears before the preset time is over, the preset audio is immediately played after the background sound disappears, the self-checking is carried out to check whether the telephone is in fault, the influence of the existence of partial background sound on the self-checking of the telephone is avoided by setting the preset time, meanwhile, the long-time existence of the background sound is prevented from not being self-checked, and the initial judgment is carried out once on the self-checking of the telephone.
Optionally, the analyzing the preset audio includes:
decoding the preset audio to generate a decoding result;
comparing the decoding result with a preset result to generate a decoding success rate;
and judging whether a fault occurs or not to generate a judgment result based on the decoding success rate.
By adopting the technical scheme, after the preset audio sent by the receiver is received by the microphone, the audio received by the microphone is decoded to obtain a decoding result, the decoding result is compared with the preset result, namely, the decoding result is compared with a correct decoding result to obtain a decoding success rate, the information conversion success rate of the received audio and the preset audio is used for judging whether the telephone has a fault or not according to the decoding success rate, the fault judgment of the telephone is digitalized, the fault judgment of the telephone is carried out according to the success rate of the received audio, the manual judgment is not needed, and the time is saved.
Optionally, the determining whether the failure occurs based on the decoding success rate includes:
comparing the decoding success rate with a threshold;
if the decoding success rate is larger than the threshold value, judging that no fault occurs;
and if the audio conversion rate is not greater than the threshold value, judging that a fault occurs.
By adopting the technical scheme, the decoding success rate is compared with the threshold value, when the decoding success rate is greater than the threshold value, the completeness of the information received by the preset audio microphone sent by the receiver is better, the telephone can be normally used after the telephone is judged not to break down, when the decoding success rate is less than the threshold value, the completeness of the information received by the preset audio microphone sent by the receiver is poorer, the user can not clearly know what the audio information sent by the receiver is, the telephone is judged to break down and cannot be normally used, and a worker is informed to replace the telephone.
Optionally, the analyzing the preset audio, determining whether a fault occurs, generating a determination result, and uploading the determination result to a server includes:
judging whether the telephone has a fault;
if yes, positioning the fault telephone and sending alarm information;
if not, the operation is not carried out.
By adopting the technical scheme, when the fault of the telephone is judged, the alarm signal is sent to inform the staff that the fault of the telephone occurs, and meanwhile, the telephone with the fault is positioned, so that the staff can quickly find the telephone with the fault, and if the fault does not occur, the action is not carried out. After the telephone set is detected to be out of order, workers can be quickly informed to find out and find out the position of the out-of-order telephone set.
Optionally, the judging module is configured to judge whether the telephone is in the self-checking time; if not, keeping the standby state; if yes, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone;
and the analysis module is used for analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the judgment result to the server.
By adopting the technical scheme, the judging module judges that the telephone is in the self-checking time at present, when the telephone is not in the self-checking time, the telephone is kept in the standby state, when the telephone is in the self-checking time, the receiver generates the preset audio frequency and the microphone receives the audio frequency, the analyzing module analyzes the received preset audio frequency to generate a judging result, whether the telephone breaks down or not is judged according to the judging result, and then the judging result is uploaded to the server.
In summary, the present application includes at least one of the following beneficial technical effects:
judging whether the telephone is in the self-checking time, when the telephone is in the self-checking time, generating a preset audio frequency by a receiver according to a preset rule, receiving the audio frequency generated by the receiver by a microphone, if the telephone is not in the self-checking time, keeping the telephone in a standby state, after the telephone starts the self-checking, analyzing the preset audio frequency received by the microphone, judging whether the telephone breaks down or not according to a judgment result obtained by analyzing the audio frequency, and then uploading the judgment result to a server. And the server makes corresponding action according to the judgment result. The telephone is not required to be manually checked when a worker enters the tunnel, whether the telephone is good or not is judged according to people, whether the telephone is good or not can be judged only by receiving preset audio through the telephone after the telephone receives the preset audio according to the preset audio sent by the receiver and analyzing and watching the received audio, and the condition that the telephone is good or not is avoided when the worker enters places such as the tunnel and the highway.
Drawings
Fig. 1 is a schematic flowchart of a telephone detection method based on a handset audio self-test according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a process for determining whether a phone is in self-test time;
FIG. 3 is a schematic flow chart of a process before a predetermined rule is applied to enable a handset of the telephone to generate a predetermined audio frequency;
FIG. 4 is a schematic flow chart illustrating a process for controlling a handset of the telephone to generate different types of audio based on the background sound information;
FIG. 5 is a schematic flow chart of a process before generating audio adapted to the volume of background sound based on the volume of the background sound;
FIG. 6 is a further schematic flow chart of controlling the handset of the phone to generate different types of audio based on the background sound information;
FIG. 7 is a schematic flow chart illustrating a process of analyzing the preset audio to determine whether a failure occurs and generating a determination result;
fig. 8 is a flowchart illustrating a process of determining whether a failure has occurred based on the decoding success rate to generate a determination result;
FIG. 9 is a schematic flow chart showing a process after a telephone set is judged to be faulty and then transmitted to a server;
fig. 10 is a system block diagram of a telephone detection system based on handset audio self-test.
Description of reference numerals: 1. a judgment module; 2. and an analysis module.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The embodiment of the application discloses a telephone set detection method based on earphone audio self-checking, and with reference to fig. 1, the method comprises the following steps:
s100, judging whether the telephone is in the self-checking time.
In the embodiment, the self-checking time is set to be 9-10 pm, and in this time, the telephone is used by few people basically and the staff can see the self-checking result when going to work the next day after the self-checking is completed.
And S110, if not, keeping the standby state.
The standby state is a power saving mode when the telephone is not used.
And S120, if so, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone.
The preset rule is that a certain section of audio file stored in advance adopts dual-tone multi-frequency signals, each digit consists of high frequency and low frequency with different frequencies, for example, 1 is equivalent to the combination of 697(Hz) and 1209(Hz), and the frequencies can be decoded by using an exchanger to obtain corresponding digits.
S130, analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the fault result to a server.
The preset audio is analyzed by decoding the preset audio played by the receiver by using the switch to obtain corresponding digits, comparing the decoded digits with preset digits, for example, presetting 10 digits, decoding whether the 10 digits can be obtained, judging whether the telephone has a fault or not according to a judgment result obtained by the comparison, and transmitting the judgment result to the server.
The implementation principle of the telephone set detection method based on the earphone audio self-checking in the embodiment of the application is as follows: firstly, judging whether the telephone is currently in the self-checking time, if not, keeping the telephone in a standby state, if so, starting the self-checking, playing a preset audio by a receiver of the telephone, receiving the preset audio by a microphone of the telephone, analyzing the received preset audio to generate a judgment result, judging whether the telephone has a fault according to the judgment result, and reporting the judgment result to a server so that a worker can find the fault in time.
Referring to fig. 2, determining whether the telephone is in the self-test time includes:
and S200, acquiring the current standard time.
The current standard time is the network time displayed on the telephone, and the background time is used as the standard.
S210, judging whether the current time is in the self-checking time.
In the embodiment, the self-checking time is set to 11 to 12 pm, if the time on the telephone is 8 pm, the self-checking is not performed in the self-checking time, and if the time on the telephone is 11 pm for 30 minutes, the self-checking is started in the self-checking time.
And S220, if so, carrying out self-checking by the telephone.
And S230, if not, the telephone is not in self-checking time, and the telephone enters a standby state.
The implementation distance for judging whether the telephone is in the self-checking time is as follows: whether the network time displayed on the telephone is within the self-checking time is judged, the self-checking time can be set according to different requirements, the telephone is self-checked within the self-checking time, and the telephone is kept in a standby state when the network time is not within the self-checking time.
Referring to fig. 3, before enabling the handset of the telephone to generate the preset audio based on the preset rule, the method includes:
and S300, acquiring background sound information of the current surrounding environment.
The background sound information of the surrounding environment is noise of the place where the telephone is installed, the audio received by the receiver contains a lot of noise in the environment, and the accuracy of the self-checking result of the telephone is influenced by the existence of the noise.
And S310, controlling the receiver of the telephone to generate different types of audio based on the background sound information.
Different types of audio include, among other things, the magnitude, duration, etc. of the noise.
The implementation principle before the telephone receiver of the telephone generates the preset audio frequency based on the preset rule in the embodiment of the application is as follows: and acquiring information of background sound of the surrounding environment, and controlling the receiver to play different types of audio according to different pieces of background sound information so as to eliminate the influence of the background sound on self-detection.
Referring to fig. 4, controlling a handset of a telephone to generate different types of audio based on background sound information includes:
s400, acquiring the volume of the background sound.
The volume of the background sound is the sound of the environment around the telephone, the telephone transmits the content of the speaking of a person, the size of the person during normal speaking is about 20 decibels, and when the noise in the environment exceeds the volume of the speaking of the person, the detection result of the telephone is possibly inaccurate.
And S410, generating audio matched with the volume of the background sound based on the volume of the background sound.
In order to enable the microphone of the telephone to clearly receive the preset audio, when the volume of the background sound is increased, the preset audio played by the receiver is correspondingly increased, for example, when the volume in the environment is 50 decibels, the audio played by the receiver is equal to 50 decibels.
The implementation principle of controlling the receiver of the telephone to generate different types of audio frequencies based on the background sound information is as follows: and acquiring the volume of background sound in the surrounding environment, and adjusting the volume of preset audio of the playing receiver according to the volume of the background sound in the surrounding environment.
Referring to fig. 5, it is determined whether the volume of the background sound is greater than a sound threshold based on the volume of the background sound.
The sound threshold is the maximum volume value of the background sound in the environment allowed when the telephone is detected, and in this embodiment, the maximum volume value of the background sound in the environment is set to 100 db.
And S510, if so, generating no preset audio, and stopping self-checking.
When the maximum volume value in the environment is checked by 100 decibels, the noise in the environment seriously influences the telephone to carry out self-checking, the self-checking is carried out in the environment, the sound received by the microphone is basically the noise in the environment, and the detection result has no referential property, so the self-checking is not carried out.
And S520, if not, adjusting the volume of the preset audio frequency emitted by the receiver of the telephone set based on the volume of the background sound.
When the volume of the background sound is less than 100 decibels, in order to enable the telephone to clearly receive the preset audio, the volume of the preset audio played by a microphone of the telephone is correspondingly adjusted according to the volume of the noise in the environment, so that the receiver of the telephone can more clearly receive the preset audio.
The embodiment of the application is based on the volume of background sound, and the implementation principle before the audio adaptive to the volume of the background sound is generated is as follows: and obtaining the volume of background sound in the environment, comparing the volume with a preset sound threshold value, judging whether the telephone performs self-checking, not performing self-checking when the volume of the background sound is greater than the sound threshold value, and performing self-checking when the volume of the background sound is less than the sound threshold value.
Referring to fig. 6, controlling the handset of the phone to generate different volumes of audio based on the background sound information includes:
s600, judging whether the duration time of the background sound is longer than preset time.
The preset time is the longest waiting time for the telephone to wait for the self-test within the self-test time, and in this embodiment, the preset time is set to 30 minutes.
And S610, if the duration time of the background sound is longer than the preset time, immediately generating a preset audio after the preset time is over and performing self-checking again in the next time period.
In this embodiment, the self-checking time is set to 11 pm to 12 pm, the duration is set to 30 minutes, the next time period is the time after the self-checking time, if an interval of one hour is reached, whether a background sound exists in the surrounding environment is detected when the interval of 11 pm, if yes, the background sound disappears, if the background sound does not disappear after 30 minutes, the self-checking is started immediately after the preset time is over, the initial self-checking is performed, and if the self-checking is interfered by the existence of the background sound, the self-checking is performed again at 1 pm and 30 am. ,
and S620, if the duration time of the background sound is not more than the preset time, generating the audio after the background sound is finished.
In this embodiment, the self-test time is set to be 11 pm to 12 pm, the duration is set to be 30 minutes, and if the background sound disappears at any time from 11 pm to 11 pm and 30 pm, the self-test is started immediately.
The embodiment of the application is based on background sound information, and the implementation principle of controlling the receiver of the telephone to generate audio with different volumes is as follows: detecting the duration of the background sound, judging whether the duration of the background sound is longer than the preset time, if so, starting self-checking after the preset time is over and carrying out self-checking again in the next time period, and if not, immediately carrying out self-checking after the background sound is over.
Referring to fig. 7, analyzing the preset audio, and determining whether a failure occurs or not to generate a determination result includes:
s700, decoding the preset audio to generate a decoding result.
In this embodiment, a digital sound file with preset audio consisting of different high and low frequencies is stored in the telephone, for example, 1 is equivalent to a combination of 697(Hz) and 1209(Hz), and these sounds can be decoded by the exchange to be restored to digital.
And S710, comparing the decoding result with a preset result to generate a decoding success rate.
The preset result is a collection of numbers that need to be decoded, for example, if the preset audio is an audio file with 13556987, the preset result is 13556987, i.e., 8 numbers, the decoding result is the correct rate for restoring the preset audio to the numbers, and if the decoding result is 1355697, i.e., 7 numbers, the decoding success rate is 7/8= 87.5%.
And S720, judging whether a fault occurs or not based on the decoding success rate to generate a judgment result.
And judging whether the telephone has a fault according to the decoded correct rate, wherein the judgment result is to judge whether the telephone has a fault, the decoding success rate represents the correct rate of the preset audio sent by the receiver to the audio received by the microphone, and whether the telephone has a fault is judged according to the decoded correct rate.
The embodiment of the application analyzes the preset audio, and judges whether a fault occurs to generate a judgment result, and the implementation principle is as follows: the microphone of the telephone receives the preset audio generated by the telephone receiver, decodes the preset audio, compares the decoded audio with the preset result to obtain the decoding success rate, and judges whether the telephone has a fault according to the decoding success rate.
Referring to fig. 8, determining whether a malfunction generation determination result occurs based on the decoding success rate includes:
and S800, comparing the decoding success rate with a threshold value.
The threshold is the lowest value allowed by the decoding success rate, and the received information smaller than the threshold is the meaning which is expressed by too many people who cannot completely express the speech.
And S810, if the decoding success rate is greater than the threshold value, judging that no fault occurs.
The decoding success rate is larger than the threshold value, which indicates that the received information can be understood by people and judges that the telephone has no fault.
And S820, if the audio conversion rate is not greater than the threshold value, judging that the fault occurs.
When the decoding success rate is not greater than the threshold, the received information cannot be clearly understood by people, and the fault of the telephone is judged.
The implementation principle of judging whether a fault occurs or not and generating the judgment result based on the decoding success rate is as follows: and comparing the decoding success rate with a threshold value to judge whether the telephone has a fault, wherein when the decoding success rate is greater than the threshold value, the telephone can clearly receive the sent information and does not have a fault, and when the decoding success rate is not greater than the threshold value, the telephone can not clearly receive the sent information and the telephone has a fault.
Referring to fig. 9, analyzing the preset audio, determining whether a failure occurs, generating a determination result, and uploading the determination result to the server includes:
and S900, judging whether the telephone has a fault or not.
And S910, if so, positioning the failed telephone and sending alarm information.
The telephone box server is connected through a wire, each telephone is provided with an independent number, when the server receives information transmitted by the telephones, the server positions the installation position of the telephone according to the number of the telephone, and sends alarm information to remind workers that the telephone is damaged.
And S920, if not, not operating.
The embodiment of the application analyzes the preset audio, judges whether a fault occurs or not to generate a judgment result, and uploads the judgment result to the server according to the following implementation principle: when the telephone fails, the telephone transmits the failure information to the server, the server sends alarm information, the server positions the installation position of the telephone according to the serial number of each telephone, and the server does not act if the telephone fails.
The above describes a telephone set detection method based on the audio self-check of the receiver, and the following describes a telephone set detection system based on the audio self-check of the receiver based on the telephone set detection method based on the audio self-check of the receiver.
A telephone detection system based on earphone audio self-checking comprises:
the judging module 1 is used for judging whether the telephone is in the self-checking time; if not, keeping the standby state; if so, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone;
and the analysis module 2 is used for analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the judgment result to the server.
The implementation principle of the telephone detection system based on the earphone audio self-checking in the embodiment of the application is as follows: the judging module 1 judges that the telephone is in the self-checking time at present, when the telephone is not in the self-checking time, the telephone keeps in the standby state and does not act, when the telephone is in the self-checking time, the receiver generates the preset audio frequency and the microphone receives the audio frequency, the analyzing module 2 analyzes the received preset audio frequency to generate a judging result, whether the telephone breaks down or not is judged according to the judging result, and then the judging result is uploaded to the server.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A telephone set detection method based on earphone audio self-checking is characterized by comprising the following steps:
judging whether the telephone is in the self-checking time or not;
if not, keeping the standby state;
if yes, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone;
and analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the fault result to a server.
2. The telephone set detection method based on the earphone audio self-checking as claimed in claim 1, wherein: the step of judging whether the telephone is in the self-checking time comprises the following steps:
acquiring current standard time;
judging whether the current time is in the self-checking time or not;
if yes, the telephone performs self-checking;
if not, the telephone is not in the self-checking time, and the telephone enters a standby state.
3. The telephone set detection method based on the self-checking of the audio frequency of the telephone set as claimed in claim 1, wherein before the step of enabling the telephone set to generate the preset audio frequency based on the preset rule comprises:
acquiring background sound information of the current surrounding environment;
and controlling the receiver of the telephone to generate different types of audio based on the background sound information.
4. The telephone set detection method based on the self-checking of the audio frequency of the telephone set as claimed in claim 3, wherein the controlling the telephone set to generate different types of audio frequency based on the background sound information comprises:
acquiring the volume of the background sound;
generating audio adapted to a volume of the background sound based on the volume of the background sound.
5. The telephone set detection method based on the earphone audio self-checking as claimed in claim 4, wherein: the generating audio adapted to a background sound volume based on the background sound volume comprises before:
judging whether the volume of the background sound is larger than a sound threshold value;
if so, stopping self-checking if the preset audio frequency is not generated;
if not, based on the volume of the background sound, adjusting the volume of the preset audio frequency emitted by a receiver of the telephone.
6. The telephone set detection method based on the self-checking of the audio frequency of the telephone set as claimed in claim 3, wherein the controlling the telephone set to generate different types of audio frequency based on the background sound information comprises:
judging whether the duration time of the background sound is longer than a preset time or not;
if the duration time of the background sound is longer than the preset time, generating a preset audio immediately after the preset time is over and performing self-checking again in the next time period;
and if the duration time of the background sound is not more than the preset time, generating the audio after the background sound is finished.
7. The telephone set detection method based on the self-checking of the audio frequency of the receiver as claimed in claim 1, wherein the analyzing the preset audio frequency and determining whether the failure occurs or not to generate the determination result comprises:
decoding the preset audio to generate a decoding result;
comparing the decoding result with a preset result to generate a decoding success rate;
and judging whether a fault occurs or not to generate a judgment result based on the decoding success rate.
8. The phone detection method based on the self-test of the audio frequency of the receiver as claimed in claim 7, wherein the determining whether the failure occurs or not based on the decoding success rate comprises:
comparing the decoding success rate with a threshold;
if the decoding success rate is larger than the threshold value, judging that no fault occurs;
and if the audio conversion rate is not greater than the threshold value, judging that a fault occurs.
9. The telephone set detection method based on the self-checking of the audio frequency of the receiver according to claim 1, wherein the analyzing the preset audio frequency, determining whether a failure occurs, generating a determination result, and uploading the determination result to the server comprises:
judging whether the telephone has a fault;
if yes, positioning the fault telephone and sending alarm information;
if not, the operation is not carried out.
10. A telephone set detection system based on earphone audio self-checking is characterized by comprising:
the judging module (1) is used for judging whether the telephone is in the self-checking time; if not, keeping the standby state; if yes, enabling a receiver of the telephone to generate a preset audio frequency based on a preset rule, and receiving the preset audio frequency through a microphone of the telephone;
and the analysis module (2) is used for analyzing the preset audio, judging whether a fault occurs or not to generate a judgment result, and uploading the judgment result to the server.
CN202210086122.1A 2022-01-25 2022-01-25 Telephone set detection method and system based on earphone audio self-checking Pending CN114449085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210086122.1A CN114449085A (en) 2022-01-25 2022-01-25 Telephone set detection method and system based on earphone audio self-checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210086122.1A CN114449085A (en) 2022-01-25 2022-01-25 Telephone set detection method and system based on earphone audio self-checking

Publications (1)

Publication Number Publication Date
CN114449085A true CN114449085A (en) 2022-05-06

Family

ID=81369693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210086122.1A Pending CN114449085A (en) 2022-01-25 2022-01-25 Telephone set detection method and system based on earphone audio self-checking

Country Status (1)

Country Link
CN (1) CN114449085A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086854A (en) * 2022-06-29 2022-09-20 珠海格力电器股份有限公司 Voice equipment and microphone fault self-checking method and device thereof, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086854A (en) * 2022-06-29 2022-09-20 珠海格力电器股份有限公司 Voice equipment and microphone fault self-checking method and device thereof, and storage medium

Similar Documents

Publication Publication Date Title
US6134303A (en) United home security system
US7567659B2 (en) Intercom system
JP5021933B2 (en) Apartment house intercom system
GB2399928A (en) Baby or child monitor incorporating mobile telephone
CN109982228B (en) Microphone fault detection method and mobile terminal
CA2231954A1 (en) Method and wireless terminal for monitoring communications and providing network with terminal operation information
US9008282B2 (en) Cordless telephone system and monitoring system
CN114449085A (en) Telephone set detection method and system based on earphone audio self-checking
CN115188169A (en) Internet of things-based host pipe safety early warning system and application method
JP2007507780A (en) Method and apparatus for utilizing 911 and E911 functions from a remote location
US20020006207A1 (en) Portable device and method of providing user with information on operation of portable device
KR100723932B1 (en) Mobile terminal apparatus having emergency receipt service function and communication system, service method thereof
GB2320857A (en) Cellular telephone with automatic redial
WO2011033870A1 (en) Communication apparatus
US20090161787A1 (en) One-way buffered communicator
US7190945B1 (en) Security alarm operation in telephone device
US7734034B1 (en) Remote party speaker phone detection
JP4072549B2 (en) Voice quality confirmation system and voice quality confirmation method
CN108269385A (en) The One key alarming method and a key alarm being combined based on data and voice
KR100617164B1 (en) A method of informing emergency state using a cellular phone
JP3879641B2 (en) Intercom system
KR101339677B1 (en) Method of alert for disasters and accidents
US20100303214A1 (en) One-way voice detection voicemail
GB2375462A (en) Answering calls to mobile terminals according to user-defined response modes
CN105450859A (en) Reminding method and apparatus for wearing earphone

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