CN106294528B - Method and device for realizing information transmission - Google Patents

Method and device for realizing information transmission Download PDF

Info

Publication number
CN106294528B
CN106294528B CN201510367449.6A CN201510367449A CN106294528B CN 106294528 B CN106294528 B CN 106294528B CN 201510367449 A CN201510367449 A CN 201510367449A CN 106294528 B CN106294528 B CN 106294528B
Authority
CN
China
Prior art keywords
character string
address book
content
address
user
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.)
Active
Application number
CN201510367449.6A
Other languages
Chinese (zh)
Other versions
CN106294528A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510367449.6A priority Critical patent/CN106294528B/en
Publication of CN106294528A publication Critical patent/CN106294528A/en
Application granted granted Critical
Publication of CN106294528B publication Critical patent/CN106294528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for realizing information transmission, which is used for quickly and conveniently transmitting address book contents in instant messaging software and comprises the following steps: receiving a character string input by a user, and judging whether the character string meets a preset condition; if the character string meets the preset condition, triggering to prompt a user whether to match the address list or not; if a trigger signal for matching the address list is received, reading the content of the address list, and generating and displaying an address list matched with the character string according to the content of the address list; receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal. The invention also discloses a device for realizing information transmission.

Description

Method and device for realizing information transmission
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for realizing information transmission.
Background
With the development of internet technology, it is very popular that users use instant messaging software to communicate with others, and users have a demand for sending address book contents to the other party during the use of instant messaging software, for example, the users need to send the phone numbers of others to the other party.
In the prior art, if a user uses instant messaging software to send address book contents, all address book contents can be manually input by memory and sent, however, the mode may cause inaccurate input of the user; or, the address book of the terminal may be opened first, and after finding the relevant content and copying, the instant messaging software may be returned to send the relevant content to the other party.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for implementing information transmission, so as to solve the technical problems in the prior art that the content of an address book transmitted by instant messaging software may have inaccurate input or complex operation and low efficiency.
In order to solve the above problems, the technical scheme provided by the invention is as follows:
a method of enabling information transmission, the method comprising:
receiving a character string input by a user, and judging whether the character string meets a preset condition;
if the character string meets the preset condition, triggering to prompt a user whether to match the address list;
if a trigger signal for matching the address list is received, reading the content of the address list, and generating and displaying an address list matched with the character string according to the content of the address list;
receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
Correspondingly, the judging whether the character string meets the preset condition includes:
judging whether the character string is the same as a stored preset character string or not, wherein if the character string is the same as the stored preset character string, the character string accords with a preset condition;
and/or reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with a preset condition.
Correspondingly, the determining whether the character string is the same as the character string in the address book content includes:
identifying a character string type of the character string;
when the character string type is a digital character string, judging whether the character string is the same as part or all of the digital character strings in any address book number, and if the character string is the same as part or all of the digital character strings in any address book number, enabling the character string to accord with a preset condition;
and when the character string type is a character string, judging whether the character string is the same as part or all of character strings in other information of any address book, and if the character string is the same as part or all of character strings in other information of any address book, enabling the character string to accord with a preset condition.
Correspondingly, before generating and displaying the address list matched with the character string according to the address list content, the method further comprises the following steps:
and judging whether the character string is matched with at least one item of address book content, if so, generating and displaying an address book list matched with the character string according to the address book content, and if not, displaying a matching failure prompt.
Correspondingly, the content of the address book is read after receiving a trigger signal which is input by a user and allows the content of the address book to be read.
Correspondingly, the reading of the address book content includes:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
An apparatus for enabling information transmission, the apparatus comprising:
a receiving unit for receiving a character string input by a user;
the first judgment unit is used for judging whether the character string meets a preset condition or not;
the first prompting unit is used for triggering to prompt whether the address list is matched or not to a user if the character string meets a preset condition;
the reading unit is used for reading the content of the address list if a trigger signal for matching the address list is received;
the generating unit is used for generating and displaying an address list matched with the character string according to the address list content;
and the sending unit is used for receiving a selection signal input by a user, wherein the selection signal corresponds to at least one address book content in the address book list, and sending the address book content corresponding to the selection signal.
Correspondingly, the first judging unit comprises:
the first judging subunit is used for judging whether the character string is the same as a stored preset character string or not, and if the character string is the same as the stored preset character string, the character string accords with a preset condition;
and/or the presence of a gas in the gas,
and the second judgment subunit is used for reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with a preset condition.
Correspondingly, the second judging subunit includes:
the reading subunit is used for reading the content of the address list;
the identification subunit is used for identifying the character string type of the character string;
a third judging subunit, configured to, when the type of the character string is a numeric character string, judge whether the character string is the same as a part or all of numeric character strings in any address book number, and if the character string is the same as a part or all of numeric character strings in any address book number, the character string meets a preset condition;
and the fourth judging subunit is configured to, when the type of the character string is a text character string, judge whether the character string is the same as some or all of the text character strings in any other information of the address book, and if the character string is the same as some or all of the text character strings in any other information of the address book, determine that the character string meets a preset condition.
Correspondingly, the device further comprises:
the second judgment unit is used for judging whether the character string is matched with at least one item of address book content;
the second prompting unit is used for displaying a matching failure prompt if the character string is not matched with at least one item of address book content;
the generating unit is specifically configured to generate and display an address list matched with the character string according to the address list content if the character string is matched with at least one item of address list content.
Correspondingly, the content of the address book is read after receiving a trigger signal which is input by a user and allows the content of the address book to be read.
Correspondingly, the reading unit or the reading subunit is specifically configured to:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
Therefore, the embodiment of the invention has the following beneficial effects:
in the process of inputting the character string by the user, the embodiment of the invention actively identifies whether the input character string represents the requirement of sending the address book by the user, namely, when the character string input by the user meets the preset condition, whether the address book is matched is prompted to the user, when the user selects to match the address book, an address book list matched with the input character string is generated for the user to select, and the address book content selected by the user is sent.
Drawings
Fig. 1 is a flowchart of a first embodiment of a method for sending information according to an embodiment of the present invention;
fig. 2 is a flowchart of a second embodiment of a method for sending information according to the second embodiment of the present invention;
fig. 3 is a flowchart of a third embodiment of a method for sending information according to the present invention;
fig. 4 is a schematic diagram of an embodiment of an apparatus for implementing information transmission provided in the embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal provided in an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
The embodiment of the present invention will be described from the perspective of a device for implementing information transmission, which may be specifically integrated in a client, where the client may be an instant messaging software, and the client may be loaded in a terminal, and the terminal may specifically be a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture experts Group Audio Layer III, motion Picture experts compression standard Audio Layer 3) player, an MP4(Moving Picture experts Group Audio Layer IV, motion Picture experts compression standard Audio Layer 3) player, a laptop portable computer, a desktop computer, and the like.
Referring to fig. 1, a first embodiment of a method for implementing information transmission provided in the embodiment of the present invention may include the following steps:
step 101: and receiving a character string input by a user, and judging whether the character string meets a preset condition.
The instant messaging software can receive a character string input by a user in a conversation window input box between users, the character string can be a digital character string, a character string and the like, and in the process of inputting the character string by the user, whether the character string input by the user meets a preset condition can be judged in real time so as to judge whether the user has the requirement of inputting or sending address book contents.
In some embodiments of the present invention, the specific implementation of determining whether the character string meets the preset condition may include:
judging whether the character string is the same as the stored preset character string or not, and if the character string is the same as the stored preset character string, enabling the character string to accord with preset conditions;
and/or reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with the preset condition.
That is, there are at least two implementation manners for determining whether a character string meets a preset condition, in the first implementation manner, a preset character string is preset and stored, and the preset character string is generally a numeric character string, for example, a start character string commonly used for a telephone number: 135. 138, etc., determining whether the character string input by the user is the same as the preset character string, for example, if the character string "135" input by the user is the same as the preset character string, it may be determined that the user may currently have a requirement for inputting or sending the address book content, and the character string input by the user meets the preset condition; in a second implementation manner, the content of the address book is read in real time, whether the character string input by the user is the same as the character string in the content of the address book is judged, if so, it can be considered that the user may have a requirement for inputting or sending the content of the address book currently, and the character string input by the user meets a preset condition.
In some embodiments of the present invention, the specific implementation of determining whether the character string is the same as the character string in the address book content may further include:
identifying a character string type of the character string;
when the character string type is a digital character string, judging whether the character string is the same as part or all of the digital character strings in any address book number, if so, enabling the character string to accord with a preset condition;
or when the character string type is a character string, judging whether the character string is the same as part or all of character strings in other information of any address book, and if the character string is the same as part or all of character strings in other information of any address book, enabling the character string to accord with a preset condition.
The address book content may include the address book number and other information in the address book, which may be understood as personal information in other address books besides the address book number in the address book, such as name, work unit, home address, etc. When the character string input by the user is a digital character string, the character string input by the user can be compared with each address book number in the address book content in a traversal mode, whether the character string input by the user is the same as part or all of the digital character strings in any address book number is judged, for example, whether the character string '1368' input by the user is part of any address book number is judged, if yes, the user can be considered to have the requirement of inputting or sending the address book content currently, and the character string input by the user meets the preset condition; when the character string input by the user is a character string, the character string can be compared with other information in each address book in the address book, for example, the character string input by the user is compared with a 'name' part in the address book, whether the character string input by the user is the same as part or all of the character strings in other information in any address book is judged, for example, the character string 'zhang san' input by the user is the same as the 'name' part in one address book content, it can be considered that the user may have a requirement for inputting or sending the address book content at present, and the character string input by the user meets a preset condition.
It is understood that the contents of the address book are read after receiving a trigger signal for allowing the contents of the address book to be read, which is input by a user. After the authorization that the user allows to read the contents of the address book is obtained, the address book matching function is started to read the contents of the address book.
Step 102: and if the character string meets the preset condition, triggering to prompt a user whether to match the address list.
The character strings meet the preset conditions, namely the user is considered to have the requirement of inputting or sending the address book content at present, whether the address book is matched or not is triggered to be prompted to the user, and prompting modes include but are not limited to popping up a window whether the address book is matched or not, prompting whether the address book is matched or not in a session window input frame directly and the like.
Step 103: and if a trigger signal for matching the address list is received, reading the content of the address list, and generating and displaying an address list matched with the character string according to the content of the address list.
The user selects according to the prompt of whether to match the address list, when the user selects to match the address list, the instant messaging software can receive a trigger signal for matching the address list triggered by the user, the content of the address list can be read, and an address list matched with the character string is generated and displayed according to the content of the address list. The process of generating the address list matched with the character string may include: searching whether the input character string is the same as part or all of the number character string in any address book number in the address book content, and if so, taking the address book content comprising the address book number as one item in an address book list; and/or searching whether the input character string is the same as part or all character strings in other information of any address book in the address book content, and if so, taking the address book content comprising the address book number as one item in the address book list so as to generate the address book list. For example, if the character string input by the user is "1368", all the contents of the address book including "1368" in the address book number may be searched and obtained as an address book list, and the address book list is displayed to the user for selection. The address list may be arranged according to the matching degree with the input character string, or may be arranged according to the sequence in the original address list content.
And if the user chooses not to match the address list, the address list is not generated, and the user can continue the current input process.
In some embodiments of the present invention, a situation may occur that a user triggers to perform matching of an address book, but cannot find address book content matching with a character string, for example, a character string "135" input by the user is the same as a preset character string, and triggers to prompt the user whether to perform matching of the address book, and there is no content matching with the character string "135" in the address book content, before generating and displaying an address book list matching with the character string according to the address book content, the method may further include:
and judging whether the character string is matched with at least one item of address book content, if so, generating and displaying an address book list matched with the character string according to the address book content, and if not, displaying a matching failure prompt.
In addition, in some embodiments of the present invention, the content of the address book may be read from an address book storage location of each SIM (Subscriber Identity Module) card in the terminal and/or an address book storage location inside the terminal when the content of the address book is read. The method and the device have the advantages that the situation that the terminal can be provided with multiple SIM cards and the content of the address book can be stored in the terminal is considered, the content of the address book can be read from each address book storage position by reading the content of the address book, and the completeness of the read content of the address book is guaranteed.
Step 104: receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
The user can select at least one item of address list content from the address list, and the address list content selected by the user can be inserted into the currently input content for sending, so that the address list content can be quickly matched and sent.
Therefore, in the process of inputting the character string by the user, the embodiment of the invention actively identifies whether the input character string represents the requirement of sending the address book by the user, namely, when the character string input by the user meets the preset condition, whether the address book is matched is prompted to the user, when the user selects to match the address book, an address book list matched with the input character string is generated for the user to select, and the address book content selected by the user is sent.
The following describes a method for implementing information transmission provided in the embodiment of the present invention with reference to an application scenario. Referring to fig. 2, a second embodiment of the method for sending information provided in the embodiment of the present invention may include the following steps:
step 201: a character string input by a user is received.
In practical application, an address book matching switch can be added to a chat interface of instant messaging software, and when a user opens the address book matching switch, the user receives a trigger signal which is input by the user and allows the content of the address book to be read, so that the content of the address book can be read in subsequent steps. In addition, the user can also choose to turn off the 'address book matching' switch, and then the address book content is not matched and transmitted.
The user opens the instant communication software, enters a conversation window between users, and inputs the character string, so that the instant communication software can receive the character string input by the user.
Step 202: and judging whether the character string is the same as the stored preset character string, if so, entering the step 203, and if not, entering the step 209.
Step 203: triggering and prompting whether the address list is matched or not to the user.
When the character string is the same as the stored preset character string, the user may be considered to have a requirement for inputting or sending the content of the address book at present, whether the address book is matched or not is prompted to the user through triggering, and the user may select to send a trigger signal for matching the address book or select to send a trigger signal for not matching the address book.
Step 204: and if a trigger signal for matching the address list is received, reading the content of the address list.
Step 205: and judging whether the character string is matched with at least one item of address book content, if so, entering a step 206, and if not, entering a step 207.
Step 206: and generating and displaying an address list matched with the character strings according to the address list content.
Step 207: and displaying a matching failure prompt.
Step 208: receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
Step 209: and (6) ending.
In the embodiment, when the character string input by the user is the same as the stored preset character string, the user can select to trigger the address book matching, and at this time, the address book list matched with the input character string is generated by reading the content of the address book for the user to select, and the address book content selected by the user is sent, so that the automatic matching and the quick address book sending in the instant messaging software can be realized, the operation is simple, and the efficiency of sending the address book content is greatly improved.
Referring to fig. 3, a third embodiment of the method for implementing information transmission provided in the embodiment of the present invention may include the following steps:
step 301: a character string input by a user is received.
In practical application, an address book matching switch can be added to a chat interface of instant messaging software, and when a user opens the address book matching switch, the user receives a trigger signal which is input by the user and allows the content of the address book to be read, so that the content of the address book can be read in subsequent steps. In addition, the user can also choose to turn off the 'address book matching' switch, and then the address book content is not matched and transmitted.
The user opens the instant communication software, enters a conversation window between users, and inputs the character string, so that the instant communication software can receive the character string input by the user.
Step 302: and reading the content of the address book.
Step 303: and judging whether the character strings are the same as the character strings in the address book content, if so, entering a step 304, and if not, entering a step 309.
Specifically, the character string type of the character string can be identified; when the character string type is a digital character string, judging whether the character string is the same as part or all of the digital character strings in any address book number, if so, enabling the character string to accord with a preset condition; or when the character string type is a character string, judging whether the character string is the same as part or all of character strings in other information of any address book, and if the character string is the same as part or all of character strings in other information of any address book, enabling the character string to accord with a preset condition.
When the character string is the same as the character string in the address book content, the user may be considered to have a requirement for inputting or sending the address book content at present, whether the address book is matched is prompted to the user through triggering, and the user may select to send a trigger signal for matching the address book or select to send a trigger signal for not matching the address book.
Step 304: triggering and prompting whether the address list is matched or not to the user.
Step 305: if a trigger signal for matching the address list is received, judging whether the character string is matched with at least one item of address list content, if so, entering step 306, and if not, entering step 307.
Step 306: and generating and displaying an address list matched with the character strings according to the address list content.
Step 307: and displaying a matching failure prompt.
Step 308: receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
Step 309: and (6) ending.
In the embodiment, the content of the address book is read, when the character string input by the user is the same as the character string in the content of the address book, the user can select to trigger the matching of the address book, at this time, an address book list matched with the input character string is generated by reading the content of the address book for the user to select, the content of the address book selected by the user is sent, the automatic matching and the quick sending of the address book in instant messaging software can be realized, the operation is simple, and the efficiency of sending the content of the address book is greatly improved.
Correspondingly, referring to fig. 4, an embodiment of an apparatus for implementing information transmission is further provided in the embodiment of the present invention, where the apparatus may include:
a receiving unit 401, configured to receive a character string input by a user.
The first determining unit 402 is configured to determine whether the character string meets a preset condition.
A first prompting unit 403, configured to trigger to prompt a user whether to perform address book matching if the character string meets a preset condition.
The reading unit 404 is configured to read the content of the address book if a trigger signal for performing matching on the address book is received.
And a generating unit 405, configured to generate and display an address list matching the character string according to the address list content.
The sending unit 406 is configured to receive a selection signal input by a user, where the selection signal corresponds to at least one address book content in the address book list, and send the address book content corresponding to the selection signal.
In some embodiments of the present invention, the first determining unit may include:
the first judging subunit is used for judging whether the character string is the same as the stored preset character string or not, and if the character string is the same as the stored preset character string, the character string accords with the preset condition;
and/or the second judging subunit is used for reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with the preset condition.
In some embodiments of the present invention, the second determining subunit may further include:
the reading subunit is used for reading the content of the address list;
an identification subunit for identifying a character string type of the character string;
a third judging subunit, configured to, when the type of the character string is a numeric character string, judge whether the character string is the same as a part or all of numeric character strings in any address book number, and if the character string is the same as a part or all of numeric character strings in any address book number, the character string meets a preset condition;
and the fourth judging subunit is used for judging whether the character string is the same as part or all of the character strings in other information of any address book when the character string type is the character string, and if the character string is the same as part or all of the character strings in other information of any address book, the character string meets the preset condition.
In addition, in some embodiments of the present invention, an apparatus provided in embodiments of the present invention further includes:
the second judgment unit is used for judging whether the character string is matched with at least one item of address book content;
the second prompting unit is used for displaying a matching failure prompt if the character string is not matched with at least one item of address book content;
and the generating unit is specifically used for generating and displaying an address list matched with the character string according to the address list content if the character string is matched with at least one item of address list content.
In some embodiments of the present invention, the address book content is read after receiving a trigger signal for allowing the address book content to be read, which is input by a user.
In some embodiments of the present invention, the reading unit or the reading subunit may be specifically configured to:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
Therefore, in the process of inputting the character string by the user, the embodiment of the invention actively identifies whether the input character string represents the requirement of sending the address book by the user, namely, when the character string input by the user meets the preset condition, whether the address book is matched is prompted to the user, when the user selects to match the address book, an address book list matched with the input character string is generated for the user to select, and the address book content selected by the user is sent.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 5, the terminal may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions:
receiving a character string input by a user, and judging whether the character string meets a preset condition;
if the character string meets the preset condition, triggering to prompt a user whether to match the address list;
if a trigger signal for matching the address list is received, reading the content of the address list, and generating and displaying an address list matched with the character string according to the content of the address list;
receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
Correspondingly, the judging whether the character string meets the preset condition includes:
judging whether the character string is the same as a stored preset character string or not, wherein if the character string is the same as the stored preset character string, the character string accords with a preset condition;
and/or reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with a preset condition.
Correspondingly, the determining whether the character string is the same as the character string in the address book content includes:
identifying a character string type of the character string;
when the character string type is a digital character string, judging whether the character string is the same as part or all of the digital character strings in any address book number, and if the character string is the same as part or all of the digital character strings in any address book number, enabling the character string to accord with a preset condition;
and when the character string type is a character string, judging whether the character string is the same as part or all of character strings in other information of any address book, and if the character string is the same as part or all of character strings in other information of any address book, enabling the character string to accord with a preset condition.
Correspondingly, before generating and displaying the address list matched with the character string according to the address list content, the method further comprises the following steps:
and judging whether the character string is matched with at least one item of address book content, if so, generating and displaying an address book list matched with the character string according to the address book content, and if not, displaying a matching failure prompt.
Correspondingly, the content of the address book is read after receiving a trigger signal which is input by a user and allows the content of the address book to be read.
Correspondingly, the reading of the address book content includes:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
Therefore, in the process of inputting the character string by the user, the embodiment of the invention actively identifies whether the input character string represents the requirement of sending the address book by the user, namely, when the character string input by the user meets the preset condition, whether the address book is matched is prompted to the user, when the user selects to match the address book, an address book list matched with the input character string is generated for the user to select, and the address book content selected by the user is sent.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for implementing information transmission, the method comprising:
receiving a character string input by a user, and judging whether the character string meets a preset condition;
wherein, the judging whether the character string meets the preset condition comprises: judging whether the character string is the same as a stored preset character string or not, wherein if the character string is the same as the stored preset character string, the character string accords with a preset condition; and/or reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with a preset condition;
if the character string meets the preset condition, triggering to prompt a user whether to match the address list;
if a trigger signal for matching the address list is received, reading the content of the address list, and generating and displaying an address list matched with the character string according to the content of the address list;
receiving a selection signal input by a user, wherein the selection signal corresponds to at least one item of address list content in the address list, and sending the address list content corresponding to the selection signal.
2. The method of claim 1, wherein the determining whether the character string is the same as a character string in the address book content comprises:
identifying a character string type of the character string;
when the character string type is a digital character string, judging whether the character string is the same as part or all of the digital character strings in any address book number, and if the character string is the same as part or all of the digital character strings in any address book number, enabling the character string to accord with a preset condition;
and when the character string type is a character string, judging whether the character string is the same as part or all of character strings in other information of any address book, and if the character string is the same as part or all of character strings in other information of any address book, enabling the character string to accord with a preset condition.
3. The method of claim 1, wherein before generating and displaying the list of contacts matching the character string according to the contents of the contacts, the method further comprises:
and judging whether the character string is matched with at least one item of address book content, if so, generating and displaying an address book list matched with the character string according to the address book content, and if not, displaying a matching failure prompt.
4. The method of claim 1, wherein the address book contents are read after receiving a trigger signal for allowing the address book contents to be read, the trigger signal being input by a user.
5. The method according to claim 1 or 2, wherein the reading the address book content comprises:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
6. An apparatus for enabling information transmission, the apparatus comprising:
a receiving unit for receiving a character string input by a user;
the first judgment unit is used for judging whether the character string meets a preset condition or not; wherein the first judgment unit includes: the first judging subunit is used for judging whether the character string is the same as a stored preset character string or not, and if the character string is the same as the stored preset character string, the character string accords with a preset condition; and/or the second judging subunit is used for reading the content of the address book, judging whether the character string is the same as the character string in the content of the address book, and if the character string is the same as the character string in the content of the address book, enabling the character string to accord with a preset condition;
the first prompting unit is used for triggering to prompt whether the address list is matched or not to a user if the character string meets a preset condition;
the reading unit is used for reading the content of the address list if a trigger signal for matching the address list is received;
the generating unit is used for generating and displaying an address list matched with the character string according to the address list content;
and the sending unit is used for receiving a selection signal input by a user, wherein the selection signal corresponds to at least one address book content in the address book list, and sending the address book content corresponding to the selection signal.
7. The apparatus of claim 6, wherein the second determining subunit comprises:
the reading subunit is used for reading the content of the address list;
the identification subunit is used for identifying the character string type of the character string;
a third judging subunit, configured to, when the type of the character string is a numeric character string, judge whether the character string is the same as a part or all of numeric character strings in any address book number, and if the character string is the same as a part or all of numeric character strings in any address book number, the character string meets a preset condition;
and the fourth judging subunit is configured to, when the type of the character string is a text character string, judge whether the character string is the same as some or all of the text character strings in any other information of the address book, and if the character string is the same as some or all of the text character strings in any other information of the address book, determine that the character string meets a preset condition.
8. The apparatus of claim 6, further comprising:
the second judgment unit is used for judging whether the character string is matched with at least one item of address book content;
the second prompting unit is used for displaying a matching failure prompt if the character string is not matched with at least one item of address book content;
the generating unit is specifically configured to generate and display an address list matched with the character string according to the address list content if the character string is matched with at least one item of address list content.
9. The apparatus of claim 6, wherein the address book contents are read after receiving a trigger signal for allowing the address book contents to be read, the trigger signal being input by a user.
10. The apparatus according to claim 6 or 7, wherein the reading unit or the reading subunit is specifically configured to:
and reading the content of the address book from the address book storage position of each SIM card in the terminal and/or the address book storage position in the terminal.
CN201510367449.6A 2015-06-29 2015-06-29 Method and device for realizing information transmission Active CN106294528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510367449.6A CN106294528B (en) 2015-06-29 2015-06-29 Method and device for realizing information transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510367449.6A CN106294528B (en) 2015-06-29 2015-06-29 Method and device for realizing information transmission

