CN104270491A - Method and device for inputting communication number into communication interface - Google Patents

Method and device for inputting communication number into communication interface Download PDF

Info

Publication number
CN104270491A
CN104270491A CN201410433380.8A CN201410433380A CN104270491A CN 104270491 A CN104270491 A CN 104270491A CN 201410433380 A CN201410433380 A CN 201410433380A CN 104270491 A CN104270491 A CN 104270491A
Authority
CN
China
Prior art keywords
communicating number
image
interface
user
communication
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
CN201410433380.8A
Other languages
Chinese (zh)
Other versions
CN104270491B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410433380.8A priority Critical patent/CN104270491B/en
Publication of CN104270491A publication Critical patent/CN104270491A/en
Application granted granted Critical
Publication of CN104270491B publication Critical patent/CN104270491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The disclosure relates to a method and a device for inputting a communication number into a communication interface, and belongs to the technical field of electronics. The method comprises the following steps: starting a camera of a terminal, and shooting through the camera to obtain an image; detecting the image; when the communication number is obtained through the image, displaying the communication number and at least one communication way; and acquiring a communication way selected by a user, and adding the communication number into a communication interface corresponding to the selected communication way. The device comprises a shooting module, a detection module, a display module and an adding module. In the disclosure, when the user wants to input the communication number into the communication interface, the camera of the terminal is started, the image is obtained by shooting through the camera, the communication number is obtained through the image, the terminal acquires the communication way selected by the user, and the communication number is added into the communication interface corresponding to the selected communication way, so that the user can input without opening a keyboard, the input time is shortened, and the input efficiency is increased.

Description

To the method and apparatus of communication interface input communication number
Technical field
The disclosure is directed to electronic technology field, especially about a kind of method and apparatus to communication interface input communication number.
Background technology
Along with the arrival of information age, people, constantly finding fresh information or running into new events, also can find or obtain valuable information inadvertently.Such as; when people walk in the street, usually can see advertisement, this advertisement is generally all printed on ad content and telephone number; sometimes user may find that certain ad content is valuable to oneself, and now user can understand this ad content in detail by the telephone number dialed in this advertisement.
At present, if when user wants the telephone number dialed in advertisement, user needs the dialing interface opening mobile terminal, the keyboard of mobile terminal is opened in dialing interface, this telephone number is read from advertisement, by this keyboard, this telephone number is input in this dialing interface, then clicks the dialing button in this dialing interface, make mobile terminal from dialing interface, read this telephone number and dial this telephone number.
Realizing in process of the present disclosure, open people finds that correlation technique at least exists following problem:
When user inputs telephone number, need to open keyboard, in keyboard, find each numeral that telephone number comprises successively and be input in dialing interface, input time is long, and input efficiency is low.
Disclosure
In order to overcome the problem of correlation technique, present disclose provides a kind of method and apparatus to communication interface input communication number.
On the one hand, present disclose provides one according to the first aspect of disclosure embodiment, a kind of method to communication interface input communication number be provided, comprise:
Start the camera of terminal, carry out shooting by described camera and obtain image;
Described image is detected;
When obtaining communicating number by described image, then show described communicating number and at least one communication mode;
Obtain the communication mode that user selects, described communicating number is added in communication interface corresponding to the communication mode of described selection.
Optionally, described described image to be detected, comprising:
Detect in described image and whether comprise numeric string;
When comprising numeric string in described image, judge in the numeric string comprised in described image, whether to there is the numeric string that figure place is default figure place;
When there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in described image comprising communicating number by figure place.
Optionally, described described image to be detected, comprising:
Obtain the Word message in image;
Search the communicating number corresponding with described Word message.
Optionally, the described communicating number of described display and at least one communication mode, comprising:
In described image, the communicating number that described image comprises is marked, the described image after show tags;
Obtain the interface that often kind of communication mode in described at least one communication mode is corresponding;
Suspended on the image by interface corresponding for described often kind of communication mode, described interface is used for described user and selects communication mode.
Optionally, in the communication interface that the described communication mode described communicating number being added to described selection is corresponding, comprising:
If comprise a communicating number in described image, from described image, extract described communicating number, described communicating number is added in communication interface corresponding to the communication mode of described selection;
If comprise multiple communicating number in described image, obtain the communicating number that described user selects, from described image, extract the communicating number of described selection, the communicating number of described selection is added in communication interface corresponding to the communication mode of described selection.
Optionally, described communication interface is dialing interface, and described dialing interface comprises dialing button and/or store button, and described method also comprises:
When detecting that described dialing button is clicked the Dial Number command of rear triggering by described user, dial described communicating number according to the instruction of described Dial Number command; And/or,
When detecting that described store button is clicked the memory command of rear triggering by described user, described communicating number is stored in the address list that described terminal comprises according to the instruction of described memory command.
Optionally, described communication interface is short message interface, and described short message interface comprises transmission button, and described method also comprises:
When detecting that the transmission order of rear triggering clicked by described transmission button by described user, obtain the content of short message in described short message interface according to the described instruction sending order;
Described content of short message is sent to the equipment that described communicating number is corresponding.
Optionally, described communication interface adds interface for good friend, and described good friend adds interface and comprises interpolation button, and described method also comprises:
When detecting that the interpolation order of rear triggering clicked by described interpolation button by described user, send good friend according to the described instruction adding order to the equipment that described communicating number is corresponding and add request.
On the other hand, present disclose provides one according to the second aspect of disclosure embodiment, a kind of device to communication interface input communication number be provided, comprise:
Taking module, for starting the camera of terminal, carrying out shooting by described camera and obtaining image;
Detection module, for detecting described image;
Display module, for when obtaining communicating number by described image, then shows described communicating number and at least one communication mode;
Adding module, for obtaining the communication mode that user selects, described communicating number being added in communication interface corresponding to the communication mode of described selection.
Optionally, described detection module, comprising:
Detecting unit, for detecting in described image whether comprise numeric string;
Judging unit, for when comprising numeric string in described image, judges whether there is the numeric string that figure place is default figure place in the numeric string comprised in described image;
Figure place, for when there is figure place and being the numeric string of default figure place, is that the numeric string of default figure place is defined as communicating number and determines in described image comprising communicating number by determining unit.
Optionally, described detection module, comprising:
First acquiring unit, for obtaining the Word message in image;
Search unit, for searching the communicating number corresponding with described Word message.
Optionally, described display module, comprising:
Display unit, for marking the communicating number that described image comprises in described image, the described image after show tags;
Second acquisition unit, for obtaining interface corresponding to often kind of communication mode in described at least one communication mode;
Floating unit, for being suspended on the image by interface corresponding for described often kind of communication mode, described interface is used for described user and selects communication mode.
Optionally, if comprise a communicating number in described image, described interpolation module, for extracting described communicating number from described image, adds in communication interface corresponding to the communication mode of described selection by described communicating number;
If comprise multiple communicating number in described image, described interpolation module, for obtaining the communicating number that described user selects, from described image, extracting the communicating number of described selection, the communicating number of described selection being added in communication interface corresponding to the communication mode of described selection.
Optionally, described communication interface is dialing interface, and described dialing interface comprises dialing button and/or store button, and described device also comprises:
Dialing module, during for detecting that described dialing button is clicked the Dial Number command of rear triggering by described user, dialing described communicating number according to the instruction of described Dial Number command; And/or,
Memory module, during for detecting that described store button is clicked the memory command of rear triggering by described user, to be stored into described communicating number in the address list that described terminal comprises according to the instruction of described memory command.
Optionally, described communication interface is short message interface, and described short message interface comprises transmission button, and described device also comprises:
Acquisition module, during for detecting that the transmission order of rear triggering to be clicked by described transmission button by described user, obtains the content of short message in described short message interface according to the described instruction sending order;
First sending module, sends described content of short message for the equipment corresponding to described communicating number.
Optionally, described communication interface adds interface for good friend, and described good friend adds interface and comprises interpolation button, and described device also comprises:
Second sending module, during for detecting that the interpolation order of rear triggering to be clicked by described interpolation button by described user, sending good friend according to the described instruction adding order to the equipment that described communicating number is corresponding and adding request.
On the other hand, present disclose provides one according to the third aspect of disclosure embodiment, a kind of device to communication interface input communication number be provided, comprise:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Start the camera of terminal, carry out shooting by described camera and obtain image;
Described image is detected;
When obtaining communicating number by described image, then show described communicating number and at least one communication mode;
Obtain the communication mode that user selects, described communicating number is added in communication interface corresponding to the communication mode of described selection.
Beneficial effects more of the present disclosure can comprise: when user wants to communication interface input communication number, and terminal starts the camera of terminal, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by this image, then display communication number and at least one communication mode; Obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection, thus user need not open keyboard input, shortens input time, improves input efficiency.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the disclosure, forms a application's part, does not form restriction of the present disclosure.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of method to communication interface input communication number according to an exemplary embodiment 1;
Fig. 2 is the flow chart of a kind of method to dialing interface input communication number according to an exemplary embodiment 2;
Fig. 3 is the flow chart of a kind of method to short message interface input communication number according to an exemplary embodiment 3;
Fig. 4 is a kind of flow chart adding the method for interface input communication number to good friend according to an exemplary embodiment 4;
Fig. 5 is the flow chart of a kind of method to communication interface input communication number according to an exemplary embodiment 5;
Fig. 6 is a kind of apparatus structure schematic diagram to communication interface input communication number according to an exemplary embodiment 6;
Fig. 7 is the structural representation of a kind of terminal according to an exemplary embodiment 7.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly understand, below in conjunction with execution mode and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and illustrating for explaining the disclosure, but not as to restriction of the present disclosure.
Embodiment 1
Fig. 1 is the flow chart of a kind of method to communication interface input communication number according to an exemplary embodiment, and as shown in Figure 1, the method to communication interface input communication number is used for, in terminal, comprising the following steps.
In step S101, start the camera of terminal, carry out shooting by camera and obtain image;
In step s 102, image is detected;
In step s 103, when obtaining communicating number by image, then display communication number and at least one communication mode;
In step S104, obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to communication interface input communication number, and terminal starts the camera of terminal, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by image, then display communication number and at least one communication mode; Obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment 2
Fig. 2 is the flow chart of a kind of method to dialing interface input communication number according to an exemplary embodiment, in the present embodiment, the camera of terminal is started in dialing interface, image is obtained by camera shooting, obtain communicating number by this image, this communicating number is added in dialing interface.As shown in Figure 2, the method to dialing interface input communication number is used for, in terminal, comprising the following steps.
In step s 201, detect dialing interface, in this dialing interface, comprise utilizing camera interface;
Utilizing camera interface is loaded on dialing interface, when user wants to dial the communicating number on advertisement or web page contents, the dialing interface that user opens a terminal, the utilizing camera interface in click to dial interface; Utilizing camera interface triggers starting command to terminal; Terminal detects dialing interface, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, performs step S202.
Dialing interface is the interface of calling, and at least comprises utilizing camera interface and dialing button in this dialing interface, also comprises store button in this dialing interface.User can trigger Dial Number command by dialing button, triggers memory command by store button.Terminal can be mobile phone or panel computer etc.
In step S202, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, starting the camera of terminal according to the instruction of starting command, carrying out shooting by camera and obtain image;
When detecting that camera is clicked the starting command of rear triggering by user, being started the camera of terminal according to the instruction of starting command by utilizing camera interface, taking communicating number by camera, obtain the image comprising communicating number.
In step S203, in detected image, whether comprise numeric string;
Whether numeric string is comprised in detected image; When comprising numeric string in image, perform step S204; When not comprising numeric string in image, perform step S206.
Whether comprising numeric string in detected image is prior art, no longer detailed at this.
In step S204, when comprising numeric string in image, judge in the numeric string comprised in image, whether to there is the numeric string that figure place is default figure place;
When comprising numeric string in image, obtaining the figure place of the numeric string in image, to judge in the numeric string comprised in image the numeric string whether storage bit number is default figure place according to the figure place of numeric string.
When to there is figure place in the numeric string comprised in image be the numeric string of default figure place, perform step S205; When to there is not figure place in the numeric string comprised in image be the numeric string of default figure place, terminate.
Default figure place can carry out arranging and changing according to the figure place of communicating number, as communicating number be fixed telephone number time, default figure place can be 7 or 8; When communicating number is Mobile Directory Number, default figure place can be 11 etc.
In step S205, when there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in image comprising communicating number by figure place;
When determine in image comprise communicating number time, perform step S207.
In step S206, when not comprising numeric string in image, obtaining the Word message in image, searching the communicating number corresponding with this Word message;
Store a communicating number list in advance in terminal, this communicating number list is for storing the corresponding relation of Word message and communicating number.When not comprising numeric string in image, terminal obtains the Word message in image, according to this Word message, searches communicating number list, if terminal finds this Word message, from communicating number list, obtains the communicating number corresponding with this Word message.
If terminal does not find this Word message, terminal to server sends the Word message in this image, this Word message that server receiving terminal sends, the communicating number corresponding with this Word message according to this word information searching, if whois lookup is to the communicating number corresponding with this Word message, send the communicating number corresponding with this Word message to terminal; The communicating number corresponding with this Word message that terminal reception server sends.
If server does not find the communicating number corresponding with this Word message, determine not corresponding with this Word message communicating number.
Wherein, the word obtained in image is prior art, no longer detailed at this.
In step S207, display communication number and dialing interface;
In the picture the communicating number that image comprises is marked, the image after show tags; Obtain the dialing interface in dialing interface, be suspended in by dialing interface on image, user can dial this communicating number by the dialing interface that image suspends.
The communicating number comprised image in the picture carries out mark: the communicating number square frame comprised by image is in the picture framed or is highlighted by the communicating number comprised in image, the highlighted display of the communicating number such as comprised by image, overstriking display, italic display, underscore display or variable color display etc.
If comprise multiple communicating number in image, respectively each communicating number in the multiple communicating numbers comprised in image is marked.Such as, in the picture each communicating number comprised in image is framed with a square frame respectively or each communicating number in the multiple communicating numbers comprised in image is highlighted.
In step S208, communicating number is added in dialing interface;
If comprise a communicating number in image, step S208 can be:
From image, extract communicating number, communicating number is added in dialing interface.
If comprise multiple communicating number in image, step S208 can be:
Obtain the communicating number that user selects, from image, extract the communicating number of selection, the communicating number of selection is added in dialing interface.
Wherein, from image, extract communicating number is prior art, no longer describes in detail at this.
Communicating number adds after in dialing interface by terminal, if user wants to revise this communicating number, can pass through following steps (A) and revise communicating number in dialing interface to (C), comprise:
(A): when detecting that user clicks communicating number, display keyboard in dialing interface, keyboard comprises delete character and/or numerical character;
When user wants to revise this communicating number, user clicks in communicating number the numeral needing to revise, and moves the cursor to the position of the numeral needing amendment; Terminal detects dialing interface, when detecting that user clicks communicating number, and display keyboard in dialing interface, keyboard comprises delete character and/or numerical character; User can click delete character, and delete character triggers delete command to terminal, performs step (B); User also can click numerical character, and numerical character triggers and adds order to terminal, performs step (C).
(B): when detecting that delete character is clicked the delete command of rear triggering by user, the position of cursor in dialing interface is obtained, by the character deletion of the position of cursor in communicating number;
User clicks delete character, and delete character triggers delete command to terminal; Terminal detects keyboard, when detecting that delete character is clicked the delete command of rear triggering by user, obtains the position of cursor in dialing interface, by the character deletion of the position of cursor in communicating number according to the instruction of delete command.
(C): when detecting that numerical character is clicked the interpolation order of rear triggering by user, obtain the position of cursor in dialing interface, numerical character is added to the position of the cursor in communicating number.
User clicks numerical character, and numerical character triggers and adds order to terminal; Terminal detects keyboard, when detecting that numerical character to be clicked the interpolation order of rear triggering by user, obtain the position of cursor in dialing interface and the numerical character of user's click according to the instruction adding order, this numerical character is added to the position that communication adds the cursor in number.
After adding in dialing interface by communicating number, user can dial this communicating number or store this communicating number, performs step S209.
In step S209, detect dialing interface, this dialing interface comprises dialing button and/or store button;
When user wants to dial this communicating number, user can dialing button in click to dial interface; Dialing button triggers Dial Number command to terminal; Terminal detects dialing interface, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, performs step S210.
When user wants to store this communicating number, user can store button in click to dial interface; Store button triggers memory command to terminal; Terminal detects dialing interface, when detecting that store button is clicked the memory command of rear triggering by user, performs step S211.
In step S210, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, dial this communicating number according to the instruction of Dial Number command, terminate.
The dialing interface of sense terminals, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, obtain the communicating number of user according to the instruction of Dial Number command, send the first call request to server, communicating number and this communicating number of user are carried in this first call request; The first call request that server receiving terminal sends, send the second call request to equipment corresponding to this communicating number according to this communicating number, the communicating number of user is carried in this second call request.
In step S211, when detecting that store button is clicked the memory command of rear triggering by user, communicating number is stored in the address list that terminal comprises according to the instruction of memory command.
Terminal detects dialing interface, when detecting that store button is clicked the memory command of rear triggering by user, according to the instruction of memory command, obtain the associated person information of user's input, in the address list corresponding relation store storage of the associated person information of this communicating number and input comprised to terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to dialing interface input communication number, terminal starts the camera of terminal in dialing interface, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by image, then display communication number and dialing interface; Communicating number is added in dialing interface, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment 3
Fig. 3 is the flow chart of a kind of method to short message interface input communication number according to an exemplary embodiment, in the present embodiment, the camera of terminal is started in short message interface, image is obtained by camera shooting, obtain communicating number by this image, this communicating number is added in short message interface.As shown in Figure 3, the method to short message interface input communication number is used for, in terminal, comprising the following steps.
In step S301, detect short message interface, in this short message interface, comprise utilizing camera interface;
Be loaded into by utilizing camera interface on short message interface, when user wants to dial the communicating number on advertisement or web page contents, the short message interface that user opens a terminal, clicks the utilizing camera interface in short message interface; Utilizing camera interface triggers starting command to terminal; Terminal detects short message interface, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, performs step S302.
Short message interface is the interface sent SMS message, and at least comprises utilizing camera interface and send button in this short message interface.User can trigger transmission order by sending button.Terminal can be mobile phone or panel computer etc.
In step s 302, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, starting the camera of terminal according to the instruction of starting command, carrying out shooting by camera and obtain image;
When detecting that camera is clicked the starting command of rear triggering by user, being started the camera of terminal according to the instruction of starting command by utilizing camera interface, taking communicating number by camera, obtain the image comprising communicating number.
In step S303, in detected image, whether comprise numeric string;
Whether numeric string is comprised in detected image; When comprising numeric string in image, perform step S304; When not comprising numeric string in image, perform step S306.
Whether comprising numeric string in detected image is prior art, no longer detailed at this.
In step s 304, when comprising numeric string in image, judge in the numeric string comprised in image, whether to there is the numeric string that figure place is default figure place;
When comprising numeric string in image, obtaining the figure place of the numeric string in image, to judge in the numeric string comprised in image the numeric string whether storage bit number is default figure place according to the figure place of numeric string.
When to there is figure place in the numeric string comprised in image be the numeric string of default figure place, perform step S305; When to there is not figure place in the numeric string comprised in image be the numeric string of default figure place, terminate.
Default figure place can carry out arranging and changing according to the figure place of communicating number, as communicating number be fixed telephone number time, default figure place can be 7 or 8; When communicating number is Mobile Directory Number, default figure place can be 11 etc.
In step S305, when there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in image comprising communicating number by figure place;
When determine in image comprise communicating number time, perform step S307.
In step S306, when not comprising numeric string in image, obtaining the Word message in image, searching the communicating number corresponding with this Word message;
Store a communicating number list in advance in terminal, this communicating number list is for storing the corresponding relation of Word message and communicating number.When not comprising numeric string in image, terminal obtains the Word message in image, according to this Word message, searches communicating number list, if terminal finds this Word message, from communicating number list, obtains the communicating number corresponding with this Word message.
If terminal does not find this Word message, terminal to server sends the Word message in this image, this Word message that server receiving terminal sends, the communicating number corresponding with this Word message according to this word information searching, if whois lookup is to the communicating number corresponding with this Word message, send the communicating number corresponding with this Word message to terminal; The communicating number corresponding with this Word message that terminal reception server sends.
If server does not find the communicating number corresponding with this Word message, determine not corresponding with this Word message communicating number.
Wherein, the word obtained in image is prior art, no longer detailed at this.
In step S307, display communication number and short message interface;
In the picture the communicating number that image comprises is marked, the image after show tags; Obtain the short message interface in short message interface, be suspended on image by short message interface, user can be sent SMS message to the equipment that this communicating number is corresponding by the short message interface that image suspends.
The communicating number comprised image in the picture carries out mark: the communicating number square frame comprised by image is in the picture framed or is highlighted by the communicating number comprised in image, the highlighted display of the communicating number such as comprised by image, overstriking display, italic display, underscore display or variable color display etc.
If comprise multiple communicating number in image, respectively each communicating number in the multiple communicating numbers comprised in image is marked.Such as, in the picture each communicating number comprised in image is framed with a square frame respectively or each communicating number in the multiple communicating numbers comprised in image is highlighted.
In step S308, communicating number is added in short message interface;
If comprise a communicating number in image, step S308 can be:
From image, extract communicating number, communicating number is added in short message interface.
If comprise multiple communicating number in image, step S308 can be:
Obtain the communicating number that user selects, from image, extract the communicating number of selection, the communicating number of selection is added in short message interface.
Wherein, from image, extract communicating number is prior art, no longer describes in detail at this.
Communicating number adds after in short message interface by terminal, if user wants to revise this communicating number, can pass through following steps (A) to (C) and revise communicating number in short message interface, comprise:
(A): when detecting that user clicks communicating number, display keyboard in short message interface, keyboard comprises delete character and/or numerical character;
When user wants to revise this communicating number, user clicks in communicating number the numeral needing to revise, and moves the cursor to the position of the numeral needing amendment; Terminal detects short message interface, when detecting that user clicks communicating number, and display keyboard in short message interface, keyboard comprises delete character and/or numerical character; User can click delete character, and delete character triggers delete command to terminal, performs step (B); User also can click numerical character, and numerical character triggers and adds order to terminal, performs step (C).
(B): when detecting that delete character is clicked the delete command of rear triggering by user, the position of cursor in short message interface is obtained, by the character deletion of the position of cursor in communicating number;
User clicks delete character, and delete character triggers delete command to terminal; Terminal detects keyboard, when detecting that delete character is clicked the delete command of rear triggering by user, obtains the position of cursor in short message interface, by the character deletion of the position of cursor in communicating number according to the instruction of delete command.
(C): when detecting that numerical character is clicked the interpolation order of rear triggering by user, obtain the position of cursor in short message interface, numerical character is added to the position of the cursor in communicating number.
User clicks numerical character, and numerical character triggers and adds order to terminal; Terminal detects keyboard, when detecting that numerical character to be clicked the interpolation order of rear triggering by user, obtain the position of cursor in short message interface and the numerical character of user's click according to the instruction adding order, this numerical character is added to the position that communication adds the cursor in number.
After being added to by communicating number in short message interface, user can send SMS message to equipment corresponding to this communicating number, performs step S309.
In step S309, detect short message interface, this short message interface comprises transmission button;
When user wants to send SMS message to the equipment that this communicating number is corresponding, user can input content of short message in short message interface, clicks the transmission button in short message interface; Short message button triggers and sends order to terminal; Terminal detects short message interface, when detecting that sending button to be clicked the transmission order of rear triggering by user, performs step S310.
In step S310, when detecting that sending button is clicked the transmission order of rear triggering by user, obtain the content of short message in short message interface according to the instruction sending order;
In step S311: to send SMS message content to the equipment that this communicating number is corresponding.
Obtain the communicating number of user, the communicating number of content of short message and user is encapsulated as a short message, sends this short message to the equipment that this communicating number is corresponding.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to short message interface input communication number, terminal starts the camera of terminal in short message interface, carry out shooting by camera and obtain image, image is detected; When obtaining communicating number by image, then display communication number and dialing interface; Communicating number is added in short message interface, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment 4
Fig. 4 is a kind of flow chart adding the method for interface input communication number to good friend according to an exemplary embodiment, in the present embodiment, the camera starting terminal is added in interface good friend, image is obtained by camera shooting, obtain communicating number by this image, add this communicating number to good friend and add in interface.As shown in Figure 4, add the method for interface input communication number in terminal to good friend, comprise the following steps.
In step S401, detect good friend and add interface, this good friend adds in interface and comprises utilizing camera interface;
Utilizing camera interface being loaded into good friend adds on interface, and when user wants to dial the communicating number on advertisement or web page contents, the good friend that user opens a terminal adds interface, and click good friend adds the utilizing camera interface in interface; Utilizing camera interface triggers starting command to terminal; Terminal detects good friend and adds interface, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, performs step S402.
Good friend add interface be send add request interface, this good friend add in interface at least comprise utilizing camera interface and add button.User can trigger interpolation order by adding button.Terminal can be mobile phone or panel computer etc.
In step S402, when detecting that utilizing camera interface is clicked the starting command of rear triggering by user, starting the camera of terminal according to the instruction of starting command, carrying out shooting by camera and obtain image;
When detecting that camera is clicked the starting command of rear triggering by user, being started the camera of terminal according to the instruction of starting command by utilizing camera interface, taking communicating number by camera, obtain the image comprising communicating number.
In step S403, in detected image, whether comprise numeric string;
Whether numeric string is comprised in detected image; When comprising numeric string in image, perform step S404; When not comprising numeric string in image, perform step S406.
Whether comprising numeric string in detected image is prior art, no longer detailed at this.
In step s 404, when comprising numeric string in image, judge in the numeric string comprised in image, whether to there is the numeric string that figure place is default figure place;
When comprising numeric string in image, obtaining the figure place of the numeric string in image, to judge in the numeric string comprised in image the numeric string whether storage bit number is default figure place according to the figure place of numeric string.
When to there is figure place in the numeric string comprised in image be the numeric string of default figure place, perform step S405; When to there is not figure place in the numeric string comprised in image be the numeric string of default figure place, terminate.
Default figure place can carry out arranging and changing according to the figure place of communicating number, and such as, default figure place can be 5,6,7,8,9 or 10 etc.
In step S405, when there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in image comprising communicating number by figure place;
When determine in image comprise communicating number time, perform step S407.
In step S406, when not comprising numeric string in image, obtaining the Word message in image, searching the communicating number corresponding with this Word message;
Store a communicating number list in advance in terminal, this communicating number list is for storing the corresponding relation of Word message and communicating number.When not comprising numeric string in image, terminal obtains the Word message in image, according to this Word message, searches communicating number list, if terminal finds this Word message, from communicating number list, obtains the communicating number corresponding with this Word message.
If terminal does not find this Word message, terminal to server sends the Word message in this image, this Word message that server receiving terminal sends, the communicating number corresponding with this Word message according to this word information searching, if whois lookup is to the communicating number corresponding with this Word message, send the communicating number corresponding with this Word message to terminal; The communicating number corresponding with this Word message that terminal reception server sends.
If server does not find the communicating number corresponding with this Word message, determine not corresponding with this Word message communicating number.
Wherein, the word obtained in image is prior art, no longer detailed at this.
In step S 407, display communication number and good friend add interface;
In the picture the communicating number that image comprises is marked, the image after show tags; Obtain the good friend that adds in interface of good friend and add interface, good friend is added interface and be suspended on image, user can add the user that interface adds this communicating number by the good friend that image suspends be good friend.
The communicating number comprised image in the picture carries out mark: the communicating number square frame comprised by image is in the picture framed or is highlighted by the communicating number comprised in image, the highlighted display of the communicating number such as comprised by image, overstriking display, italic display, underscore display or variable color display etc.
When comprising multiple communicating number in image, respectively each communicating number in the multiple communicating numbers comprised in image is marked.Such as, in the picture each communicating number comprised in image is framed with a square frame respectively or each communicating number in the multiple communicating numbers comprised in image is highlighted.
In step S408, communicating number is added to good friend and add in interface;
If comprise a communicating number in image, step S408 can be:
From image, extract communicating number, add communicating number to good friend and add in interface.
If comprise multiple communicating number in image, step S408 can be:
Obtain the communicating number that user selects, from image, extract the communicating number of selection, add the communicating number of selection to good friend and add in interface.
Wherein, from image, extract communicating number is prior art, no longer describes in detail at this.
Communicating number is added good friend and adds after in interface by terminal, if user wants to revise this communicating number, can pass through following steps (A) to (C) and revise good friend and add communicating number in interface, comprise:
(A): when detecting that user clicks communicating number, add display keyboard in interface good friend, keyboard comprises delete character and/or numerical character;
When user wants to revise this communicating number, user clicks in communicating number the numeral needing to revise, and moves the cursor to the position of the numeral needing amendment; Terminal detects good friend and adds interface, and when detecting that user clicks communicating number, add display keyboard in interface good friend, keyboard comprises delete character and/or numerical character; User can click delete character, and delete character triggers delete command to terminal, performs step (B); User also can click numerical character, and numerical character triggers and adds order to terminal, performs step (C).
(B): when detecting that delete character is clicked the delete command of rear triggering by user, the position that good friend adds cursor in interface is obtained, by the character deletion of the position of cursor in communicating number;
User clicks delete character, and delete character triggers delete command to terminal; Terminal detects keyboard, when detecting that delete character is clicked the delete command of rear triggering by user, obtains the position that good friend adds cursor in interface, by the character deletion of the position of cursor in communicating number according to the instruction of delete command.
(C): when detecting that numerical character is clicked the interpolation order of rear triggering by user, obtain the position that good friend adds cursor in interface, numerical character is added to the position of the cursor in communicating number.
User clicks numerical character, and numerical character triggers and adds order to terminal; Terminal detects keyboard, when detecting that numerical character to be clicked the interpolation order of rear triggering by user, obtain good friend according to the instruction adding order and add the position of cursor in interface and the numerical character of user's click, this numerical character is added to the position that communication adds the cursor in number.
After communicating number being added to good friend and adding in interface, user corresponding for this communicating number can be added to the good friend of user by user, performs step S409.
In step S409, detect good friend and add interface, this good friend adds interface and comprises interpolation button;
When user wants user corresponding for this communicating number to be added to the good friend of user, user can click good friend and add interpolation button in interface; Add button triggering good friend and add order to terminal; Terminal detects good friend and adds interface, when detecting that adding button to be clicked the interpolation order of rear triggering by user, performs step S410.
In step S410, when detecting that adding button is clicked the interpolation order of rear triggering by user, send good friend according to the instruction adding order to the equipment that communicating number is corresponding and add request.
Terminal detects good friend and adds interface, when detecting that adding button to be clicked the interpolation order of rear triggering by user, the user ID of user is obtained according to the instruction adding order, the user ID of user is joined good friend adds in request, send good friend to the equipment that communicating number is corresponding and add request, this good friend adds the user ID that user is carried in request.
User ID can be IM (Instant Messaging, the instant messaging) account of user or the communicating number etc. of user.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to add interface input communication number to good friend, terminal adds in interface the camera starting terminal good friend, carry out shooting by camera and obtain image, image is detected; When obtaining communicating number by image, then display communication number and dialing interface; Add communicating number to good friend to add in interface, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment 5
Fig. 5 is the flow chart of a kind of method to communication interface input communication number according to an exemplary embodiment, in the present embodiment, start the camera of terminal, obtain image by camera shooting, obtain communicating number by this image, this communicating number is added in communication interface.As shown in Figure 5, the method to communication interface input communication number is used for, in terminal, comprising the following steps.
In step S501, start the camera of terminal, carry out shooting by camera and obtain image;
Comprise utilizing camera interface in the main interface of terminal, when user wants to dial the communicating number on advertisement or web page contents, the main interface that user opens a terminal, clicks the utilizing camera interface in main interface; Utilizing camera interface triggers starting command to terminal.The main interface of terminal sense terminals, when detecting that the utilizing camera interface in main interface is clicked the starting command of rear triggering by user, starting the camera of terminal, carrying out shooting obtain image by camera according to the instruction of starting command.
Communication interface can add interface etc. for dialing interface, short message interface, good friend.Terminal can be mobile phone or panel computer etc.
In step S502, in detected image, whether comprise numeric string;
Whether numeric string is comprised in detected image; When comprising numeric string in image, perform step S503; When not comprising numeric string in image, perform step S505.
Whether comprising numeric string in detected image is prior art, no longer detailed at this.
In step S503, when comprising numeric string in image, judge in the numeric string comprised in image, whether to there is the numeric string that figure place is default figure place;
When comprising numeric string in image, obtaining the figure place of the numeric string in image, to judge in the numeric string comprised in image the numeric string whether storage bit number is default figure place according to the figure place of numeric string.
When to there is figure place in the numeric string comprised in image be the numeric string of default figure place, perform step S504; When to there is not figure place in the numeric string comprised in image be the numeric string of default figure place, terminate.
Default figure place can carry out arranging and changing according to the figure place of communicating number, as communicating number be fixed telephone number time, default figure place can be 7 or 8; When communicating number is Mobile Directory Number, default figure place can be 11; When communicating number is IM account, default figure place can be 5,6,7,8,9 or 10 etc.
In step S504, when there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in image comprising communicating number by figure place;
When determine in image comprise communicating number time, perform step S506.
In step S505, when not comprising numeric string in image, obtaining the Word message in image, searching the communicating number corresponding with this Word message;
Store a communicating number list in advance in terminal, this communicating number list is for storing the corresponding relation of Word message and communicating number.When not comprising numeric string in image, terminal obtains the Word message in image, according to this Word message, searches communicating number list, if terminal finds this Word message, from communicating number list, obtains the communicating number corresponding with this Word message.
If terminal does not find this Word message, terminal to server sends the Word message in this image, this Word message that server receiving terminal sends, the communicating number corresponding with this Word message according to this word information searching, if whois lookup is to the communicating number corresponding with this Word message, send the communicating number corresponding with this Word message to terminal; The communicating number corresponding with this Word message that terminal reception server sends.
If server does not find the communicating number corresponding with this Word message, determine not corresponding with this Word message communicating number.
Wherein, the word obtained in image is prior art, no longer detailed at this.
In step S506, display communication number and at least one communication mode;
The step of display communication number can be:
In the picture the communicating number that image comprises is marked, the image after show tags.
The communicating number comprised image in the picture carries out mark: the communicating number square frame comprised by image is in the picture framed or is highlighted by the communicating number comprised in image, the highlighted display of the communicating number such as comprised by image, overstriking display, italic display, underscore display or variable color display.
When comprising multiple communicating number in image, respectively each communicating number in the multiple communicating numbers comprised in image is marked.Such as, in the picture each communicating number comprised in image is framed with a square frame respectively or each communicating number in the multiple communicating numbers comprised in image is highlighted.
The step of display at least one communication mode can be:
Obtain the interface that often kind of communication mode at least one communication mode is corresponding, interface corresponding for often kind of communication mode is suspended on image, makes user select communication mode by interface.
Communication mode can for making a phone call, short-message sending or add good friend etc.
User performs step S507 after selecting communication mode by interface.
In step s 507, obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection;
If comprise a communicating number in image, step S507 can be:
Obtain the communication mode that user selects, the communication interface corresponding according to the communication mode of the communication mode acquisition selection selected; From image, extract communicating number, communicating number is added in communication interface corresponding to the communication mode of selection.
If comprise multiple communicating number in image, step S507 can be:
Obtain the communicating number that user selects, the communication interface corresponding according to the communication mode of the communication mode acquisition selection selected; From image, extract the communicating number of selection, the communicating number of selection is added in communication interface corresponding to the communication mode of selection.
Communicating number adds after in communication interface corresponding to communication mode selected by terminal, if user wants to revise this communicating number, can pass through following steps (A) and revise communicating number in communication interface to (C), comprise:
(A): when detecting that user clicks communicating number, display keyboard in communication interface, keyboard comprises delete character and/or numerical character;
When user wants to revise this communicating number, user clicks in communicating number the numeral needing to revise, and moves the cursor to the position of the numeral needing amendment; Terminal detects good friend and adds interface, when detecting that user clicks communicating number, and display keyboard in communication interface, keyboard comprises delete character and/or numerical character; User can click delete character, and delete character triggers delete command to terminal, performs step (B); User also can click numerical character, and numerical character triggers and adds order to terminal, performs step (C).
(B): when detecting that delete character is clicked the delete command of rear triggering by user, in obtaining communication interface the position of cursor, by the character deletion of the position of cursor in communicating number;
User clicks delete character, and delete character triggers delete command to terminal; Terminal detects keyboard, when detecting that delete character is clicked the delete command of rear triggering by user, according to the position of cursor in the instruction obtaining communication interface of delete command, by the character deletion of the position of cursor in communicating number.
(C): when detecting that numerical character is clicked the interpolation order of rear triggering by user, in obtaining communication interface the position of cursor, numerical character is added to the position of the cursor in communicating number.
User clicks numerical character, and numerical character triggers and adds order to terminal; Terminal detects keyboard, when detecting that numerical character to be clicked the interpolation order of rear triggering by user, according to the numerical character that position and the user of cursor in the instruction obtaining communication interface of interpolation order click, this numerical character is added to the position that communication adds the cursor in number.
In step S508, detect communication interface;
When communication interface is dialing interface, this dialing interface comprises dialing button; When user wants to dial this communicating number, user can dialing button in click to dial interface; Dialing button triggers Dial Number command to terminal; Terminal detects dialing interface, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, performs step S509.
When communication interface is dialing interface, this dialing interface comprises store button; When user wants to store this communicating number, user can store button in click to dial interface; Store button triggers memory command to terminal; Terminal detects dialing interface, when detecting that store button is clicked the memory command of rear triggering by user, performs step S510.
When communication interface is short message interface, this short message interface comprises transmission button; When user wants to send SMS message to the equipment that this communicating number is corresponding, user can input content of short message in short message interface, clicks the transmission button in short message interface; Short message button triggers and sends order to terminal; Terminal detects short message interface, when detecting that sending button to be clicked the transmission order of rear triggering by user, performs step S511.
When communication interface adds interface for good friend, this good friend adds interface and comprises interpolation button; When user wants user corresponding for this communicating number to be added to the good friend of user, user can click good friend and add interpolation button in interface; Add button triggering good friend and add order to terminal; Terminal detects good friend and adds interface, when detecting that adding button to be clicked the interpolation order of rear triggering by user, performs step S512.
In step S509, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, dial this communicating number according to the instruction of Dial Number command, terminate.
The dialing interface of sense terminals, when detecting that dialing button is clicked the Dial Number command of rear triggering by user, obtain the communicating number of user according to the instruction of Dial Number command, send the first call request to server, communicating number and this communicating number of user are carried in this first call request; The first call request that server receiving terminal sends, send the second call request to equipment corresponding to this communicating number according to this communicating number, the communicating number of user is carried in this second call request.
In step S510, when detecting that store button is clicked the memory command of rear triggering by user, communicating number is stored in the address list that terminal comprises according to the instruction of memory command, terminates.
Terminal detects dialing interface, when detecting that store button is clicked the memory command of rear triggering by user, according to the instruction of memory command, obtain the associated person information of user's input, in the address list corresponding relation store storage of the associated person information of this communicating number and input comprised to terminal.
In step S511, detect and send button when being clicked the transmission order of rear triggering by user, obtain the content of short message in short message interface according to the instruction sending order, to send SMS message content to the equipment that this communicating number is corresponding, terminate.
Terminal detects short message interface, when detecting that sending button to be clicked the transmission order of rear triggering by user, the communicating number of user is obtained according to the instruction sending order, the communicating number of content of short message and user is encapsulated as a short message, sends this short message to the equipment that this communicating number is corresponding.
In step S512, when detecting that adding button is clicked the interpolation order of rear triggering by user, send good friend according to the instruction adding order to the equipment that communicating number is corresponding and add request.
Terminal detects good friend and adds interface, when detecting that adding button to be clicked the interpolation order of rear triggering by user, the user ID of user is obtained according to the instruction adding order, the user ID of user is joined good friend adds in request, send good friend to the equipment that communicating number is corresponding and add request, this good friend adds the user ID that user is carried in request.
User ID can be the IM account of user or the communicating number etc. of user.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to communication interface input communication number, and terminal starts the camera of terminal, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by image, then display communication number and at least one communication mode; Obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment 6
Fig. 6 is a kind of device schematic diagram to communication interface input communication number according to an exemplary embodiment.See Fig. 6, this device comprises: taking module 601, detection module 602, display module 603 and interpolation module 604.
Taking module 601 is configured to, and for starting the camera of terminal, carrying out shooting obtain image by camera;
Detection module 602 is configured to, for detecting image;
Display module 603 is configured to, for when obtaining communicating number by image, then and display communication number and at least one communication mode;
Adding module 604 to be configured to, for obtaining the communication mode that user selects, communicating number being added in communication interface corresponding to the communication mode of selection.
Optionally, detection module 602, comprising:
Whether detecting unit, for comprising numeric string in detected image;
Judging unit, for when comprising numeric string in image, judges whether there is the numeric string that figure place is default figure place in the numeric string comprised in image;
Figure place, for when there is figure place and being the numeric string of default figure place, is that the numeric string of default figure place is defined as communicating number and determines in image comprising communicating number by determining unit.
Optionally, detection module 602, comprising:
First acquiring unit, for obtaining the Word message in image;
Search unit, for searching the communicating number corresponding with this Word message.
Optionally, display module 603, comprising:
Display unit, for marking the communicating number that image comprises in the picture, the image after show tags;
Second acquisition unit, for obtaining interface corresponding to often kind of communication mode at least one communication mode;
Floating unit, for interface corresponding for often kind of communication mode is suspended in image, interface is used for user and selects communication mode.
Optionally, if comprise a communicating number in image, adding module 604, for extracting communicating number from image, communicating number being added in communication interface corresponding to the communication mode of selection;
If comprise multiple communicating number in image, adding module 604, for obtaining the communicating number that user selects, from image, extracting the communicating number of selection, the communicating number of selection is added in communication interface corresponding to the communication mode of selection.
Optionally, communication interface is dialing interface, and dialing interface comprises dialing button and/or store button, and device also comprises:
Dial module, during for detecting that dialing button is clicked the Dial Number command of rear triggering by user, communicating number is dialed in the instruction according to Dial Number command; And/or,
Memory module, during for detecting that store button is clicked the memory command of rear triggering by user, to be stored into communicating number in the address list that terminal comprises according to the instruction of memory command.
Optionally, communication interface is short message interface, and short message interface comprises transmission button, and device also comprises:
Acquisition module, during for detecting that sending button to be clicked the transmission order of rear triggering by user, obtains the content of short message in short message interface according to the instruction sending order;
First sending module, to send SMS message content for the equipment corresponding to communicating number.
Optionally, communication interface adds interface for good friend, and good friend adds interface and comprises interpolation button, and device also comprises:
Second sending module, during for detecting that adding button to be clicked the interpolation order of rear triggering by user, sending good friend according to the instruction adding order to the equipment that communicating number is corresponding and adding request.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to communication interface input communication number, and terminal starts the camera of terminal, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by image, then display communication number and at least one communication mode; Obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection, thus user need not open keyboard input, shortens input time, improves input efficiency.
Embodiment seven
Fig. 7 is the block diagram of a kind of terminal 800 according to an exemplary embodiment.Such as, terminal 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 7, terminal 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control terminal 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing unit 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of terminal 800.The example of these data comprises for any application program of operation in terminal 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is terminal 800 provide electric power.Electric power assembly 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for terminal 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described terminal 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When terminal 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when terminal 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for terminal 800.Such as, sensor cluster 814 can detect the opening/closing state of terminal 800, the relative positioning of assembly, such as described assembly is display and the keypad of terminal 800, the position of all right sense terminals 800 of sensor cluster 814 or terminal 800 1 assemblies changes, the presence or absence that user contacts with terminal 800, the variations in temperature of terminal 800 orientation or acceleration/deceleration and terminal 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, terminal 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of terminal 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform the compatibility method of a kind of router administration application and router firmware, described method comprises:
Start the camera of terminal, carry out shooting by described camera and obtain image;
Described image is detected;
When obtaining communicating number by described image, then show described communicating number and at least one communication mode;
Obtain the communication mode that user selects, described communicating number is added in communication interface corresponding to the communication mode of described selection.
Optionally, described described image to be detected, comprising:
Detect in described image and whether comprise numeric string;
When comprising numeric string in described image, judge in the numeric string comprised in described image, whether to there is the numeric string that figure place is default figure place;
When there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in described image comprising communicating number by figure place.
Optionally, described described image to be detected, comprising:
Obtain the Word message in image;
Search the communicating number corresponding with described Word message.
Optionally, the described communicating number of described display and at least one communication mode, comprising:
In described image, the communicating number that described image comprises is marked, the described image after show tags;
Obtain the interface that often kind of communication mode in described at least one communication mode is corresponding;
Suspended on the image by interface corresponding for described often kind of communication mode, described interface is used for described user and selects communication mode.
Optionally, in the communication interface that the described communication mode described communicating number being added to described selection is corresponding, comprising:
If comprise a communicating number in described image, from described image, extract described communicating number, described communicating number is added in communication interface corresponding to the communication mode of described selection;
If comprise multiple communicating number in described image, obtain the communicating number that described user selects, from described image, extract the communicating number of described selection, the communicating number of described selection is added in communication interface corresponding to the communication mode of described selection.
Optionally, described communication interface is dialing interface, and described dialing interface comprises dialing button and/or store button, and described method also comprises:
When detecting that described dialing button is clicked the Dial Number command of rear triggering by described user, dial described communicating number according to the instruction of described Dial Number command; And/or,
When detecting that described store button is clicked the memory command of rear triggering by described user, described communicating number is stored in the address list that described terminal comprises according to the instruction of described memory command.
Optionally, described communication interface is short message interface, and described short message interface comprises transmission button, and described method also comprises:
When detecting that the transmission order of rear triggering clicked by described transmission button by described user, obtain the content of short message in described short message interface according to the described instruction sending order;
Described content of short message is sent to the equipment that described communicating number is corresponding.
Optionally, described communication interface adds interface for good friend, and described good friend adds interface and comprises interpolation button, and described method also comprises:
When detecting that the interpolation order of rear triggering clicked by described interpolation button by described user, send good friend according to the described instruction adding order to the equipment that described communicating number is corresponding and add request.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when user wants to communication interface input communication number, and terminal starts the camera of terminal, carries out shooting and obtains image, detect image by camera; When obtaining communicating number by image, then display communication number and at least one communication mode; Obtain the communication mode that user selects, communicating number is added in communication interface corresponding to the communication mode of selection, thus user need not open keyboard input, shortens input time, improves input efficiency.
Those skilled in the art, at consideration specification and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. to a method for communication interface input communication number, it is characterized in that, described method comprises:
Start the camera of terminal, carry out shooting by described camera and obtain image;
Described image is detected;
When obtaining communicating number by described image, then show described communicating number and at least one communication mode;
Obtain the communication mode that user selects, described communicating number is added in communication interface corresponding to the communication mode of described selection.
2. the method for claim 1, is characterized in that, describedly detects described image, comprising:
Detect in described image and whether comprise numeric string;
When comprising numeric string in described image, judge in the numeric string comprised in described image, whether to there is the numeric string that figure place is default figure place;
When there is figure place and being the numeric string of default figure place, be that the numeric string of default figure place is defined as communicating number and determines in described image comprising communicating number by figure place.
3. the method for claim 1, is characterized in that, describedly detects described image, comprising:
Obtain the Word message in image;
Search the communicating number corresponding with described Word message.
4. the method for claim 1, is characterized in that, the described communicating number of described display and at least one communication mode, comprising:
In described image, the communicating number that described image comprises is marked, the described image after show tags;
Obtain the interface that often kind of communication mode in described at least one communication mode is corresponding;
Suspended on the image by interface corresponding for described often kind of communication mode, described interface is used for described user and selects communication mode.
5. the method for claim 1, is characterized in that, in the communication interface that the described communication mode described communicating number being added to described selection is corresponding, comprising:
If comprise a communicating number in described image, from described image, extract described communicating number, described communicating number is added in communication interface corresponding to the communication mode of described selection;
If comprise multiple communicating number in described image, obtain the communicating number that described user selects, from described image, extract the communicating number of described selection, the communicating number of described selection is added in communication interface corresponding to the communication mode of described selection.
6. the method for claim 1, is characterized in that, described communication interface is dialing interface, and described dialing interface comprises dialing button and/or store button, and described method also comprises:
When detecting that described dialing button is clicked the Dial Number command of rear triggering by described user, dial described communicating number according to the instruction of described Dial Number command; And/or,
When detecting that described store button is clicked the memory command of rear triggering by described user, described communicating number is stored in the address list that described terminal comprises according to the instruction of described memory command.
7. the method for claim 1, is characterized in that, described communication interface is short message interface, and described short message interface comprises transmission button, and described method also comprises:
When detecting that the transmission order of rear triggering clicked by described transmission button by described user, obtain the content of short message in described short message interface according to the described instruction sending order;
Described content of short message is sent to the equipment that described communicating number is corresponding.
8. the method for claim 1, is characterized in that, described communication interface adds interface for good friend, and described good friend adds interface and comprises interpolation button, and described method also comprises:
When detecting that the interpolation order of rear triggering clicked by described interpolation button by described user, send good friend according to the described instruction adding order to the equipment that described communicating number is corresponding and add request.
9. to a device for communication interface input communication number, it is characterized in that, described device comprises:
Taking module, for starting the camera of terminal, carrying out shooting by described camera and obtaining image;
Detection module, for detecting described image;
Display module, for when obtaining communicating number by described image, then shows described communicating number and at least one communication mode;
Adding module, for obtaining the communication mode that user selects, described communicating number being added in communication interface corresponding to the communication mode of described selection.
10. device as claimed in claim 9, it is characterized in that, described detection module, comprising:
Detecting unit, for detecting in described image whether comprise numeric string;
Judging unit, for when comprising numeric string in described image, judges whether there is the numeric string that figure place is default figure place in the numeric string comprised in described image;
Figure place, for when there is figure place and being the numeric string of default figure place, is that the numeric string of default figure place is defined as communicating number and determines in described image comprising communicating number by determining unit.
11. devices as claimed in claim 9, it is characterized in that, described detection module, comprising:
First acquiring unit, for obtaining the Word message in image;
Search unit, for searching the communicating number corresponding with described Word message.
12. devices as claimed in claim 9, it is characterized in that, described display module, comprising:
Display unit, for marking the communicating number that described image comprises in described image, the described image after show tags;
Second acquisition unit, for obtaining interface corresponding to often kind of communication mode in described at least one communication mode;
Floating unit, for being suspended on the image by interface corresponding for described often kind of communication mode, described interface is used for described user and selects communication mode.
13. devices as claimed in claim 9, is characterized in that,
If comprise a communicating number in described image, described interpolation module, for extracting described communicating number from described image, adds in communication interface corresponding to the communication mode of described selection by described communicating number;
If comprise multiple communicating number in described image, described interpolation module, for obtaining the communicating number that described user selects, from described image, extracting the communicating number of described selection, the communicating number of described selection being added in communication interface corresponding to the communication mode of described selection.
14. devices as claimed in claim 9, it is characterized in that, described communication interface is dialing interface, and described dialing interface comprises dialing button and/or store button, and described device also comprises:
Dialing module, during for detecting that described dialing button is clicked the Dial Number command of rear triggering by described user, dialing described communicating number according to the instruction of described Dial Number command; And/or,
Memory module, during for detecting that described store button is clicked the memory command of rear triggering by described user, to be stored into described communicating number in the address list that described terminal comprises according to the instruction of described memory command.
15. devices as claimed in claim 9, it is characterized in that, described communication interface is short message interface, and described short message interface comprises transmission button, and described device also comprises:
Acquisition module, during for detecting that the transmission order of rear triggering to be clicked by described transmission button by described user, obtains the content of short message in described short message interface according to the described instruction sending order;
First sending module, sends described content of short message for the equipment corresponding to described communicating number.
16. devices as claimed in claim 9, is characterized in that, described communication interface adds interface for good friend, and described good friend adds interface and comprises interpolation button, and described device also comprises:
Second sending module, during for detecting that the interpolation order of rear triggering to be clicked by described interpolation button by described user, sending good friend according to the described instruction adding order to the equipment that described communicating number is corresponding and adding request.
17. 1 kinds to the device of communication interface input communication number, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
Start the camera of described terminal, carry out shooting by described camera and obtain image;
Described image is detected;
When obtaining communicating number by described image, then show described communicating number and at least one communication mode;
Obtain the communication mode that user selects, described communicating number is added in communication interface corresponding to the communication mode of described selection.
CN201410433380.8A 2014-08-28 2014-08-28 To the method and apparatus of communication interface input communicating number Active CN104270491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410433380.8A CN104270491B (en) 2014-08-28 2014-08-28 To the method and apparatus of communication interface input communicating number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410433380.8A CN104270491B (en) 2014-08-28 2014-08-28 To the method and apparatus of communication interface input communicating number

Publications (2)

Publication Number Publication Date
CN104270491A true CN104270491A (en) 2015-01-07
CN104270491B CN104270491B (en) 2018-02-02

Family

ID=52161979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410433380.8A Active CN104270491B (en) 2014-08-28 2014-08-28 To the method and apparatus of communication interface input communicating number

Country Status (1)

Country Link
CN (1) CN104270491B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487975A (en) * 2016-10-27 2017-03-08 北京小米移动软件有限公司 Dialing method and device
CN107835313A (en) * 2017-11-02 2018-03-23 奇酷互联网络科技(深圳)有限公司 Carry out method, terminal, readable storage medium storing program for executing and the communicating terminal of dial-up
CN108462630A (en) * 2018-02-27 2018-08-28 维沃移动通信有限公司 A kind of method, device and mobile terminal for searching contact person

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1122934A2 (en) * 2000-02-02 2001-08-08 Motorola, Inc. Communication device with dial function using optical character recognition, and method
CN102572113A (en) * 2012-02-17 2012-07-11 深圳市金立通信设备有限公司 System and method for extracting contact person information from texts to operate mobile phone
CN102761668A (en) * 2012-07-13 2012-10-31 青岛海信传媒网络技术有限公司 Method and device for dialing telephone call based on telephone number information in pictures
CN103945033A (en) * 2013-01-20 2014-07-23 上海博路信息技术有限公司 Method of calling based on optical character recognition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1122934A2 (en) * 2000-02-02 2001-08-08 Motorola, Inc. Communication device with dial function using optical character recognition, and method
CN102572113A (en) * 2012-02-17 2012-07-11 深圳市金立通信设备有限公司 System and method for extracting contact person information from texts to operate mobile phone
CN102761668A (en) * 2012-07-13 2012-10-31 青岛海信传媒网络技术有限公司 Method and device for dialing telephone call based on telephone number information in pictures
CN103945033A (en) * 2013-01-20 2014-07-23 上海博路信息技术有限公司 Method of calling based on optical character recognition

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487975A (en) * 2016-10-27 2017-03-08 北京小米移动软件有限公司 Dialing method and device
CN107835313A (en) * 2017-11-02 2018-03-23 奇酷互联网络科技(深圳)有限公司 Carry out method, terminal, readable storage medium storing program for executing and the communicating terminal of dial-up
CN108462630A (en) * 2018-02-27 2018-08-28 维沃移动通信有限公司 A kind of method, device and mobile terminal for searching contact person
CN108462630B (en) * 2018-02-27 2021-07-20 维沃移动通信有限公司 Method and device for searching contact person and mobile terminal

Also Published As

Publication number Publication date
CN104270491B (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN104270498A (en) Method and device for inputting communication number into communication interface
CN105162937A (en) Incoming call information processing method and device
CN103973900B (en) The method of transmission information and device
CN104506443A (en) Router setting interface display method and device
CN105516944A (en) Short message canceling method and device
CN105323244A (en) Method and device for network identification
CN105530167A (en) Method and device for setting group name card
CN105389113A (en) Gesture-based application control method and apparatus and terminal
CN105447109A (en) Key word searching method and apparatus
CN105550235A (en) Information acquisition method and information acquisition apparatuses
CN105391621A (en) Information communication method and device
CN105245675A (en) Method and device for managing contact account
CN104035673A (en) Object control method and relevant device
CN104602275A (en) Subscriber Identity Module (SIM) card switching method and device
CN105245705A (en) Telephone prompting method and device
CN104811904A (en) Contact setting method and device
KR101716622B1 (en) Method and device, program and recording medium for sending message
CN104270491A (en) Method and device for inputting communication number into communication interface
CN105912202A (en) Application sharing method and device
CN105426065A (en) Browsing position marking method and device
CN105117115A (en) Method and device for displaying electronic document
CN104836880A (en) Method and device for processing contact person head portrait
CN104780256A (en) Address book management method and device and intelligent terminal
CN104539497A (en) Network connecting method and device
CN105094510A (en) Text processing method, device and system

Legal Events

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