CN109284480A - A kind of service profile processing method, device and server - Google Patents

A kind of service profile processing method, device and server Download PDF

Info

Publication number
CN109284480A
CN109284480A CN201810840526.9A CN201810840526A CN109284480A CN 109284480 A CN109284480 A CN 109284480A CN 201810840526 A CN201810840526 A CN 201810840526A CN 109284480 A CN109284480 A CN 109284480A
Authority
CN
China
Prior art keywords
block
sub
semantic
mark
business
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
Application number
CN201810840526.9A
Other languages
Chinese (zh)
Other versions
CN109284480B (en
Inventor
吴大龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810840526.9A priority Critical patent/CN109284480B/en
Publication of CN109284480A publication Critical patent/CN109284480A/en
Application granted granted Critical
Publication of CN109284480B publication Critical patent/CN109284480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/258Heading extraction; Automatic titling; Numbering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Subject description discloses a kind of service profile processing method, device and servers, comprising: the first kind in identification business semantics block separates mark, and the first kind separates mark and business semantics block is divided into multiple semantic sub-blocks;Separated based on the first kind and identified, program behavior sub-block is identified from multiple semantic sub-blocks, with the corresponding operation object sub-block of program behavior sub-block.

Description

A kind of service profile processing method, device and server
Technical field
This specification is related to computer field more particularly to a kind of service profile processing method, device and server.
Background technique
Many scenes require professional knowledge, expertise etc. forming professional knowledge document storing.It needs afterwards When handling identical business, go to execute according to the fixing step in professional knowledge document.With the development of artificial intelligence, it is desirable to Fixing step of the computer it will be appreciated that professional knowledge document, in automated execution professional knowledge document.In order to allow computer capacity Professional knowledge is enough understood, currently, professional knowledge document is converted to machine step by programmer or by expert's learning program Script description.And in artificial intelligence field, the semanteme of professional knowledge document is understood by pure algorithm.
Summary of the invention
This specification embodiment is by providing a kind of service profile processing method, device and server.
In a first aspect, this specification embodiment provides a kind of service profile processing method, comprising:
Identify that the first kind in business semantics block separates mark, the first kind separates mark for the business semantics Block is divided into multiple semantic sub-blocks, and the business semantics block belongs to the service profile;
Separated based on the first kind and identified, identifies program behavior sub-block and institute from the multiple semantic sub-block State the corresponding operation object sub-block of program behavior sub-block.
Second aspect, this specification embodiment provide a kind of service profile processing unit, comprising:
Recognition unit is identified, the first kind in business semantics block separates mark for identification, and the first kind separates The business semantics block is divided into multiple semantic sub-blocks by mark, and the business semantics block belongs to the service profile;
Semantics recognition unit is identified from the multiple semantic sub-block for separating mark based on the first kind Program behavior sub-block and the corresponding operation object sub-block of described program movement sub-block.
The third aspect, this specification embodiment provide a kind of server, including memory, processor and are stored in memory Computer program that is upper and can running on a processor, the processor realize any one of first aspect when executing described program The step of the method.
The one or more technical solutions provided in this specification embodiment, have at least the following technical effects or advantages:
Service profile processing method, device and the server that this specification embodiment provides, the first kind separate mark point It is multiple semantic sub-blocks every business semantics block, separates to identify based on the first kind and identify program behavior from multiple semantic sub-blocks Sub-block and the corresponding operation object sub-block of program behavior sub-block.Therefore, separate mark by the first kind to enable the machine to know Which is partially the program behavior needed to be implemented in various-service document, which is partially to execute the corresponding operation pair of program behavior As so as to allow machine accurate understanding service profile, to execute the step in service profile automatically, more accurately, efficiently.
Detailed description of the invention
It, below will be to required in embodiment description in order to illustrate more clearly of the technical solution in this specification embodiment The attached drawing used is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of this specification, right For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is the schematic diagram of a scenario for implementing service profile processing method in this specification;
Fig. 2 is the flow chart for the service profile processing method that first aspect provides in this specification embodiment;
Fig. 3 is the specific embodiment schematic diagram of service profile processing method in first aspect in this specification embodiment;
Fig. 4 is the structural schematic diagram for the identification code distributor that second aspect provides in this specification embodiment;
Fig. 5 is the structural schematic diagram for the server that the third aspect provides in this specification embodiment.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
Referring to Figure 1, Fig. 1 is the schematic diagram of a scenario for implementing service profile processing method in this specification: local device 100, service profile processing system 101 is provided in local device 100, is understood for automating and is executed the step in service profile Suddenly.
Under some implement scenes, the needs of local device 100 are communicated with more than one opposite equip. 200.Opposite equip. Transaction processing system 201 on 200 be used to execute local device 100 service request caused by the step in service profile into Row response, and to 100 feedback response result of local device.Specifically, opposite equip. 200 is specifically as follows another server, use In the service of offer.For example, opposite equip. 200 can be with are as follows: search server, for executing service profile mistake to local device 100 The search association requests initiated in journey are responded.Opposite equip. 200 can be data inputting platform, for local device The logging data request initiated during 100 execution service profiles is responded, and the data inputting in data inputting platform is completed. It should be noted that the concrete type of opposite equip. 200 is different according to the particular content of service profile and different, this explanation Book embodiment different one illustrates the type of opposite equip. 200.
Certainly, there is also the scenes that local device 100 does not need to communicate with opposite equip. 200, are handled based on service profile System 101 understands and the step in automated execution service profile, completes to be directed to local device 100 itself or local device The inspection of storage content on 100.For example, completing the analytic process to a failure on local device 100;For example, completing to this The detection of the contents of program stored in end equipment 100.
Many scenes require to save professional knowledge, expertise etc. in a manner of document, form service profile. When needing to handle identical services afterwards, go to execute according to the step in service profile.With the development of artificial intelligence, it is desirable to count Calculation machine is it will be appreciated that service profile, according to step automated execution in service profile.For example, being executed automatically based on service profile: The online check item of one project, analytic process of failure etc..Separate mark by the first kind in service profile, makes Machine can which be partially the program behavior needed to be implemented in accurate understanding service profile, which is partially that program behavior is corresponding Operation object, so as to allow machine accurate understanding service profile, and more efficient, accurate automated execution business text Step in shelves.
In a first aspect, this specification embodiment provides a kind of service profile processing method, it is applied to local device 100. Refering to what is shown in Fig. 2, the service profile processing method includes the following steps S202-S204:
S202: the first kind in identification business semantics block separates mark, and the first kind separates mark for business semantics block It is divided into multiple semantic sub-blocks.
Business semantics block belongs to service profile, and the language of service profile can be Chinese, users' readable language shape such as English At document.Service profile is made of more than one business tine item, and business tine item is by more than one semantic sub-block structure At.
In this specification embodiment, business semantics block is determined from service profile.In an optional embodiment, Business semantics block is obtained from service profile as follows:
Step 02: reading service profile, service profile is based on preset format mark and is divided into N number of business tine item, and N is big In or equal to 1 integer.
In this specification embodiment, N number of business tine item, which can have, executes sequence, is also possible to sequence in no particular order Independently execute.
In an optional embodiment, preset format mark, which can be, numbers the item of business tine item, in N number of business Holding item respectively has item number.This specification embodiment does not limit the form of item number, and in the specific implementation process, item number can Think digital number, alpha code or combination number.For example, service profile can be following pattern, but be not limited to Following pattern:
" XX automatic flow
1, business tine item A
2, business tine item B
3, business tine item C "
In another optional embodiment, preset format mark can be the paragraph mark for business tine item, from And N number of each self-contained paragraph of business tine item.For example, paragraph mark may is that k character of retraction.For example, two words are retracted One symbol, retraction character etc..
Step 04: the N number of business tine item for determining service profile is identified based on preset format.
In step 04, it can be and identify current preset format mark and next preset format mark, it will be current pre- If the content between format identification (FID) and next preset format mark is determined as business tine item.If identification is less than next preset format Mark, the then content after identifying current preset format are determined as business tine item.To determine the N of service profile A business tine item.
Step 06: mark being separated based on Second Type, more than one business semantics block is identified from N number of business tine item.
In this specification embodiment, it is different from first kind separation mark that Second Type separates mark.Business tine item In have there is no Second Type separate mark, also have there are one or more Second Type separate mark.
In the specific implementation process, it includes first part and second part, first part and that Second Type, which separates mark, Can there is no sequencing between two parts.The first part that Second Type separates mark belongs to the semantic punctuate in service profile Symbol, the second part that Second Type separates mark is the first specific list separator different from semantic punctuation mark.For example, It is adjacent after semantic punctuation mark to have the first specific list separator, then separate mark for the Second Type in business tine item.
Illustrate in embodiment at this, is with the separation of semantic punctuation mark between the adjacent service semantic chunk in business tine item 's.Semantic punctuation mark is specially Chinese punctuation mark, such as: fullstop ".", comma, ", exclamation mark "!", branch ";", colon The Chinese such as ": " punctuate symbol.
In an optional embodiment, following steps are executed respectively to N number of business tine item by the way that process is implemented as follows, Business semantics block is identified respectively from each business tine item:
It analyzes in business tine item and separates mark with the presence or absence of Second Type;If it does, business tine item is identified as Separate multiple business semantics blocks that mark separates based on Second Type;Otherwise, it determines business tine item includes single business language Adopted block.Specifically, including with P-1 by business tine item if there are P-1 Second Types to separate mark in business tine item A Second Type separates the P business semantics block that mark separates, and P is the integer greater than 1.
For example, business tine item is " to input the patent title that △ △ needs to apply on site search column, △ △ is clicked Button search ".Wherein, it is same for " the patent title for needing △ △ application being inputted on site search column " with " clicking button search " Adjacent business semantics block in business tine item, be with comma, " add and comma, " adjacent the first specific list separator " △ △ " separates the adjacent business semantics block that mark separates as Second Type.
In the specific implementation process, it whether analyzes in business tine item in semantic punctuation mark;If in business tine item There are semantic punctuation marks, then the first specific list separator adjacent with the semanteme punctuation mark are judged whether there is, if deposited In the first specific list separator adjacent with the semanteme punctuation mark, it is determined that the semanteme punctuation mark and adjacent first specific List separator structure constitutes Second Type and separates mark, it may be assumed that separates in analysis business tine item there are Second Type and identifies.
By step 02~step 06 as above, business tine item can be accurately identified from service profile, and in this base Business semantics block is accurately identified on plinth from business content item, improves the accuracy that machine understands service profile.
Further, this specification embodiment also provides and process is implemented as follows: if there are the second classes in business tine item Type separates mark, when executing the business tine item, abandons special with first in the Second Type separation mark of the business tine item Determine the adjacent semantic punctuation mark of separator, reads and understand so that business tine item does not influence user, while allowing machine algorithm again The energy accurate understanding business tine item.
Specifically, the first specific list separator can be (), { }, etc., one in this specification embodiment is optional In embodiment, the first specific list separator is more than two continuous space symbols.To not influence user completely to business The reading of document understands.For example, the first specific list separator can be two continuous space characters after semantic punctuation mark Number, it can either be differentiated with independent space symbol, play compartmentation, and avoided to greatest extent and business text is read to user The influence of shelves.
S204: separating mark based on the first kind, identifies program behavior sub-block and program from multiple semantic sub-blocks Act the corresponding operation object sub-block of sub-block.
In this specification embodiment, the first kind separates mark specifically: with the semantic punctuation mark in service profile The specific separator of different second.Second specific separator can be (), { }, etc., it is optional real in this specification one It applies in mode, the first specific list separator is more than two continuous space symbols, to not influence user to service profile It reads and understands.
Specifically, the first specific separator and the second specific separator can be identical symbol, for example, being all continuous Two or more space symbol.
In this specification embodiment, program behavior sub-block is specifically used for: operation object is inputted in target dialogue frame, And/or for carrying out touch control operation to operation object.Operation object is network linking corresponding with program behavior sub-block or void Quasi- operating area.Specifically, program behavior sub-block can be program behavior that network linking is inputted in target dialogue frame Block, target dialogue frame are input frame or browser address input box in website.Program behavior sub-block can be to pseudo operation Region carries out the program behavior sub-block of touch control operation, and pseudo operation region can be with are as follows: virtual push button.
In the specific implementation process, it can separate there is no the first kind in business semantics block and identify, there may also be one A or multiple first kind separate mark.
For example, there is no the first kind to separate mark in business semantics block, can be for business semantics block program behavior The case where not needing corresponding operation object, such as " opening browser " are the program behavior sub-block of no respective operations object, Also there is no need to separate mark in the business semantics block setting first kind.If first kind separation sign is not present in business semantics block Know, directly understand and execute the business semantics block, without executing step S202~S204.
For there are one or more first kind to separate the case where identifying in business semantics block, based on the first kind point Every mark, program behavior sub-block and the corresponding operation object sub-block of program behavior sub-block are identified from multiple semantic sub-blocks, Include:
Separate mark based on the first kind in business semantics block, M semantic sub-block identified from business semantic chunk, In, business semantics block is based on M-1 first kind separation mark and is divided into M semantic sub-block, and M is the integer greater than 1;By M Semantic sub-block in semantic sub-block in the first predeterminated position is determined as program behavior semanteme sub-block;It will be in M semantic sub-block It is determined as the corresponding operation object of program behavior semanteme sub-block, the second predeterminated position and in the semantic sub-block of the second predeterminated position One predeterminated position is different.
Specifically, the first predeterminated position is the side that the first kind separates mark, the second predeterminated position is then the first kind Separate the other side of mark.In the specific implementation process, in business semantics block can with program behavior sub-block it is corresponding one or The multiple operation objects of person.It can also be with the corresponding operation object of multiple program behavior sub-blocks.
In an optional embodiment, program behavior sub-block and operation object are corresponded, then the implementation of step S204 Process is specific as follows:
Separate mark based on the first kind in business semantics block, identification is from business semantic chunk with first kind separation sign Know the semantic sub-block of two separated;The semantic sub-block of the first side of first kind separation mark will be located in two semantic sub-blocks, It is identified as program behavior sub-block;Two semantic sub-blocks are located at the semantic sub-block that the first kind separates mark second side, are identified as The corresponding operation object of program behavior sub-block.
Specifically, the first kind separates the adjacent position before the first side of mark is first kind separation mark;It is corresponding, Second Type, which separates mark second side, to be the adjacent position after first kind separation mark.Then: the first kind will be located at Semantic sub-block before separating mark is identified as program behavior sub-block, will be located at the semantic sub-block after the first kind separates mark It is identified as the corresponding operation object of program behavior sub-block.
For example, business semantics block " inputting △ △ http://www2.soopat.com in browser address bar ", is based on two A continuous space symbol is divided into semantic sub-block: " inputting in browser address bar " and " http://www2.soopat.com ". Wherein, it " is inputted in browser address bar " and is identified as program behavior sub-block, " http://www2.soopat.com " is identified as this The object that program behavior sub-block is inputted in browser address bar.
For example, business semantics block " clicking button △ △ search ", is divided into semantic sub-block based on two continuous space symbols: " clicking button " and " search ".Wherein, it " clicks button " and is identified as program behavior sub-block, " search " is identified as program behavior " point Hit button " corresponding pseudo operation region.
Further, after identifying program behavior sub-block and the corresponding operation object sub-block of program behavior sub-block, It further include the automatic implementation process for executing business semantics block, below for different scenes to the automatic mistake for executing business semantics block Journey is explained:
If executing business semantics block is to be applied to scene relevant to opposite equip., implementation process is as follows: to operation Operation object in object sub-block executes the program behavior that program behavior sub-block is characterized, and generates the business for being sent to opposite equip. Request;Opposite equip. is obtained to the response results of service request.If obtaining opposite equip. pair there is also next business semantics block After the response results of service request, next business semantics block is executed automatically;It is recycled with this, until service profile terminates.
If executing business semantics block is the scene unrelated with opposite equip., implementation process is as follows: to operation object sub-block In operation object execute the program behavior that is characterized of program behavior sub-block, completion sets local device itself or local terminal electronics The inspection of standby upper storage content acts, and obtains inspection result;Understand and execute next business semantics block automatically, obtains follow-on check As a result;It is recycled with this, until service profile terminates.
It should be noted that may be also comprising not meeting the corresponding operation object sub-block of program behavior sub-block in service profile Business semantics block, therefore, in order to which further accurate and to execute business semantics block can also include that process is implemented as follows:
It identifies in multiple semantic sub-blocks of business semantics block with the presence or absence of judgement prompt sub-block;If there is judgement prompt The adjacent semantic sub-block of judgement prompt sub-block is determined as judging result sub-block by block;Sub-block is prompted if there is no judgement, is executed Step S202: mark is separated based on the first kind and identifies program behavior sub-block and program behavior from multiple semantic sub-blocks The corresponding operation object sub-block of block.
In an optional embodiment, can determine whether it is judgement prompt sub-block based on semantics recognition:
The text in semantic sub-block and default set that will identify that compares, if the semanteme sub-block and default set Chinese Word is identical, then is judgement prompt sub-block by the semanteme sub-block.For example, " if ", " if ", " if " etc. semantic sub-block can be true It is set to judgement prompt sub-block.
After the adjacent semantic sub-block of judgement prompt sub-block is determined as judging result sub-block, further includes: will be with judgement As a result an adjacent semantic sub-block is determined as the corresponding business execution sub-block of judging result sub-block under sub-block;To specific content When judging result meets the condition of judging result sub-block characterization, the business that executes executes the corresponding business tine of sub-block.
Specifically, may is that the judging result of specific content from response results for opposite equip. or right In the inspection result of local device.
Specifically, judging result sub-block is sub-block adjacent after judging prompt sub-block, and it is judgement that business, which executes sub-block, As a result sub-block adjacent after sub-block.For example, " if △ △ search result is equal to zero, △ △ and submits specially to patent platform Benefit application " judge to prompt sub-block be " if ", it is adjacent thereto for judging result sub-block " search result be equal to zero ", and judge knot Fruit block is adjacent to execute sub-block " submitting patent application to patent platform " for business.If " search result is equal to zero ", held Row submits the business tine of patent application to patent platform.
In the following, providing the technical solution provided based on this specification embodiment in conjunction with Fig. 3 and realizing patent automation application Process:
Firstly, service profile is as follows:
" patent automates application process
1, browser is opened
2, △ △ http://www2.soopat.com is inputted in browser address bar
3, the patent title that input △ △ needs to apply on site search column, △ △ click button △ △ SooPAT search
If 4, △ △ search result is equal to zero, △ △ to patent platform submission patent application
Patenting process is submitted to patent platform
41, browser is opened
42, △ △ http://sie is inputted in browser address bar? hdq=AQxRG-0000&query
43, start typing patent "
User submits the patent application of patent entitled " patent title ", the service profile processing of triggering local device 100 System 101 reads " patent automation application process " service profile, identifies business tine item 1: " opening browser " holds automatically Row opens the program behavior of browser.
Then, service profile processing system 101 identifies business tine item 2: " inputting △ △ in browser address bar Http:// www2.soopat.com " " will input " recognizer movement in browser address bar, " http: // Www2.soopat.com " is identified as the corresponding network linking for needing to input of program behavior " inputting in browser address bar ", Search server 210 receives the entrance web site requests for carrying " http://www2.soopat.com ", to local device 100 Feedback network links " http://www2.soopat.com " corresponding Website page.
Followed by service profile processing system 101 identifies business tine item 3: " inputting △ △ needs on site search column The patent title of application, △ △ click button △ △ SooPAT search ", " it will apply in site search column input △ △ needs Patent title " is identified as business semantics block, and " clicking button △ △ SooPAT search " is identified as business semantics block.Then, incite somebody to action " " inputting on site search column " in the patent title that input △ △ needs in site search column are applied " is identified as program behavior, " needs The patent title to be applied " is identified as the corresponding operation object of program behavior " inputting on site search column ", " clicks button △ " clicking button " in △ SooPAT search " is identified as program behavior, and " SooPAT search " is identified as clicking button program behavior Corresponding pseudo operation region.So that search server 210 receives searching for patent title " xxxx " for carrying application in need Rope is requested, and searches for the patent application that patent title includes " xxxx " based on search engine 211 to patent website 300, and to originally 100 feedback search result of end equipment.
Followed by service profile processing system 101 identifies business tine item 4: " if △ △ search result is equal to zero, △ △ submits patent application to patent platform ".Recognize judgement prompt sub-block " if ", determine search server 210 feed back search Whether hitch fruit meets " search result is equal to zero ", if being equal to zero, executes the program behavior that the business recognized executes sub-block: " submitting patent application to patent platform ".
Followed by, jump to " to patent platform submit patenting process ", service profile processing system 101 identify business Content item 41: " opening browser ", and execute the program behavior for opening browser.
Followed by service profile processing system 101 identifies business tine item 42: " inputting △ △ in browser address bar Http:// sie? hdq=AQxRG-0000&query ", patent platform 220 is received into web site requests, to local device 100 Feedback network be linked as " http://sie? hdq=AQxRG-0000&query " Website page.
Finally, service profile processing system 101 identifies business tine item 43: " starting typing patent " is based on patent platform In 221 typing user of patent submission system submit patent entitled " patent title " patent application.So far, patent is completed Automate application process.
Second aspect, this specification embodiment provides a kind of service profile processing unit, refering to what is shown in Fig. 4, including:
Recognition unit 401 is identified, the first kind in business semantics block separates mark, first kind separation sign for identification Know and business semantics block is divided into multiple semantic sub-blocks, business semantics block belongs to service profile;
Semantics recognition unit 402 identifies that program is dynamic from multiple semantic sub-blocks for separating mark based on the first kind Make sub-block and the corresponding operation object sub-block of program behavior sub-block.
In an optional embodiment, described device further include:
Execution unit, it is dynamic for executing the program that program behavior sub-block is characterized to the operation object in operation object sub-block Make, generates the service request for being sent to opposite equip.;
As a result acquiring unit, for obtaining opposite equip. to the response results of service request.
In an optional embodiment, described device further include:
Prompt judges recognition unit, for identification with the presence or absence of judgement prompt sub-block in multiple semantic sub-blocks;
Sub-block determination unit is judged, if judgement is prompted sub-block for prompting the recognition result of recognition unit to exist Adjacent semantic sub-block is determined as judging result sub-block;If prompting the recognition result of recognition unit is that there is no execution is based on The first kind separates mark and identifies program behavior sub-block and the corresponding operation of program behavior sub-block from multiple semantic sub-blocks The step of object sub-block.
In an optional embodiment, described device further include:
Sub-block determination unit is executed, for the semantic sub-block adjacent under judging result sub-block one to be determined as judging result The corresponding business of sub-block executes sub-block;
Business execution unit is held when meeting the condition of judging result sub-block characterization for the judging result to specific content Industry business executes the corresponding business tine of sub-block.
In an optional embodiment, semantics recognition unit 402 is specifically used for:
Separate mark based on the first kind in business semantics block, M semantic sub-block, industry are identified from business semantic chunk Business semantic chunk is based on M-1 first kind separation mark and is divided into M semantic sub-block, and M is the integer greater than 1;
Semantic sub-block in the first predeterminated position in M semantic sub-block is determined as program behavior semanteme sub-block;
It is corresponding that semantic sub-block in the second predeterminated position in M semantic sub-block is determined as program behavior semanteme sub-block Operation object, the second predeterminated position are different from the first predeterminated position.
In an optional embodiment, semantics recognition unit 402 is specifically used for:
Separate mark based on the first kind in business semantics block, identification is from business semantic chunk with first kind separation sign Know the semantic sub-block of two separated;
The semantic sub-block of the first side of first kind separation mark will be located in two semantic sub-blocks, is identified as program behavior Block;
Two semantic sub-blocks are located at the semantic sub-block that the first kind separates mark second side, are identified as program behavior sub-block Corresponding operation object.
In an optional embodiment, described device further include:
Reading unit, for reading service profile, wherein service profile is based on preset format mark and is divided into N number of business Content item, N are the integer more than or equal to 1;
Content item determination unit determines N number of business tine item of service profile for identifying based on preset format;
Semantic chunk recognition unit identifies more than one from N number of business tine item for separating mark based on Second Type Business semantics block.
In an optional embodiment, semantic chunk recognition unit is specifically used for executing following steps to business tine item:
It analyzes in business tine item and separates mark with the presence or absence of Second Type;
If it does, business tine item is identified as to separate multiple business semantics that mark separates based on Second Type Block;Otherwise, it determines business tine item includes single business semantics block.
In an optional embodiment, it includes: first part and second part that Second Type, which separates mark,;
Wherein, first part belongs to the semantic punctuation mark in service profile, second part be with semantic punctuation mark not The first same specific list separator.
In an optional embodiment, described device further include:
Discarding unit, is used for if it does, when executing business tine item, abandon Second Type separate identify in first The adjacent semantic punctuation mark of specific separator.
In an optional embodiment, program behavior sub-block is specifically used for:
Operation object is inputted in target dialogue frame, and/or
Touch control operation is carried out to operation object.
In an optional embodiment, the first kind separates mark, specifically: it is accorded with the semantic punctuate in service profile Number the second different specific separator.
The third aspect is based on inventive concept same as service profile processing method in previous embodiment, and this specification is also A kind of server is provided, as shown in figure 5, including memory 504, processor 502 and being stored on memory 504 and can handle The computer program run on device 502, processor 502 realize any possibility in service profile processing method above when executing program Implementation described in step.
Wherein, in Fig. 5, bus architecture (is represented) with bus 500, and bus 500 may include any number of interconnection Bus and bridge, bus 500 will include the one or more processors represented by processor 502 and what memory 504 represented deposits The various circuits of reservoir link together.Bus 500 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein Description.Bus interface 506 provides interface between bus 500 and receiver 501 and transmitter 503.Receiver 501 and transmitter 503 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place It manages device 502 and is responsible for management bus 500 and common processing, and memory 504 can be used for storage processor 502 and execute behaviour Used data when making.
Fourth aspect is based on inventive concept same as service profile processing method in previous embodiment, and this specification is also A kind of computer readable storage medium is provided, computer program is stored thereon with, is realized above when which is executed by processor Step described in any possible implementation in service profile processing method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
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 equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (25)

1. a kind of service profile processing method characterized by comprising
Identify that the first kind in business semantics block separates mark, the first kind separates mark for the business semantics block point Multiple semantic sub-blocks are divided into, the business semantics block belongs to the service profile;
Separated based on the first kind and identified, identifies program behavior sub-block and the journey from the multiple semantic sub-block Sequence acts the corresponding operation object sub-block of sub-block.
2. service profile processing method as described in claim 1, which is characterized in that described from the multiple semantic sub-block After identifying that program behavior sub-block and described program act the corresponding operation object sub-block of sub-block, further includes:
The program behavior that described program movement sub-block is characterized is executed to the operation object in the operation object sub-block, generates hair Give the service request of opposite equip.;
The opposite equip. is obtained to the response results of the service request.
3. service profile processing method as described in claim 1, which is characterized in that described from the multiple semantic sub-block Before identifying that program behavior sub-block and described program act the corresponding operation object sub-block of sub-block, further includes:
It identifies in the multiple semantic sub-block with the presence or absence of judgement prompt sub-block;
If it does, the adjacent semantic sub-block of the judgement prompt sub-block is determined as judging result sub-block;
If it does not, executing described identify based on first kind separation identifies program from the multiple semantic sub-block The step of acting sub-block and described program movement sub-block corresponding operation object sub-block.
4. the service profile processing method as claimed in claim 3, which is characterized in that prompt the judgement described The adjacent semantic sub-block of sub-block is determined as after judging result sub-block, further includes:
It is held the corresponding business of the judging result sub-block is determined as with an adjacent semantic sub-block under the judging result sub-block Row sub-block;
When meeting the condition of the judging result sub-block characterization to the judging result of specific content, executes the business and execute sub-block Corresponding business tine.
5. service profile processing method as described in claim 1, which is characterized in that described to be based on the first kind separation sign Know, program behavior sub-block and corresponding operation object of described program movement sub-block are identified from the multiple semantic sub-block Block, comprising:
Separate mark based on the first kind in the business semantics block, M semantic son is identified from the business semantics block Block, the business semantics block are based on M-1 first kind separation mark and are divided into M semantic sub-block, and M is the integer greater than 1;
Semantic sub-block in the first predeterminated position in described M semantic sub-block is determined as program behavior semanteme sub-block;
Semantic sub-block in the second predeterminated position in described M semantic sub-block is determined as described program Action Semantic sub-block pair The operation object answered, second predeterminated position are different from first predeterminated position.
6. service profile processing method as described in claim 1, which is characterized in that described to be based on the first kind separation sign Know, program behavior sub-block and corresponding operation object of described program movement sub-block are identified from the multiple semantic sub-block Block, comprising:
Separate mark based on the first kind in the business semantics block, identification is from the business semantics block with the first kind Type separates two that mark separates semantic sub-blocks;
The semantic sub-block of the first side of first kind separation mark will be located in described two semantic sub-blocks, it is dynamic to be identified as program Make sub-block;
Described two semantic sub-blocks are located at the semantic sub-block that the first kind separates mark second side, are identified as described program The corresponding operation object of sub-block is acted, second side is different from the first side.
7. such as service profile processing method of any of claims 1-6, which is characterized in that in the identification business language The first kind in adopted block separates before mark, further includes:
Read service profile, wherein the service profile is based on preset format mark and is divided into N number of business tine item, N be greater than Or the integer equal to 1;
It is identified based on the preset format, determines N number of business tine item of the service profile;
Separated based on Second Type and identified, identifies more than one business semantics block from N number of business tine item.
8. service profile processing method as claimed in claim 7, which is characterized in that it is described that mark is separated based on Second Type, From the step of identifying more than one business semantics block in N number of business tine item, comprising: executed to the business tine item Following steps:
It analyzes in the business tine item and separates mark with the presence or absence of the Second Type;
If it does, the business tine item is identified as to separate multiple industry that mark separates based on the Second Type Business semantic chunk;Otherwise, it determines the business tine item includes the single business semantics block.
9. service profile processing method as claimed in claim 8, which is characterized in that the Second Type separates mark and includes: First part and second part;
Wherein, the first part belongs to the semantic punctuation mark in service profile, and the second part is and the semantic mark The first different specific list separator of point symbol.
10. service profile processing method as claimed in claim 9, which is characterized in that in the analysis business tine item In with the presence or absence of the Second Type separate mark after, further includes:
If it does, being abandoned specific with described first in the Second Type separation mark when executing the business tine item The adjacent semantic punctuation mark of separator.
11. service profile processing method as described in claim 1, which is characterized in that described program acts sub-block, specific to use In:
The operation object is inputted in target dialogue frame, and/or
Touch control operation is carried out to the operation object.
12. service profile processing method as described in claim 1, which is characterized in that the first kind separates mark, specifically Are as follows: the second specific separator different from the semantic punctuation mark in the service profile.
13. a kind of service profile processing unit characterized by comprising
Recognition unit is identified, the first kind in business semantics block separates mark for identification, and the first kind separates mark The business semantics block is divided into multiple semantic sub-blocks, the business semantics block belongs to the service profile;
Semantics recognition unit identifies program from the multiple semantic sub-block for separating mark based on the first kind Act sub-block and the corresponding operation object sub-block of described program movement sub-block.
14. service profile processing unit as claimed in claim 13, which is characterized in that further include:
Execution unit, for executing the journey that described program movement sub-block is characterized to the operation object in the operation object sub-block Sequence movement, generates the service request for being sent to opposite equip.;
As a result acquiring unit, for obtaining the opposite equip. to the response results of the service request.
15. service profile processing unit as claimed in claim 13, which is characterized in that further include:
Prompt judges recognition unit, for identification with the presence or absence of judgement prompt sub-block in the multiple semantic sub-block;
Judge sub-block determination unit, if the recognition result for the prompt recognition unit is to exist, the judgement is prompted The adjacent semantic sub-block of sub-block is determined as judging result sub-block;If it is described prompt recognition unit recognition result be there is no, It executes described identify based on first kind separation and identifies program behavior sub-block and institute from the multiple semantic sub-block The step of stating program behavior sub-block corresponding operation object sub-block.
16. the service profile processing unit as claimed in claim 15, which is characterized in that further include:
Sub-block determination unit is executed, for the judgement will to be determined as with an adjacent semantic sub-block under the judging result sub-block As a result the corresponding business of sub-block executes sub-block;
Business execution unit is held when meeting the condition of the judging result sub-block characterization for the judging result to specific content The row business executes the corresponding business tine of sub-block.
17. service profile processing unit as claimed in claim 13, which is characterized in that the semantics recognition unit, it is specific to use In:
Separate mark based on the first kind in the business semantics block, M semantic son is identified from the business semantics block Block, the business semantics block are based on M-1 first kind separation mark and are divided into M semantic sub-block, and M is the integer greater than 1;
Semantic sub-block in the first predeterminated position in described M semantic sub-block is determined as program behavior semanteme sub-block;
Semantic sub-block in the second predeterminated position in described M semantic sub-block is determined as described program Action Semantic sub-block pair The operation object answered, second predeterminated position are different from first predeterminated position.
18. service profile processing unit as claimed in claim 13, which is characterized in that the semantics recognition unit, it is specific to use In:
Separate mark based on the first kind in the business semantics block, identification is from the business semantics block with the first kind Type separates two that mark separates semantic sub-blocks;
The semantic sub-block of the first side of first kind separation mark will be located in described two semantic sub-blocks, it is dynamic to be identified as program Make sub-block;
Described two semantic sub-blocks are located at the semantic sub-block that the first kind separates mark second side, are identified as described program Act the corresponding operation object of sub-block.
19. the service profile processing unit as described in any one of claim 13-18, which is characterized in that further include:
Reading unit, for reading service profile, wherein the service profile is based on preset format mark and is divided into N number of business Content item, N are the integer more than or equal to 1;
Content item determination unit determines N number of business tine item of the service profile for identifying based on the preset format;
Semantic chunk recognition unit identifies more than one from N number of business tine item for separating mark based on Second Type Business semantics block.
20. service profile processing unit as claimed in claim 19, which is characterized in that the semantic chunk recognition unit is specifically used In to business tine item execution following steps:
It analyzes in the business tine item and separates mark with the presence or absence of the Second Type;
If it does, the business tine item is identified as to separate multiple industry that mark separates based on the Second Type Business semantic chunk;Otherwise, it determines the business tine item includes the single business semantics block.
21. service profile processing unit as claimed in claim 20, which is characterized in that the Second Type separates mark packet It includes: first part and second part;
Wherein, the first part belongs to the semantic punctuation mark in service profile, and the second part is and the semantic mark The first different specific list separator of point symbol.
22. service profile processing unit as claimed in claim 21, which is characterized in that further include:
Discarding unit, is used for if it does, when executing the business tine item, abandon the Second Type separate in mark and The adjacent semantic punctuation mark of the first specific separator.
23. service profile processing unit as claimed in claim 13, which is characterized in that described program acts sub-block, specific to use In:
The operation object is inputted in target dialogue frame, and/or
Touch control operation is carried out to the operation object.
24. service profile processing unit as claimed in claim 13, which is characterized in that the first kind separates mark, tool Body are as follows: the second specific separator different from the semantic punctuation mark in the service profile.
25. a kind of server including memory, processor and stores the computer that can be run on a memory and on a processor The step of program, the processor realizes any one of claim 1-12 the method when executing described program.
CN201810840526.9A 2018-07-27 2018-07-27 Service document processing method, device and server Active CN109284480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810840526.9A CN109284480B (en) 2018-07-27 2018-07-27 Service document processing method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810840526.9A CN109284480B (en) 2018-07-27 2018-07-27 Service document processing method, device and server

Publications (2)

Publication Number Publication Date
CN109284480A true CN109284480A (en) 2019-01-29
CN109284480B CN109284480B (en) 2024-01-16

Family

ID=65182848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810840526.9A Active CN109284480B (en) 2018-07-27 2018-07-27 Service document processing method, device and server

Country Status (1)

Country Link
CN (1) CN109284480B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070114A (en) * 2019-04-03 2019-07-30 北京奇安信科技有限公司 Processing method, device, computer equipment and the storage medium of more specification fusions

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040194009A1 (en) * 2003-03-27 2004-09-30 Lacomb Christina Automated understanding, extraction and structured reformatting of information in electronic files
US20060088214A1 (en) * 2004-10-22 2006-04-27 Xerox Corporation System and method for identifying and labeling fields of text associated with scanned business documents
US20080104493A1 (en) * 2006-10-30 2008-05-01 Hewlett-Packard Development Company, L.P. Method of constructing a machine-readable document
US20110082868A1 (en) * 2009-10-02 2011-04-07 Aravind Musuluri System and method for block segmenting, identifying and indexing visual elements, and searching documents
US20120016805A1 (en) * 2010-07-13 2012-01-19 Sven Graupner Generating Machine-Understandable Representations of Content
US20120311426A1 (en) * 2011-05-31 2012-12-06 Oracle International Corporation Analysis of documents using rules
US20150149461A1 (en) * 2013-11-24 2015-05-28 Interstack, Inc System and method for analyzing unstructured data on applications, devices or networks
US9710829B1 (en) * 2013-06-19 2017-07-18 Intuit Inc. Methods, systems, and articles of manufacture for analyzing social media with trained intelligent systems to enhance direct marketing opportunities

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040194009A1 (en) * 2003-03-27 2004-09-30 Lacomb Christina Automated understanding, extraction and structured reformatting of information in electronic files
US20060088214A1 (en) * 2004-10-22 2006-04-27 Xerox Corporation System and method for identifying and labeling fields of text associated with scanned business documents
US20080104493A1 (en) * 2006-10-30 2008-05-01 Hewlett-Packard Development Company, L.P. Method of constructing a machine-readable document
US20110082868A1 (en) * 2009-10-02 2011-04-07 Aravind Musuluri System and method for block segmenting, identifying and indexing visual elements, and searching documents
US20120016805A1 (en) * 2010-07-13 2012-01-19 Sven Graupner Generating Machine-Understandable Representations of Content
US20120311426A1 (en) * 2011-05-31 2012-12-06 Oracle International Corporation Analysis of documents using rules
US9710829B1 (en) * 2013-06-19 2017-07-18 Intuit Inc. Methods, systems, and articles of manufacture for analyzing social media with trained intelligent systems to enhance direct marketing opportunities
US20150149461A1 (en) * 2013-11-24 2015-05-28 Interstack, Inc System and method for analyzing unstructured data on applications, devices or networks

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李丽华: "智能答疑系统的设计及探讨", 《怀化学院学报》 *
李丽华: "智能答疑系统的设计及探讨", 《怀化学院学报》, no. 05, 30 May 2006 (2006-05-30) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070114A (en) * 2019-04-03 2019-07-30 北京奇安信科技有限公司 Processing method, device, computer equipment and the storage medium of more specification fusions
CN110070114B (en) * 2019-04-03 2020-11-10 奇安信科技集团股份有限公司 Multi-specification fusion processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109284480B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US20190362265A1 (en) Question answering system-based generation of distractors using machine learning
US20210342549A1 (en) Method for training semantic analysis model, electronic device and storage medium
CN109255072B (en) Information recall method and device, computer storage medium and electronic equipment
US20180157643A1 (en) Device and method for natural language processing
CA3062776C (en) Integrating virtual and human agents in a multi-channel support system for complex software applications
CN110909145B (en) Training method and device for multi-task model
CN107402913A (en) The determination method and apparatus of antecedent
US11361362B2 (en) Method and system utilizing ontological machine learning for labeling products in an electronic product catalog
CN107958059B (en) Intelligent question answering method, device, terminal and computer readable storage medium
CN111625715B (en) Information extraction method and device, electronic equipment and storage medium
CN112035638B (en) Information processing method, device, storage medium and equipment
CN114757176A (en) Method for obtaining target intention recognition model and intention recognition method
CN110532056A (en) A kind of control recognition methods and device applied in user interface
CN103577547B (en) Webpage type identification method and device
WO2021118724A1 (en) Scalable and resource-efficient extraction of data from network-accessible documents
CN114090755A (en) Reply sentence determination method and device based on knowledge graph and electronic equipment
CN110210038A (en) Kernel entity determines method and its system, server and computer-readable medium
CN109819002A (en) Data push method and device, storage medium and electronic device
CN113190746B (en) Recommendation model evaluation method and device and electronic equipment
CN110516162A (en) A kind of information recommendation method, device, equipment and storage medium
CN109284480A (en) A kind of service profile processing method, device and server
CN113704420A (en) Method and device for identifying role in text, electronic equipment and storage medium
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
CN109033078B (en) The recognition methods of sentence classification and device, storage medium, processor
CN114647739B (en) Entity chain finger method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200923

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant