CN109068286A - A kind of method, medium and the equipment of information parsing - Google Patents
A kind of method, medium and the equipment of information parsing Download PDFInfo
- Publication number
- CN109068286A CN109068286A CN201810547226.1A CN201810547226A CN109068286A CN 109068286 A CN109068286 A CN 109068286A CN 201810547226 A CN201810547226 A CN 201810547226A CN 109068286 A CN109068286 A CN 109068286A
- Authority
- CN
- China
- Prior art keywords
- short message
- placeholder
- template
- flow
- flow value
- 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
- 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]
Abstract
This application discloses method, medium and the equipment of a kind of parsing of information, after getting the short message for carrying flow information, the message template (can be not used in the character for describing the flow information that the short message carries by deleting in short message, and the flow value in short message is replaced with into placeholder and realizes templating), it is determined and treated the matched template of short message from template library later, and according to the corresponding flow Value Types of placeholder each in the template of configuration, the parsing result of the short message is determined.
Description
Technical field
This application involves method, medium and equipment that information technology field more particularly to a kind of information parse.
Background technique
Currently, all there is the limitations to data traffic for the mobile data flow package of major telecom operators' offer.Example
Such as, flow package provides utilizable flow in one month, when exceeding within the moon using flow, then takes limitation online, limitation
Network speed or the charging amount for increasing specific discharge etc. measure.
In the prior art, flow can be determined according to the flow short message received by user by sending short message enquiry
The service condition of set meal is avoided using flow beyond set meal range.Alternatively, can also input flow rate set meal in the application
Information, and the service condition that flow package is monitored by application.
The application provides a kind of new information analysis method, is monitored to the service condition of flow package.
Summary of the invention
This specification embodiment provides method, medium and the equipment of a kind of information parsing.
This specification embodiment adopts the following technical solutions:
A kind of method of information parsing it is characterised by comprising:
Obtain the short message for carrying flow information;
The character for being not used in description flow information in the short message is deleted, and the flow value in the short message is replaced with
Placeholder;
Treated short message is matched with the template in template library, it is determining with treated the matched mould of short message
Plate;
According in the type and the short message of the corresponding flow value of placeholder each in the matched template of configuration
Flow value determines the corresponding parsing result of flow information that the short message carries.
A kind of computer-readable medium, is stored thereon with computer-readable instruction, and the computer-readable instruction can be located
Device is managed to execute to realize method above-mentioned.
A kind of equipment for information parsing, wherein the equipment includes: one or more processors;And it is stored with
The memory of computer-readable instruction, the computer-readable instruction make the processor execute such as preceding method when executed
Operation.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
Method, medium and the equipment provided by this specification will after getting the short message for carrying flow information
The message template (can be not used in the character for describing the flow information that the short message carries by deleting, and will in short message
Flow value in short message replaces with placeholder), determined from template library later with treated the matched template of short message, and according to
The corresponding flow Value Types of each placeholder, determine the parsing result of the short message in the template of configuration.It avoids in the prior art,
Manual identified flow service condition, or the operation for needing to be manually entered are needed, directly can carry flow information by obtaining
Short message carries out information parsing, simplifies operation, improves efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of process for information parsing that this specification provides;
Fig. 2 is a kind of schematic diagram of equipment for information parsing provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of the device of information parsing provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of this specification clearer, it is embodied below in conjunction with this specification
Technical scheme is clearly and completely described in example and corresponding attached drawing.Obviously, described embodiment is only this Shen
Please a part of the embodiment, instead of all the embodiments.Based on the embodiment in specification, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is a kind of flow diagram for information parsing that some embodiments of the present application provide, and specifically may include following
Step:
S100: the short message for carrying flow information is obtained.
Currently, inquiry mobile data flow package service condition method first is that, by telecom operators send look into
Short message is ask, so that telecom operators return to the short message for carrying flow information.Wherein, which includes that transmission inquiry is short
The mobile data flow package service condition of the cell-phone number of letter.
In some embodiments provided by the present application, which needs what is parsed to carry flow information
Short message, to determine mobile data flow package service condition.Specifically, can be by installing client on mobile terminals, by this
The short message that mobile terminal received carry flow information is sent to server, and executes the information by server and parse
Journey.Alternatively, information parsing can also locally be carried out in the mobile terminal, then by the client in the mobile terminal or can specifically refer to
The process of fixed application execution information parsing, the application parse the flow and are specifically executed without limitation by that equipment,
It can be configured as needed.
Wherein, which can be the equipment such as mobile phone, tablet computer, and the application is without limitation.The client is peace
Application in the mobile terminal can pass through interface (Application reserved in the operating system of the mobile terminal
Programming Interface, API), determine the short message that the mobile terminal receives.Certainly, how true the client is specifically
Carry flow information in the fixed short message, in the prior art there are many mature method, therefore the application to this no longer
It limits.
For the convenience of description, obtaining the carrying by client with server in the subsequent some embodiments of the application
The short message of flow information, and execute and be illustrated for the information resolving.
S102: the character that description flow information is not used in the short message is deleted, and by the flow value in the short message
Replace with placeholder.
As the continuous refinement of existing mobile data flow package and development, user may use multiple flow sets simultaneously
Meal, so that in the step s 100 may include the flow service condition of multiple set meals in received short message.Therefore, the application's
In some embodiments, the corresponding meaning of each flow value for including in short message is determined for the ease of server, after obtaining short message
Templating processing first can be carried out to the short message, then execute subsequent step.
Specifically, generally not all characters contribute to description flow letter due in the short message comprising flow information
Breath, therefore server can remove character unrelated with description flow information in the short message.Also, since customer flow uses feelings
Condition changes in real time, has no direct relation with template, but therefore the flow value in server also short message numerical value and unit
Replace with placeholder.
In this application, server can delete the character in the short message according to preset regular expression.Due to not having to
It is invalid information in the character for describing the flow information that the short message carries, therefore the regular expressions are can be belonged to this is matched
The character of invalid information, specifically can be by carrying out screening determination to the existing short message for carrying flow information.
For example, can be by belonging to the character of invalid information in manual confirmation short message, it is assumed that certain short message is that " you are good!Last month
Carry down to this month: carry down last month domestic universal flow 9.81GB." then, the matching rule of the regular expression may be configured as and " you
It is good!", " last month carried down to this month: ", " last month ", " this month " matching, then the server can delete the word of regular expression matching
Symbol, obtains that " carry down domestic universal flow 9.81GB.".Certainly, server can also be by the sentence structure of the existing short message of analysis, really
The character for belonging to invalid information for needing to delete calmly, and determine regular expression, how this specification is for specifically to determine this just
Then expression formula is without limitation.
In this application, server again by short message carry out templating when, can also by the numerical value of the flow value in short message with
And unit replaces with placeholder.Wherein, which can also be completed by regular expression above-mentioned, determined in short message and be used for
It indicates the numerical value of memory capacity, and the unit of the numerical value and numerical value is replaced with into preset placeholder.Certainly, due to by one section
Numerical value and its unit in text have been more mature methods with placeholder replacement, therefore this specification repeats no more, and
And server is not limited yet, flow value is replaced with into placeholder using other methods.
Further, server, can be according to flow value in the text of short message when flow value is replaced with placeholder
Sequencing and preset placeholder tag sort, each flow value is successively replaced with to the placeholder of not isolabeling.Example
Such as, it is assumed that the tag sort of placeholder is 1,2,3,4,5 ..., short message text are as follows: " carry down domestic universal flow 9.81GB.State
Interior universal flow residue 18.11GB, local idle flow residue 0MB give domestic flow residue 7.00GB.Mobile number is used
According to flow 3.75GB, flow residue 25.11GB." then server will can obtain after the replacement short message text: " carry down domestic logical
With flow { 1 }.Domestic universal flow is remaining { 2 }, and local idle flow is remaining { 3 }, and it is remaining { 4 } to give domestic flow.Total amount is
Use mobile data flow { 5 }, flow residue { 6 }." certainly, the tag sort of the placeholder, can also other than numerical order
It is the sequence of English alphabet or the sequence of other preset labels, the application does not limit this.
Further, since server is in the subsequent flow information parsed in the short message, it is also necessary to quilt in the short message
Each flow value of replacement, therefore server can store the corresponding relationship of each flow value and placeholder.Continue to use the example above, service
Device can store the corresponding relationship such as table 1.
Placeholder | Flow value |
1 | 9.81GB |
2 | 18.11GB |
3 | 0MB |
4 | 7.00GB |
5 | 3.75GB |
6 | 25.11GB |
Table 1
S104: treated short message is matched with the template in template library, determining with treated the short message
The template matched.
The template library of preconfigured template composition can be stored in some embodiments of the present application, in server.And
Character and placeholder and for each template, comprising description flow value in the template.And the placeholder in the template,
It is also to be configured according to the tag sort of preset placeholder described in step S102.In addition, since template is to be pre-configured with,
It therefore can be the type that corresponding flow value is arranged in each placeholder by staff.
For example, it is assumed that certain template is " domestic universal flow { 1 }.Domestic universal flow is remaining { 2 }, and local idle flow is surplus
Remaining { 3 } ", corresponding short message are that " you are good!It carries down last month to this month: carrying down last month domestic universal flow { 1 }.By arrive a b month c
E points when day d, your this month all types of flow residue situations: domestic universal flow is remaining { 2 }, and local idle flow is remaining { 3 } ", then
It can be to carry down by manually according to short message text, determining the type of the corresponding flow value of placeholder { 1 } in the template, placeholder { 2 }
The type of corresponding flow value is general residue, and the type of the corresponding flow value of placeholder { 3 } is that idle is remaining.Certainly, due to
Template can be audited by staff after in being added to template library, the application to the corresponding type of placeholder in this template not
It limits.
It should be noted that the template in template library can be generated by the short message of practical telecommunication carrier,
Certainly the specific process for determining template, can be consistent by the process of message template with step S102.Also, due to template library
In template be generated according to actual short message, if therefore the format of short message that is handled in step S102, and generate some mould
The text formatting or textual form of the short message of plate are identical, then after templating the result is that identical.
In this application, server can will be in treated short message (that is, short message after templating) and the template library
Calligraphy or painting model is matched, and determine with should treated the matched template of short message.
S106: according to the type of the corresponding flow value of placeholder each in the matched template of configuration and described short
Flow value in letter determines the corresponding parsing result of flow information that the short message carries.
It, can be according to each in the template after server determines matched template in some embodiments of the application
The flow value replaced in the type and the short message of the corresponding flow value of placeholder with placeholder, determines parsing result.
Specifically, server can according to step S102 execute replacement operation when, the fallback relationship of flow value and placeholder,
And in matched template the corresponding flow value of each placeholder type, determine the type of each flow value in the short message.It
Afterwards, for each type, the sum of corresponding flow value of the type is determined.Finally by the sum of all types of corresponding flow values,
As parsing result.
In addition, the flow Value Types for needing to parse are the flow values of universal class, therefore in some embodiments of the application
Server can only determine type are as follows: general total amount, general usage amount, the corresponding flow of these three types of general surplus
The sum of value.
For example, it is assumed that the corresponding relationship of the type of placeholder and flow value is table 2 in matched template, replaces and close in short message
System is table 3.
Placeholder | The type of flow value |
1 | General usage amount |
2 | Idle usage amount |
3 | General surplus |
4 | Y applies exclusive usage amount |
5 | Y applies exclusive surplus |
6 | Idle surplus |
7 | General total amount |
8 | Set meal Z usage amount |
9 | Set meal Z surplus |
Table 2
Placeholder | Flow value |
1 | 10GB |
2 | 500MB |
3 | 20GB |
4 | 1GB |
5 | 1GB |
6 | 0MB |
7 | 30GB |
8 | 2.5GB |
9 | 0.5GB |
Table 3
Then server can determine general usage amount in the type of flow value according to the corresponding relationship recorded in above-mentioned two table
For 10GB, general surplus is 20GB in the type of flow value, and general total amount is 30GB in the type of flow value, is tied as parsing
Fruit.
Based on the process of the parsing of information described in Fig. 1, server can be obtained by client and carry the short of flow information
Letter, later further according to the Substitution Rules of preset regular expression and placeholder, by the message template, and and template library
In each template matched, to determine the short message according to the type of the corresponding flow value of placeholder each in preset template
The type of the middle flow value replaced by placeholder, so that it is determined that parsing result.Since template is to pass through: by message template and
Placeholder is set and corresponds to what the type of flow value generated, therefore when parse short message, it is only necessary to repeat Templated process, and true
Fixed matched template, can determine parsing result, avoid the prior art and need the drawbacks of operating, improve parsing flow information
Efficiency.
In addition, in some embodiments of the application, when server determines not template matched with treated short message,
It can determine parsing failure.Later, server can further determine that this treated the corresponding flow value of each placeholder in short message
Type, that is, template is generated according to treated short message, and newly-generated template is added in the template library.Wherein,
Specifically this can be determined treated the type of the corresponding flow value of each placeholder in short message, alternatively, by server by staff
According to preset keywords database, the corresponding keyword of each placeholder is determined, further according to pair of the type of keyword and flow value
It should be related to, determine the type of the corresponding flow value of each placeholder, generate template and be added in template library.
Further, in some embodiments of the application, in step s 102, sentence element analysis is can also be used in server
Method analyzes every words in the short message, determines constituent of each word in sentence, and according to the corresponding knot of word
It constitutes and divides, delete the word (that is, word character or character string for being not used in description flow information) for being not used in description flow information.
Certainly, the sentence element analysis method of the prior art have been relatively mature, therefore the application does not repeat them here this.
Further, in some embodiments of the application, server can also first determine that needs parse in step S106
At least one type, then server can determine for each type for needing to parse and correspond to the needs solution in the matched template
Each placeholder of the type of analysis determines corresponding needs parsing later further according to the fallback relationship of each flow value and each placeholder
The sum of the corresponding flow value of placeholder of type, as parsing result.
For example, it is desired to the type of parsing be it is general, then server can determine the corresponding class of each placeholder in matched template
Type is general placeholder, the later replacement of the label further according to the placeholder determined and each flow value and each placeholder
Relationship determines parsing result.Assuming that certain template is " domestic universal flow { 1 }.Domestic universal flow is remaining { 2 }, local idle stream
Measure remaining { 3 } ", wherein placeholder { 1 }, { 2 } corresponding types are general, and placeholder { 3 } corresponding types are idle, thus according to needing
The type to be parsed determines that placeholder { 1 }, { 2 } need to parse, and the replacement further according to placeholder and flow value is closed later
System, determines parsing result.
In addition, in the above-mentioned some embodiments of the application, be for executing the information resolving by server into
Row explanation, but as described in the application step S100, which can also be at the mobile end for receiving the short message
End is local to carry out.It then,, should by taking the mobile terminal execution information resolving as an example in some embodiments of the present application
It can be previously stored with template library in mobile terminal, and when executing step S104, according to the template library, determine and that treated is short
Believe matched template, and continues the operation of subsequent step.Certainly, due to the process of mobile terminal execution subsequent step and aforementioned step
Rapid description of the S102 into step S106 is similar, therefore the application repeats no more the mobile terminal execution information resolving,
Specifically refer to description of the step S102 into step S106.
It should be noted that the executing subject of each step of this specification embodiment institute providing method may each be same and set
It is standby, alternatively, this method is also by distinct device as executing subject.For example, the executing subject of step S100 and step S102 can be with
For equipment 1, the executing subject of step S102 can be equipment 2;Alternatively, the executing subject of step S100 can be equipment 1, step
The executing subject of S102 and step S104 can be equipment 2;Etc..It is above-mentioned that this specification specific embodiment is described.
Other embodiments are within the scope of the appended claims.In some cases, the movement or step recorded in detail in the claims
Suddenly it can be executed according to the sequence being different from embodiment and desired result still may be implemented.In addition, in the accompanying drawings
The process of description not necessarily requires the particular order shown or consecutive order and is just able to achieve desired result.In certain embodiment party
In formula, multitasking and parallel processing are also possible or may be advantageous.
Based on same thinking, the embodiment of the present application also provides corresponding equipment and non-volatile computer storage to be situated between
Matter, equipment and device.
Fig. 2 is a kind of structural schematic diagram of equipment for information parsing provided by the embodiments of the present application corresponding to Fig. 1,
Include:
One or more processors;And
It is stored with the memory of computer-readable instruction, the computer-readable instruction makes the processor when executed
Execute the process of information parsing shown in FIG. 1.
Fig. 3 is a kind of structural schematic diagram of device for information parsing provided by the embodiments of the present application corresponding to Fig. 1,
Described device includes:
Module 200 is obtained, the short message for carrying flow information is obtained;
Templating module 202 deletes the character that description flow information is not used in the short message, and will be in the short message
Flow value replace with placeholder;
Matching module 204 matches treated short message with the template in template library, it is determining with described treated
The matched template of short message;
Parsing result determining module 206, according to the corresponding flow value of placeholder each in the matched template of configuration
Flow value in type and the short message determines the corresponding parsing result of flow information that the short message carries.
The acquisition module 200 obtains the short message for the carrying flow information that the client receives from client.
The templating module 204, according to preset regular expression, delete in the short message with the regular expression
Matched character, wherein the regular expression is for matching the character and character string that are not used in description flow information.
The templating module 204, according to sequencing and preset placeholder of each flow value in the short message
Tag sort, each flow value is successively replaced with to the placeholder of not isolabeling, each flow value is stored in the short message and respectively accounts for
The fallback relationship of position symbol.
For each template in the template library, the label of each placeholder in the template is accounted for according in the template
The tag sort configuration of the sequencing and the preset placeholder of position symbol label, and each placeholder in the template point
Preset type is not corresponded to.
The parsing result determining module 206 respectively corresponds preset class according to each placeholder in the matched template
The fallback relationship of each flow value and each placeholder, determines the type of each flow value in the short message in type and the short message,
For each type, the sum of corresponding flow value of the type is determined, by all types of the sum of flow values, as the flow information
Corresponding parsing result.
The parsing result determining module 206 determines at least one type for needing to parse, and parses for each needs
Type determines the placeholder that the type of needs parsing is corresponded in the matched template, according to flow value each in the short message
With the fallback relationship of each placeholder, the sum of the corresponding flow value of placeholder of type of corresponding needs parsing is determined, as solution
Analyse result.
Described device further include:
Template renewal module 208, when there is no template matched with treated the short message, after determining the processing
Short message in the corresponding discharge pattern of each placeholder, generate new template, and be added in the template library.
Specifically, the device of information parsing can be located in mobile terminal or be located in server, wherein mobile terminal
It can be the equipment such as mobile phone, tablet computer, which can be an individual equipment or be also possible to by multiple devices
The system of composition, the application do not limit this, and can be set as needed.
Various embodiments are described in a progressive manner in the application, same and similar part between each embodiment
It may refer to each other, each embodiment focuses on the differences from other embodiments.Especially for equipment and Jie
For matter embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality
Apply the part explanation of example.
Device, equipment and medium provided by the embodiments of the present application and method be it is one-to-one, therefore, device, equipment and
The advantageous effects that medium also has corresponding method similar, due to above to the advantageous effects of method into
Go detailed description, therefore, the advantageous effects of which is not described herein again device, equipment and medium.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (10)
1. a kind of method of information parsing characterized by comprising
Obtain the short message for carrying flow information;
The character for being not used in description flow information in the short message is deleted, and the flow value in the short message is replaced with into occupy-place
Symbol;
Treated short message is matched with the template in template library, it is determining with treated the matched template of short message;
According to the flow in the type and the short message of the corresponding flow value of placeholder each in the matched template of configuration
Value determines the corresponding parsing result of flow information that the short message carries.
2. the method as described in claim 1, which is characterized in that obtain the short message for carrying flow information, specifically include:
Server obtains the short message for the carrying flow information that the client receives from client.
3. the method as described in claim 1, which is characterized in that delete the word for being not used in description flow information in the short message
Symbol, specifically includes:
According to preset regular expression, the character in the short message with the regular expression matching is deleted;
Wherein, the regular expression is for matching the character and character string that are not used in description flow information.
4. the method as described in claim 1, which is characterized in that the flow value in the short message is replaced with placeholder, specifically
Include:
According to the tag sort of sequencing and preset placeholder of each flow value in the short message, successively by each flow
Value replaces with the placeholder of not isolabeling;
Store the fallback relationship of each flow value and each placeholder in the short message.
5. method as claimed in claim 4, which is characterized in that for each template in the template library, in the template
The label of the label of each placeholder, the sequencing and the preset placeholder that are marked according to placeholder in the template is arranged
Sequence configuration;And
Each placeholder in the template respectively corresponds preset type.
6. method as claimed in claim 5, which is characterized in that corresponding according to placeholder each in the matched template of configuration
Flow value type and the flow value in the short message, determine that the corresponding parsing of flow information that the short message carries is tied
Fruit specifically includes:
Each flow value and each is respectively corresponded in preset type and the short message according to each placeholder in the matched template
The fallback relationship of placeholder determines the type of each flow value in the short message;
For each type, the sum of corresponding flow value of the type is determined;
By all types of the sum of flow values, as the corresponding parsing result of the flow information.
7. method as claimed in claim 5, which is characterized in that corresponding according to placeholder each in the matched template of configuration
Flow value type and the flow value in the short message, determine that the corresponding parsing of flow information that the short message carries is tied
Fruit specifically includes:
Determine at least one type for needing to parse;
For each type for needing to parse, the placeholder that the type of needs parsing is corresponded in the matched template is determined;
According to the fallback relationship of flow value and each placeholder each in the short message, the occupy-place of the type of corresponding needs parsing is determined
The sum of corresponding flow value is accorded with, as parsing result.
8. the method as described in claim 1, which is characterized in that the method also includes:
When there is no template matched with treated the short message, determine that each placeholder is corresponding in treated the short message
Discharge pattern, generate new template, and be added in the template library.
9. a kind of computer-readable medium, is stored thereon with computer-readable instruction, the computer-readable instruction can be processed
Device is executed to realize such as method described in any item of the claim 1 to 8.
10. a kind of equipment for information parsing, wherein the equipment includes:
One or more processors;And
It is stored with the memory of computer-readable instruction, the computer-readable instruction when executed executes the processor
Such as the operation of any one of claims 1 to 8 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810547226.1A CN109068286B (en) | 2018-05-31 | 2018-05-31 | Information analysis method, medium and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810547226.1A CN109068286B (en) | 2018-05-31 | 2018-05-31 | Information analysis method, medium and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109068286A true CN109068286A (en) | 2018-12-21 |
CN109068286B CN109068286B (en) | 2021-08-13 |
Family
ID=64819836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810547226.1A Active CN109068286B (en) | 2018-05-31 | 2018-05-31 | Information analysis method, medium and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109068286B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267222A (en) * | 2019-05-24 | 2019-09-20 | 深圳壹账通智能科技有限公司 | The methods of exhibiting and device of short message bill |
CN111356097A (en) * | 2020-05-24 | 2020-06-30 | 深圳市卡牛科技有限公司 | Short message analysis method and device and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752398A (en) * | 2012-07-18 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Method and system for resolving flow value, terminal and server |
CN103079178A (en) * | 2012-12-27 | 2013-05-01 | 北京思特奇信息技术股份有限公司 | Short message management method and system for NGCRM (next-generation customer relationship management) system |
CN104853334A (en) * | 2015-05-25 | 2015-08-19 | 小米科技有限责任公司 | Method and device for analyzing short message |
CN105608553A (en) * | 2014-11-18 | 2016-05-25 | 远光软件股份有限公司 | Short message report submission urging method and short message report submission urging system |
CN105916127A (en) * | 2016-06-27 | 2016-08-31 | 北京奇虎科技有限公司 | Method, device and server for obtaining user traffic information |
CN107493370A (en) * | 2016-06-12 | 2017-12-19 | 阿里巴巴集团控股有限公司 | Traffic Profile determines method, flow information recognition methods and device |
-
2018
- 2018-05-31 CN CN201810547226.1A patent/CN109068286B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752398A (en) * | 2012-07-18 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Method and system for resolving flow value, terminal and server |
CN103079178A (en) * | 2012-12-27 | 2013-05-01 | 北京思特奇信息技术股份有限公司 | Short message management method and system for NGCRM (next-generation customer relationship management) system |
CN105608553A (en) * | 2014-11-18 | 2016-05-25 | 远光软件股份有限公司 | Short message report submission urging method and short message report submission urging system |
CN104853334A (en) * | 2015-05-25 | 2015-08-19 | 小米科技有限责任公司 | Method and device for analyzing short message |
CN107493370A (en) * | 2016-06-12 | 2017-12-19 | 阿里巴巴集团控股有限公司 | Traffic Profile determines method, flow information recognition methods and device |
CN105916127A (en) * | 2016-06-27 | 2016-08-31 | 北京奇虎科技有限公司 | Method, device and server for obtaining user traffic information |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267222A (en) * | 2019-05-24 | 2019-09-20 | 深圳壹账通智能科技有限公司 | The methods of exhibiting and device of short message bill |
CN111356097A (en) * | 2020-05-24 | 2020-06-30 | 深圳市卡牛科技有限公司 | Short message analysis method and device and readable storage medium |
CN111356097B (en) * | 2020-05-24 | 2020-09-04 | 深圳市卡牛科技有限公司 | Short message analysis method and device and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109068286B (en) | 2021-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10956684B2 (en) | Topic kernelization for real-time conversation data | |
CN108804567A (en) | Improve method, equipment, storage medium and the device of intelligent customer service response rate | |
CN104601736A (en) | Method and device for realizing short uniform resource locator (URL) service | |
CN109871311B (en) | Method and device for recommending test cases | |
US11019019B2 (en) | Dynamic hashtag ordering based on projected interest | |
WO2016101811A1 (en) | Information arrangement method and apparatus | |
US9396448B2 (en) | Distributed and open schema interactions management system and method | |
US10936753B2 (en) | Securely transferring data over a computer network | |
CN108363684A (en) | List creation method, device and server | |
CN110377268A (en) | Serial number generation method, device and storage medium | |
CN107480205A (en) | A kind of method and apparatus for carrying out data partition | |
CN107707404A (en) | The online demographic method in website, device and Website server | |
CN109586950A (en) | Network scenarios recognition methods, network management device, system and storage medium | |
CN104468330A (en) | Data processing method and device of distributed information queue | |
CN109068286A (en) | A kind of method, medium and the equipment of information parsing | |
CN109597678A (en) | Task processing method and device | |
CN112882758B (en) | iOS device identifier generation method and system | |
CN115718879A (en) | Data governance method, device and storage medium | |
CN107977381B (en) | Data configuration method, index management method, related device and computing equipment | |
CN115328457A (en) | Method and device for realizing form page based on parameter configuration | |
CN109582476A (en) | Data processing method, apparatus and system | |
CN105653533A (en) | Method and device for updating classified associated word set | |
CN108810299A (en) | A kind of method, medium and the equipment of information parsing | |
CN108268545A (en) | A kind of method and apparatus of the establishment in the user tag library of classification | |
CN112650777A (en) | Data warehouse manufacturing method and device, terminal equipment and computer 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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210331 Address after: 200131 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd. Address before: 312599 Affiliated Building B-2, 3rd Floor, Jiayi Plaza, 127 Renmin East Road, Nanming Street, Xinchang County, Shaoxing City, Zhejiang Province Applicant before: LIANSHANG (XINCHANG) NETWORK TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |