CN109587353A - Recognition methods, device and the storage medium of note number attaching information - Google Patents
Recognition methods, device and the storage medium of note number attaching information Download PDFInfo
- Publication number
- CN109587353A CN109587353A CN201811540027.4A CN201811540027A CN109587353A CN 109587353 A CN109587353 A CN 109587353A CN 201811540027 A CN201811540027 A CN 201811540027A CN 109587353 A CN109587353 A CN 109587353A
- Authority
- CN
- China
- Prior art keywords
- replacement
- primary
- collection
- attaching information
- intermediary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42025—Calling or Called party identification service
- H04M3/42034—Calling party identification service
- H04M3/42042—Notifying the called party of information on the calling party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42025—Calling or Called party identification service
- H04M3/42034—Calling party identification service
- H04M3/42059—Making use of the calling party identifier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of recognition methods of note number attaching information, include the following steps: to extract several primary numbers composition primary number collection;Last character without replacement of primary number is replaced with into substitute variable, obtains replacement number;The corresponding primary number of replacement number that registration is less than default registration is put into intermediary number collection;The replacement number that registration is not less than default registration is merged, the merging number after merging is put into intermediary number collection;All numbers that intermediary number is concentrated are as updated primary number;The number that all numbers that iteration to the intermediary number is concentrated are replaced by substitute variable is N, chooses the intermediary number obtained after iteration and concentrates institute's number prefix number, as output number collection;Identification output number concentrates the corresponding attaching information of each prefix number.The recognition methods of note number attaching information disclosed by the invention can judge the attaching information of a large amount of note numbers, improve the information acquisition efficiency and accuracy of user.
Description
Technical field
The present invention relates to note number identification technology field more particularly to a kind of identification sides of note number attaching information
Method, device and storage medium.
Background technique
With the development of big data technology, the push note from each enterprise that user receives is also increasing.Existing
Have in technology, short message was issued by short generation or operator, and when user receives short message, the short message that mobile terminal is shown is come
Source is all a specific number, causes user that can not confirm the source of the short message, can not also judge the short message source whether
It is consistent with short message content.
Summary of the invention
The embodiment of the present invention provides a kind of recognition methods of note number attaching information, can judge a large amount of note numbers
Attaching information improves the information acquisition efficiency and accuracy of user.
The embodiment of the present invention one provides a kind of recognition methods of note number attaching information, includes the following steps:
S1: several primary numbers composition primary number collection is extracted;
S2: last character without replacement of the primary number is replaced with into substitute variable, obtains replacement number;
The replacement number is put into replacement number collection;Concentrate registration less than the replacement number of default registration the replacement number
Corresponding primary number is put into intermediary number collection;Concentrate registration not less than the substitution number of default registration the replacement number
Code merges, and the merging number after merging is put into intermediary number collection;All numbers that the intermediary number is concentrated as
Updated primary number;
S3: being iterated step S2, until time that all numbers that the intermediary number is concentrated are replaced by substitute variable
Number is N, chooses the intermediary number obtained after iteration and concentrates institute's number prefix number, as output number collection;Wherein, N is
Integer not less than zero, the prefix number are the number section before being arranged in the substitute variable;
S4: the identification output number concentrates the corresponding attaching information of each prefix number.
As an improvement of the above scheme, the registration specifically:
It is concentrated in the replacement number, the frequency that the identical replacement number of number section without substitute variable replacement occurs
Number.
As an improvement of the above scheme, step S1 further include: the primary number collection is split as several height initial number
Several sub- primary number collection are respectively allocated in multiple processing modules by code collection, and by each sub- primary number
The number of concentration is updated to the primary number of each processing module.
The correspondence of the embodiment of the present invention two provides a kind of identification device of note number attaching information, comprising: processor is deposited
Reservoir and storage in the memory and are configured as the computer program executed by the processor, and the processor is held
The recognition methods of the note number attaching information as described in the embodiment of the present invention one is realized when the row computer program.
The correspondence of the embodiment of the present invention three provides a kind of computer readable storage medium, which is characterized in that the computer
Readable storage medium storing program for executing includes the computer program of storage, wherein controlling the computer in computer program operation can
Equipment executes the recognition methods of the note number attaching information as described in the embodiment of the present invention one where reading storage medium.
Recognition methods, device and the storage medium of a kind of note number attaching information provided in an embodiment of the present invention with it is existing
Technology is compared, and is had the following beneficial effects:
Judgement based on registration selectively merges a large amount of number by the method for iteration, can judge
The attaching information of a large amount of note numbers, improves the information acquisition efficiency and accuracy of user, confirms that this is short so as to shorten user
The time in the source of letter, and can judge while receiving short message the note number attaching information whether with short message content phase
Symbol, fraud text message and refuse messages can not be judged because that can not judge short message ownership by, which avoiding, causes the loss of user.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the recognition methods for note number attaching information that the embodiment of the present invention one provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is that a kind of process of the recognition methods for note number attaching information that one embodiment of the invention provides is shown referring to Fig. 1
It is intended to, comprising the following steps:
S1: several primary numbers composition primary number collection is extracted;
S2: last character without replacement of primary number is replaced with into substitute variable, obtains replacement number;It will replace
Code name is piled up into replacement number collection;The replacement number for concentrating registration to be less than default registration replacement number is initial number corresponding
It piles up into intermediary number collection;The replacement number that replacement number concentrates registration to be not less than default registration is merged, will be closed
Merging number after and is put into intermediary number collection;All numbers that intermediary number is concentrated are as updated primary number;
S3: being iterated step S2, until all numbers that intermediary number is concentrated are by the number that substitute variable is replaced
N chooses the intermediary number obtained after iteration and concentrates institute's number prefix number, as output number collection;Wherein, N is not small
In zero integer, prefix number is the number section before being arranged in substitute variable;
S4: identification output number concentrates the corresponding attaching information of each prefix number.
Further, registration specifically: concentrated in replacement number, the identical substitution of number section without substitute variable replacement
The frequency that number occurs.
Further, step S1 further include: primary number collection is split as several sub- primary number collection, by several height
Primary number collection is respectively allocated in multiple processing modules, and the number that each sub- primary number is concentrated is updated to each processing
The primary number of module.
In a specific embodiment, it is using a certain exclusive number section of enterprise+random several numbers that enterprise, which sends short message,
Mode sent, primary number collection are as follows: 100085126,100085215,100085428,100085691,
100085688,1069111243,1069111293,1069111241,1069111249,1069111783,1069111747,
1069111764,1022158197 }, substitute variable X, preset registration are 4, N 3.
Execute step S2, can obtain replacement number collection 1008512X, 10008521X, 10008542X, 10008569X,
10008568X, 106911124X, 106911129X, 106911124X, 106911124X, 106911178X, 106911174X,
106911176X, 102215819X }, replacement number is concentrated there is no the replacement number that registration is not less than 4 at this time, by substitution number
It piles up into intermediary number collection, and all numbers that intermediary number is concentrated are as updated primary number.
Step S3 is executed, first time iteration is carried out to step S2, obtain 1000851X6,1000852X5,1000854X8,
1000856X1,1000856X8,10691112X3,10691112X3,10691112X1,10691112X9,10691117X3,
10691117X7,10691117X4,10221581X7 }, it concentrates registration to be greater than default registration replacement number at this time and replaces
Code name code merges, and the merging number after merging is 10691112XX, may further obtain intermediary number collection
10691112XX, 100085126,100085215,100085428,100085691,100085688,1069111783,
1069111747,1069111764,1022158197 }.
The number that a upper intermediary number is concentrated is updated to primary number, second of iteration is carried out, obtains
1069111XXX, 100085X26,100085X15,100085X28,100085X91,100085X88,1069111X83,
1069111X47,1069111X64,1022158X97 }, it concentrates registration to be greater than default registration replacement number at this time and replaces
Code name code merges, and the merging number after merging is 1069111XXX and 100085XXX, may further obtain intermediary number
Collect { 1069111XXX, 100085XXX, 1022158197 }.
At this point, all numbers that intermediary number is concentrated arrived 3 times by the number that substitute variable is replaced.
Institute's number prefix number in intermediary number collection { 1069111XXX, 100085XXX, 1022158197 } is chosen,
Obtain output number collection { 1069111,100085,1022158197 }.
Identification number 1069111,100085,1022158197 corresponding attaching informations, the attaching information can be enterprise,
Such as xx communicates Group Co., Ltd, xx bank, xx game company etc..
It should be noted that above-mentioned specific embodiment is exemplary only, in the actual implementation process, primary number collection can
It can include primary number number up to ten thousand or more than one hundred million, therefore, primary number collection is split as several sub- primary number collection, if will
A dry sub- primary number collection is respectively allocated in multiple processing modules, and the number that each sub- primary number is concentrated is updated to respectively
The primary number of a processing module, thus in each processing module simultaneously merge with attaching information identify, can be effective
Improve number combined efficiency and attaching information recognition efficiency in ground.
After identifying attaching information, on the mobile terminal of user, former note number is replaced with into the attaching information, is used
Family directly acquires the note number ownership of sender.
The embodiment of the present invention two is corresponding to provide a kind of identification device of note number attaching information, including processor, deposits
Reservoir and storage in memory and be configured as by processor execute computer program, processor execute computer program
The recognition methods of the note number attaching information of the Shi Shixian such as embodiment of the present invention one.The identification device of note number attaching information
It can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.The knowledge of note number attaching information
Other device may include, but be not limited only to, processor, memory.
The correspondence of the embodiment of the present invention three provides a kind of computer readable storage medium, which is characterized in that computer-readable
Storage medium includes the computer program of storage, wherein controls computer readable storage medium institute in computer program operation
The recognition methods of the note number attaching information such as the embodiment of the present invention one is executed in equipment.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng processor is the control centre of the identification device of note number attaching information, entirely short using various interfaces and connection
The various pieces of the identification device of signal code attaching information.
Memory can be used for storing computer program and/or module, and processor is stored in memory by operation or execution
Interior computer program and/or module, and the data being stored in memory are called, realize the knowledge of note number attaching information
The various functions of other device.Memory can mainly include storing program area and storage data area, wherein storing program area can store
Application program needed for operating system, at least one function (such as sound-playing function, image player function etc.) etc.;Store number
It can be stored according to area and created data (such as audio data, phone directory etc.) etc. are used according to mobile phone.In addition, memory can be with
It can also include nonvolatile memory, such as hard disk, memory, plug-in type hard disk, intelligence including high-speed random access memory
Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Wherein, if the integrated module/unit of the identification device of note number attaching information is with the shape of SFU software functional unit
Formula realize and when sold or used as an independent product, can store in a computer readable storage medium.It is based on
Such understanding, the present invention realize above-described embodiment method in all or part of the process, can also by computer program come
Instruct relevant hardware to complete, computer program can be stored in a computer readable storage medium, the computer program
When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, computer program includes computer program
Code, computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..
Computer-readable medium may include: any entity or device, recording medium, USB flash disk, the shifting that can carry computer program code
Dynamic hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..
Recognition methods, device and the storage medium of a kind of note number attaching information provided in an embodiment of the present invention with it is existing
Technology is compared, and is had the following beneficial effects:
Judgement based on registration selectively merges a large amount of number by the method for iteration, can judge
The attaching information of a large amount of note numbers, improves the information acquisition efficiency and accuracy of user, confirms that this is short so as to shorten user
The time in the source of letter, and can judge while receiving short message the note number attaching information whether with short message content phase
Symbol, fraud text message and refuse messages can not be judged because that can not judge short message ownership by, which avoiding, causes the loss of user.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention
In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or
A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand
And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (5)
1. a kind of recognition methods of note number attaching information, which comprises the steps of:
S1: several primary numbers composition primary number collection is extracted;
S2: last character without replacement of the primary number is replaced with into substitute variable, obtains replacement number;By institute
It states replacement number and is put into replacement number collection;The replacement number for concentrating registration to be less than default registration the replacement number is corresponding
Primary number be put into intermediary number collection;By the replacement number concentrate registration be not less than the replacement number of default registration into
Row merges, and the merging number after merging is put into intermediary number collection;All numbers that the intermediary number is concentrated are as update
Primary number afterwards;
S3: being iterated step S2, until all numbers that the intermediary number is concentrated are by the number that substitute variable is replaced
N chooses the intermediary number obtained after iteration and concentrates institute's number prefix number, as output number collection;Wherein, N is not small
In zero integer, the prefix number is the number section before being arranged in the substitute variable;
S4: the identification output number concentrates the corresponding attaching information of each prefix number.
2. a kind of recognition methods of note number attaching information as described in claim 1, which is characterized in that the registration tool
Body are as follows:
It is concentrated in the replacement number, the frequency that the identical replacement number of number section without substitute variable replacement occurs.
3. a kind of recognition methods of note number attaching information as claimed in claim 2, which is characterized in that step S1 is also wrapped
It includes: the primary number collection is split as several sub- primary number collection, several sub- primary number collection are distributed respectively
Extremely in multiple processing modules, and the number that each sub- primary number is concentrated is updated to initial number of each processing module
Code.
4. a kind of identification device of note number attaching information, including processor, memory and storage are in the memory
And it is configured as the computer program executed by the processor, the processor is realized when executing the computer program as weighed
Benefit require any one of 1 to 3 described in note number attaching information recognition methods.
5. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage
Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed
Benefit require any one of 1 to 3 described in note number attaching information recognition methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540027.4A CN109587353B (en) | 2018-12-17 | 2018-12-17 | Method, device and storage medium for identifying short message number attribution information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540027.4A CN109587353B (en) | 2018-12-17 | 2018-12-17 | Method, device and storage medium for identifying short message number attribution information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587353A true CN109587353A (en) | 2019-04-05 |
CN109587353B CN109587353B (en) | 2020-12-04 |
Family
ID=65930387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811540027.4A Active CN109587353B (en) | 2018-12-17 | 2018-12-17 | Method, device and storage medium for identifying short message number attribution information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587353B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300222A (en) * | 2019-05-29 | 2019-10-01 | 深圳市梦网科技发展有限公司 | A kind of short message display method, system and terminal device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674371A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Method and device for processing phone numbers in short messages |
CN104202473A (en) * | 2014-08-25 | 2014-12-10 | 华为技术有限公司 | Conversion merging method and mobile terminal |
CN105282344A (en) * | 2013-10-25 | 2016-01-27 | 华为终端有限公司 | An information management method and a terminal |
CN105554268A (en) * | 2015-12-14 | 2016-05-04 | 珠海市小源科技有限公司 | Enterprise information recognition method and device based on service short message |
CN105847555A (en) * | 2016-03-24 | 2016-08-10 | 珠海市小源科技有限公司 | short message conversation combining method and system thereof |
US20170180956A1 (en) * | 2010-06-24 | 2017-06-22 | Vonage America Inc. | Systems and methods of forwarding communication requests based on handling instructions in an internet protocol environment |
CN109089227A (en) * | 2018-06-05 | 2018-12-25 | 中兴通讯股份有限公司 | A kind of short message group technology and device, computer readable storage medium |
-
2018
- 2018-12-17 CN CN201811540027.4A patent/CN109587353B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674371A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Method and device for processing phone numbers in short messages |
US20170180956A1 (en) * | 2010-06-24 | 2017-06-22 | Vonage America Inc. | Systems and methods of forwarding communication requests based on handling instructions in an internet protocol environment |
CN105282344A (en) * | 2013-10-25 | 2016-01-27 | 华为终端有限公司 | An information management method and a terminal |
CN104202473A (en) * | 2014-08-25 | 2014-12-10 | 华为技术有限公司 | Conversion merging method and mobile terminal |
CN105554268A (en) * | 2015-12-14 | 2016-05-04 | 珠海市小源科技有限公司 | Enterprise information recognition method and device based on service short message |
CN105847555A (en) * | 2016-03-24 | 2016-08-10 | 珠海市小源科技有限公司 | short message conversation combining method and system thereof |
CN109089227A (en) * | 2018-06-05 | 2018-12-25 | 中兴通讯股份有限公司 | A kind of short message group technology and device, computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300222A (en) * | 2019-05-29 | 2019-10-01 | 深圳市梦网科技发展有限公司 | A kind of short message display method, system and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN109587353B (en) | 2020-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111126301B (en) | Image processing method and device, computer equipment and storage medium | |
CN106919555B (en) | System and method for field extraction of data contained within a log stream | |
CN109741517A (en) | A kind of invoice checking method, device and system | |
CN109117209A (en) | Serializing and unserializing method and device | |
CN103580939A (en) | Method and device for detecting abnormal messages based on account number attributes | |
CN103699585A (en) | Methods, devices and systems for file metadata storage and file recovery | |
CN109033148A (en) | One kind is towards polytypic unbalanced data preprocess method, device and equipment | |
CN108198083A (en) | Declaration form multi dimensional analysis implementation method, device, terminal device and storage medium | |
CN110472043A (en) | A kind of clustering method and device for comment text | |
EP3537365A1 (en) | Method, device, and system for increasing users | |
CN110427134A (en) | Data processing method, device, equipment and the readable storage medium storing program for executing of instant messaging | |
CN109862527A (en) | A kind of short message distribution method, device, computer installation and readable storage medium storing program for executing | |
CN111078742A (en) | User classification model training method, user classification method and device | |
CN109086289A (en) | A kind of media data processing method, client, medium and equipment | |
CN109587353A (en) | Recognition methods, device and the storage medium of note number attaching information | |
CN101246440A (en) | Java card system rubbish recovering method | |
CN113434796B (en) | Page cache operation method and device, storage medium and electronic device | |
CN109993450A (en) | Film methods of marking, device, equipment and storage medium | |
CN105574112A (en) | Comment information processing method and system of communication process | |
CN113553301A (en) | Header file processing method and device, computer readable storage medium and processor | |
CN110209780A (en) | A kind of question template generation method, device, server and storage medium | |
CN104375993A (en) | Data processing method and device | |
CN110222286A (en) | Information acquisition method, device, terminal and computer readable storage medium | |
CN104932982B (en) | A kind of Compilation Method and relevant apparatus of message memory access | |
CN114258541A (en) | Data merging method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |