CN106502207A - Data analysis method and device - Google Patents

Data analysis method and device Download PDF

Info

Publication number
CN106502207A
CN106502207A CN201610842613.9A CN201610842613A CN106502207A CN 106502207 A CN106502207 A CN 106502207A CN 201610842613 A CN201610842613 A CN 201610842613A CN 106502207 A CN106502207 A CN 106502207A
Authority
CN
China
Prior art keywords
point position
predetermined symbol
data
obtaining
joint
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
CN201610842613.9A
Other languages
Chinese (zh)
Other versions
CN106502207B (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Gree Intelligent Equipment Co 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Gree Intelligent Equipment Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610842613.9A priority Critical patent/CN106502207B/en
Publication of CN106502207A publication Critical patent/CN106502207A/en
Application granted granted Critical
Publication of CN106502207B publication Critical patent/CN106502207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35356Data handling
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35376Input program, analyze, store to buffer ready to control nc, no further data handling
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35407Position data, calculate data to project characters along curve

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention discloses a kind of data analysis method and device.Wherein, the method includes:Obtain the point position data of robot;Predetermined symbol is obtained, wherein, predetermined symbol is used for parsing point position data;According to the predetermined symbol for obtaining, the point position data of the robot for obtaining are parsed.The present invention solves the technical problem of the expression formula that cannot parse robot point position in correlation technique.

Description

Data analysis method and device
Technical field
The present invention relates to data processing field, in particular to a kind of data analysis method and device.
Background technology
In robot (or manipulator) point position file, generally a position is represented (also referred to as with point position title and point position data For joint position, wherein, the point position of robot generally comprises shoulder joint node position, elbow joint point position, wrist joint point position etc.), such as certain Joint position may be used to lower form and represent:0 Q5 of PT0 Q1 0 Q2,0 Q3,0 Q4,0 Q6 Mode 0, wherein, PT0 is represented Point position title, Q1~Q6 represent that the angle of joint of robot, Mode represent robot point position type, and 0 represents that the point position is joint Angle.Robot TCP (i.e. tool center point) position may be used to lower form and represent:PT1 X 910 Y 0 Z 1087 A 0 B 0 0 Mode 1 of C, PT1 represent that a position title, X, Y, Z, A, B, C represent that robot TCP positions, Mode represent robot point position class Type, 1 represents that the point position type is TCP positions.The expression-form of both the above point position is with space-separated character string.
In robot controller, for the ease of a position data is stored in corresponding data structure, generally require machine The character string of the point position of device people is parsed, but at present, in the related, does not also parse automatically the expression formula of point position Mode.
For the problems referred to above, effective solution is not yet proposed at present.
Content of the invention
A kind of data analysis method and device is embodiments provided, at least to solve to parse in correlation technique The technical problem of the expression formula of robot point position.
A kind of one side according to embodiments of the present invention, there is provided data analysis method, including:Obtain the point of robot Position data;Predetermined symbol is obtained, wherein, above-mentioned predetermined symbol is used for parsing above-mentioned point position data;According to the predetermined symbol for obtaining, The point position data of the robot for obtaining are parsed.
Further, wherein, above-mentioned point position data include joint data, put position categorical data, and above-mentioned joint data include Joint name and the corresponding joint angles of joint name, above-mentioned point position categorical data include that a position type name and point position type name are corresponding Identifier, wherein, according to the predetermined symbol for obtaining, carrying out parsing to the point position data of the robot for obtaining includes:According to acquisition Predetermined symbol, from a corresponding character string of position data, parse each joint name and its corresponding joint angles, each point position class Type name and its corresponding identifier.
Further, according to obtain predetermined symbol, from a corresponding character string of position data, parse each joint name and Its corresponding joint angles, each point position type name and its corresponding identifier include:By above-mentioned predetermined symbol successively with above-mentioned word In symbol string, each character is compared;In comparison process, if existing in the above-mentioned character string of discovery consistent with above-mentioned predetermined symbol Character, then disconnect above-mentioned character string from the character, obtains in an analysis result and above-mentioned character string except above-mentioned parsing is tied Remainder outside fruit, and continue to carry out each character in above-mentioned predetermined symbol successively character string corresponding with above-mentioned remainder Compare, until parsing terminates, till obtaining all of analysis result, wherein, comprising above-mentioned each in above-mentioned all of analysis result Joint name and its corresponding joint angles, and comprising premises position type name and its corresponding identifier.
Further, said method also includes:In comparison process, according to parsing order to above-mentioned all of analysis result Counted;Judge that whether the target analysis result in above-mentioned all of analysis result is the number that even number represents joint angles According to;If so, then by corresponding for data Cun Chudao of corresponding for above-mentioned target analysis result joint angles point position data structure.
Further, if it is not, being then zeroed out process to buffer.
Further, in the predetermined symbol according to acquisition, before parsing to the point position data of the robot for obtaining, on Stating method also includes:Judge whether above-mentioned predetermined symbol is identical with the valid data in the data of above-mentioned point position;If identical, first more Predetermined symbol is changed, the predetermined symbol after changing is reused afterwards, the point position data of the robot for obtaining are parsed;If no Same, then execute according to the predetermined symbol for obtaining, the step of parsing to the point position data of the robot for obtaining.
Another aspect according to embodiments of the present invention, additionally provides a kind of data analysis device, including:First obtains list Unit, for obtaining the point position data of robot;Second acquisition unit, for obtaining predetermined symbol, wherein, above-mentioned predetermined symbol is used In parsing above-mentioned point position data;Resolution unit, for according to the predetermined symbol for obtaining, entering to the point position data of the robot for obtaining Row parsing.
Further, wherein, above-mentioned point position data include joint data, put position categorical data, and above-mentioned joint data include Joint name and the corresponding joint angles of joint name, above-mentioned point position categorical data include that a position type name and point position type name are corresponding Identifier, wherein, above-mentioned resolution unit is additionally operable to:According to the predetermined symbol for obtaining, from a corresponding character string of position data, Parse each joint name and its corresponding joint angles, each point position type name and its corresponding identifier.
Further, above-mentioned resolution unit includes:Comparing module, for by above-mentioned predetermined symbol successively with above-mentioned character string In each character compare;Parsing module, in comparison process, if find to exist and above-mentioned default symbol in above-mentioned character string Number consistent character, then disconnect above-mentioned character string from the character, obtains in an analysis result and above-mentioned character string except upper State the remainder outside analysis result, and continue will be each in above-mentioned predetermined symbol successively character string corresponding with above-mentioned remainder Character is compared, and until parsing terminates, till obtaining all of analysis result, wherein, wraps in above-mentioned all of analysis result Containing above-mentioned each joint name and its corresponding joint angles, and comprising premises position type name and its corresponding identifier.
Further, said apparatus also include:Counting unit, in comparison process, according to parsing order to above-mentioned All of analysis result is counted;First judging unit, for judging the parsing knot of the target in above-mentioned all of analysis result Whether fruit is the data that even number represents joint angles;Memory cell, for where it has, tie the parsing of above-mentioned target In the corresponding point position data structure of data Cun Chudao of really corresponding joint angles.
Further, said apparatus also include:Unit is reset, in a case of no, place being zeroed out to buffer Reason.
Further, said apparatus also include:Second judging unit, in the predetermined symbol according to acquisition, to obtaining Robot point position data parsed before, judge above-mentioned predetermined symbol whether with above-mentioned point position data in valid data Identical;Updating block, under identical circumstances, first changing predetermined symbol, reuses the predetermined symbol after changing afterwards, right The point position data of the robot of acquisition are parsed, and wherein, above-mentioned resolution unit is additionally operable in different situations, execute root According to the predetermined symbol for obtaining, the step of parsing to the point position data of the robot for obtaining.
In embodiments of the present invention, by the way of a kind of information of predetermined symbol parsing robot point position, by obtaining machine The point position data of device people;Predetermined symbol is obtained, wherein, above-mentioned predetermined symbol is used for parsing above-mentioned point position data;According to obtained The point position data of the robot for obtaining are parsed, have reached the expression formula of automatic parsing robot point position by predetermined symbol Purpose, it is achieved thereby that the information required for automatically extracting, improves the technique effect of program efficiency, and then solves correlation technique In cannot parse robot point position expression formula technical problem.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of optional data analysis method according to embodiments of the present invention;
Fig. 2 is the flow chart of a kind of specific data analysis method according to embodiments of the present invention;
Fig. 3 is the schematic diagram of a kind of optional data analysis device according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Embodiment in based on the present invention, ordinary skill people The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps that clearly lists or unit, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or unit.
Embodiment 1
According to embodiments of the present invention, there is provided a kind of data analysis method embodiment, it should be noted that the stream in accompanying drawing The step of journey is illustrated can be executed in the such as computer system of one group of computer executable instructions, and, although in stream Logical order is shown in journey figure, but in some cases, can be executed with the order being different from herein shown or described The step of.
Fig. 1 is the flow chart of a kind of optional data analysis method according to embodiments of the present invention, as shown in figure 1, the party Method comprises the steps:
Step S102, obtains the point position data of robot;
Step S104, obtains predetermined symbol, and wherein, predetermined symbol is used for parsing point position data;
The point position data of the robot for obtaining, according to the predetermined symbol for obtaining, are parsed by step S106.
As the point position data of current robot are difficult to the parsing for automating, in order to realize the parsing side of computer type Formula, using a kind of predetermined symbol corresponding with point position data, can solve the problems, such as a position data parsing.Wherein, symbol is preset Except number can adopting optional sign, but the alphabetical and numeral occurred in bit data word symbol string.
By above-mentioned embodiment, by the way of a kind of information of predetermined symbol parsing robot point position, by obtaining machine The point position data of device people;Predetermined symbol is obtained, wherein, predetermined symbol is used for parsing point position data;According to the predetermined symbol for obtaining, The point position data of the robot for obtaining are parsed, the purpose of the expression formula of automatic parsing robot point position has been reached, so as to The information required for automatically extracting is achieved, the technique effect of program efficiency is improved, and then is solved in correlation technique and cannot solve The technical problem of the expression formula of analysis robot point position.
Alternatively, wherein, point position data include joint data, put position categorical data, and joint data include joint name and pass The corresponding joint angles of section name, point position categorical data include a position type name and the point corresponding identifier of position type name, wherein, root According to the predetermined symbol for obtaining, carrying out parsing to the point position data of the robot for obtaining includes:According to the predetermined symbol for obtaining, from point In the corresponding character string of data of position, each joint name and its corresponding joint angles are parsed, each point position type name and its corresponding Identifier.
For example, in robot (or manipulator) point position file, the point position of robot generally comprises shoulder joint node position, elbow and closes Other point positions such as node position, wrist joint point position, certain joint position may be used to lower form and represent:PT0 Q1 0 Q2 0 Q3 0 Q4 0 Q5,0 Q6 Mode 0, wherein, PT0 represents that a position title, Q1-Q6 represent that the joint angles of robot, Mode represent machine People's point position type, 0 represents that the point position is joint angles.The expression-form of above-mentioned point position is with space-separated character string.Need Bright, the expression way for putting position includes many kinds, above-mentioned expression way be therein a kind of, or, such as:PT1 X 910 Y, 0 Z, 1087 A, 0 B, 0 C, 0 Mode 1, PT1 represent that a position title, X, Y, Z, A, B, C represent robot TCP positions Put, Mode represents robot point position type, 1 represents that the point position type is TCP positions.By obtaining a kind of predetermined symbol, from point The corresponding character string parsing of position data goes out each joint name and its corresponding joint angles, each point position type name and its corresponding mark Other information such as will symbol.
Alternatively, according to obtain predetermined symbol, from a corresponding character string of position data, parse each joint name and its Corresponding joint angles, each point position type name and its corresponding identifier include:By predetermined symbol successively with each word in character string Symbol is compared;In comparison process, if finding there is the character consistent with predetermined symbol in character string, by character string from this Disconnect at character, obtain the remainder in addition to analysis result in an analysis result and character string, and continue predetermined symbol In character string corresponding with remainder, each character is compared successively, and until parsing terminates, obtaining all of analysis result is Only, wherein, comprising each joint name and its corresponding joint angles in all of analysis result, and comprising each point position type name and Its corresponding identifier.
Alternatively, said method also includes:In comparison process, all of analysis result is counted according to parsing order Number;Judge that whether the target analysis result in all of analysis result is the data that even number represents joint angles;If so, then By in corresponding for data Cun Chudao of corresponding for target analysis result joint angles point position data structure.Alternatively, if it is not, then right Buffer is zeroed out process.
Specifically, for example, Fig. 2 is the flow chart of a kind of specific data analysis method according to embodiments of the present invention, such as Shown in Fig. 2, before corresponding data is parsed, need to carry out Initialize installation;After the point position data for obtaining robot, it is right to need That puts position data goes out each joint name and its corresponding joint angles, and each point position type name and its corresponding identifier are solved automatically Analyse, resolving is:Predetermined symbol is compared with each character in character string successively, is existed in character string when finding and is preset The consistent character of symbol, then disconnect character string from the character, obtains an analysis result, additionally, also including in character string Remainder in addition to analysis result, in addition it is also necessary to continue each character in predetermined symbol successively character string corresponding with remainder Compare, until parsing terminates.
Also, in comparison process, need to count all of analysis result according to parsing order;Judge all of Whether the target analysis result in analysis result is the data that even number represents joint angles, it is of course also possible to be other Judgment mode, such as judges that whether the target analysis result in all of analysis result is the number that odd number represents joint angles According to.Can be set according to actual conditions.
Alternatively, in the predetermined symbol according to acquisition, before parsing to the point position data of the robot for obtaining, above-mentioned Method also includes:Judge whether predetermined symbol is identical with the valid data in a position data;If identical, default symbol is first changed Number, reuse the predetermined symbol after changing afterwards, the point position data of the robot for obtaining are parsed;If it is different, then executing According to the predetermined symbol for obtaining, the step of parsing to the point position data of the robot for obtaining.
For example, point position data in occur numeral and point bit data word symbol string in occur alphabetical when, need predetermined symbol It is replaced by other symbols.By using except numeral and point bit data word symbol string in occur letter in addition to arbitrarily meet as minute Every, program flexibility can be improved, while alternative extract required information, minimizing redundancy improves program efficiency.
Embodiment 2
Another aspect according to embodiments of the present invention, additionally provides a kind of data analysis device, and Fig. 3 is according to of the invention real The schematic diagram of a kind of optional data analysis device of example is applied, as indicated at 3, including:First acquisition unit 20, for obtaining machine The point position data of people;Second acquisition unit 40, for obtaining predetermined symbol, wherein, predetermined symbol is used for parsing point position data;Solution Analysis unit 60, for according to the predetermined symbol for obtaining, parsing to the point position data of the robot for obtaining.
By above-mentioned embodiment, the purpose of the expression formula of automatic parsing robot point position is reached, it is achieved thereby that from Dynamic extract required for information, improve the technique effect of program efficiency, and then solve The technical problem of the expression formula of point position.
Alternatively, wherein, point position data include joint data, put position categorical data, and joint data include joint name and pass The corresponding joint angles of section name, point position categorical data include a position type name and the point corresponding identifier of position type name, wherein, solution Analysis unit, is additionally operable to:According to obtain predetermined symbol, from a corresponding character string of position data, parse each joint name and its Corresponding joint angles, each point position type name and its corresponding identifier.
Alternatively, resolution unit includes:Comparing module, for being compared predetermined symbol successively with each character in character string Right;Parsing module, in comparison process, if finding there is the character consistent with predetermined symbol in character string, by character String is disconnected from the character, obtains the remainder in addition to analysis result in an analysis result and character string, and continue will be pre- If in remainder corresponding character string compare successively by each character for symbol, until parsing terminates, all of parsing is obtained As a result till, wherein, comprising each joint name and its corresponding joint angles in all of analysis result, and include each point position class Type name and its corresponding identifier.
Alternatively, said apparatus also include:Counting unit, in comparison process, according to parsing order to all of Analysis result is counted;First judging unit, for judging whether the target analysis result in all of analysis result is Even number represents the data of joint angles;Memory cell, for where it has, by corresponding for target analysis result joint angle In the corresponding point position data structure of data Cun Chudao of degree.
Alternatively, said apparatus also include:Unit is reset, in a case of no, process being zeroed out to buffer.
Alternatively, said apparatus also include:Second judging unit, in the predetermined symbol according to acquisition, to obtained Before the point position data of robot are parsed, judge whether predetermined symbol is identical with the valid data in a position data;Update Unit, under identical circumstances, first changing predetermined symbol, reusing the predetermined symbol after changing afterwards, to the machine for obtaining The point position data of device people are parsed, and wherein, resolution unit is additionally operable in different situations, execute default according to obtained Symbol, the step of parsing to the point position data of the robot for obtaining.
It should be noted that each embodiment of device is relative with each embodiment of method in embodiment 1 in embodiment 2 Answer, reference implementation example 1 is discussed in detail, will not be described here.
Embodiment of the present invention sequence number is for illustration only, does not represent the quality of embodiment.
In an embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, is not described in detail in certain embodiment Part, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can pass through other Mode is realized.Wherein, device embodiment described above is only schematic, the division of for example described unit, Ke Yiwei A kind of division of logic function, can have when actually realizing other dividing mode, for example multiple units or component can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not execute.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Such understanding is based on, technical scheme is substantially The part that in other words prior art is contributed or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server or network equipment etc.) execute the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (12)

1. a kind of data analysis method, it is characterised in that include:
Obtain the point position data of robot;
Predetermined symbol is obtained, wherein, the predetermined symbol is used for parsing point position data;
According to the predetermined symbol for obtaining, the point position data of the robot for obtaining are parsed.
2. method according to claim 1, it is characterised in that wherein, point position data include joint data, put position class Type data, the joint data include that joint name and the corresponding joint angles of joint name, point position categorical data include a position Type name and the corresponding identifier of point position type name, wherein, according to the predetermined symbol for obtaining, the point digit of the robot to obtaining Include according to parsing is carried out:
According to the predetermined symbol for obtaining, from a corresponding character string of position data, each joint name and its corresponding joint is parsed Angle, each point position type name and its corresponding identifier.
3. method according to claim 2, it is characterised in that according to the predetermined symbol for obtaining, corresponding from a position data In character string, each joint name and its corresponding joint angles are parsed, each point position type name and its corresponding identifier include:
The predetermined symbol is compared with each character in the character string successively;
In comparison process, if finding there is the character consistent with the predetermined symbol in the character string, by the character String is disconnected from the character, obtains the remainder in addition to the analysis result in an analysis result and the character string, and Continue each character in the predetermined symbol successively character string corresponding with the remainder is compared, until parsing knot Beam, till obtaining all of analysis result, wherein, comprising each joint name and its corresponding in all of analysis result Joint angles, and comprising each point position type name and its corresponding identifier.
4. method according to claim 3, it is characterised in that methods described also includes:
In comparison process, all of analysis result is counted according to parsing order;
Judge that whether the target analysis result in all of analysis result is the data that even number represents joint angles;
If so, then by corresponding for data Cun Chudao of corresponding for target analysis result joint angles point position data structure.
5. method according to claim 4, it is characterised in that if it is not, being then zeroed out process to buffer.
6. method according to claim 3, it is characterised in that according to the predetermined symbol for obtaining, to the robot for obtaining Point position data parsed before, methods described also includes:
Judge whether the predetermined symbol is identical with the valid data in the data of the point position;
If identical, predetermined symbol is first changed, the predetermined symbol after changing is reused afterwards, the point digit of the robot to obtaining According to being parsed;
If it is different, then execute according to the predetermined symbol for obtaining, the step of parsing to the point position data of the robot for obtaining.
7. a kind of data analysis device, it is characterised in that include:
First acquisition unit, for obtaining the point position data of robot;
Second acquisition unit, for obtaining predetermined symbol, wherein, the predetermined symbol is used for parsing point position data;
Resolution unit, for according to the predetermined symbol for obtaining, parsing to the point position data of the robot for obtaining.
8. device according to claim 7, it is characterised in that wherein, point position data include joint data, put position class Type data, the joint data include that joint name and the corresponding joint angles of joint name, point position categorical data include a position Type name and the corresponding identifier of point position type name, wherein, the resolution unit is additionally operable to:
According to the predetermined symbol for obtaining, from a corresponding character string of position data, each joint name and its corresponding joint is parsed Angle, each point position type name and its corresponding identifier.
9. device according to claim 8, it is characterised in that the resolution unit includes:
Comparing module, for comparing the predetermined symbol successively with each character in the character string;
Parsing module, in comparison process, if finding there is the character consistent with the predetermined symbol in the character string, Then the character string is disconnected from the character, is obtained in an analysis result and the character string in addition to the analysis result Remainder, and continue each character in the predetermined symbol successively character string corresponding with the remainder is compared, Until parsing terminates, till obtaining all of analysis result, wherein, include each joint name in all of analysis result And its corresponding joint angles, and comprising each point position type name and its corresponding identifier.
10. device according to claim 9, it is characterised in that described device also includes:
Counting unit, for, in comparison process, counting to all of analysis result according to parsing order;
First judging unit, for judging whether the target analysis result in all of analysis result is that even number is represented The data of joint angles;
Memory cell, for where it has, data Cun Chudao pair by corresponding for target analysis result joint angles In the point position data structure that answers.
11. devices according to claim 10, it is characterised in that described device also includes:Unit is reset, for no In the case of, process is zeroed out to buffer.
12. devices according to claim 9, it is characterised in that described device also includes:
Second judging unit, for according to the predetermined symbol for obtaining, carrying out parsing it to the point position data of the robot for obtaining Before, judge whether the predetermined symbol is identical with the valid data in the data of the point position;
Updating block, under identical circumstances, first changing predetermined symbol, reuses the predetermined symbol after changing afterwards, right The point position data of the robot of acquisition are parsed,
Wherein, the resolution unit, is additionally operable in different situations, execute according to the predetermined symbol for obtaining, to the machine for obtaining The step of point position data of device people are parsed.
CN201610842613.9A 2016-09-21 2016-09-21 Data analysis method and device Active CN106502207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610842613.9A CN106502207B (en) 2016-09-21 2016-09-21 Data analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610842613.9A CN106502207B (en) 2016-09-21 2016-09-21 Data analysis method and device

