CN108846069A - A kind of document execution method and device based on markup language - Google Patents

A kind of document execution method and device based on markup language Download PDF

Info

Publication number
CN108846069A
CN108846069A CN201810582278.2A CN201810582278A CN108846069A CN 108846069 A CN108846069 A CN 108846069A CN 201810582278 A CN201810582278 A CN 201810582278A CN 108846069 A CN108846069 A CN 108846069A
Authority
CN
China
Prior art keywords
semantic
text
semantic identifier
identifier
destination document
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
CN201810582278.2A
Other languages
Chinese (zh)
Other versions
CN108846069B (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
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 CN201810582278.2A priority Critical patent/CN108846069B/en
Publication of CN108846069A publication Critical patent/CN108846069A/en
Application granted granted Critical
Publication of CN108846069B publication Critical patent/CN108846069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Machine Translation (AREA)

Abstract

This specification one or more embodiment provides a kind of document execution method and device based on markup language, and this method includes:Firstly, obtaining the destination document based on preset mark language generation, wherein comprising for marking target to execute the semantic identifier of object in the destination document;Then, according to the semantic identifier in destination document, determine that object run interface and target execute object;In object run interface, the corresponding operating that object is executed to target is executed.While due to writing the destination document based on markup language, increase specified semantic identifier in destination document, document semantic is marked in realization, can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution object in this way.

Description

A kind of document execution method and device based on markup language
Technical field
This specification one or more embodiment is related to field of computer technology more particularly to a kind of based on markup language Document executes method and device.
Background technique
Currently, since text mark up language has the characteristics that quick file typesetting, needed for being generated based on text mark up language Document using more and more extensive, wherein it is main predetermined by combining in the document formed based on text mark up language Format flags grammer carries out the writing of document, so that plain text content is shown with certain text formatting.
Then, the document is executed if necessary to automatic, since only text formatting being marked during document preparation, Cause document actuator that can not accurately identify the semantic content in document, and then causes the document automatic by program It parses and executes, therefore, it is necessary to the content of text that related personnel combines documentation, manually complete operation.
It follows that the existing document generated based on markup language, document actuator can not accurately identify text Target in content executes object, causes to need manually to participate in when executing content of text, there are low efficiency, at high cost asks Topic.
Summary of the invention
The purpose of this specification one or more embodiment be to provide a kind of document based on markup language execute method and Device while due to writing the destination document based on markup language, increases specified semantic identifier in destination document, real Now document semantic is marked, document actuator can in this way executed by identifying that the semantic identifier accurately determines out Movement and execution object, and then achieve the purpose that document executes automatically, it realizes and event handling is automatically performed based on destination document, mention The precision and treatment effeciency of high event handling.
In order to solve the above technical problems, what this specification one or more embodiment was realized in:
This specification one or more embodiment provides a kind of document execution method based on markup language, including:
Obtain the destination document based on preset mark language generation, wherein comprising for marking mesh in the destination document Mark executes the semantic identifier of object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
This specification one or more embodiment provides a kind of document execution method based on markup language, including:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
This specification one or more embodiment provides a kind of document executive device based on markup language, including:It obtains Take the destination document based on preset mark language generation, wherein comprising for marking target to execute object in the destination document Semantic identifier;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
This specification one or more embodiment provides a kind of document executive device based on markup language, including:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
This specification one or more embodiment provides a kind of document execution equipment based on markup language, including:Place Manage device;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Manage device:
Obtain the destination document based on preset mark language generation, wherein comprising for marking mesh in the destination document Mark executes the semantic identifier of object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
This specification one or more embodiment provides a kind of document execution equipment based on markup language, including:Place Manage device;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed Manage device:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
This specification one or more embodiment provides a kind of storage medium, for storing computer executable instructions, The executable instruction realizes following below scheme when executed:
Obtain the destination document based on preset mark language generation, wherein comprising for marking mesh in the destination document Mark executes the semantic identifier of object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
This specification one or more embodiment provides a kind of storage medium, for storing computer executable instructions, The executable instruction realizes following below scheme when executed:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
The document based on markup language in this specification one or more embodiment executes method and device, firstly, obtaining Take the destination document based on preset mark language generation, wherein comprising for marking target to execute object in the destination document Semantic identifier;Then, according to the semantic identifier in destination document, determine that object run interface and target execute object;? In object run interface, the corresponding operating that object is executed to target is executed.In this specification one or more embodiment, due to compiling While writing the destination document based on markup language, increase specified semantic identifier in destination document, realizes to document language Justice is marked, and can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution in this way Object, and then achieve the purpose that document executes automatically, it realizes and event handling is automatically performed based on destination document, improve event handling Precision and treatment effeciency.
Detailed description of the invention
In order to illustrate more clearly of this specification one or more embodiment or technical solution in the prior art, below will A brief introduction will be made to the drawings that need to be used in the embodiment or the description of the prior art, it should be apparent that, it is described below Attached drawing is only some embodiments recorded in this specification one or more embodiment, and those of ordinary skill in the art are come It says, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is that the document based on markup language that an embodiment provides in this specification one or more embodiment executes system The application scenarios schematic diagram of system;
Fig. 2 is the document side of execution based on markup language that an embodiment provides in this specification one or more embodiment The first flow diagram of method;
Fig. 3 is the document side of execution based on markup language that an embodiment provides in this specification one or more embodiment Second of flow diagram of method;
Fig. 4 is the document side of execution based on markup language that an embodiment provides in this specification one or more embodiment The third flow diagram of method;
Fig. 5 is the document side of execution based on markup language that an embodiment provides in this specification one or more embodiment 4th kind of flow diagram of method;
Fig. 6 is the document side of execution based on markup language that an embodiment provides in this specification one or more embodiment 5th kind of flow diagram of method;
Fig. 7 is that the document based on markup language that another embodiment provides in this specification one or more embodiment executes The flow diagram of method;
Fig. 8 is the module group for the document executive device based on markup language that this specification one or more embodiment provides At schematic diagram;
Fig. 9 is that the structure for the document execution equipment based on markup language that this specification one or more embodiment provides is shown It is intended to.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment, Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment Scheme is clearly and completely described, it is clear that described embodiment is only this specification one or more embodiment one Divide embodiment, instead of all the embodiments.Based on the embodiment in this specification one or more embodiment, this field is common Technical staff's every other embodiment obtained without creative efforts, all should belong to this specification one The range of a or multiple embodiment protections.
This specification one or more embodiment provides a kind of document execution method and device based on markup language, by While writing the destination document based on markup language, increase specified semantic identifier in destination document, realizes to text Shelves semanteme be marked, can make in this way document actuator by identify the semantic identifier accurately determine out execution movement with Object is executed, and then achievees the purpose that document executes automatically, realizes and event handling is automatically performed based on destination document, improves event The precision and treatment effeciency of processing.
Fig. 1 is that the document based on markup language that this specification one or more embodiment provides executes systematic difference field Scape schematic diagram, as shown in Figure 1, may include in the execution system:Document editor, document viewer and document actuator, should Document editor is mainly used for generating destination document based on the content of text of preset mark language in-put according to user, due to writing While destination document based on markup language, increases specified semantic identifier in destination document, therefore, ultimately generate Not only comprising the text formatting identifier for retrtieval format in destination document, also comprising for marking target to execute object Semantic identifier;
Also, user, can also be straight by document viewer during writing destination document using document editor It checks the document content oneself write with seeing, and checks the text formatting finally shown, and shown based on checking that result determines Show whether effect reaches expected, if be not up to expected, text formatting identifier can be modified, while editing to reach use The expection at family;
In addition, directly destination document can be input in document actuator, after writing destination document due to writing While destination document based on markup language, increase specified semantic identifier in destination document, realizes to document semantic It is marked, can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution pair in this way As comparing manually without user in this way so that document actuator is automatically performed business processing based on the content of text in destination document It is input to designated position in respective interface to destination document content and by target execution object, simplifies documenting business information Processing operation improves the treatment effeciency of documenting business information.
Fig. 2 is the first that the document based on markup language that this specification one or more embodiment provides executes method Flow diagram, the method in Fig. 2 can be executed by the document actuator in Fig. 1, as shown in Fig. 2, this method includes at least Following steps:
S201 obtains the destination document based on preset mark language generation, wherein comprising for marking in the destination document The semantic identifier of target execution object;
Specifically, can be used in quick file typesetting in view of markdown markup language is a kind of text mark up language, Based on the file that markdown markup language generates, i.e. Markdown file is text-only file, has typesetting document light weight, side Just, feature and Markdown file quickly also has a simple, intuitive, readability, easily write, easily modification the characteristics of, and use than It is wide, it is professional require it is low, for example, most professional knowledge can be written as professional knowledge by markdown markup language Library, it is preferred that above-mentioned preset mark language is markdown markup language;
Above-mentioned semantic identifier can be predetermined, and user makes when writing service profile using document editor Target execution object tag is come out with semantic identifier;Operation is inputted in order to simplify user as much as possible, for each text The target occurred in upper executes object, if the target executes behind object without content of text, at this point it is possible to only hold in target Add semantic identifier in the front end of row object;It is corresponding, if the target, which executes behind object, content of text, at this point, It needs to execute the front end of object in target and tail end adds semantic identifier respectively.
Wherein, it is contemplated that user can also the document write out of real time inspection while writing document using document editor Display effect, and the space of the preset quantity appeared in line of text is not determined in markdown markup language Justice, the preset quantity are not used to mark text formatting more than or equal to 2, that is, to appear in the space of the preset quantity in line of text, Therefore, in order to not influence the document viewing effect of user, guarantee the good reading experience of document, and can play and target is executed The label of object acts on, it is preferred that the type of semantic identifier is space, and the quantity in space is more than or equal to 2, thus with label The defined identifier field for retrtieval format separates in language, so that semantic identifier is uniquely used to that target is marked to execute Object, wherein the quantity in space can be set according to actual requirement in each semantic identifier, for example, defining two skies Lattice are a semantic identifier, or defining three spaces is a semantic identifier, is implemented in this specification one or more The quantity in space in each semantic identifier is not defined in example.
S202 determines object run interface according to the semantic identifier in destination document;And
S203 determines that target executes object according to the semantic identifier in destination document;
Specifically, when content of text of the document actuator in execution document automatically, if recognizing semantic identifier, that It is at this time the content of text that lockable carries object run interface information, and locking carries the text that target executes object information This content, and then just it is capable of determining that object run interface and target execute object.
S204 executes the corresponding operating that object is executed to target in the object run interface determined;
Specifically, after determining that object run interface and target execute object by semantic identifier, so that it may straight It taps into the object run interface, and object is executed to the target and executes corresponding operation, for example, object run circle determined Face is specified browser, and it is a certain network address that the target determined, which executes object, at this point, specifying browser interface into this, and will The network address is input in the network address input field under browser interface.
In this specification one or more embodiment, while due to writing the destination document based on markup language, Increase specified semantic identifier in destination document, document semantic is marked in realization, can make document actuator logical in this way It crosses and identifies that the semantic identifier accurately determines out execution movement and executes object, and then achieve the purpose that document executes automatically, It realizes and event handling is automatically performed based on destination document, improve the precision and treatment effeciency of event handling.
Wherein, it needs to advance with document editor and generates destination document based on the user's input information, in the document not Only comprising the text formatting identifier for retrtieval format, also comprising for marking target to execute the semantic mark of object Symbol, the generating process of destination document, specially:
Determine the location information and attribute information of the text formatting identifier of user's input, wherein text format identification (FID) Symbol is used for the basic format of retrtieval content, and the definition of text identifier meets the definition standard of preset mark language, example Such as, " # " indicates that level-one title, " ## " indicate second level title etc., for another example, with【Number】【Point】【Space】The line of text of beginning, It is defined as needing to be implemented in professional knowledge library【Step】;
According to the location information and attribute information of text formatting identifier, text formatting identifier is added to based on default The destination document of markup language, so that the basic format of content of text is arranged according to text formatting identifier for document viewer;With And
Determine the location information and attribute information of the semantic identifier of user's input, wherein the semantic identifier is user It is inputted in the destination document based on preset mark language, the semantic identifier is for marking target to execute object;
According to the location information and attribute information of semantic identifier, semantic identifier is added to destination document, so that literary Shelves actuator identifies that the target in destination document executes object according to semantic identifier, wherein the attribute information includes:Mark The type of symbol, it is preferred that the type of the identifier is space;For example,【Step】In line of text, with two space-separateds, determined Justice is to identify in professional knowledge library【Sub-step】With【Sub-step parameter】, in a document, can define multiple【Sub-step】, with Just document actuator is gradually unfolded to execute.
Wherein, for the process for determining object run interface, as shown in figure 3, above-mentioned S202 is according to the language in destination document Adopted identifier determines object run interface, specifically includes:
S2021 determines content of text to be resolved according to the semantic identifier in destination document;
S2022 carries out information extraction to content of text to be resolved, to determine object run interface, specifically, passing through language Adopted identifier can accurately determine the content of text position comprising object run interface, and then from determining comprising mesh Mark operation interface content of text in, extract object run interface, for example, in destination document a certain line of text record " Station address http is inputted in specified browser://www2.soopat.com/Home/IIndex ", wherein " clear specifying Look in device and input station address " and " http:Semantic identifier is provided between //www2.soopat.com/Home/IIndex " " two spaces ", at this point, content of text to be resolved is " inputting station address in specified browser ", it is corresponding, it is known that mesh Mark operation interface is the network address input interface of specified browser.
Specifically, as shown in figure 4, above-mentioned S2021 determines text to be resolved according to the semantic identifier in destination document Content specifically includes:
S20211 judges the quantity for the semantic identifier that this article current row includes for each line of text in destination document Whether 2 are greater than;
If it is not, S20212 is then executed, by phase before first semantic identifier in the line of text where semantic identifier Adjacent content of text, is determined as content of text to be resolved;
If so, S20213 is executed, by the semantic identifier of the serial number odd number in the line of text where semantic identifier Before adjacent content of text is determined as content of text to be resolved, wherein the serial number of each semantic identifier is according to line of text Number consecutively determines from left to right, i.e., the semantic identifier row that each line of text includes serial number 1 from left to right, 2, 3....。
Specifically, due to inputting operation to simplify user as much as possible, it is defined previously as going out on each text Existing target executes object, if the target executes behind object without content of text, at this point it is possible to only execute object in target Front end add semantic identifier;It is corresponding, if the target, which executes behind object, content of text, at this time, it may be necessary to Target executes the front end of object and tail end adds semantic identifier respectively.
It is corresponding, the case where for a certain line of text including one or two semantic identifier, directly in first semantic mark Object run interface information is extracted before knowing symbol in adjacent content of text;
The case where for a certain line of text including more than two semantic identifiers, the semantic identifier of serial number odd number is certain One target executes the front end semantic identifier of object, and the semantic identifier of serial number even number is that a certain target executes object Tail end semantic identifier, due to including object run in the content of text before the front end semantic identifier of target execution object Therefore interface information extracts object run interface letter before the semantic identifier of serial number odd number in adjacent content of text Breath;
For example, a certain line of text records that " importation patent title is a kind of in the search column of appointed website in destination document Document structure tree method clicks button soopat search button in the appointed website search interface ", wherein it is wrapped in this article current row Containing three semantic identifiers, by left-to-right semantic identifier serial number 1,2,3, therefore, respectively in the semanteme of serial number 1 and 3 Object run interface information is extracted before identifier in adjacent content of text.
Wherein, for the process for determining target execution object, as shown in figure 5, above-mentioned S203 is according to the language in destination document Adopted identifier determines that target executes object, specifically includes:
S2031 judges that the quantity for the semantic identifier that this article current row includes is for each line of text in destination document No is 1;
S2032, if so, the content of text after semantic identifier, which is determined as target, executes object;
S2033, if it is not, then judging whether the quantity for the semantic identifier that this article current row includes is greater than 2 and not equal to 1;
S2034, if it is not, the content of text between two semantic identifiers, which is then determined as target, executes object;
S2035, if so, whether the quantity for judging the semantic identifier is even number;
If so, executing S2036, the content of text between two neighboring semantic identifiers is determined as target execution pair As, wherein the serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If it is not, then executing S2037, the content of text between two neighboring semantic identifiers is determined as target execution pair As, and the content of text after the last one semantic identifier is determined as target and executes object, wherein two adjacent languages The serial number odd number of previous semantic identifier in adopted identifier.
Specifically, due to inputting operation to simplify user as much as possible, it is defined previously as going out on each text Existing target executes object, if the target executes behind object without content of text, at this point it is possible to only execute object in target Front end add semantic identifier;It is corresponding, if the target, which executes behind object, content of text, at this time, it may be necessary to Target executes the front end of object and tail end adds semantic identifier respectively.
It is corresponding, it the case where for a certain line of text including a semantic identifier, directly will be after semantic identifier Content of text is determined as target and executes object;
It is corresponding, the case where for a certain line of text including two semantic identifiers, directly by two semantic identifiers it Between content of text be determined as target execute object;
The case where for a certain line of text including more than two semantic identifiers, the semantic identifier of serial number odd number is certain One target executes the front end semantic identifier of object, and the semantic identifier of serial number even number is that a certain target executes object Tail end semantic identifier, therefore, by the text between the semantic identifier of serial number odd number and the semantic identifier of serial number even number This content is determined as target and executes object, and the content of text after the last one semantic identifier is determined as target and is executed Object;
For example, a certain line of text records that " importation patent title is a kind of in the search column of appointed website in destination document Document structure tree method clicks button soopat search button in the appointed website search interface ", wherein it is wrapped in this article current row Containing three semantic identifiers, by left-to-right semantic identifier serial number 1,2,3, therefore, respectively by serial number 1 and serial number 2 Semantic identifier between " a kind of document structure tree method " as target execute object, and by serial number 3 semanteme identify " soopat search button " after symbol executes object as target.
Wherein, it as shown in fig. 6, above-mentioned S204 is in the object run interface determined, executes and object is executed to target Corresponding operating specifically includes:
S2041 carries out information extraction to content of text to be resolved, determines and needs to execute target the corresponding of object execution Operation;
S2042 executes the corresponding operating that object is executed to target in the object run interface determined.
For example, the object run interface determined is the network address input interface of specified browser, the execution object determined For http://www2.soopat.com/Home/IIndex, at this time, it may be necessary to defeated in the network address input interface of specified browser Enter http://www2.soopat.com/Home/IIndex.
The document based on markup language in this specification one or more embodiment executes method, is based on firstly, obtaining The destination document of preset mark language generation, wherein comprising for marking target to execute the semantic mark of object in the destination document Know symbol;Then, according to the semantic identifier in destination document, determine that object run interface and target execute object;It is grasped in target Make in interface, executes the corresponding operating for executing object to target.In this specification one or more embodiment, it is based on due to writing While the destination document of markup language, increase specified semantic identifier in destination document, realizes and document semantic is carried out Label can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution object in this way, And then achieve the purpose that document executes automatically, it realizes and event handling is automatically performed based on destination document, improve the essence of event handling Accuracy and treatment effeciency.
The document based on markup language that corresponding above-mentioned Fig. 2 to Fig. 6 is described executes method, based on the same technical idea, This specification one or more embodiment additionally provides a kind of document execution method based on markup language, and Fig. 7 is this specification The document based on markup language that one or more embodiments provide executes the flow diagram of method, and this method can be by Fig. 1 In document actuator execute, as shown in fig. 7, the process includes:
S701 obtains the destination document based on preset mark language generation, wherein the destination document is used for configuration information Inspection is changed, and includes the semantic identifier for marking target detection object in the destination document, wherein this process Specific embodiment is referring to step S201, and which is not described herein again;
S702 determines target detection interface according to the semantic identifier in destination document, wherein the specific reality of this process Mode is applied referring to step S202, which is not described herein again;And
S703 determines target detection object according to the semantic identifier in destination document, wherein the specific reality of this process Mode is applied referring to step S203, which is not described herein again;
S704 executes the corresponding operating to target detection object, wherein this mistake in the target detection interface determined The specific embodiment of journey is referring to step S204, and which is not described herein again.
In this specification one or more embodiment, while due to writing the destination document based on markup language, Increase specified semantic identifier in destination document, document semantic is marked in realization, can make document actuator logical in this way It crosses and identifies that the semantic identifier accurately determines out execution movement and executes object, and then achieve the purpose that document executes automatically, It realizes the change inspection for being automatically performed configuration information based on destination document, improves precision and inspection that configuration information change checks Efficiency.
Wherein, it is preferred that above-mentioned preset mark language includes:Markdown markup language.
Wherein, the attribute information of semantic identifier includes:The type of identifier, it is preferred that the type of the identifier is sky Lattice.
Wherein, for target detection interface determination process, above-mentioned S702 is determined according to the semantic identifier in destination document Target detection interface, specifically includes:
According to the semantic identifier in destination document, content of text to be resolved is determined;
Information extraction is carried out to content of text to be resolved, to determine target detection interface.
Specifically, the above-mentioned semantic identifier according in destination document, determines content of text to be resolved, specifically includes:
For each line of text in destination document, judge whether the quantity for the semantic identifier that this article current row includes is greater than 2;
If it is not, then will be in text adjacent before first semantic identifier in the line of text where semantic identifier Hold, is determined as content of text to be resolved;
If so, by text adjacent before the semantic identifier of the serial number odd number in the line of text where semantic identifier This content is determined as content of text to be resolved, wherein the serial number of each semantic identifier be according to line of text from left to right successively Number determination.
Wherein, for the process for determining target detection object, above-mentioned S703 is according to the semantic identifier in destination document, really Set the goal test object, specifically includes:
For each line of text in destination document, the quantity for the semantic identifier that this article current row includes is determined;
If quantity is 1, the content of text after semantic identifier is determined as target detection object;
If quantity is 2, the content of text between two semantic identifiers is determined as target and executes object;
If quantity is greater than 2, judge whether the quantity of the semantic identifier is even number;
If so, the content of text between two neighboring semantic identifiers is determined as target detection object, wherein two The serial number odd number of previous semantic identifier in neighboring semantic identifier;
If it is not, the content of text between two neighboring semantic identifiers is then determined as target detection object, and will most Content of text after the latter semantic identifier is determined as target detection object, wherein before in two neighboring semantic identifiers The serial number odd number of one semantic identifier.
Wherein, above-mentioned S704 executes the corresponding operating to target detection object, tool in the target detection interface determined Body includes:
Information extraction is carried out to content of text to be resolved, determines the corresponding operating for needing to execute to target detection object;
In the target detection interface determined, the corresponding operating to target detection object is executed.
The document based on markup language in this specification one or more embodiment executes method, is based on firstly, obtaining The destination document of preset mark language generation, the destination document is for changing inspection, and the destination document to configuration information In include semantic identifier for marking target detection object;Then, according to the semantic identifier in destination document, mesh is determined Mark detection interface and target detection object;In the target detection interface determined, the corresponding behaviour to target detection object is executed Make.While due to writing the destination document based on markup language, increase specified semantic identifier in destination document, realizes Document semantic is marked, can make document actuator by identifying that it is dynamic that the semantic identifier accurately determines out execution in this way Make and execute object, and then achieve the purpose that document executes automatically, realizes the change for being automatically performed configuration information based on destination document It more checks, improves the precision and check efficiency that configuration information change checks.
It should be noted that an embodiment and this specification are one or more real in this specification one or more embodiment Apply in example another embodiment based on the same inventive concept, thus the specific implementation of the embodiment may refer to it is aforementioned based on label language The document of speech executes the implementation of method, and overlaps will not be repeated.
The document based on markup language that corresponding above-mentioned Fig. 2 to Fig. 6 is described executes method, based on the same technical idea, This specification one or more embodiment additionally provides a kind of document executive device based on markup language, and Fig. 8 is this specification The module composition schematic diagram for the document executive device based on markup language that one or more embodiments provide, the device is for holding The document based on markup language that row Fig. 2 to Fig. 6 is described executes method, as shown in figure 8, the device includes:Acquisition module 801, Determining module 802 and execution module 803 obtain module 801, determining module 802 and execution module 803 and are sequentially connected.
In a specific embodiment, module 801 is obtained, for obtaining the target text based on preset mark language generation Shelves, wherein comprising for marking target to execute the semantic identifier of object in the destination document;
Determining module 802, for according to the semantic identifier in the destination document, determine object run interface and Target executes object;
Execution module 803, for executing the corresponding behaviour for executing object to the target in the object run interface Make.
Optionally, the preset mark language includes:Markdown markup language.
Optionally, the determining module 802, is specifically used for:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine object run interface.
Optionally, the determining module 802, is further specifically used for:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, the determining module 802, also particularly useful for:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target and executes object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then by the content of text between two neighboring semantic identifiers be determined as target execute object, wherein it is described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target and executes object, and will most Content of text after the latter semantic identifier is determined as target and executes object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, the execution module 803, is specifically used for:
Information extraction is carried out to the content of text to be resolved, determines and needs to execute the phase that object executes to the target It should operate;
In the object run interface, the corresponding operating that object is executed to the target is executed.
Optionally, the attribute information of the semantic identifier includes:The type of identifier.
Optionally, the type of the identifier is space.
The document executive device based on markup language in this specification one or more embodiment is based on firstly, obtaining The destination document of preset mark language generation, wherein comprising for marking target to execute the semantic mark of object in the destination document Know symbol;Then, according to the semantic identifier in destination document, determine that object run interface and target execute object;It is grasped in target Make in interface, executes the corresponding operating for executing object to target.In this specification one or more embodiment, it is based on due to writing While the destination document of markup language, increase specified semantic identifier in destination document, realizes and document semantic is carried out Label can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution object in this way, And then achieve the purpose that document executes automatically, it realizes and event handling is automatically performed based on destination document, improve the essence of event handling Accuracy and treatment effeciency.
In another specific embodiment, module 801 is obtained, for obtaining the target based on preset mark language generation Document, wherein the destination document includes for marking for changing inspection to configuration information, and in the destination document The semantic identifier of target detection object;
Determining module 802, for according to the semantic identifier in the destination document, determine target detection interface and Target detection object;
Execution module 803, for executing the corresponding behaviour to the target detection object in the target detection interface Make.
Optionally, the preset mark language includes:Markdown markup language.
Optionally, the determining module 802, is specifically used for:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine target detection interface.
Optionally, the determining module 802, is further specifically used for:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, the determining module 802, also particularly useful for:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target detection object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then the content of text between two neighboring semantic identifiers is determined as target detection object, wherein described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target detection object, and will most Content of text after the latter semantic identifier is determined as target detection object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, the execution module 803, is specifically used for:
Information extraction is carried out to the content of text to be resolved, determines the phase for needing to execute to the target detection object It should operate;
In the target detection interface, the corresponding operating to the target detection object is executed.
Optionally, the attribute information of the semantic identifier includes:The type of identifier.
Optionally, the type of the identifier is space.
The document executive device based on markup language in this specification one or more embodiment is based on firstly, obtaining The destination document of preset mark language generation, the destination document is for changing inspection, and the destination document to configuration information In include semantic identifier for marking target detection object;Then, according to the semantic identifier in destination document, mesh is determined Mark detection interface and target detection object;In the target detection interface determined, the corresponding behaviour to target detection object is executed Make.While due to writing the destination document based on markup language, increase specified semantic identifier in destination document, realizes Document semantic is marked, can make document actuator by identifying that it is dynamic that the semantic identifier accurately determines out execution in this way Make and execute object, and then achieve the purpose that document executes automatically, realizes the change for being automatically performed configuration information based on destination document It more checks, improves the precision and check efficiency that configuration information change checks.
Further, corresponding above-mentioned Fig. 2 is to method shown in fig. 6, based on the same technical idea, this specification one or Multiple embodiments additionally provide a kind of document execution equipment based on markup language, and the equipment is above-mentioned based on label for executing The document of language executes method, as shown in Figure 9.
Document based on markup language, which executes equipment, to generate bigger difference because configuration or performance are different, can wrap One or more processor 901 and memory 902 are included, one or more has been can store in memory 902 and has deposited Store up application program or data.Wherein, memory 902 can be of short duration storage or persistent storage.It is stored in the application of memory 902 Program may include one or more modules (diagram is not shown), and each module may include to the text based on markup language Shelves execute the series of computation machine executable instruction in equipment.Further, processor 901 can be set to and memory 902 communications execute the executable finger of series of computation machine executed in memory 902 in equipment in the document based on markup language It enables.Document based on markup language, which executes equipment, to include one or more power supplys 903, one or more have Line or radio network interface 904, one or more input/output interfaces 905, one or more keyboards 906 etc..
In a specific embodiment, it includes memory and one that the document based on markup language, which executes equipment, Or more than one program, perhaps more than one program is stored in memory and one or more than one journey for one of them Sequence may include one or more modules, and each module may include executing in equipment to the document based on markup language Series of computation machine executable instruction, and be configured to execute this or one by one or more than one processor Procedure above includes for carrying out following computer executable instructions:
Obtain the destination document based on preset mark language generation, wherein comprising for marking mesh in the destination document Mark executes the semantic identifier of object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
Optionally, when executed, the preset mark language includes computer executable instructions:Markdown marks language Speech.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines object run interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine object run interface.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines that target executes object, including:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target and executes object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then by the content of text between two neighboring semantic identifiers be determined as target execute object, wherein it is described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target and executes object, and will most Content of text after the latter semantic identifier is determined as target and executes object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, computer executable instructions are when executed, described in the object run interface, execute to described Target executes the corresponding operating of object, including:
Information extraction is carried out to the content of text to be resolved, determines and needs to execute the phase that object executes to the target It should operate;
In the object run interface, the corresponding operating that object is executed to the target is executed.
Optionally, when executed, the attribute information of the semantic identifier includes computer executable instructions:Identifier Type.
Optionally, when executed, the type of the identifier is space to computer executable instructions.
The document based on markup language in this specification one or more embodiment executes equipment, is based on firstly, obtaining The destination document of preset mark language generation, wherein comprising for marking target to execute the semantic mark of object in the destination document Know symbol;Then, according to the semantic identifier in destination document, determine that object run interface and target execute object;It is grasped in target Make in interface, executes the corresponding operating for executing object to target.As it can be seen that passing through the base in this specification one or more embodiment Equipment is executed in the document of markup language to increase in destination document while due to writing the destination document based on markup language Add specified semantic identifier, document semantic is marked in realization, can make document actuator by identifying the semanteme in this way Identifier accurately determines out execution movement and executes object, and then achievees the purpose that document executes automatically, realizes and is based on target Document is automatically performed event handling, improves the precision and treatment effeciency of event handling.
In another specific embodiment, it includes memory, Yi Jiyi that the document based on markup language, which executes equipment, A or more than one program, one of them perhaps more than one program be stored in memory and one or more than one Program may include one or more modules, and each module may include executing equipment to the document based on markup language In series of computation machine executable instruction, and be configured to execute this one or by one or more than one processor A procedure above includes for carrying out following computer executable instructions:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
Optionally, when executed, the preset mark language includes computer executable instructions:Markdown marks language Speech.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines target detection interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine target detection interface.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, computer executable instructions when executed, mark by the semanteme according in the destination document Know symbol, determines target detection object, including:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target detection object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then the content of text between two neighboring semantic identifiers is determined as target detection object, wherein described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target detection object, and will most Content of text after the latter semantic identifier is determined as target detection object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, computer executable instructions are when executed, described in the target detection interface, execute to described The corresponding operating of target detection object, including:
Information extraction is carried out to the content of text to be resolved, determines the phase for needing to execute to the target detection object It should operate;
In the target detection interface, the corresponding operating to the target detection object is executed.
Optionally, when executed, the attribute information of the semantic identifier includes computer executable instructions:Identifier Type.
Optionally, when executed, the type of the identifier is space to computer executable instructions.
The document based on markup language in this specification one or more embodiment executes equipment, is based on firstly, obtaining The destination document of preset mark language generation, the destination document is for changing inspection, and the destination document to configuration information In include semantic identifier for marking target detection object;Then, according to the semantic identifier in destination document, mesh is determined Mark detection interface and target detection object;In the target detection interface determined, the corresponding behaviour to target detection object is executed Make.As it can be seen that equipment is executed by the document based on markup language in this specification one or more embodiment, due to writing base While the destination document of markup language, increase specified semantic identifier in destination document, realize to document semantic into Line flag can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution pair in this way As, and then achieve the purpose that document executes automatically, it realizes the change inspection for being automatically performed configuration information based on destination document, improves The precision and check efficiency that configuration information change checks.
Further, corresponding above-mentioned Fig. 2 is to method shown in fig. 6, based on the same technical idea, this specification one or Multiple embodiments additionally provide a kind of storage medium,, should in a kind of specific embodiment for storing computer executable instructions Storage medium can be USB flash disk, CD, hard disk etc., and the computer executable instructions of storage medium storage are being executed by processor When, it is able to achieve following below scheme:
Obtain the destination document based on preset mark language generation, wherein comprising for marking mesh in the destination document Mark executes the semantic identifier of object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the preset mark Language includes:Markdown markup language.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines object run interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine object run interface.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines that target executes object, including:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target and executes object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then by the content of text between two neighboring semantic identifiers be determined as target execute object, wherein it is described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target and executes object, and will most Content of text after the latter semantic identifier is determined as target and executes object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, the computer executable instructions of storage medium storage are described in the mesh when being executed by processor It marks in operation interface, executes the corresponding operating for executing object to the target, including:
Information extraction is carried out to the content of text to be resolved, determines and needs to execute the phase that object executes to the target It should operate;
In the object run interface, the corresponding operating that object is executed to the target is executed.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the semantic mark The attribute information of symbol includes:The type of identifier.
Optionally, the storage medium storage computer executable instructions when being executed by processor, the identifier Type is space.
The computer executable instructions of storage medium storage in this specification one or more embodiment are by processor When execution, firstly, obtaining the destination document based on preset mark language generation, wherein comprising for marking in the destination document The semantic identifier of target execution object;Then, according to the semantic identifier in destination document, object run interface and mesh are determined Mark executes object;In object run interface, the corresponding operating that object is executed to target is executed.As it can be seen that passing through this specification one Storage medium in a or multiple embodiments, while due to writing the destination document based on markup language, in destination document Increase specified semantic identifier, document semantic is marked in realization, can make document actuator by identifying the language in this way Adopted identifier accurately determines out execution movement and executes object, and then achievees the purpose that document executes automatically, realizes and is based on mesh Mark document is automatically performed event handling, improves the precision and treatment effeciency of event handling.
In another specific embodiment, which can be USB flash disk, CD, hard disk etc., storage medium storage Computer executable instructions when being executed by processor, be able to achieve following below scheme:
Obtain the destination document based on preset mark language generation, wherein the destination document be used for configuration information into Row change checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the preset mark Language includes:Markdown markup language.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines target detection interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine target detection interface.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by institute's predicate Adjacent content of text, is determined as text to be resolved before first semantic identifier in line of text where adopted identifier Content;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semanteme Adjacent content of text, is determined as to be resolved before the semantic identifier of serial number odd number in line of text where identifier Content of text, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
Optionally, the computer executable instructions of storage medium storage are described according to when being executed by processor The semantic identifier in destination document determines target detection object, including:
If in the line of text where the semantic identifier include a semantic identifier, by the semantic identifier it Content of text afterwards is determined as target detection object;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be even number, then the content of text between two neighboring semantic identifiers is determined as target detection object, wherein described The serial number odd number of previous semantic identifier in two neighboring semantic identifiers;
If including more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Quantity be odd number, then the content of text between two neighboring semantic identifiers is determined as target detection object, and will most Content of text after the latter semantic identifier is determined as target detection object, wherein described two neighboring semantic identifiers In previous semantic identifier serial number odd number.
Optionally, the computer executable instructions of storage medium storage are described in the mesh when being executed by processor In mark detection interface, the corresponding operating to the target detection object is executed, including:
Information extraction is carried out to the content of text to be resolved, determines the phase for needing to execute to the target detection object It should operate;
In the target detection interface, the corresponding operating to the target detection object is executed.
Optionally, the computer executable instructions of storage medium storage are when being executed by processor, the semantic mark The attribute information of symbol includes:The type of identifier.
Optionally, the storage medium storage computer executable instructions when being executed by processor, the identifier Type is space.
The computer executable instructions of storage medium storage in this specification one or more embodiment are by processor When execution, firstly, obtaining the destination document based on preset mark language generation, the destination document is for becoming configuration information It more checks, and includes the semantic identifier for marking target detection object in the destination document;Then, according in destination document Semantic identifier, determine target detection interface and target detection object;In the target detection interface determined, execute to mesh Mark the corresponding operating of test object.As it can be seen that by the storage medium in this specification one or more embodiment, due to writing base While the destination document of markup language, increase specified semantic identifier in destination document, realize to document semantic into Line flag can make document actuator by identifying that the semantic identifier accurately determines out execution movement and execution pair in this way As, and then achieve the purpose that document executes automatically, it realizes the change inspection for being automatically performed configuration information based on destination document, improves The precision and check efficiency that configuration information change checks.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, the embodiment of this specification one or more embodiment can provide as side Method, system or computer program product.Therefore, complete hardware embodiment, complete can be used in this specification one or more embodiment The form of full software implementation or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment It is (including but unlimited that the computer-usable storage medium for wherein including computer usable program code in one or more can be used In magnetic disk storage, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment is referring to method, the equipment according to this specification one or more embodiment (system) and the flowchart and/or the block diagram of computer program product describe.It should be understood that can be by computer program instructions reality The now process in each flow and/or block and flowchart and/or the block diagram in flowchart and/or the block diagram and/or side The combination of frame.Can provide these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other can The processor of programming data processing equipment is to generate a machine, so that passing through computer or other programmable data processing devices The instruction that executes of processor generate for realizing in one box of one or more flows of the flowchart and/or block diagram or The device for the function of being specified in multiple boxes.
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.
It will be understood by those skilled in the art that the embodiment of this specification one or more embodiment can provide as method, be System or computer program product.Therefore, complete hardware embodiment, complete software can be used in this specification one or more embodiment The form of embodiment or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used In computer-usable storage medium (the including but not limited to disk that one or more wherein includes computer usable program code Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type Routine, programs, objects, component, data structure etc..Can also practice in a distributed computing environment this specification one or Multiple embodiments, in these distributed computing environments, by being executed by the connected remote processing devices of communication network Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage equipment is deposited In storage media.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely the embodiments of this specification one or more embodiment, are not limited to this specification One or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various more Change and changes.It is all this specification one or more embodiment spirit and principle within made any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this specification one or more embodiment.

Claims (22)

1. a kind of document based on markup language executes method, which is characterized in that the method includes:
Obtain the destination document based on preset mark language generation, wherein comprising for marking target to hold in the destination document The semantic identifier of row object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
2. the method according to claim 1, wherein the preset mark language includes:Markdown marks language Speech.
3. the method according to claim 1, wherein the semantic mark according in the destination document Symbol, determines object run interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine object run interface.
4. according to the method described in claim 3, it is characterized in that, the semantic mark according in the destination document Symbol, determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by the semantic mark Adjacent content of text, is determined as in text to be resolved before knowing first semantic identifier in the line of text at symbol place Hold;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semantic mark Adjacent content of text, is determined as text to be resolved before the semantic identifier of the serial number odd number in line of text where according with Content, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
5. the method according to claim 1, wherein the semantic mark according in the destination document Symbol determines that target executes object, including:
If including a semantic identifier in the line of text where the semantic identifier, after the semantic identifier Content of text is determined as target and executes object;
If the number comprising more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Amount is even number, then the content of text between two neighboring semantic identifiers is determined as target and executes object, wherein is described two The serial number odd number of previous semantic identifier in neighboring semantic identifier;
If the number comprising more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Amount be odd number, then by the content of text between two neighboring semantic identifiers be determined as target execute object, and by last Content of text after a semantic identifier is determined as target and executes object, wherein before in described two neighboring semantic identifiers The serial number odd number of one semantic identifier.
6. according to the method described in claim 3, execution is to described it is characterized in that, described in the object run interface Target executes the corresponding operating of object, including:
Information extraction is carried out to the content of text to be resolved, determines and needs to execute the corresponding behaviour that object executes to the target Make;
In the object run interface, the corresponding operating that object is executed to the target is executed.
7. method according to any one of claims 1 to 6, which is characterized in that the attribute information packet of the semantic identifier It includes:The type of identifier.
8. the method according to the description of claim 7 is characterized in that the type of the identifier is space.
9. a kind of document based on markup language executes method, which is characterized in that the method includes:
Obtain the destination document based on preset mark language generation, wherein the destination document is for becoming configuration information It more checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
10. according to the method described in claim 9, it is characterized in that, the preset mark language includes:Markdown marks language Speech.
11. according to the method described in claim 9, it is characterized in that, the semantic mark according in the destination document Know symbol, determines target detection interface, including:
According to the semantic identifier in the destination document, content of text to be resolved is determined;
Information extraction is carried out to the content of text to be resolved, to determine target detection interface.
12. according to the method for claim 11, which is characterized in that the semantic mark according in the destination document Know symbol, determines content of text to be resolved, including:
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is not more than 2, by the semantic mark Adjacent content of text, is determined as in text to be resolved before knowing first semantic identifier in the line of text at symbol place Hold;
If the quantity for the semantic identifier that the line of text where the semantic identifier includes is greater than 2, by the semantic mark Adjacent content of text, is determined as text to be resolved before the semantic identifier of the serial number odd number in line of text where according with Content, wherein the serial number of the semantic identifier is that number consecutively determines from left to right according to line of text.
13. according to the method described in claim 9, it is characterized in that, the semantic mark according in the destination document Know symbol, determines target detection object, including:
If including a semantic identifier in the line of text where the semantic identifier, after the semantic identifier Content of text is determined as target detection object;
If the number comprising more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Amount is even number, then the content of text between two neighboring semantic identifiers is determined as target detection object, wherein described two The serial number odd number of previous semantic identifier in neighboring semantic identifier;
If the number comprising more than two semantic identifiers and the semantic identifier in the line of text where the semantic identifier Amount is odd number, then the content of text between two neighboring semantic identifiers is determined as target detection object, and by last Content of text after a semantic identifier is determined as target detection object, wherein before in described two neighboring semantic identifiers The serial number odd number of one semantic identifier.
14. according to the method for claim 11, which is characterized in that it is described in the target detection interface, it executes to institute The corresponding operating of target detection object is stated, including:
Information extraction is carried out to the content of text to be resolved, determines the corresponding behaviour for needing to execute to the target detection object Make;
In the target detection interface, the corresponding operating to the target detection object is executed.
15. according to the described in any item methods of claim 9 to 14, which is characterized in that the attribute information of the semantic identifier Including:The type of identifier.
16. according to the method for claim 15, which is characterized in that the type of the identifier is space.
17. a kind of document executive device based on markup language, which is characterized in that including:
Module is obtained, for obtaining the destination document based on preset mark language generation, wherein comprising using in the destination document The semantic identifier of object is executed in label target;
Determining module, for determining that object run interface and target are held according to the semantic identifier in the destination document Row object;
Execution module, for executing the corresponding operating for executing object to the target in the object run interface.
18. a kind of document executive device based on markup language, which is characterized in that including:
Module is obtained, for obtaining the destination document based on preset mark language generation, wherein the destination document is for matching Confidence breath changes inspection, and includes the semantic identifier for marking target detection object in the destination document;
Determining module, for determining target detection interface and target inspection according to the semantic identifier in the destination document Survey object;
Execution module, for executing the corresponding operating to the target detection object in the target detection interface.
19. a kind of document based on markup language executes equipment, which is characterized in that including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed Device:
Obtain the destination document based on preset mark language generation, wherein comprising for marking target to hold in the destination document The semantic identifier of row object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
20. a kind of document based on markup language executes equipment, which is characterized in that including:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the processing when executed Device:
Obtain the destination document based on preset mark language generation, wherein the destination document is for becoming configuration information It more checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
21. a kind of storage medium, for storing computer executable instructions, which is characterized in that the executable instruction is being held Following below scheme is realized when row:
Obtain the destination document based on preset mark language generation, wherein comprising for marking target to hold in the destination document The semantic identifier of row object;
According to the semantic identifier in the destination document, determine that object run interface and target execute object;
In the object run interface, the corresponding operating that object is executed to the target is executed.
22. a kind of storage medium, for storing computer executable instructions, which is characterized in that the executable instruction is being held Following below scheme is realized when row:
Obtain the destination document based on preset mark language generation, wherein the destination document is for becoming configuration information It more checks, and includes the semantic identifier for marking target detection object in the destination document;
According to the semantic identifier in the destination document, target detection interface and target detection object are determined;
In the target detection interface, the corresponding operating to the target detection object is executed.
CN201810582278.2A 2018-06-07 2018-06-07 Document execution method and device based on markup language Active CN108846069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810582278.2A CN108846069B (en) 2018-06-07 2018-06-07 Document execution method and device based on markup language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810582278.2A CN108846069B (en) 2018-06-07 2018-06-07 Document execution method and device based on markup language

Publications (2)

Publication Number Publication Date
CN108846069A true CN108846069A (en) 2018-11-20
CN108846069B CN108846069B (en) 2022-07-19

Family

ID=64211377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810582278.2A Active CN108846069B (en) 2018-06-07 2018-06-07 Document execution method and device based on markup language

Country Status (1)

Country Link
CN (1) CN108846069B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007906A (en) * 2018-12-27 2019-07-12 阿里巴巴集团控股有限公司 Processing method, device and the server of script file
CN111045990A (en) * 2019-11-07 2020-04-21 武汉融卡智能信息科技有限公司 Document management system
CN111596948A (en) * 2020-04-09 2020-08-28 北京五八信息技术有限公司 File processing method and device based on Flutter
CN117406973A (en) * 2023-12-13 2024-01-16 上海群之脉信息科技有限公司 Interactive data analysis method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060005114A1 (en) * 2004-06-25 2006-01-05 Richard Williamson Procedurally expressing graphic objects for web pages
CN1846204A (en) * 2003-10-24 2006-10-11 微软公司 Mechanism for providing data driven command line output
CN101071446A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Marked language archive analytical method, analytical module and user terminal
CN101278283A (en) * 2005-10-07 2008-10-01 国际商业机器公司 Method and system for linking sources to copied text
WO2009110994A2 (en) * 2008-03-04 2009-09-11 Access Business Group International Llc. System and markup language for information extraction from stand-alone devices in webspace
CN102292765A (en) * 2009-01-22 2011-12-21 微软公司 Markup language-based selection and utilization of recognizers for utterance processing
CN102622448A (en) * 2012-03-26 2012-08-01 中山大学 Digital television interactive application page markup language resolving method
CN103177045A (en) * 2011-12-26 2013-06-26 ***通信集团广东有限公司 Text analysis method and text analysis device
CN106066850A (en) * 2016-05-30 2016-11-02 乐视控股(北京)有限公司 A kind of content processing method and device
CN106161344A (en) * 2014-09-30 2016-11-23 瞻博网络公司 The malicious objects that Behavior-based control increment identifier is hidden
CN106886551A (en) * 2016-10-27 2017-06-23 阿里巴巴集团控股有限公司 A kind of method and device of utilization markup language display image

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1846204A (en) * 2003-10-24 2006-10-11 微软公司 Mechanism for providing data driven command line output
US20060005114A1 (en) * 2004-06-25 2006-01-05 Richard Williamson Procedurally expressing graphic objects for web pages
CN101278283A (en) * 2005-10-07 2008-10-01 国际商业机器公司 Method and system for linking sources to copied text
CN101071446A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Marked language archive analytical method, analytical module and user terminal
WO2009110994A2 (en) * 2008-03-04 2009-09-11 Access Business Group International Llc. System and markup language for information extraction from stand-alone devices in webspace
CN102292765A (en) * 2009-01-22 2011-12-21 微软公司 Markup language-based selection and utilization of recognizers for utterance processing
CN103177045A (en) * 2011-12-26 2013-06-26 ***通信集团广东有限公司 Text analysis method and text analysis device
CN102622448A (en) * 2012-03-26 2012-08-01 中山大学 Digital television interactive application page markup language resolving method
CN106161344A (en) * 2014-09-30 2016-11-23 瞻博网络公司 The malicious objects that Behavior-based control increment identifier is hidden
CN106066850A (en) * 2016-05-30 2016-11-02 乐视控股(北京)有限公司 A kind of content processing method and device
CN106886551A (en) * 2016-10-27 2017-06-23 阿里巴巴集团控股有限公司 A kind of method and device of utilization markup language display image

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHAYEEN: ""Markdown分级语法手"", 《HTTPS://WWW.CNBLOGS.COM/CHAYEEN/P/7862914.HTML》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007906A (en) * 2018-12-27 2019-07-12 阿里巴巴集团控股有限公司 Processing method, device and the server of script file
CN111045990A (en) * 2019-11-07 2020-04-21 武汉融卡智能信息科技有限公司 Document management system
CN111045990B (en) * 2019-11-07 2023-08-15 无锡融卡科技有限公司 Document management system
CN111596948A (en) * 2020-04-09 2020-08-28 北京五八信息技术有限公司 File processing method and device based on Flutter
CN111596948B (en) * 2020-04-09 2021-07-16 北京五八信息技术有限公司 File processing method and device based on Flutter
CN117406973A (en) * 2023-12-13 2024-01-16 上海群之脉信息科技有限公司 Interactive data analysis method and device
CN117406973B (en) * 2023-12-13 2024-03-12 上海群之脉信息科技有限公司 Interactive data analysis method and device

Also Published As

Publication number Publication date
CN108846069B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN108846069A (en) A kind of document execution method and device based on markup language
CN107506181A (en) Business processing, data processing method, device and electronic equipment
US9224103B1 (en) Automatic annotation for training and evaluation of semantic analysis engines
CN110245279B (en) Dependency tree generation method, device, equipment and storage medium
CN109086961A (en) A kind of Information Risk monitoring method and device
CN107562777A (en) Data processing method and its equipment
US10031936B2 (en) Database table data fabrication
US11487801B2 (en) Dynamic data visualization from factual statements in text
CN109241026A (en) The method, apparatus and system of data management
US20190392077A1 (en) Facet-based query refinement based on multiple query interpretations
CN108763059A (en) A kind of method for detecting abnormality, device and equipment
CN103729713A (en) Audit result display configuration method and device
CN109299096A (en) A kind of processing method of pipelined data, device and equipment
CN108021610A (en) Random walk, random walk method, apparatus and equipment based on distributed system
CN115422066A (en) Test case management method and device
CN106484690A (en) A kind of verification method of Data Migration and device
CN106970758A (en) Electronic document operation processing method, device and electronic equipment
CN109656946A (en) A kind of multilist relation query method, device and equipment
CN105426676A (en) Drilling data processing method and system
CN110457430A (en) A kind of Traceability detection method of text, device and equipment
CN113822002B (en) Data processing method, device, computer equipment and storage medium
CN110443007A (en) A kind of Traceability detection method of multi-medium data, device and equipment
CN107015955B (en) Document editing method and device
US20230090713A1 (en) Automated digital text optimization and modification
CN109409037A (en) A kind of generation method, device and the equipment of data obfuscation rule

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: 20200922

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

Applicant after: Innovative advanced technology Co.,Ltd.

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

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British 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.

GR01 Patent grant
GR01 Patent grant