Publications (2)

Publication Number Publication Date
CN106294528A CN106294528A (en) 2017-01-04
CN106294528B true CN106294528B (en) 2020-03-03

Family

ID=57650417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510367449.6A Active CN106294528B (en) 2015-06-29 2015-06-29 Method and device for realizing information transmission

Country Status (1)

Country Link
CN (1) CN106294528B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450744B (en) * 2017-07-13 2024-03-01 维沃移动通信有限公司 Personal information input method and mobile terminal
CN110287655B (en) * 2019-06-24 2021-06-18 维沃移动通信有限公司 Verification code input method and device and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1578020A1 (en) * 2002-12-26 2005-09-21 Fujitsu Limited Data compressing method, program and apparatus
CN101595447A (en) * 2006-11-27 2009-12-02 索尼爱立信移动通讯股份有限公司 The input prediction
CN102164205A (en) * 2011-03-02 2011-08-24 宇龙计算机通信科技(深圳)有限公司 Quick input method of contact person information and mobile terminal
CN104539780A (en) * 2015-01-28 2015-04-22 中科创达软件股份有限公司 Contact information searching method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1578020A1 (en) * 2002-12-26 2005-09-21 Fujitsu Limited Data compressing method, program and apparatus
CN101595447A (en) * 2006-11-27 2009-12-02 索尼爱立信移动通讯股份有限公司 The input prediction
CN102164205A (en) * 2011-03-02 2011-08-24 宇龙计算机通信科技(深圳)有限公司 Quick input method of contact person information and mobile terminal
CN104539780A (en) * 2015-01-28 2015-04-22 中科创达软件股份有限公司 Contact information searching method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电话号码模糊匹配算法研究;王立彬等;《现代交际》;20130223;第61页 *

