Summary of the invention
The present invention is provided according to the method and device of information processing a kind of, is had in the prior art receiving to solve
After the short message of keyword, the problem of user can not be directly obtained the keyword relevance linkage information.
The embodiment of the present invention provides a kind of method of information processing, comprising:
The first message that network side is sent is received, if extracting from the first message according to the keyword being locally stored
With the first keyword of the keyword match being locally stored, then the first label is set for the first message;The first message
For short message or multimedia message;
When receiving the instruction for showing the first message, first with first keyword association being locally stored is shown
Information, and when first label is triggered, from the second information of network side inquiry and first keyword association, display
Second information inquired.
Preferably, the key that the keyword that the basis is locally stored is extracted and is locally stored from the first message
After matched first keyword of word, further includes:
The corresponding Database Identification of first keyword being locally stored according to the first keyword query extracted;
The second label is created, second label includes the first keyword extracted from the first message and institute
State the corresponding Database Identification of the first keyword;
Second information from network side inquiry and first keyword association, comprising:
According to the Database Identification and the first keyword in second label, the corresponding data of Xiang Suoshu Database Identification
Library sends inquiry request, carries first keyword in the inquiry request;
The inquiry response that the database returns is received, is carried in the inquiry response and first keyword association
Second information.
Preferably, further include:
The second message that network side is sent is received, if the second keyword extracted from the second message and described the
One keyword is identical, then deletes first keyword being locally stored and described first with first keyword association
Information.
Preferably, the first message is the shipping order message that transaction system is sent, first keyword is delivery
Logistics odd numbers and/or order number in notification message;
The second message is the order completion notice that transaction system is sent, and second keyword is order completion notice
Order number and/or logistics odd numbers in message.
Preferably, the first message is the shipping order message that transaction system is sent, first keyword is delivery
Logistics odd numbers and/or order number in notification message.
A kind of device of information processing provided in an embodiment of the present invention, comprising:
Receiving module, for receiving the first message of network side transmission;
Processing module, if for according to the keyword being locally stored extracting and being locally stored from the first message
Then the first label is arranged for the first message in first keyword of keyword match;The first message is short message or coloured silk
Letter;
Enquiry module, for being locally stored with first keyword association according to the first keyword query for extracting
The first information;When first label is triggered, from the second information of network side inquiry and first keyword association.
Display module, for showing the first information inquired and second information.
Preferably, the processing module is also used to:
The second label is created, second label includes the first keyword extracted from the first message and
The corresponding Database Identification of one keyword;
The enquiry module is also used to:
The corresponding Database Identification of first keyword being locally stored according to the first keyword query extracted, and
It is supplied to the processing module;
And according to the Database Identification and the first keyword in second label, Xiang Suoshu Database Identification is corresponding
Database send inquiry request, carry first keyword in the inquiry request;Receive looking into for the database return
Response is ask, the second information with first keyword association is carried in the inquiry response.
Preferably, the receiving module is also used to:
Receive the second message that network side is sent;
The processing module is also used to:
If the second keyword for extracting from the second message is identical as first keyword, this is deleted
First keyword that ground stores and the first information with first keyword association.
Preferably, the first message is the shipping order message that transaction system is sent, first keyword is delivery
Logistics odd numbers and/or order number in notification message;
The second message is the order completion notice that transaction system is sent, and second keyword is order completion notice
Order number and/or logistics odd numbers in message.
The first message that the embodiment of the present invention is sent by receiving network side, if according to the keyword being locally stored from described
First keyword of the keyword match for extracting and being locally stored in first message is then the first mark of first message setting
Label;The first message is short message or multimedia message;When receiving the instruction for showing the first message, show be locally stored with institute
The first information of the first keyword association is stated, and when first label is triggered, is closed from network side inquiry with described first
Associated second information of key word shows second information inquired.The embodiment of the present invention can directly display the first information,
And the first label corresponding with the first message is added, the second information can be obtained by the first label of triggering in user, thus
So that user more intuitively obtains related information.
Specific embodiment
When the embodiment of the present invention is by receiving the instruction for showing the first message, directly display and the pass in first message
The associated first information of key word, and the first label corresponding with the first message is added, user is by the first label of triggering, i.e.,
Available the second information with the keyword association also saves so that user is more convenient and intuitively obtains related information
It has gone user to log in the interactive process of related web site or system transmission inquiry request by terminal, and then has saved Internet resources and open
Pin.
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
Fig. 1 is flow diagram corresponding to a kind of method of information processing provided in an embodiment of the present invention, which can
It is realized in terminal side.The method of the information processing mainly includes the following steps 101 to step 104:
Step 101, the first message that network side is sent is received;
Step 102, if the key extracted and be locally stored from the first message according to the keyword being locally stored
Then the first label is arranged for the first message in matched first keyword of word;The first message is short message or multimedia message;
Step 103, when receiving the instruction for showing the first message, show that is be locally stored closes with first keyword
The first information of connection;
Step 104 is when first label is triggered, from network side inquiry and the second of first keyword association
Information shows second information inquired.
Optionally, the first message is the shipping order message that transaction system is sent, and first keyword is delivery
Logistics odd numbers and/or order number in notification message, as in interface shown in Fig. 2, shipping order message are as follows: " parent, your dotey
It is shipped, logistics odd numbers are as follows: * * * * * * ";First keyword is " * * * * * * ".
Optionally, in a step 102, the extraction that various ways realize the first keyword can be used.
Such as one, the transaction system of terminal and network side can make an appointment shipping order short message message format, hand over
When easy system sends the short message of shipping order, it will be sent according to the defined message format, the defined message format
In define logistics odd numbers in shipping order where in the short message position.For example, the short message lattice of shipping order
Formula are as follows:
" parent, your dotey is shipped, logistics odd numbers are as follows: * * * * * * ".
After terminal receives the short message of the prescribed form, effluent stream list can be extracted according to the format regulation of the short message
Number.
Such as two: terminal receives the first message of network side transmission, and first message progress word segmentation processing is obtained one
Or multiple keywords, it is compared with obtained keyword with the keyword being locally stored, and then extracted from first message
With the first keyword of the keyword match being locally stored.
Optionally, terminal local can store some short messages for setting message format with first or the key carried in multimedia message
The associated information of word, the referred to herein as first information.For example, terminal local might have stored some order informations of user.This
Sample sets the case where message format is message format set by the shipping order sent for transaction system described first
Under, logistics odd numbers, In can be extracted from the first message for meeting the first setting message format by step 102 terminal
The order number corresponding with the logistics odd numbers and the order number pair being locally stored are inquired in step 103 according to the logistics odd numbers
The merchandise news answered, and these information are shown, for example, in interface shown in Fig. 2, " order number * * * *, shirt, 199
Member ... " is the first information.
Optionally, in a step 102, terminal, can be further using highlighted after extracting logistics odd numbers in first message
Or logistics odd numbers is more observably handled using modes such as different colours.
Optionally, in step 103, the first label that terminal is added in the first message can be a function by
Button, if the button for " checking more logistics informations " in Fig. 2 is a kind of form of first label provided by the embodiments of the present application.First
Label is also possible to show the first keyword in the first message by the way of hyperlink, for example, interface shown in Fig. 2
In order number " * * * * " can be highlighted, when order number " the * * * * " being highlighted when the user clicks, trigger the second information
Acquisition.Or first label is the link of other forms, as long as can be triggered by user to obtain the second information,
No longer the form of first label is enumerated herein.
Optionally, at step 104, when first label is triggered, terminal can be sent out to the transaction system of network side
Send inquiry request, first keyword carried in the inquiry request, for request network side transaction system inquire with
Corresponding second information of first keyword, after receiving query response message, if wherein carrying inquired
Two information then show the second information inquired.
Preferably, terminal local stores the first information and transaction system corresponding with the first information or transaction system
The information (such as mark or access address etc. of data) of database.For example, the first information be order number and order contents, with
Order number and order contents the corresponding record mark of database, the database are used to store logistics information, can lead to show
It crosses and inquires the logistics relevant information that the database that the Database Identification is identified obtains the order.
Correspondingly, in a step 102, terminal is after extracting the first keyword in the first message, can also be according to mentioning
The corresponding Database Identification of first keyword that the first keyword query got is locally stored, and the second label is created,
Second tag includes that the first keyword extracted from the first message and first keyword are corresponding
Database Identification.Second label can identify the acquisition source of the second information, for example, mark obtains the data of the second information
Library, which can be corresponding with first message, can also be corresponding with the first keyword, can also be corresponding with the first label.
Correspondingly, at step 104, terminal obtains after detecting that the first label in the first message is triggered
Second label, according to the Database Identification and the first keyword in second label, the corresponding number of Xiang Suoshu Database Identification
Inquiry request is sent according to library, carries first keyword in the inquiry request, with request inquiry and first keyword pair
The second information answered;After receiving the inquiry response that the database returns, obtains and carried in the inquiry response and described the
Second information of one keyword association is simultaneously shown.Wherein, if the second label is corresponding with first message, basis is triggered
The first label belonging to first message, obtain corresponding second label of the first message;If the second label and the first label
It is corresponding, then corresponding second label of the first label is directly obtained according to the first label being triggered;If the second label and first
Keyword is corresponding, according to the first keyword in first message belonging to the first label being triggered, obtains first keyword
Corresponding second label.
Preferably, this method further include: the second message that network side is sent is received, if extracting from the second message
The second keyword it is identical as first keyword, then delete first keyword being locally stored and with described first
The first information of keyword association.The information stored in local data base is timely cleared up in this way,
The information that can effectively avoid local data base storage is cumulative, to rationally utilize storage resource.
It is described from extracted in second message the second keyword method and from first message extract keyword method phase
Together.
In the case where first message is the shipping order message for the message format with setting that transaction system is sent, institute
Stating second message can be the order completion notice message of the message format with setting of transaction system transmission.
For example, terminal receives the short message for meeting the second setting message format or multimedia message that network side is sent, it is described short to disappear
Breath or multimedia message are the information for notifying user's physical state or flight status to change;Terminal is extracted from the short message or multimedia message
Second keyword out, the second keyword can be logistics odd numbers or air ticket flight number, if logistics odd numbers or air ticket boat at this time
Class number in first message logistics odd numbers or air ticket flight number it is identical, illustrate that logistics is completed and sign for or when air ticket flight takeoff
Between be already expired, then delete the logistics odd numbers being locally stored or air ticket flight number and be associated with the logistics odd numbers or air ticket flight number
The first information.
Preferably, the second message is the order completion notice that transaction system is sent, second keyword is order
Order number and/or logistics odd numbers in completion notice message.
Preferably, after terminal receives the first message of network side transmission, if according to the keyword being locally stored from described
First keyword of the keyword match for extracting and being locally stored in first message is then the first message setting flag;
When terminal receives the instruction of display first message, the label of first message is obtained, according to label from middle inquiry and institute is locally stored
The first information of the first keyword association is stated, shows the first information.
In the application one embodiment, the first information and the first label may be displayed on the terminal interface where first message
In, so that user checks the first label of the first information and triggering.
In the application one embodiment, the second label be may not be displayed in the terminal interface where first message.
Embodiment for a clearer understanding of the present invention is described below with reference to concrete application scene.
In the application scenarios, terminal and system order of making an appointment generate the short message format of notice, and agreement is ordered
The short message format singly completed.
After the order that terminal receives the transmission of Taobao's system generates the short message of notice, according to the content of the short message, In
The information such as order number, logistics odd numbers, product name, commodity picture, commodity price are stored in local data base.Terminal can also basis
The caller information (number of such as sender or address) of the short message determines corresponding Database Identification and is saved in this
In ground database, and establish the database and from pair between the information such as order number, the logistics odd numbers extracted in the short message
It should be related to.
After terminal receives the short message of order notification, according to the order appointed generate the short message format of notice from this
Effluent stream odd numbers is extracted in short message, which is set as being highlighted.Terminal is inquired local according to the logistics odd numbers
Stored in database with the associated first information of logistics odd numbers, i.e. order number, product name, commodity picture, commodity price
Deng, and it is come out in short message interface display.Terminal inquires the object being locally stored also according to the logistics odd numbers extracted
The corresponding Database Identification of odd numbers is flowed, and creates the second label corresponding with the short message, which includes from described
The logistics odd numbers and the corresponding Database Identification of the logistics odd numbers extracted in first message.Terminal is under the short message
The function button of Fang Tianjia particular color shows " checking more logistics informations " on button.User will be appreciated that this is short in this way
Logistics odd numbers in message is highlighted, while having the button of " checking more logistics informations " below short message.
The case where user triggers the button, terminal sends inquiry and the logistics odd numbers associated second to network side
The request of information, the second information can be the tracking information of logistics, including delivery availability, place of delivery, where arrived, it is contemplated that arrive
Up to the time etc. of destination.Second information inquired is returned to terminal by network side, as shown in Fig. 2, terminal receives institute
It states the second information and displays it to user on short message interface.The second information, nothing can be obtained by trigger button in user
Taobao's webpage need to be logged in or corresponding logistics company official website is inquired, to obtain the specific whereabouts situation of cargo, so that
User more intuitively obtains related information, and saves the expense of Internet resources.
After terminal receives the short message of order completion, the short message format completed according to the order appointed short disappears from this
Effluent stream odd numbers is extracted in breath, if logistics odd numbers and the logistics list extracted from the short message that the above order generates notice at this time
It is number identical, illustrate that the logistics is completed and sign for, terminal will delete the logistics odd numbers stored in local data base and with the object
The information such as the associated order number of odd numbers, product name, commodity picture, commodity price are flowed, convenient for rationally utilizing storage resource.
For above method process, the embodiment of the present invention also provides a kind of device of information processing, the device it is specific in
Appearance is referred to above method implementation, and details are not described herein.
A kind of device of information processing provided in an embodiment of the present invention, it is shown in Figure 3.Information processing of the embodiment of the present invention
Device include:
Receiving module 301, for receiving the first message of network side transmission;;
Processing module 302, if being deposited for being extracted from the first message according to the keyword being locally stored with local
Then the first label is arranged for the first message in first keyword of the keyword match of storage;The first message is short message
Or multimedia message;
Enquiry module 303, for being locally stored with first keyword according to the first keyword query for extracting
The associated first information;When first label is triggered, from network side inquiry and the second of first keyword association
Information.
Display module 304, for showing the first information inquired and second information.
Preferably, the processing module 302 is also used to: the second label of creation, second label includes from described first
The first keyword and the corresponding Database Identification of the first keyword extracted in message;
The enquiry module 303 is also used to: being closed according to described first that the first keyword query extracted is locally stored
The corresponding Database Identification of key word, and the corresponding Database Identification of the first keyword inquired is returned into the processing
Module 302;Correspondingly, the enquiry module 303 is also used to: according to the Database Identification and the first key in second label
Word, the corresponding database of Xiang Suoshu Database Identification send inquiry request, carry first keyword in the inquiry request;
The inquiry response that the database returns is received, the second letter with first keyword association is carried in the inquiry response
Breath.
Preferably, the receiving module 301 is also used to: receiving the second message that network side is sent;
The processing module 302 is also used to: if the second keyword extracted from the second message and described first
Keyword is identical, then deletes first keyword being locally stored and first letter with first keyword association
Breath.
Preferably, the first message is the shipping order message that transaction system is sent, first keyword is delivery
Logistics odd numbers and/or order number in notification message;
The second message is the order completion notice that transaction system is sent, and second keyword is order completion notice
Order number and/or logistics odd numbers in message.
The device of another kind information processing provided in an embodiment of the present invention, it is shown in Figure 4.The embodiment of the present invention it is another
It further includes further memory 402, the processor that the device of kind information processing, which includes: processor 401, display 403,
401 and memory 402 connect with display 403 by bus interface.
The processor 401, for receiving the first message of network side transmission;If according to the keyword being locally stored from institute
The first keyword of the keyword match for extracting and being locally stored in first message is stated, then is first message setting first
Label;The first message is short message or multimedia message;Be locally stored according to the first keyword query extracted with described
The first information of one keyword association;When first label is triggered, closed from network side inquiry with first keyword
Second information of connection;
The memory 402, for storing the short message, keyword, program, intermediate operation result and final operation
As a result;
The display 403, for showing the first information inquired and second information.
Preferably, the processor 401 is also used to:
The second label corresponding with the first message is created, second label includes extracting from the first message
The first keyword and the corresponding Database Identification of the first keyword arrived;It is locally deposited according to the first keyword query extracted
The corresponding Database Identification of first keyword of storage;The first message, is obtained according to belonging to the first label being triggered
Take the second label corresponding to the first message;According to the Database Identification and the first keyword in second label, to
The corresponding database of the Database Identification sends inquiry request, carries first keyword in the inquiry request;It receives
The inquiry response that the database returns carries the second information with first keyword association in the inquiry response.
Preferably, the processor 401 is also used to:
Receive the second message that network side is sent;If the second keyword and institute for being extracted from the second message
State that the first keyword is identical, then delete first keyword being locally stored and with described in first keyword association
The first information.
Preferably, the first message is the shipping order message that transaction system is sent, first keyword is delivery
Logistics odd numbers and/or order number in notification message;
The second message is the order completion notice that transaction system is sent, and second keyword is order completion notice
Order number and/or logistics odd numbers in message.
It can be seen from the above:
The first message that the embodiment of the present invention is sent by receiving network side, if according to the keyword being locally stored from described
First keyword of the keyword match for extracting and being locally stored in first message is then the first mark of first message setting
Label;The first message is short message or multimedia message;When receiving the instruction for showing the first message, show be locally stored with institute
The first information of the first keyword association is stated, and when first label is triggered, is closed from network side inquiry with described first
Associated second information of key word shows second information inquired.The embodiment of the present invention can be directly displayed to disappear with first
The first information of keyword association in breath, and add corresponding with the first message the first label, user is by triggering the
The second information with the keyword association can be obtained in one label so that user it is more convenient be intuitively associated with
Information also eliminates user and logs in the interactive process of related web site or system transmission inquiry request by terminal, and then saves
Network resource overhead.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.