Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive
Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product
Or the other steps or unit that equipment is intrinsic.
According to embodiments of the present invention, a kind of recognition methods embodiment of note number is provided, as a kind of optional reality
Example is applied, this method embodiment can be applied to server end.It should be noted that step shown in the flowchart of the accompanying drawings can be with
It is executed in the computer system of such as a group of computer-executable instructions, although also, showing that logic is suitable in flow charts
Sequence, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
Fig. 1 is a kind of recognition methods flow chart of note number according to the ... of the embodiment of the present invention, as shown in Figure 1, this method
Include the following steps:
Step S102, receiving number inquiry request, wherein number inquiry request includes at least:Note number.
As a kind of optional embodiment, above-mentioned number inquiry request can transmit object for short message enquiry number
Information request, can be client (include but not limited to mobile phone, tablet computer, notebook in a kind of optional embodiment
Computer, computer etc.) after receiving short breath, it is asked by client automatic trigger number inquiry;An alternative embodiment
In, can be asked by the number inquiry that client is actively initiated by user.
It should be noted that short message is the word or digital information that user or businessman send or receive, it can be by mobile terminal
Or network and short message platform is sent, every sending and receiving for short message is all led to by one-to-one phone number or note number conduct
Road is completed.In a kind of optional embodiment, said short message number can be that businessman, enterprise etc. transmit object for advertisement
The number that class short message uses.
Step S104 transmits record based on history, determines and the current corresponding information for transmitting object of note number.
As a kind of optional embodiment, above-mentioned businessman or the enterprise for transmitting object and can be used for advertisement class short message,
It is illustrated by taking " businessman " as an example in each embodiment of the application.It can be at least one short message number that above-mentioned history, which transmits record,
Code is all in historical time section to transmit record, it should be noted that since note number may provide in the period of different
It is used to different businessmans, the short message content of transmission is also just different, so that a number be identified as a title always.
Thus, all in historical time section according to note number to transmit record (i.e. history transmits record), it can be according to the history
Record is transmitted to determine the information for transmitting object corresponding with each short message number.
In a kind of optional embodiment, above-mentioned history, which transmits record, to include:At least one note number, and it is each
The note signature that note number is transmitted across.
Embodiment as one preferred, above-mentioned history transmit record can store based on big data platform contain greatly
Amount note number transmits record in historical time section.
Step S106 determines the recognition result of note number according to the information for transmitting object.
As a kind of optional embodiment, above-mentioned recognition result can be asked according to the number inquiry received, according to
The pre-stored history for containing a large amount of note numbers transmits record, to determine note number pair in current Number inquiry request
The information (for example, Merchant name) for transmitting object answered, and according to this transmit object information (for example, Merchant name) determine should
The current recognition result of note number.
It should be noted that each note number it is corresponding to transmit object be multiple in the case of, according to transmitting object
Information be compared with the short message content in the note number being currently received, which is further transmitted into object to determine
Recognition result as the note number.Optionally, the recognition result of note number can be all information for transmitting object,
It can also be the partial information of extraction.
Be easy it is noted that by taking mobile phone as an example, in the message list on existing mobile phone, most commercial paper short message be all with number
What the form of code was shown, user sees that number can not intuitively know the Business Information of push this information, is based on above-mentioned steps 102
To scheme disclosed in S108, the information (for example, Merchant name) for transmitting object recognized can be shown in message list,
After receiving short message so as to user, the Business Information for sending the short message is intuitively known, meanwhile, the brand for also improving businessman exposes
Light rate.
From the foregoing, it will be observed that in the above embodiments of the present application, note is transmitted using what big data platform recorded each note number
The mode of record can be based on big data platform and record after receiving the number inquiry request comprising any one note number
History transmit record, determine the current corresponding information (for example, Merchant name) for transmitting object of the note number, and according to this
The information for transmitting object determines the recognition result of note number, is easy it is noted that the recognition result of the note number can be
The information for transmitting object has reached and has transmitted record according to the history of each note number to determine transmitting pair for the note number
As to determine the purpose of the recognition result of the note number according to the information for transmitting object of note number, to realize
The low technique effect of note number discrimination is improved, and then is solved in the prior art since the same number is in different times
Different businessmans can be supplied to use the technical problem for causing note number discrimination low.
It should be noted that according to the requirement of Domestic Carriers, each businessman must be in short message when sending short message
It signs on the start or end band of appearance, signature must be the title or abbreviation of businessman, so identifying note number by signing
Most accuracy and representativeness.Thus, as a kind of optional embodiment, as shown in Fig. 2, transmitting record based on history, determine
With the current corresponding information for transmitting object of note number, may include steps of:
Whether step S202 judges in number inquiry request to include note signature;
Step S204 extracts note signature in the case of including note signature in number inquiry request;
Step S206 searches the information for transmitting object corresponding with note signature, wherein A.L.S. from signing messages library
Breath library is to transmit the information bank that record creates according to history, be stored in signing messages library at least one note signature and with it is every
The corresponding information for transmitting object of a note signature.
Specifically, in the above-described embodiments, above-mentioned signing messages library can transmit the short message that record is established according to history
The one-to-one information bank of information of object is signed and transmits, for example, each of being got by big data statistics and analysis
All note signatures and the corresponding information (for example, Merchant name) for transmitting object that number is sent out in historical time section;
When a note number initiates identification request, if containing note signature in number inquiry request, above-mentioned label can be based on
Name information bank, quickly searches the corresponding information for transmitting object of the note signature, to realize the purpose quickly identified, also,
Due in signing messages library note signature and to transmit object be one-to-one, thus greatly improve the accurate of identification
Property.
Optionally, be based on above-described embodiment, as an alternative embodiment, from signing messages library search with it is short
Letter is signed before the corresponding information for transmitting object, and the above method can also include:Simultaneously whether retrieval history transmit in record
There are note numbers and note signature.
By embodiment, the authenticity of the note number in current Number inquiry request can be verified, if history is sent out
The note number and note signature in number inquiry request are existed simultaneously in letter record, it can be ensured that the note number is transmitted across packet
Short message containing the note signature, the note number are authentic and valid.
It should be noted that by not all note signature for transmitting the note signature that object is sent out and being required for addition
, for example, " 10086 (China Mobile) ", " 95559 (Bank of Communications) ", this kind of major company's special number leads to when sending short message
Signature would not be often taken, but these numbers absolutely only can be again that China Mobile and Bank of Communications are using, therefore, it is possible to pass through
Enquiry number determines which businessman the note number belongs to.Thus, in an alternative embodiment, as shown in figure 3,
In the case of not including note signature in number inquiry request, the above method can also include the following steps:
Step S302 judges that note number whether there is in number information library, wherein number information library is according to history
Transmit the information bank that record creates, be stored at least one note number in number information library, and with each note number pair
That answers transmits the information of object;
Step S304, in the case where note number is present in number information library, from number information library search with it is short
The corresponding information for transmitting object of signal code.
Specifically, in the above-described embodiments, above-mentioned number information library can transmit the short message that record is established according to history
Number and the one-to-one information bank of the information for transmitting object, for example, being collected based on big data platform all with special short message
The information bank for transmitting object of number.When a note number initiates identification request, if do not wrapped in number inquiry request
Containing note signature, it can be based on above-mentioned number information library, the note number in being asked according to number inquiry quickly searches the short message
The corresponding information for transmitting object of number, to realizing the purpose that quickly identifies, also, due to being stored in the number information library
Note number and the information for transmitting object are one-to-one, thus greatly improve the accuracy of identification.
It should be noted that being asked if going out current Number inquiry by the equal None- identified in note signature library or number information library
The note number for including in asking can also transmit the short message number for including in record identification current Number inquiry request according to history
Code.As a kind of optional embodiment, as shown in figure 4, the above method can also include the following steps:
Step S402, retrieval history, which transmits, whether there is note number in record;
Step S404 is transmitted in history there are in the case of note number in record, and acquisition is corresponding with note number extremely
A few note signature;
Step S406, judges whether each note signature and the short message content of client local match, and obtains each short message
The matching result of signature, wherein client is to send the terminal device of number inquiry request;
The corresponding information for transmitting object of the qualified note signature of matching result is determined short message number by step S408
The current corresponding information for transmitting object of code.
Specifically, it is embodiment above-mentioned, when in number inquiry request (can not passing through label comprising note signature
Name information bank identifies note number), and the short message number for including in current Number inquiry request is also not present in number information library
In the case of code, it is corresponding directly to inquire note number in current Number inquiry request that record can be transmitted by above-mentioned history
Note signature, since history transmits all note signatures for recording each note number in record and being sent out in historical time section,
Then according to history transmit the corresponding note signature of note number that record queries go out might have it is multiple, it is then desired to by each
Note signature is matched with the short message content of client local, and then determines current Number inquiry request according to matching result
In include the corresponding information for transmitting object of note number.
It is transmitted based on history as a kind of optional embodiment based on the optional device embodiment of any one of the above
Record determines that the above method can also include with after the current corresponding information for transmitting object of note number:Record short message number
Code and the corresponding information for transmitting object of note number.In this way, the history hair of each note number can be improved
Letter record, so that the data of accumulation are more and more, it is more and more accurate to the identification of note number.
Embodiment as one preferred, Fig. 5 are a kind of preferred note number identification sides according to the ... of the embodiment of the present invention
Method flow chart, as shown in figure 5, including three big modules:Signature recognition module, number identification module and match cognization module.
(1) signature recognition module:When in short message content with signature, preferentially short message is carried out using signature recognition module
The identification of number.After client initiates number inquiry request, server will receive corresponding note number and note signature, example
Such as:10086【China Mobile】.Preferably, the identification process of signature recognition module may include following two steps:
Step 1, big data compare.After obtaining short message number and corresponding signature, with number and signature for major key, our company
It by big data platform Hadoop, is quickly retrieved, compares and successfully illustrate that the number is necessary being, and send out too short
Letter.Such as:Note number 10690468948, signature【Group of U.S. takes out】, inquired by big data, the number and signature at the same deposit
It is in historical record, compares successfully.
Whether step 2, inquiry have result.After comparing successfully, also need whether the inquiry for carrying out database, query signature have
Corresponding Merchant name can just export result if successful inquiring.Such as:Signature is【Its cat store】, have in the database with
Corresponding title " day cat ".
(2) number identification module:When note number is sent short messages without signing or being unable to signature recognition, can by " number
Code identification " logic, to determine to identify.Such as:" 10086 (China Mobile) ", " 95559 (Bank of Communications) ", this kind of grand duke
Special number is taken charge of when sending short message, would not usually take signature, but these numbers absolutely only can be again China Mobile and friendship
Logical bank is using, then we can be to belong to which businessman by enquiry number to identify.Preferably, signature recognition mould
The identification process of block is:It is matched by searching for, if existed in number library, just has unique corresponding title, such as:
" 10010 " in number library, unique title is exactly " China Unicom ".
(3) match cognization module:After by " signature recognition " and " Number Reorganization " process, number that cannot still identify
Code can also further be retrieved by " match cognization ".Our company now possesses huge number and corresponding title is believed by historical accumulation
Breath, by the excavation and analysis to these data, establishes " history information library ", contains the note number history recorded
The each signature sent out.Such as:" 1069055688 " this number in historical record, the note signature sent out have " day cat,
Tentent Science, Alibaba " etc..Preferably, the identification process of match cognization module is:
Step 1, big data compare.By big data platform, inquires the number and whether there is historical information, if there is
Illustrate that the number sent out short message and had corresponding result.
Whether step 2 judges " matching ".After big data comparison passes through, local client is matched, if energy
It matches, can just show result.
In the above-described embodiments, the history information library for building the note number and note signature of magnanimity in advance, by counting greatly
It according to statistics and analyzes, has understood each number in passing sent out signature and corresponding Merchant name;When a note number is sent out
When playing identification request, by number and signature, quick-searching and matching from information bank are found out nearest as a result, by client
The effect at end passes through, and can just show recognition result, to greatly improve the accuracy of identification.
It is easy it is noted that above-described embodiment discloses scheme, based on the combination of a variety of identifying schemes, the short message that can be identified
Number classification is very more, in addition to common 106 beginning note number, moreover it is possible to identify the style numbers such as 100/121/123/95/96 beginning
Code, whether short message content is with signature, or without signature, all has the ability to identify.Moreover, with the historical information of accumulation
More, the number that can be identified is also more.Fig. 6 is that a kind of optional note number recognition effect according to the ... of the embodiment of the present invention shows
It is intended to, as shown in fig. 6, over time, the data of accumulation are more, the Matthew effect of data is more and more obvious, based on this
Apply for that the recognition methods of the note number of above-described embodiment, accuracy are also higher and higher, it might even be possible to reach 99.8%, and show
There is technology there is no the accumulation of historical data and comparative analysis, accuracy aspect is unstable, is promoted difficult.
As a kind of optional scheme, by the optional embodiment of the method for any one of the above, identification obtains each short message
After the recognition result of number, the recognition result of note number is shown in the message list of user terminal (for example, mobile phone), pole
The big convenience for improving user and reading short message, can allow user accurately to know short message is which businessman belonged to;Meanwhile it is logical
The displaying to Merchant name is crossed, businessman's brand exposure rate is also significantly increased.
According to embodiments of the present invention, a kind of device implementation of the recognition methods for realizing said short message number is additionally provided
Example, Fig. 7 is a kind of identification device schematic diagram of note number according to the ... of the embodiment of the present invention, as shown in fig. 7, the device includes:
Receiving unit 701, the first determination unit 703 and the second determination unit 705.
Wherein, receiving unit 701 are used for receiving number inquiry request, wherein number inquiry request includes at least:Short message
Number;
First determination unit 703 transmits record for being based on history, determines and note number is currently corresponding transmits object
Information;
Second determination unit 705, the recognition result for determining note number according to the information for transmitting object.
From the foregoing, it will be observed that in the above embodiments of the present application, note is transmitted using what big data platform recorded each note number
The mode of record can pass through after receiving the number inquiry request comprising any one note number by receiving unit 701
First determination unit 703 transmits record based on the history that big data platform records, and determines that the note number is currently corresponding and transmits
The information (for example, Merchant name) of object, and the information that object is transmitted by the second determination unit 705 according to this determines short message number
The recognition result of code is easy it is noted that the recognition result of the note number can be the information for transmitting object, to have reached basis
What the history of each note number transmitted record to determine the note number transmits object, so as to transmitting pair according to note number
The information of elephant determines the purpose of the recognition result of the note number, and the low technology of note number discrimination is improved to realize
Effect, and then solve that different businessman's uses to be supplied to cause in different times due to the same number in the prior art short
The low technical problem of signal code discrimination.
In a kind of optional embodiment, above-mentioned history transmits record and includes:At least one note number, and it is each short
The note signature that signal code is transmitted across.
Based on above-described embodiment, as a kind of optional embodiment, above-mentioned second determination unit includes:First judges mould
Block, for judging in number inquiry request whether to include note signature;Extraction module, for including short in number inquiry request
In the case of letter signature, note signature is extracted;First searching module, it is corresponding with note signature for being searched from signing messages library
The information for transmitting object, wherein signing messages library is to transmit the information bank that record creates according to history, and signing messages deposits in library
Contain at least one note signature and the information for transmitting object corresponding with each note signature.
Optionally, above-mentioned apparatus can also include:First retrieval module, for retrieving whether simultaneously history transmit in record
There are note numbers and note signature.
In a kind of optional embodiment, in the case of not including note signature in number inquiry request, above-mentioned second
Determination unit further includes:Second judgment module, for judging that note number whether there is in number information library, wherein number
Information bank is to transmit the information bank that record creates according to history, and at least one note number is stored in number information library, and
The information for transmitting object corresponding with each note number;Second searching module, for being present in number information in note number
In the case of in library, the information for transmitting object corresponding with note number is searched from number information library.
In a kind of optional embodiment, in the case where note number is not present in number information library, above-mentioned second
Determination unit further includes:Second retrieval module whether there is note number for retrieving history and transmitting in record;Acquisition module,
For being transmitted in record there are in the case of note number in history, at least one short message label corresponding with note number are obtained
Name;Third judgment module obtains each short for judging whether each note signature and the short message content of client local match
Believe the matching result of signature, wherein client is to send the terminal device of number inquiry request;Determining module, for that will match
As a result the corresponding information for transmitting object of qualified note signature determines the current corresponding letter for transmitting object of note number
Breath.
Based on the optional device embodiment of any one of the above, as a kind of optional embodiment, above-mentioned apparatus further includes:
Recording unit, for recording note number and the corresponding information for transmitting object of note number.
According to embodiments of the present invention, a kind of recognition methods embodiment of note number is additionally provided, as a kind of optional
Embodiment, this method embodiment can be applied to client.It should be noted that step shown in the flowchart of the accompanying drawings can be with
It is executed in the computer system of such as a group of computer-executable instructions, although also, showing that logic is suitable in flow charts
Sequence, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.
Fig. 8 is a kind of recognition methods flow chart of note number according to the ... of the embodiment of the present invention, as shown in figure 8, this method
Include the following steps:
Step S802 sends number inquiry request, wherein number inquiry request is included at least to server:Note number;
Step S804 receives the recognition result that server returns, wherein server is based on history and transmits record, determination and
The current corresponding information for transmitting object of note number, and determine according to the information for transmitting object the recognition result of note number.
From the foregoing, it will be observed that in the above embodiments of the present application, note is transmitted using what big data platform recorded each note number
The mode of record, after the number inquiry request for containing any one note number is sent to server, server can be based on big
The history of data platform record transmits record, determines the current corresponding information for transmitting object of the note number (for example, businessman's name
Claim), and return and transmit the information of object according to this and determine the recognition result of note number, it is easy it is noted that the note number
Recognition result can be the information for transmitting object, reached and record transmitted according to the history of each note number to determine that this is short
Signal code transmits object, to determine the recognition result of the note number according to the information for transmitting object of note number
Purpose improves the low technique effect of note number discrimination to realize, and then solves in the prior art due to same
Number can be supplied to different businessmans to use the technical problem for causing note number discrimination low in different times.
According to embodiments of the present invention, a kind of system implementation of the recognition methods for realizing said short message number is additionally provided
Example, Fig. 9 is a kind of identifying system schematic diagram of note number according to the ... of the embodiment of the present invention, as shown in figure 9, the system includes:
Client 901 and server 903.
Wherein, client 901, for sending number inquiry request, wherein number inquiry request includes at least:Short message number
Code;
Server 903 transmits record, determination is currently corresponding with note number with client communication for being based on history
The information of object is transmitted, and determines the recognition result of note number according to the information for transmitting object.
From the foregoing, it will be observed that in the above embodiments of the present application, note is transmitted using what big data platform recorded each note number
The mode of record, client 901 send the number inquiry comprising note number to server and ask, and server 903 is based on big data
The history of platform record transmits record, determines the current corresponding information (for example, Merchant name) for transmitting object of the note number,
And the information that object is transmitted according to this determines the recognition result of note number, and recognition result is returned to client 901, is easy note
Meaning, the recognition result of the note number can be the information for transmitting object, reach the history according to each note number
Transmit record to determine the note number transmits object, to determine that this is short according to the information for transmitting object of note number
The purpose of the recognition result of signal code improves the low technique effect of note number discrimination to realize, and then solves existing
Have in technology causes note number discrimination low since the same number can be supplied to different businessmans to use in different times
Technical problem.
In a kind of optional embodiment, above-mentioned history transmits record and includes:At least one note number, and it is each short
The note signature that signal code is transmitted across.
In a kind of optional embodiment, whether above-mentioned server is additionally operable to judge in number inquiry request include short message label
Name, number inquiry request in include note signature in the case of, extract note signature, and from signing messages library search with it is short
The corresponding information for transmitting object of letter signature, wherein signing messages library is to transmit the information bank that record creates, signature according to history
At least one note signature and the information for transmitting object corresponding with each note signature are stored in information bank.
In a kind of optional embodiment, above-mentioned server be additionally operable to retrieval history transmit record in whether exist simultaneously it is short
Signal code and note signature.
In a kind of optional embodiment, above-mentioned server is additionally operable to judge that note number whether there is in number information library
In, wherein number information library is to transmit the information bank that record creates according to history, is stored in number information library at least one short
Signal code, and the information for transmitting object corresponding with each note number, are present in note number in number information library
In the case of, the information for transmitting object corresponding with note number is searched from number information library.
In a kind of optional embodiment, above-mentioned server is additionally operable to retrieval history and transmits in record with the presence or absence of short message number
Code transmits in record there are in the case of note number in history, obtains at least one note signature corresponding with note number;
Above-mentioned client is additionally operable to judge whether each note signature and the short message content of client local match, and obtains each short message label
The matching result of name, wherein client is the terminal device for sending number inquiry and asking, and matching result is qualified short
The corresponding information for transmitting object of letter signature determines the current corresponding information for transmitting object of note number.
Based on the optional system embodiment of any one of the above, as a kind of optional embodiment, above-mentioned server is also used
In record note number and the corresponding information for transmitting object of note number.
According to embodiments of the present invention, a kind of storage medium is additionally provided, storage medium includes the program of storage, wherein journey
Sequence executes the recognition methods of the optional note number of any one of above method embodiment.
According to embodiments of the present invention, a kind of processor is additionally provided, processor is for running program, wherein program is run
The recognition methods of the optional note number of any one of Shi Zhihang above method embodiments.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, Ke Yiwei
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.