Also Published As

Publication number Publication date
CN106294528A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2019015404A1 (en) Method and apparatus for switching applications in split screen mode, and related device thereof
CN104852885B (en) Method, device and system for verifying verification code
CN106778175B (en) Interface locking method and device and terminal equipment
CN107948748B (en) Method, device, mobile terminal and computer storage medium for recommending videos
CN107193664B (en) Message display method and device and mobile terminal
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
US10084729B2 (en) Apparatuses and methods for web page sharing
WO2016119580A1 (en) Method, device and terminal for starting voice input function of terminal
TWI522917B (en) Method and device for controlling start-up of applicantion and computer-readable storage medium
CN106445596B (en) Method and device for managing setting items
CN106921791B (en) Multimedia file storage and viewing method and device and mobile terminal
CN106371964B (en) Method and device for prompting message
CN108834132B (en) Data transmission method and equipment and related medium product
US20170318061A1 (en) Method, device, and system for managing information recommendation
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN106791916B (en) Method, device and system for recommending audio data
CN107566909B (en) Barrage-based video content searching method and user terminal
WO2014206037A1 (en) Apparatuses and methods for web page sharing
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
WO2015117554A1 (en) Data processing method, apparatus, and terminal device
CN107728920B (en) Copying method and mobile terminal
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN106484563B (en) Data migration method and terminal equipment
CN106934003B (en) File processing method and mobile terminal
CN106294528B (en) Method and device for realizing information transmission

Legal Events

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