CN110944090A - Method and device for solving delay of telephone number during ringing of telephone set - Google Patents

Method and device for solving delay of telephone number during ringing of telephone set Download PDF

Info

Publication number
CN110944090A
CN110944090A CN201911120347.9A CN201911120347A CN110944090A CN 110944090 A CN110944090 A CN 110944090A CN 201911120347 A CN201911120347 A CN 201911120347A CN 110944090 A CN110944090 A CN 110944090A
Authority
CN
China
Prior art keywords
incoming call
telephone
ringing
call number
management module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911120347.9A
Other languages
Chinese (zh)
Other versions
CN110944090B (en
Inventor
刘博学
任杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Wangxiaobao Technology Co Ltd
Original Assignee
Chengdu Wangxiaobao Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Wangxiaobao Technology Co Ltd filed Critical Chengdu Wangxiaobao Technology Co Ltd
Priority to CN201911120347.9A priority Critical patent/CN110944090B/en
Publication of CN110944090A publication Critical patent/CN110944090A/en
Application granted granted Critical
Publication of CN110944090B publication Critical patent/CN110944090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/57Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set

Landscapes

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

Abstract

The invention relates to the technical field of incoming call control, and discloses a method and a device for solving the problem of delay of telephone numbers during ringing of a telephone. According to the scheme, the ringing signal and the incoming call number signal are separately processed and transmitted, the incoming call ring playing process is separated from the existing telephone management thread, and the ringing and the screen popping are carried out by using an idle thread, so that the influence of the delay of the incoming call number signal is avoided, the ringing and the screen popping are carried out firstly, and after the incoming call number signal is analyzed and acquired, the display interface is refreshed in the screen popping, so that the influence on the answering of the telephone due to the delay of the incoming call number signal is avoided, and the user experience is improved.

Description

Method and device for solving delay of telephone number during ringing of telephone set
Technical Field
The invention relates to the technical field of incoming call control, in particular to a method and a device for solving the problem of delay of telephone numbers during ringing of a telephone.
Background
With the rapid development of science and technology, the intelligent fixed telephone plays an important role in the work and life of people. The intelligent fixed telephone is mainly used in public places such as enterprises and counters, so that the routing, the line and the like of the intelligent fixed telephone are complicated and changeable. Therefore, the wired smart phone is greatly affected by the line and the use environment, especially during the incoming call.
Under the existing technology, a user uses a switch or an original line, and the situations that a calling party is already on for a long time and a phone of a called party is still in an unlrung state, so that the called party cannot answer a call in time, the call is missed, or the called party is disconnected, and the like, are caused, so that the user is troubled and inconvenient, and the user experience is poor.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: aiming at the existing problems, a method and a device for solving the problem that the telephone number is delayed when the telephone rings are provided.
The technical scheme adopted by the invention is as follows: a method for resolving delays in telephone numbers during ringing of a telephone set, comprising:
s101, a telephone module of bottom hardware of the fixed telephone acquires and analyzes an electric signal on a telephone line;
step S102, converting the analyzed incoming call ringing signal into a ringing instruction which can be used for notifying an upper layer to transmit;
step S103, the upper layer telephone management module thread directly acquires a ringing instruction sent by the bottom layer telephone module through the serial port;
step S104, after receiving the ringing instruction, judging whether the ringing mode is in a priority ringing mode, if so, entering step S105;
step S105, the telephone management thread sends a resource preparation and playing request to the ringtone playing thread, and starts a caller popup screen management interface;
step S106, when the media resource is ready, the ring playing thread calls the multimedia resource to play the ring;
step S107, when the telephone module analyzes the incoming call number and converts the incoming call number into a related incoming call number transmission instruction, the transmission instruction is directly transmitted to a telephone management thread through a serial port;
step S108, after the telephone management thread acquires the effective incoming call number, an interface refreshing request is sent to the incoming call display management interface, and the effective incoming call number is displayed on the display interface.
Further, in step S104, if the priority ring mode is not set, the process proceeds to step S109:
after the effective incoming call number is obtained, sending a playing request to a ring playing thread, and simultaneously sending an incoming call screen popping request to a telephone management thread; and when the media resource is ready, the ring playing thread calls the multimedia resource to play the ring and simultaneously displays the pop screen of the incoming call number.
Further, the incoming call number information at least includes incoming call number information and incoming call time information of the number.
Further, the playing ring is preset in the multimedia resource.
The invention also discloses a device for solving the problem of delay of telephone numbers when a telephone rings, which comprises:
the telephone module is used for acquiring an electric signal on a telephone line, analyzing an incoming call ringing signal and incoming call number information and sending information to an upper layer through a serial port;
the telephone management module is used for acquiring the incoming call ringing signal and the incoming call number information from the serial port and respectively converting the incoming call ringing signal and the incoming call number information into corresponding control instructions; the telephone management module is also used for setting a mode of an incoming call by a user, setting a priority ringing mode, scheduling the ringing management module and the screen popping management module to carry out incoming call ringing and screen popping reminding if the mode is the priority ringing mode, and refreshing a screen popping interface after acquiring an incoming call number; if the calling number is not the priority calling mode, after the valid calling number is obtained, the calling management module and the screen popup management module are dispatched together to carry out calling ringing and screen popup reminding;
the ringing management module is used for executing the playing scheduling of the telephone management module;
and the pop-up screen management module is used for receiving the incoming call number information of the telephone management module and drawing and displaying the incoming call number information.
Further, the incoming call number information at least includes incoming call number information and incoming call time information of the number.
Furthermore, the ringing management module is also used for ring resource management and loading.
Compared with the prior art, the beneficial effects of adopting the technical scheme are as follows: the technical scheme of the invention separates the ringing signal and the incoming call number signal for processing and transmission, separates the incoming call ring playing process from the existing telephone management thread, and plays the signals by using an idle thread, so that the ringing and the screen flipping are carried out without being influenced by the delay of the incoming call number signal, and the display interface is refreshed in the screen flipping after the incoming call number signal is analyzed and acquired, thereby avoiding the influence on the call answering caused by the delay of the incoming call number signal and improving the user experience.
Drawings
Fig. 1 is a flow chart illustrating a method for solving the problem of delay of telephone numbers during ringing of a telephone set according to the present invention.
Fig. 2 is a flow chart illustrating a method for solving the problem of delay of telephone numbers during ringing of a telephone set according to the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, a method for solving the delay of telephone numbers when a telephone set rings includes:
s101, a telephone module of bottom hardware of the fixed telephone acquires and analyzes an electric signal on a telephone line;
step S102, converting the analyzed incoming call ringing signal into a ringing instruction which can be used for notifying an upper layer to transmit;
step S103, the upper layer telephone management module thread directly acquires a ringing instruction sent by the bottom layer telephone module through the serial port; it should be noted that the time for analyzing and acquiring the electric ringing signal and the incoming call number signal is different, and the incoming call ringing signal is acquired before the incoming call number signal, so the converted incoming call ringing instruction and the incoming call number finger are also separated;
step S104, after receiving the ringing instruction, judging whether the telephone is in a priority ringing mode (a priority ringing mode is preset in the fixed telephone, and the priority ringing mode can be turned on or off), indicating that the fixed telephone needs to be on-time and the priority ringing is required when the telephone is in the priority ringing mode, and entering step S105 if the telephone is in the priority ringing mode;
step S105, the telephone management thread sends a resource preparation and playing request to the ringtone playing thread, and starts a caller popup screen management interface;
step S106, when the media resource is ready, the ring playing thread calls the multimedia resource to play ring (the playing ring can be prestored in the multimedia resource) to remind the user to answer the call;
step S107, when the telephone module analyzes the incoming call number information (the incoming call number information comprises the incoming call number information and the incoming call time information of the number), the incoming call number information is converted into a related incoming call number transmission instruction, and the related incoming call number transmission instruction is directly transmitted to a telephone management thread through a serial port;
step S108, after the telephone management thread acquires the effective incoming call number, an interface refreshing request is sent to the incoming call popup management interface, and the effective incoming call number (when the incoming call time with the number is provided, the incoming call time is displayed at the same time) is displayed on the display interface.
In summary, the implementation principle of the method is that the ringing signal, the incoming number, the date and the like in the incoming process of the fixed telephone terminal are processed and transmitted separately, so that the delay of incoming response caused by the problems of a user line and the environment is avoided, and the user experience is improved; meanwhile, the incoming call ringtone playing process is separated from the existing telephone management thread and is played by an idle thread, so that the ringing and the screen popping are carried out firstly without being influenced by the delay of incoming call number signals, and a display interface is refreshed in the screen popping after the incoming call number signals are analyzed and acquired, so that the influence on the answering of the telephone caused by the delay of the incoming call number signals is avoided, the rapid loading and playing of ringtone resources are realized, and the user effect is obviously improved.
Example 2
In addition to embodiment 1, if the priority ring mode is not set in step S104, the process proceeds to step S109:
after the effective incoming call number is obtained, sending a playing request to a ring playing thread, and simultaneously sending an incoming call screen popping request to a telephone management thread; when the media resource is ready, the ring playing thread calls the multimedia resource to play the ring (the resource playing ring can be pre-stored in the multimedia resource), and simultaneously displays the effective calling number to play the screen to remind the user to answer the call.
Example 3
As shown in fig. 2, an apparatus for resolving a delay in a telephone number when a telephone set rings, includes:
the telephone module is used for acquiring an electric signal on a telephone line, analyzing an incoming call ringing signal and incoming call number information and sending information to an upper layer through a serial port;
the telephone management module is used for acquiring the incoming call ringing signal and the incoming call number information from the serial port and respectively converting the incoming call ringing signal and the incoming call number information into corresponding control instructions (used for transmission and identification among the following modules); the telephone management module is also used for setting a prior ringing mode for the mode setting of the incoming call by the user, firstly scheduling the ringing management module and the screen popping management module to carry out incoming call ringing and screen popping reminding if the ringing mode is the prior ringing mode, and then refreshing the screen popping interface after acquiring the incoming call number; if the calling number is not the priority ringing mode, scheduling the ringing management module and the screen popping management module together to carry out calling ringing and screen popping reminding after obtaining the effective calling number;
the ringing management module is used for executing the playing scheduling of the telephone management module;
and the pop-up screen management module is used for receiving the incoming call number information (the incoming call number information can comprise the incoming call number information and the incoming call time information of the number) of the telephone management module, drawing and displaying the incoming call number information, facilitating accurate identification and registration of a user and obviously improving user experience.
The working principle is as follows: the telephone module responsible for analyzing and coding the electric signals of the telephone line acquires the incoming electric signals; the received electric signal is converted into a corresponding instruction and transmitted to a telephone management module through a serial port, and the related instruction of the ringing signal is obtained firstly; the telephone management module acquires a related instruction of an incoming call ringing signal of bottom hardware, repacks the instruction and continues transmitting the instruction to an upper layer, and a telephone ringing management module thread and a telephone pop-up management module thread respectively acquire the related instruction of the incoming call ringing signal to start the incoming call ringing module and display the incoming call pop-up screen to prompt a user to answer; when the telephone module analyzes a specific incoming call number, the specific incoming call number is sent to the telephone management module through the serial port, the telephone management module receives the command and packs the command into a new data command to be continuously transmitted to an upper layer, and the telephone pop-up screen management module acquires the incoming call number command, accurately updates the incoming call display number after analysis and informs to refresh the incoming call display number.
In embodiment 3, the ring management module is further configured to manage and load ring resources, where the ring resource management includes pre-storing and playing a ring in a media resource.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed. Those skilled in the art to which the invention pertains will appreciate that insubstantial changes or modifications can be made without departing from the spirit of the invention as defined by the appended claims.

Claims (7)

1. A method for resolving delay in telephone numbers during ringing of a telephone, comprising:
s101, a telephone module of bottom hardware of the fixed telephone acquires and analyzes an electric signal on a telephone line;
step S102, converting the analyzed incoming call ringing signal into a ringing instruction which can be used for notifying an upper layer to transmit;
step S103, the upper layer telephone management module thread directly acquires a ringing instruction sent by the bottom layer telephone module through the serial port;
step S104, after receiving the ringing instruction, judging whether the ringing mode is in a priority ringing mode, if so, entering step S105;
step S105, the telephone management thread sends a resource preparation and playing request to the ringtone playing thread, and starts an incoming call popup screen management interface;
step S106, when the media resource is ready, the ring playing thread calls the multimedia resource to play the ring;
step S107, when the telephone module analyzes the incoming call number and converts the incoming call number into a related incoming call number transmission instruction, the transmission instruction is directly transmitted to a telephone management thread through a serial port;
step S108, after the telephone management thread acquires the effective incoming call number, an interface refreshing request is sent to the incoming call display management interface, and the effective incoming call number is displayed on the display interface.
2. The method according to claim 1, wherein in step S104, if the phone is not in the priority ringing mode, the method proceeds to step S109:
after the effective incoming call number is obtained, sending a playing request to a ring playing thread, and simultaneously sending an incoming call screen popping request to a telephone management thread; and when the media resource is ready, the ring playing thread calls the multimedia resource to play the ring and simultaneously displays the pop screen of the incoming call number.
3. The method of claim 2, wherein the incoming call number information includes at least incoming call number information and incoming time information of the number.
4. The method for resolving the delay in telephone numbers during ringing of a telephone set as claimed in claim 2, wherein said ring tone is preset in the multimedia resource.
5. An apparatus for resolving delay in telephone numbers during ringing of a telephone, comprising:
the telephone module is used for acquiring an electric signal on a telephone line, analyzing an incoming call ringing signal and incoming call number information and sending information to an upper layer through a serial port;
the telephone management module is used for acquiring the incoming call ringing signal and the incoming call number information from the serial port and respectively converting the incoming call ringing signal and the incoming call number information into corresponding control instructions; the telephone management module is also used for setting a priority ringing mode for the mode setting of the incoming call by the user, firstly scheduling the ringing management module and the screen popping management module to carry out incoming call ringing and screen popping reminding if the ringing mode is the priority ringing mode, and then refreshing the screen popping interface after acquiring the incoming call number; if the calling number is not the priority calling mode, after the valid calling number is obtained, the calling management module and the screen popup management module are dispatched together to carry out calling ringing and screen popup reminding;
the ringing management module is used for executing the playing scheduling of the telephone management module;
and the pop-up screen management module is used for receiving the incoming call number information of the telephone management module and drawing and displaying the incoming call number information.
6. The apparatus for resolving a delay in a telephone number when a telephone set rings as set forth in claim 5, wherein said incoming call number information includes at least incoming call number information and incoming time information of the number.
7. The apparatus for resolving phone number delay during phone ringing as set forth in claim 5, wherein said ringing management module is further used for ring resource management and loading.
CN201911120347.9A 2019-11-15 2019-11-15 Method and device for solving delay of telephone number during ringing of telephone set Active CN110944090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911120347.9A CN110944090B (en) 2019-11-15 2019-11-15 Method and device for solving delay of telephone number during ringing of telephone set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911120347.9A CN110944090B (en) 2019-11-15 2019-11-15 Method and device for solving delay of telephone number during ringing of telephone set

Publications (2)

Publication Number Publication Date
CN110944090A true CN110944090A (en) 2020-03-31
CN110944090B CN110944090B (en) 2020-12-29

Family

ID=69907731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911120347.9A Active CN110944090B (en) 2019-11-15 2019-11-15 Method and device for solving delay of telephone number during ringing of telephone set

Country Status (1)

Country Link
CN (1) CN110944090B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549559A (en) * 2003-05-10 2004-11-24 华为技术有限公司 Method for providing calling information for called terminal
CN1716976A (en) * 2004-06-30 2006-01-04 阿瓦雅技术公司 Intelligent ringtone service
CN102739840A (en) * 2011-04-07 2012-10-17 中兴通讯股份有限公司 User terminal incoming call processing method and device
CN103179288A (en) * 2011-12-23 2013-06-26 中国电信股份有限公司 Method and system for displaying call information and device and terminal for pushing call displaying information
WO2015197420A1 (en) * 2014-06-25 2015-12-30 Thomson Licensing Communication device and method for operating the communication device
CN105577944A (en) * 2016-02-04 2016-05-11 上海卓易科技股份有限公司 Mobile terminal and incoming call response method thereof
CN105744497A (en) * 2016-01-27 2016-07-06 深圳市创想天空科技股份有限公司 Ring implementation method, device and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549559A (en) * 2003-05-10 2004-11-24 华为技术有限公司 Method for providing calling information for called terminal
CN1716976A (en) * 2004-06-30 2006-01-04 阿瓦雅技术公司 Intelligent ringtone service
CN102739840A (en) * 2011-04-07 2012-10-17 中兴通讯股份有限公司 User terminal incoming call processing method and device
CN103179288A (en) * 2011-12-23 2013-06-26 中国电信股份有限公司 Method and system for displaying call information and device and terminal for pushing call displaying information
WO2015197420A1 (en) * 2014-06-25 2015-12-30 Thomson Licensing Communication device and method for operating the communication device
CN105744497A (en) * 2016-01-27 2016-07-06 深圳市创想天空科技股份有限公司 Ring implementation method, device and system
CN105577944A (en) * 2016-02-04 2016-05-11 上海卓易科技股份有限公司 Mobile terminal and incoming call response method thereof

Also Published As

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

Similar Documents

Publication Publication Date Title
US7881450B1 (en) Answer on hold notification
US20110111735A1 (en) Phone hold mechanism
US8224397B2 (en) Wireless headset with voice announcement
EP1580970A1 (en) Method and apparatus for incoming call pause notification
US8340645B2 (en) User-controlled routing of phone calls to voicemail
CN106412350A (en) Visual IVR realization method and system
GB2560441B (en) Automatically delaying playback of a voice message at a captioning device
CN101521702B (en) Multimedia personalized call method and communication terminals
CN110944090B (en) Method and device for solving delay of telephone number during ringing of telephone set
US20070286396A1 (en) Methods, devices, and interfaces for address auto-association
CN203313263U (en) A processor with a fake incoming call function
CN110708418B (en) Method and device for identifying attributes of calling party
US8478249B2 (en) Mobile device and communication method thereof
CN114338615B (en) Method, device and storage medium for playing multimedia color ring
CN111163209A (en) Mobile terminal, intelligent terminal, call method and storage medium
CN113905131B (en) Multimedia color ring setting method, terminal and computer readable storage medium
US20100150323A1 (en) Method of Addressing Time Wastage During Telephone Call Holds
CN112422748B (en) Dispatching telephone system and intelligent response method thereof
CN1520133A (en) Displaying time of call waiting and controlling method
KR20140035681A (en) System for guiding caller information of smart phone and method therefor
WO2012145954A1 (en) Method and systems for determining and playing network prompt tones
JP2007096869A (en) Key telephone system
US8111703B2 (en) IP telephone repeater, IP telephone repeating system and IP telephone repeating method
US9794387B1 (en) Automatically establishing a communication session associated with an event
US20070081652A1 (en) Method and system for identification of importance of communications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant