A kind of recognition methods of telephone number and terminal device
Technical field
The present invention relates to the recognition methods of terminal device technical field more particularly to a kind of telephone number and terminal devices.
Background technique
With being widely used for Intelligent mobile equipment, it is also more and more convenient that user is interknited by phone.Phone for
People's life is while offer convenience, also a large amount of strange number of generation.Sometimes incoming call is strange number, in communication process
In be realised that counter-party information, it is subsequent to rethink when searching telephone number but if without storing contact after phone is hung up, just
It is difficult to remember which telephone number corresponds to which contact person, user experience is poor.
Summary of the invention
The embodiment of the present invention provides recognition methods and the terminal device of a kind of telephone number, to solve in the prior art can not
The problem of identifying strange telephone number.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of recognition methods of telephone number, it is applied to
Terminal device, which comprises
It records in voice call process;
The call audio obtained to the recording carries out identifying processing, generates identification label;
Establish the incidence relation of identification label telephone number corresponding with call audio described in message registration.
The embodiment of the invention also provides a kind of terminal devices, comprising:
Recording module, for recording in voice call process;
Identify tag generation module, the call audio for obtaining to the recording carries out identifying processing, generates identification mark
Label;
Incidence relation establishes module, for establishing identification label electricity corresponding with call audio described in message registration
Talk about the incidence relation of number.
The embodiment of the invention also provides a kind of mobile terminal, including processor, memory and it is stored in the memory
Computer program that is upper and can running on the processor, is realized as above when the computer program is executed by the processor
The step of recognition methods for the telephone number stated.
The embodiment of the invention also provides a kind of computer readable storage medium, deposited on the computer readable storage medium
Computer program is stored up, the step of the recognition methods such as above-mentioned telephone number is realized when the computer program is executed by processor
Suddenly.
In the embodiment of the present invention, record in voice call process;The call audio obtained to recording identifies
Processing generates identification label;Establish the incidence relation of identification label telephone number corresponding with audio of conversing in message registration.It is logical
Cross the embodiment of the present invention, can be used family it is subsequent check strange telephone number when, can pass through identification label confirm phone
The corresponding contact person of number provides preferable usage experience for user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of one of step flow chart of recognition methods of telephone number of the embodiment of the present invention one;
Fig. 2 is the two of the step flow chart of the recognition methods of a kind of telephone number of the embodiment of the present invention one;
Fig. 3 is a kind of one of the structural block diagram of terminal device of the embodiment of the present invention two;
Fig. 4 is the two of the structural block diagram of a kind of terminal device of the embodiment of the present invention two;
Fig. 5 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention three.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of the recognition methods of telephone number provided in an embodiment of the present invention is shown.It answers
For terminal device, which comprises
Step 101, it records in voice call process.
It in the present embodiment, receives calls in user, or records in the voice call process made a phone call, it can after recording
To be stored.Under normal circumstances, strange telephone number is heard, or dials the phone number being not held in address list
When code, the both sides made a phone call can first introduce myself, it is therefore not necessary to record to entire communication process, can only exist
Call starts to record in 1 minute or in 30 seconds.For example, the number B that receives calls, records the voice communication in 30 seconds, it is raw
At call audio A.The embodiment of the present invention is not limited duration is recorded in detail, can be configured according to the actual situation.It records
On the one hand recognition speed can be improved in brief voice communication, on the one hand can be to avoid a large amount of memory space of occupancy.
Step 102, the call audio obtained to the recording carries out identifying processing, generates identification label.
In the present embodiment, a variety of identifying processings can be carried out to the call audio that recording obtains, and according to different identification
Processing generates different identification labels.Specifically, identification label includes tone color identification label, content recognition label, speech recognition
At least one of label.For example, carrying out tone color identification to call audio, generates tone color and identify label;Call audio is carried out
Content recognition generates content recognition label.One of above-mentioned identification label or a variety of can be generated, the embodiment of the present invention is to this
It does not limit, can be configured according to the actual situation in detail.
In the case where the identification label includes the tone color identification label, call audio is identified, generates and knows
Distinguishing label can specifically include: extract the tamber characteristic of the call audio;By the tamber characteristic extracted and default sound
Color characteristic is matched;It is when finding default tamber characteristic matched with the tamber characteristic, matched default tone color is special
Levy associated contact person generation corresponding with the call audio tone color identification label.For example, default tamber characteristic include m,
N, contact person M, N, O, P is respectively associated in o, p;Extract call audio A tamber characteristic be a, by the tamber characteristic a extracted with
Default tamber characteristic m, n, o, p are matched one by one, find tamber characteristic a of default tamber characteristic n and audio A of conversing
Match, then the associated contact person N of default tamber characteristic n generation tone color corresponding with call audio A is identified into label X.When user checks
When tone color identifies label X, call audio A corresponding relationship people N can be determined.It, can be with when known connection people replaces telephone number
It is by tone color identification that the contact person stored in strange telephone number and address list is corresponding;Even if user does not store in time
Strange telephone number can also identify that label confirms the corresponding contact person of strange telephone number according to tone color.Either, it uses
The telephone number that family is dialed is not stored in address list, identifies label according to tone color, user can determine the telephone number dialed
Corresponding contact person.
In the case where the identification label includes the content recognition label, call audio is identified, generates and knows
Distinguishing label can specifically include: the voice content of the identification call audio;Text information is extracted according to the voice content;
The content recognition label is generated according to the text information.For example, the voice content of identification call audio is that " hello, I is
N " extracts text information " I is N " according to voice content, then generates content recognition label Y according to text information.When user looks into
When seeing content recognition label Y, it can be seen that text information " N ", so that strange telephone number is corresponding with contact person N.It is right
Audio of conversing carries out content recognition, may recognize that specific dialog context, and specific dialog context is generated content recognition mark
Label, allow user to determine contact person according to the specific dialog context in content recognition label.The embodiment of the present invention knows content
Distinguishing label does not limit in detail, can be configured according to the actual situation.
After identifying voice content, the call audio can also be cut according to the voice content;According to institute
It states the call audio for cutting and obtaining and generates the speech recognition label.
Specifically, after the voice content for identifying call audio, call audio can be cut, according to sound after cutting
Frequency generates speech recognition label.For example, identifying that voice content is " hello, I is N ... ", call audio is cut,
According to audio after cutting " I is N ", speech recognition label Z is generated.When user checks speech recognition label Z, sanction can be played
Call audio " I is N " after cutting, so that user be allow to determine contact person according to the call audio after cutting.It can also basis
Voice content cuts out specific dialog context to generate speech recognition label, so that user knows tool according to speech recognition label
Body dialog context.
Step 103, the association of identification label telephone number corresponding with call audio described in message registration is established
Relationship.
In the present embodiment, after generating identification label, it is corresponding with call audio described in message registration to establish identification label
The incidence relation of telephone number, by identification label and the corresponding storage of telephone number.User it is subsequent check message registration when, it is seen that
Strange telephone number can determine corresponding contact person according to identification label.For example, establishing tone color identification label X and phone number
The incidence relation of code B;Establish the incidence relation of content recognition label Y Yu telephone number B;Establish speech recognition label Z and phone
The incidence relation of number B.
Optionally, the identification label is shown in the message registration.
In the present embodiment, step flow chart as shown in Figure 2 can directly conversed when user checks message registration
Identification label is shown in record, is also possible to user and the telephone number in message registration is operated, mobile terminal is according to behaviour
It instructs and shows identification label in message registration.For example, user selects the call details of telephone number, mobile terminal is then logical
Show in words record the corresponding tone color of telephone number identify one of label X, content recognition label Y, speech recognition label Z or
It is a variety of.Wherein, tone color identifies label X corresponding relationship people N, therefore can identify in label in tone color and directly display contact person N, with
And other contact methods, such as email address of contact person N etc..Content recognition label Y can show " I is N ", can also show
Show specific dialog context." I is N " can be played after receiving the operational order for speech recognition label Z, for example is received
To after the instruction for clicking speech recognition label Z or long-pressing speech recognition label Z, play " I is N ".The embodiment of the present invention is to knowledge
The display mode of distinguishing label does not limit in detail, can be configured according to the actual situation.
In conclusion in embodiments of the present invention, recording in voice call process;The conversation voice that recording is obtained
Frequency carries out identifying processing, generates identification label;Establish identification label telephone number corresponding with audio of conversing in message registration
Incidence relation.Through the embodiment of the present invention, can be used family it is subsequent check strange telephone number when, can pass through identification mark
The corresponding contact person of label confirmation telephone number, provides preferable usage experience for user.
Embodiment two
Referring to Fig. 3, a kind of structural block diagram of terminal device provided in an embodiment of the present invention is shown.Include:
Recording module 301, for recording in voice call process;
Identify tag generation module 302, the call audio for obtaining to the recording carries out identifying processing, generates identification
Label;
Incidence relation establishes module 303, corresponding with call audio described in message registration for establishing the identification label
Telephone number incidence relation.
Optionally, the identification label include tone color identification label, content recognition label, in speech recognition label at least
It is a kind of.
It is optionally, described in the case where the identification label includes the tone color identification label on the basis of Fig. 3
Identify that tag generation module 302 includes:
Tamber characteristic extracting sub-module, for extracting the tamber characteristic of the call audio;
Tamber characteristic matched sub-block, for matching the tamber characteristic extracted with default tamber characteristic;
Tone color identifies that label generates submodule, finds and the matched default tamber characteristic of the tamber characteristic for working as
When, the matched default associated contact person of the tamber characteristic generation tone color corresponding with the call audio is identified into label.
It is optionally, described in the case where the identification label includes the content recognition label on the basis of Fig. 3
Identify that tag generation module 302 includes:
Voice content identifies submodule, for identification the voice content of the call audio;
Text information transform subblock, for being extracted as text information according to the voice content;
Content recognition label generates submodule, for generating the content recognition label according to the text information.
It is optionally, described in the case where the identification label includes the speech recognition label on the basis of Fig. 3
Identify that tag generation module 302 includes:
Submodule is cut, for cutting according to the voice content to the call audio;
Speech recognition label generates submodule, generates speech recognition label for obtaining call audio according to the cutting.
On the basis of Fig. 3, optionally, after the incidence relation establishes module 303, the terminal device further includes
Display module 304, is shown in Fig. 4:
Display module 304 shows the identification label in the message registration.
Terminal device provided in an embodiment of the present invention can be realized each mistake realized in the embodiment of the method for Fig. 1 and Fig. 2
Journey, to avoid repeating, which is not described herein again.Through the embodiment of the present invention, family can be used and check strange phone number subsequent
When code, the corresponding contact person of telephone number can be confirmed by identification label, provides preferable usage experience for user.
Embodiment three
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
The mobile terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, defeated
Enter unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor
The components such as 410 and power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410 are recorded in voice call process;The call audio obtained to the recording carries out
Identifying processing generates identification label;Establish identification label telephone number corresponding with call audio described in message registration
Incidence relation.
Through the embodiment of the present invention, can be used family it is subsequent check strange telephone number when, can pass through identification mark
The corresponding contact person of label confirmation telephone number, provides preferable usage experience for user.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear
Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 5, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal
Data are transmitted between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411
Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the recognition methods embodiment of the above-mentioned telephone number of Shi Shixian, and identical technical effect can be reached, to avoid weight
Multiple, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each mistake of the recognition methods embodiment of above-mentioned telephone number when being executed by processor
Journey, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.