Publications (2)

Publication Number Publication Date
CN106502207A true CN106502207A (en) 2017-03-15
CN106502207B CN106502207B (en) 2019-01-01

Family

ID=58290800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610842613.9A Active CN106502207B (en) 2016-09-21 2016-09-21 Data analysis method and device

Country Status (1)

Country Link
CN (1) CN106502207B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021444A (en) * 2017-11-06 2018-05-11 珠海格力智能装备有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222093A (en) * 2011-06-09 2011-10-19 中国工程物理研究院计算机应用研究所 Method for obtaining longest common substring of alphabetic strings
CN102508690A (en) * 2011-11-11 2012-06-20 瑞斯康达科技发展股份有限公司 Storing method and decoding method for command line of embedded equipment
CN102609459A (en) * 2012-01-12 2012-07-25 神州数码网络(北京)有限公司 Method and device for string matching based on regular expression
CN104699662A (en) * 2015-03-18 2015-06-10 北京交通大学 Method and device for recognizing whole symbol string

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222093A (en) * 2011-06-09 2011-10-19 中国工程物理研究院计算机应用研究所 Method for obtaining longest common substring of alphabetic strings
CN102508690A (en) * 2011-11-11 2012-06-20 瑞斯康达科技发展股份有限公司 Storing method and decoding method for command line of embedded equipment
CN102609459A (en) * 2012-01-12 2012-07-25 神州数码网络(北京)有限公司 Method and device for string matching based on regular expression
CN104699662A (en) * 2015-03-18 2015-06-10 北京交通大学 Method and device for recognizing whole symbol string

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021444A (en) * 2017-11-06 2018-05-11 珠海格力智能装备有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN106502207B (en) 2019-01-01

