CN106255078A - Collecting method based on note and data collecting system - Google Patents
Collecting method based on note and data collecting system Download PDFInfo
- Publication number
- CN106255078A CN106255078A CN201610647735.2A CN201610647735A CN106255078A CN 106255078 A CN106255078 A CN 106255078A CN 201610647735 A CN201610647735 A CN 201610647735A CN 106255078 A CN106255078 A CN 106255078A
- Authority
- CN
- China
- Prior art keywords
- note
- short message
- particular merchant
- data
- industry
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000002776 aggregation Effects 0.000 claims abstract description 16
- 238000004220 aggregation Methods 0.000 claims abstract description 16
- 239000000284 extract Substances 0.000 claims abstract description 16
- 230000005540 biological transmission Effects 0.000 claims description 57
- 238000012546 transfer Methods 0.000 claims description 12
- 238000013075 data extraction Methods 0.000 claims description 10
- 108010001267 Protein Subunits Proteins 0.000 claims description 4
- 239000000203 mixture Substances 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 241001269238 Data Species 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
-
- 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)
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of collecting method based on note and data collecting system, wherein, this collecting method includes: receive the note data that safe aggregation gateway sends;Judge that whether note data is the industry short message of the preset kind that particular merchant user sends according to the template library pre-set;If judge the industry short message that note data is the preset kind that particular merchant user sends, then extract the key word in short message text according to the masterplate that note data is corresponding and be positioned at the numeric data after Partial key word;The key word and the numeric data that by note attribute information, extract generate log file according to preset format.Technical scheme can be on the premise of not affecting existing short message service, it is achieved extracts the worth of data in part of short message.
Description
Technical field
The present invention relates to communication technical field, particularly to a kind of collecting method based on note and data acquisition system
System.
Background technology
At some FIELD OF THE INVENTIONThe such as user's references, the industry data such as electricity business's transaction, finance data is the most valuable, very
Real user behavior data, big data based on these data and telecom operators can combine, does precision marketing and reference
Carrying out of business.But, the core asset of these behavioral datas Shi Ge company of user (such as Jingdone district, drip), as electricity
Letter operator is difficult to be obtained by each company.
When user carry out registering in electricity business, financial industry, the behavior such as transaction time, corresponding company would generally pass through industry short message
Mode real-time informing user, containing Transaction Information in this note, if these industry short message can be got, then can get corresponding
Data.
But, for ensureing the privacy of user, short message content must not preserve.As can be seen here, these industries how are obtained short
Believe and extract corresponding worth of data, being that those skilled in the art need badly and solve the technical problem that.
Summary of the invention
It is contemplated that at least solve one of technical problem present in prior art, it is provided that a kind of data based on note
Acquisition method and data collecting system.
For achieving the above object, the invention provides a kind of collecting method based on note, including:
Receiving the note data that safe aggregation gateway sends, described note data includes: note attribute information and note literary composition
This;
Judge that whether described note data is the preset kind that particular merchant user sends according to the template library pre-set
Industry short message, in described template library, storage has the mould of the industry short message of the described preset kind that each particular merchant user sent
Version, described masterplate includes several key words in the industry short message of the described preset kind of correspondence;
If judge the industry short message that described note data is the preset kind that described particular merchant user sends, then root
The masterplate corresponding according to described note data extracts the key word in described short message text and is positioned at the numerical value after Partial key word
Data;
The described key word and the described numeric data that are extracted by described note attribute information generate note according to preset format
Record file.
Alternatively, described note attribute information includes: send number;
The template library that described basis pre-sets judges whether described note data is presetting of particular merchant user transmission
The step of the industry short message of type includes:
Judge that whether described note data is according to the particular merchant Number for access list pre-set and described transmission number
The industry short message that particular merchant user sends, described particular merchant Number for access list records connecing of several particular merchant user
The number of entering;
If judging when described note data is the industry short message that particular merchant user sends, it is determined that described note data
Corresponding particular merchant user, and from described template library, transfer out described preset kind corresponding to this particular merchant user
Several masterplates of industry short message;
Described short message text is mated respectively with each masterplate transferred out;
If when described short message text and the stencil matching success transferred out, then it is specific for identifying described note data
The industry short message of the preset kind that trade company user sends.
Alternatively, described basis pre-sets particular merchant Number for access list and described transmission number judge described note
Whether data are that the step of the industry short message that particular merchant user sends includes:
Inquire about in described particular merchant Number for access list and whether there is described transmission number;
If described transmission number can be inquired from described particular merchant Number for access list, then judge described note number
According to the industry short message sent for particular merchant user, if described transmission can not be inquired from described particular merchant Number for access list
Number, then judge the industry short message that described note data does not sends for particular merchant user.
Alternatively, before whether the Number for access list of described inquiry described particular merchant exists the step of described transmission number
Also include:
Judge whether described transmission number is cell-phone number;
If judging, described transmission number is not cell-phone number, then perform in described inquiry described particular merchant Number for access list
Whether there is the step of described transmission number.
Alternatively, described basis pre-sets particular merchant Number for access list and described transmission number judge described note
Data be whether the industry short message that particular merchant user sends step before also include:
Described particular merchant Number for access list is synchronized from the trade network Central Shanxi Plain.
Alternatively, the described described key word by described note attribute information, extracted and described numeric data are according in advance
If also including after the step of form generation log file:
The described note data received is abandoned.
For achieving the above object, present invention also offers a kind of data collecting system based on note, including:
Short message interface module, for receiving the note data that safe aggregation gateway sends, described note data includes: note
Attribute information and short message text;
Note judge module, for judging according to the template library pre-set whether described note data is that particular merchant is used
The industry short message of the preset kind that family sends, in described template library, storage has the described default class that each particular merchant user is sent
The masterplate of the industry short message of type, described masterplate includes the key word of the industry short message of described preset kind;
For described note judge module, data extraction module, if judging that described note data is that described particular merchant is used
During the industry short message of preset kind that family sends, then extract in described short message text according to the masterplate that described note data is corresponding
Key word and be positioned at the numeric data after Partial key word;
Record generation module, for the described key described note attribute information, described data extraction module extracted
Word and described numeric data generate log file according to preset format.
Alternatively, described note attribute information includes: send number;
Described note judge module includes:
Industry short message judging unit, for sentencing according to the particular merchant Number for access list pre-set and described transmission number
Whether disconnected described note data is the industry short message that particular merchant user sends, if described particular merchant Number for access list records
The Number for access of dry particular merchant user;
Masterplate transfers unit, if judging that described note data is that particular merchant is used for described industry short message judging unit
During the industry short message that family sends, it is determined that the particular merchant user corresponding to described note data, and adjust from described template library
Take out several masterplates of the industry short message of described preset kind corresponding to this particular merchant user;
Stencil matching unit, for described short message text is mated respectively with each masterplate transferred out, wherein, if institute
During the stencil matching success stating short message text and transfer out, then judge that described note data is that particular merchant user sends
The industry short message of preset kind.
Alternatively, described industry short message judging unit includes:
Number inquiry subelement, is used for inquiring about in described particular merchant Number for access list whether there is described transmission number;
Wherein, if described transmission number can be inquired from institute's particular merchant Number for access list, then identifying described note data is
The industry short message that particular merchant user sends, if described transmission number can not be inquired from described particular merchant Number for access list
Code, then judge the industry short message that described note data does not sends for particular merchant user.
Alternatively, described industry short message judging unit also includes:
Cell-phone number judgment sub-unit, is used for judging whether described transmission number is cell-phone number;
If for described cell-phone number judgment sub-unit, described number inquiry subelement judges that described transmission number is not hands
During plane No., inquire about in described particular merchant Number for access list whether there is described transmission number.
Alternatively, also include: trade company's Number for access information management module, for synchronizing described particular merchant from the trade network Central Shanxi Plain
Number for access list.
The method have the advantages that
The invention provides a kind of collecting method based on note and data collecting system, wherein, this data acquisition
Method includes: receive the note data that safe aggregation gateway sends;Whether template library according to pre-setting judges note data
Industry short message for the preset kind that particular merchant user sends;If judging, note data is the pre-of particular merchant user transmission
If during the industry short message of type, then extract the key word in short message text according to the masterplate that note data is corresponding and be positioned at part and close
Numeric data after keyword;The key word and the numeric data that by note attribute information, extract generate note according to preset format
Record file.Technical scheme can be on the premise of not affecting existing short message service, it is achieved to having in part of short message
It is worth data to extract.
Accompanying drawing explanation
The flow chart of a kind of based on note the collecting method that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of a kind of based on note the collecting method that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of data collecting system that Fig. 3 provides for the embodiment of the present invention three.
Detailed description of the invention
For making those skilled in the art be more fully understood that technical scheme, below in conjunction with the accompanying drawings the present invention is carried
A kind of based on note the collecting method of confession and data collecting system are described in detail.
In existing short message service communicates, domestic consumer sends normal short message by cell-phone number, and trade company user passes through
Number for access sends industry short message.Specifically, domestic consumer and trade company are with per family by note networking interface agreement (Short
Message Gateway Interface Protocol, be called for short SGIP) by short message sending to sms center, sms center is by short
Letter data is sent to safe aggregation gateway, and note data is sent simultaneously to safe aggregation gateway business logic systems and rubbish is short
Communication system, according to its service logic, business logic systems returns whether Duan Xi center can issue, refuse messages system is to note
Content carries out keyword or semantic analysis, returns to whether sms center can issue.When business logic systems and rubbish are short
Communication system all returns after can sending instructions down, and sms center passes through signaling network, and note is issued terminal.
Technical scheme can be on the premise of not affecting existing short message service, it is achieved (specific to part of short message
The industry short message of the preset kind that trade company user is sent) in worth of data extract.Additionally, this collecting method
The most do not run counter to the relevant regulations that telecom operators do not allow to preserve the note of user.
It should be noted that " particular merchant user " in the present invention refers to more predetermined business
Family user, these particular merchant user puts row data communication into by unified trade network.Correspondingly, there is note in the trade network Central Shanxi Plain
It is loaded with the particular merchant Number for access list of the Number for access of these particular merchant user.
Additionally, for telecom operators, all industry short message that particular merchant user is sent the most all include
It is worth data (such as: the industry short message of advertisement), it is therefore desirable to premise determines the industry short message of some tool worth of data
Type (such as: the industry short message of consumption type, the industry short message of registration type), these tool worth of data industry short message
It typically is provided with corresponding form, key word.
" industry short message of preset kind " in the present invention specifically refer to possess some specific format, key word industry short
Letter, it can set the most accordingly.In the present invention, the early stage industry to these preset kinds can be passed through
Note is acquired sorting out, the masterplate the most corresponding to generate the industry short message of variant preset kind, and forms template library, its
In each masterplate all comprise correspondence industry short message in several key words, this key word can select in self-corresponding industry short message
The title of particular merchant user that comprised, type, actional verb etc..Wherein, key word in each masterplate is chosen, permissible
Set the most accordingly.
Such as, for China Merchants Bank be sent to the transferring accounts of user, collect money, pay, the template of the industry short message of enchashment can be divided
It is not set to:
{ Lu Jinsuo, P2P, investment };
The template of the industry short message being sent to the registration of user, responsibility of failing to keep an appointment, payment for Uber can be respectively set to:
{ Uber, calls a taxi, registration };
{ Uber, calls a taxi, responsibility of failing to keep an appointment };
{ Uber, calls a taxi, and pays };
The template of the industry short message being sent to the credit card purchase of user for Bank of Communications could be arranged to:
{ Bank of Communications, the credit card, consumption };
In the present invention, the masterplate for the industry short message of same its corresponding preset kind of particular merchant user is permissible
For one or more, the quantity of the comprised key word of each masterplate is also not construed as limiting.
It should be noted that each masterplate of above-mentioned setting only plays exemplary effect, it will not be to the technical side of the present invention
Case produces and limits.Those skilled in the art it should also be understood that in actual applications, can arrange each spy according to actual needs
Determine the masterplate of the industry short message of the preset kind of trade company user.
Embodiment one
The flow chart of a kind of based on note the collecting method that Fig. 1 provides for the embodiment of the present invention one, such as Fig. 1 institute
Showing, this collecting method is based in corresponding data collecting system, this data collecting system and existing short message service network
Safe aggregation gateway and industry gateway be all connected with, this collecting method includes:
Step 101, receive safe aggregation gateway send note data.
In the present embodiment, safe aggregation gateway is sending note data to business logic systems and refuse messages system forwards
While, also same note data is forwarded and give the data collecting system in the present invention, wherein note data includes: note
Attribute information and short message text.Due to this data collecting system with existing to business logic systems and refuse messages system be also
Row relation, thus do not interfere with existing short message service.
Wherein, note attribute information refers to describe the information of short message text respective attributes, and it typically records sending out of note
Send the relevant informations such as number, receiving number, transmission time.
It should be noted that owing to all of note data can all be forwarded by safe aggregation gateway, therefore data acquisition
Collecting system can receive all note datas in short message service network, and these note datas can be broadly divided into three classes: non-
The industry short message that industry short message, the industry short message of general trade company user transmission and particular merchant user send, wherein, particular merchant
The industry short message that user sends includes: the industry short message of preset kind and the industry short message of non-preset kind.And in the present invention, only
The industry short message of the preset kind that particular merchant user sends is carried out data acquisition.
The template library that step 102, basis pre-set judges whether note data is presetting of particular merchant user transmission
The industry short message of type.
Wherein, template library stores the masterplate of the industry short message of each preset kind having each particular merchant user to be sent,
Each masterplate all includes several key words in the industry short message of correspondence.
After data collecting system receives a note data of short message service forwarded, meeting basis pre-sets
Template library judges that whether its received note data is the industry short message of the preset kind that particular merchant user sends.Tool
Body ground, can mate the short message text of the note data received one by one with each masterplate in template library and (carry out key word
Coupling), if energy successful match is to a certain masterplate, then may determine that this note data is by presetting that particular merchant user is sent
The industry short message of type, now performs following step 103;If the short message text in this note data and each masterplate in template library
Do not mate, then judge the industry short message of the preset kind that this note data do not sent by particular merchant user, now hold
Row following step 105.
Step 103, extract the key word in short message text according to masterplate corresponding to note data and be positioned at Partial key word
Numeric data afterwards.
In step 103, the masterplate that the note data that confirmed by above-mentioned steps 102 is corresponding, extracts in short message text
Key word and be positioned at the numeric data after Partial key word.In actual applications, typically will not deposit after some key words
In numeric data, such as: " Lu Jinsuo " " Uber " " bank " " credit card " etc.;Numerical value then can be there is after other key words
Data, such as: " investment " " expenditure " " remaining sum " etc., after these key words, meeting is with corresponding numeric data, and these numbers
Value Data has bigger value.
Step 104, the key word by note attribute information, extracted and numeric data generate record literary composition according to preset format
Part.
The note attribute information that will get in step 101, and each key word extracted in step 103 and be positioned at portion
Divide the numeric data after key word, produce log file according to preset format, be acquired for big data platform.
In the present embodiment, include with the note attribute information in step 101: when sending number, receiving number, transmission
Between, the masterplate that the note data that confirmed in step 102 is corresponding is:
{ Lu Jinsuo, p2p, investment }
As a example by, then the form of the log file generated after carrying out data extraction by step 104 can be:
{ sending number, receiving number, send time, Lu Jinsuo, P2P, investment, the amount of money }
Certainly, in the present embodiment, it is also possible to join for the numeric data (amount of money) that each trade company behavior type is its correspondence
Put amount grade, and embody in log file.
Such as, for " investment " behavior of the user of Lu Jinsuo, numeric data value correspondence amount between 0~500000
Grade " 0 ", numeric data value correspondence amount grade " 1 " between 500001~1000000 ... the like, now, raw
The form of the log file become can be:
{ sending number, receiving number, send time, Lu Jinsuo, P2P, investment, amount grade }
For " consumption " behavior of Bank of Communications's credit card user,
Can also be the amount grade of numeric data (amount of money) configuration correspondence in advance, numeric data be within 0~2000
Corresponding amount grade " a ", numerical value 2001~5000 the corresponding amount grade " b " of opinion ... now, the log file of generation
Form can be:
{ sending number, receiving number, send time, Bank of Communications, the credit card, the amount of money, amount grade }
It should be noted that the form of the log file shown in above-mentioned only plays exemplary effect, it will not be to the present invention
Technical scheme produce limit.Those skilled in the art it should also be understood that in actual applications, can be according to actual needs
The form of the log file of generation is set.
Additionally, can also be the most selectively by the part of short message attribute in log file in the present embodiment
Information is rejected, to optimize log file.
Step 105, the note data received is abandoned.
In the present embodiment, no matter whether note data has is carried out data extraction, and it the most all can be by data acquisition system
System abandons, and does not i.e. preserve note data in data collecting system.
The embodiment of the present invention one provides a kind of collecting method based on note, can not affect existing note industry
On the premise of business, it is achieved the worth of data in part of short message is analyzed in real time.
Embodiment two
The flow chart of a kind of based on note the collecting method that Fig. 2 provides for the embodiment of the present invention two, such as Fig. 2 institute
Showing, this collecting method is based in corresponding data collecting system, this data collecting system and existing short message service network
Safe aggregation gateway and industry gateway be all connected with, this collecting method includes:
Step 100, from the trade network Central Shanxi Plain synchronize particular merchant Number for access list.
There are the particular merchant Number for access list of the Number for access recording these particular merchant user, data in the trade network Central Shanxi Plain
Acquisition system can be to this particular merchant Number for access list of the sector gateway synchronization.
Step 101, receive safe aggregation gateway send note data.
Wherein, note data includes: note attribute information and short message text, and note attribute information includes: sends number, connect
Collect the digits code and transmission time.
It should be noted that the execution sequence of step 100 and step 101 is not restricted in the present embodiment,
I.e. step 100 can perform prior to step 101, or after perform in step 101, or perform with step 101 simultaneously.
Step 102a, according to particular merchant Number for access list with send number and judge that whether note data is particular merchant use
The industry short message that family sends.
Alternatively, step 102a includes:
Step 102aa, judge send number whether be cell-phone number;
By judging whether the transmission number in note data meets the form of phone number, can determine whether that this transmission number is
No for cell-phone number.If meeting the form of phone number, then may determine that this transmission number is cell-phone number, correspondingly, this note
Data are not the industry short message of the preset kind that particular merchant user is sent, and now perform step 105;If meeting mobile phone
The form of number, then may determine that this transmission number is not cell-phone number (being the Number for access of trade company user), now perform step
Rapid 102ab.
Whether step 102ab, inquiry particular merchant Number for access list exist the transmission number in this note data.
In step 102ab, if transmission number can be inquired from institute's particular merchant Number for access list, then judge short
Letter data is the industry short message that particular merchant user sends, if transmission number can not be inquired from particular merchant Number for access list
Code, then judge the industry short message that this note data does not sends for particular merchant user.
It should be noted that in the present embodiment when step 102a only includes step 102ab, also can realize note number
According to being whether the judgement of the industry short message that particular merchant user sends, above-mentioned steps 102a includes step 102aa and step
The situation of 102ab is the preferable case in the present invention.In actual applications, data collecting system can constantly receive safe remittance
The note data that poly-gateway sends, if the most once tabling look-up (i.e. step 102ab) for the Number for access in each note data,
Owing to the process of tabling look-up needs to take more calculation resources, then the computing load that can cause data collecting system is relatively big, and this reality
Execute in example, quickly the note that domestic consumer sends can be identified by step 102aa, and directly abandon, the most no longer
Carry out follow-up work of tabling look-up, thus can effectively reduce the computing load of data collecting system.
In step 102a, if judging when note data is the industry short message that particular merchant user sends, then under performing
State step 102b;If judging when note data is the industry short message that particular merchant user sends, then perform following step 105.
Step 102b, from template library, transfer out industry short message some of preset kind corresponding to this particular merchant user
Individual masterplate.
By determining the particular merchant user corresponding to note data in a step 102, from template base, transfer out this spy
Determine several masterplates of the industry short message of preset kind corresponding to trade company user.
Step 102c, short message text is mated respectively with each masterplate transferred out.
With the technology hands directly short message text mated one by one with each masterplate in template library in above-described embodiment one
Section is compared, and is first mentioned masterplate by step 102a and step 102b, entered by step 102c in the present embodiment
Row coupling, can effectively reduce the stencil matching number of times of short message text, thus the computing effectively reducing data collecting system is born
Carry.
In a step 102, if when short message text and the stencil matching success transferred out, then judging this note data
For the industry short message of the preset kind that particular merchant user sends, now perform following step 103;Otherwise judge this note number
According to the industry short message of the preset kind not sent for particular merchant user, now perform following step 105.
Step 103, extract the key word in short message text according to masterplate corresponding to note data and be positioned at Partial key word
Numeric data afterwards;
Step 104, the key word by note attribute information, extracted and numeric data generate record literary composition according to preset format
Part.
Step 105, the note data received is abandoned.
For step 103 in the present embodiment~the specific descriptions of step 105, can participate in above-described embodiment one corresponding interior
Holding, here is omitted.
The embodiment of the present invention two provides a kind of collecting method based on note, can not affect existing note industry
On the premise of business, it is achieved the worth of data in part of short message is extracted, additionally, this collecting method is not the most run counter to
Telecom operators do not allow the relevant regulations preserving the note of user.
Embodiment three
The structural representation of a kind of data collecting system that Fig. 3 provides for the embodiment of the present invention three, as it is shown on figure 3, this number
It is all connected with the safe aggregation gateway in existing short message service network and industry gateway according to acquisition system, this data collecting system
Including: short message interface module 1, note judge module 2, data extraction module 3 and record generation module 4.
Wherein, short message interface module 1 is for receiving the note data that safe aggregation gateway sends, and note data includes: short
Letter attribute information and short message text.Note attribute information refers to describe the information of short message text respective attributes, specifically comprises the steps that short
The relevant informations such as the transmission number of letter, receiving number, transmission time.
According to the template library pre-set, note judge module 2 is for judging whether note data is that particular merchant user sends out
The industry short message of the preset kind sent, stores the industry short message of the preset kind having each particular merchant user to be sent in template library
Masterplate, masterplate includes the key word of the industry short message of preset kind.
If for note judge module 2, data extraction module 3 judges that note data is the pre-of particular merchant user transmission
If during the industry short message of type, then extract the key word in short message text according to the masterplate that note data is corresponding and be positioned at part and close
Numeric data after keyword.
Record generation module 4 is for key word note attribute information, data extraction module extracted and numeric data
Log file is generated according to preset format.
It should be noted that the short message interface module 1 in the present embodiment is for performing the step in above-described embodiment one
101, note judge module 2 is for performing the step 102 in above-described embodiment one, and data extraction module 3 is used for performing above-mentioned reality
Executing the step 103 in example one, record generation module 4 is for performing the step 104 in above-described embodiment one, for the tool of each module
Body running process can be found in corresponding contents in previous embodiment one, and here is omitted.
The data collecting system that the present embodiment provides can be on the premise of not affecting existing short message service, it is achieved to part
Worth of data in note extracts.
Alternatively, note attribute information includes: sending number, this data collecting system also includes: trade company's Number for access information
Management module 6, trade company's Number for access information management module 6 for synchronizing particular merchant Number for access list from the trade network Central Shanxi Plain.Wherein,
This trade company's Number for access information management module 6, for performing the step 100 in above-described embodiment two, specifically describes and can be found in above-mentioned reality
Executing corresponding contents in example two, here is omitted.
Alternatively, this data collecting system also includes: data processing module 5, and this data processing module 5 is for sentencing in note
When disconnected module 2 judges the industry short message that note data is not the preset kind that particular merchant user sends and raw at record
After becoming module 4 to generate log file, the note data received is abandoned.Wherein, this data processing module 5 is for performing
Stating the step 105 in embodiment one, specifically describe and can be found in corresponding contents in above-described embodiment one, here is omitted.
In the present embodiment, all can be dropped owing to data collecting system receives each note data, i.e. data acquisition system
Note data is not preserved by system, does not allow user's hence without the telecom operators run counter to required by Ministry of Industry and Information
Note carries out the relevant regulations preserved.
Alternatively, note judge module includes: industry short message judging unit 21, masterplate transfer unit 22 and stencil matching list
Unit 23.
Wherein, industry short message judging unit 21 is for according to the particular merchant Number for access list pre-set and transmission number
Judging that whether note data is the industry short message that particular merchant user sends, it is special that particular merchant Number for access list records several
Determine the Number for access of trade company user;
If masterplate transfers unit 22 judges that note data is that particular merchant user sends out for industry short message judging unit 21
During the industry short message sent, it is determined that the particular merchant user corresponding to note data, and from template library, transfer out this specific business
Several masterplates of the industry short message of the preset kind that family user is corresponding;
Stencil matching unit 23 is for mating short message text respectively with each masterplate transferred out, wherein, if note
When text and the stencil matching success transferred out, then judge that note data is the preset kind that particular merchant user sends
Industry short message, otherwise judge the industry short message of the preset kind that note data is that particular merchant user sends.
Still optionally further, the sector note judging unit 21 includes: cell-phone number judgment sub-unit 21a and number inquiry
Unit 21b.
Wherein, cell-phone number judgment sub-unit 21a is used for judging to send whether number is cell-phone number.If cell-phone number judges that son is single
When unit judges that sending number is cell-phone number, note data corresponding for this transmission number is abandoned by data processing module 5.
If number inquiry subelement 21b is when cell-phone number judgment sub-unit 21a judges to send number not for cell-phone number,
Whether inquiry particular merchant Number for access list exists transmission number;Wherein, if can be from institute's particular merchant Number for access list
Inquire transmission number, then judge that note data is the industry short message that particular merchant user sends, if can not be from particular merchant
Number for access list inquires transmission number, then judges the industry short message that note data does not sends for particular merchant user.
It should be noted that the industry short message judging unit 21 in the present embodiment is for performing the step in above-described embodiment two
Rapid 102a, cell-phone number judgment sub-unit 21a is for performing step 102aa in above-described embodiment two, number inquiry subelement 21b
For performing step 102ab in above-described embodiment two, masterplate transfers unit 22 for performing the step in above-described embodiment two
102b, stencil matching unit 23 is for performing step 102c in above-described embodiment two, for the specific works process of each unit
Can be found in corresponding contents in previous embodiment two, here is omitted.
The embodiment of the present invention three provides a kind of data collecting system based on note, can not affect existing note industry
On the premise of business, it is achieved the worth of data in part of short message is extracted, additionally, this data collecting system is not the most run counter to
Telecom operators do not allow the relevant regulations preserving the note of user.
It is understood that the principle that is intended to be merely illustrative of the present of embodiment of above and the exemplary enforcement that uses
Mode, but the invention is not limited in this.For those skilled in the art, in the essence without departing from the present invention
In the case of god and essence, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.
Claims (11)
1. a collecting method based on note, it is characterised in that including:
Receiving the note data that safe aggregation gateway sends, described note data includes: note attribute information and short message text;
Judge that whether described note data is the row of the preset kind that particular merchant user sends according to the template library pre-set
Industry note, stores the masterplate of the industry short message of the described preset kind having each particular merchant user to be sent in described template library,
Described masterplate includes several key words in the industry short message of the described preset kind of correspondence;
If judge the industry short message that described note data is the preset kind that described particular merchant user sends, then according to institute
State masterplate corresponding to note data extract the key word in described short message text and be positioned at the numeric data after Partial key word;
The described key word and the described numeric data that are extracted by described note attribute information generate record literary composition according to preset format
Part.
Collecting method based on note the most according to claim 1, it is characterised in that described note attribute information bag
Include: send number;
The template library that described basis pre-sets judges that whether described note data is the preset kind that particular merchant user sends
The step of industry short message include:
Judge whether described note data is specific according to the particular merchant Number for access list pre-set and described transmission number
The industry short message that trade company user sends, described particular merchant Number for access list records the access of several particular merchant user
Number;
If judging when described note data is the industry short message that particular merchant user sends, it is determined that described note data institute is right
The particular merchant user answered, and from described template library, transfer out the industry of described preset kind corresponding to this particular merchant user
Several masterplates of note;
Described short message text is mated respectively with each masterplate transferred out;
If when described short message text and the stencil matching success transferred out, then identifying described note data is particular merchant
The industry short message of the preset kind that user sends.
Collecting method based on note the most according to claim 2, it is characterised in that described basis pre-sets
Particular merchant Number for access list and described transmission number judge that whether described note data is the industry that particular merchant user sends
The step of note includes:
Inquire about in described particular merchant Number for access list and whether there is described transmission number;
If described transmission number can be inquired from described particular merchant Number for access list, then judge that described note data is
The industry short message that particular merchant user sends, if described transmission number can not be inquired from described particular merchant Number for access list
Code, then judge the industry short message that described note data does not sends for particular merchant user.
Collecting method based on note the most according to claim 3, it is characterised in that the described specific business of described inquiry
Also include before whether family Number for access list exists the step of described transmission number:
Judge whether described transmission number is cell-phone number;
If judging, whether described transmission number not for cell-phone number, then performs in described inquiry described particular merchant Number for access list
There is the step of described transmission number.
Collecting method based on note the most according to claim 2, it is characterised in that described basis pre-sets
Particular merchant Number for access list and described transmission number judge that whether described note data is the industry that particular merchant user sends
Also include before the step of note:
Described particular merchant Number for access list is synchronized from the trade network Central Shanxi Plain.
Collecting method based on note the most according to claim 1, it is characterised in that described by described note attribute
Information, the described key word extracted and described numeric data are also wrapped after generating the step of log file according to preset format
Include:
The described note data received is abandoned.
7. a data collecting system based on note, it is characterised in that including:
Short message interface module, for receiving the note data that safe aggregation gateway sends, described note data includes: note attribute
Information and short message text;
According to the template library pre-set, note judge module, for judging whether described note data is that particular merchant user sends out
The industry short message of the preset kind sent, in described template library, storage has the described preset kind that each particular merchant user sent
The masterplate of industry short message, described masterplate includes the key word of the industry short message of described preset kind;
For described note judge module, data extraction module, if judging that described note data is that described particular merchant user sends out
During the industry short message of the preset kind sent, then extract the key in described short message text according to the masterplate that described note data is corresponding
Word and be positioned at the numeric data after Partial key word;
Record generation module, for described key word that described note attribute information, described data extraction module are extracted and
Described numeric data generates log file according to preset format.
Data collecting system based on note the most according to claim 7, it is characterised in that described note attribute information bag
Include: send number;
Described note judge module includes:
Industry short message judging unit, for judging institute according to the particular merchant Number for access list pre-set and described transmission number
Whether be industry short message that particular merchant user send, described particular merchant Number for access list records several if stating note data
The Number for access of particular merchant user;
Masterplate transfers unit, if judging that described note data is that particular merchant user sends out for described industry short message judging unit
During the industry short message sent, it is determined that the particular merchant user corresponding to described note data, and transfer out from described template library
Several masterplates of the industry short message of the described preset kind that this particular merchant user is corresponding;
Stencil matching unit, for described short message text is mated respectively with each masterplate transferred out, wherein, if described short
When message is originally with the stencil matching success transferred out, then judge that described note data is the pre-of particular merchant user transmission
If the industry short message of type.
Data collecting system based on note the most according to claim 8, it is characterised in that described industry short message judges single
Unit includes:
Number inquiry subelement, is used for inquiring about in described particular merchant Number for access list whether there is described transmission number;Wherein,
If described transmission number can be inquired from institute's particular merchant Number for access list, then judge that described note data is specific business
The industry short message that family user sends, if described transmission number can not be inquired from described particular merchant Number for access list, then sentences
Break and the industry short message that described note data does not sends for particular merchant user.
Data collecting system based on note the most according to claim 9, it is characterised in that described industry short message judges
Unit also includes:
Cell-phone number judgment sub-unit, is used for judging whether described transmission number is cell-phone number;
If for described cell-phone number judgment sub-unit, described number inquiry subelement judges that described transmission number is not cell-phone number
Time, inquire about in described particular merchant Number for access list whether there is described transmission number.
11. data collecting systems based on note according to claim 2, it is characterised in that also include:
Trade company's Number for access information management module, for synchronizing described particular merchant Number for access list from the trade network Central Shanxi Plain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610647735.2A CN106255078A (en) | 2016-08-09 | 2016-08-09 | Collecting method based on note and data collecting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610647735.2A CN106255078A (en) | 2016-08-09 | 2016-08-09 | Collecting method based on note and data collecting system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106255078A true CN106255078A (en) | 2016-12-21 |
Family
ID=58078909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610647735.2A Pending CN106255078A (en) | 2016-08-09 | 2016-08-09 | Collecting method based on note and data collecting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106255078A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657677A (en) * | 2014-11-14 | 2016-06-08 | 中移物联网有限公司 | Short message sending method, short message gateway and service platform |
CN110852718A (en) * | 2019-11-12 | 2020-02-28 | 江苏税软软件科技有限公司 | Method for carrying out system prejudgment on evidence obtaining computer |
CN112533157A (en) * | 2020-12-08 | 2021-03-19 | 中国联合网络通信集团有限公司 | Data acquisition method, device and system |
-
2016
- 2016-08-09 CN CN201610647735.2A patent/CN106255078A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657677A (en) * | 2014-11-14 | 2016-06-08 | 中移物联网有限公司 | Short message sending method, short message gateway and service platform |
CN110852718A (en) * | 2019-11-12 | 2020-02-28 | 江苏税软软件科技有限公司 | Method for carrying out system prejudgment on evidence obtaining computer |
CN112533157A (en) * | 2020-12-08 | 2021-03-19 | 中国联合网络通信集团有限公司 | Data acquisition method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107103462B (en) | Method and device for processing snapshot data of cross-border remittance of bank | |
CN106384273B (en) | Malicious bill-swiping detection system and method | |
CN107798109A (en) | Method, apparatus, computer equipment and the storage medium of reconciliation clearance | |
CN101102528B (en) | A SMS signature method and system | |
CN108335110B (en) | Chat information processing method and device | |
CN102915600B (en) | Fore-POS (point of sale) system and method convenient for function extension | |
CN106255078A (en) | Collecting method based on note and data collecting system | |
CN109213758B (en) | Data access method, device, equipment and computer readable storage medium | |
CN104636473A (en) | Data processing method and system based on electronic payment behaviors | |
CN107800894A (en) | A kind of phonetic prompt method and terminal device for telephony service system | |
CN107025544A (en) | One kind transaction score-clearing system and transaction sorting processing method | |
CN112822286B (en) | Message pushing method and device | |
CN103903082A (en) | Method for generating accounting documents by means of receipt data in ERP system | |
JP2004502209A (en) | Method of workflow processing via computer network | |
CN114936727A (en) | Work order distribution system, method and computer equipment | |
CN102521713A (en) | Data processing device and data processing method | |
CN107577700A (en) | The processing method and processing device of database disaster tolerance | |
CN105574112A (en) | Comment information processing method and system of communication process | |
CN105677745A (en) | General efficient self-service data search system and implementation method | |
CN105160036A (en) | Enterprise non-bank information query method | |
JP6187947B1 (en) | Multi-bank pooling system and multi-bank pooling method | |
CN102222000A (en) | Data interaction device and method | |
CN106304026A (en) | The determination method and device of end message | |
CN103489051A (en) | Method for checking and normalizing customer information in multiple information systems of fund company | |
CN107391695A (en) | A kind of information extracting method based on big data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161221 |