Similar Documents

Publication Publication Date Title
EP3651043A1 (en) Url attack detection method and apparatus, and electronic device
CN109598509B (en) Identification method and device for risk group partner
CN107483458A (en) The recognition methods of network attack and device, computer-readable recording medium
CN107707477A (en) The processing method and processing device of message, computer-readable recording medium
CN106815226A (en) Text matching technique and device
CN106708841B (en) The polymerization and device of website visitation path
CN105282123A (en) Network protocol identification method and device
CN107704764A (en) Build method, apparatus, equipment and the man-machine knowledge method for distinguishing of training set
CN110138794A (en) A kind of counterfeit website identification method, device, equipment and readable storage medium storing program for executing
CN107038108A (en) The method of testing and device of software
CN103823852B (en) The treating method and apparatus of database server daily record
CN107038664A (en) Curricula method for pushing, device, storage medium and processor
CN106933644A (en) Data processing method and device
CN106502207A (en) Data analysis method and device
CN107368569A (en) Data difference control methods and device, storage medium and processor
CN110532773A (en) Malicious access Activity recognition method, data processing method, device and equipment
CN106612338A (en) Processing method and device of equipment identification information
CN103957012B (en) A kind of compression method and device of DFA matrixes
CN112272184A (en) Industrial flow detection method, device, equipment and medium
CN104463627B (en) Data processing method and device
CN116185296A (en) Distributed safe storage system based on multimedia teleconference information
CN108259441A (en) It is a kind of to prevent URL from accessing the method and device to detour
CN106408156A (en) Flow template recovering method and device
CN110399360A (en) The setting method and device of dictionary table, storage medium, electronic device
CN108334778A (en) Method for detecting virus, device, storage medium and processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant