A kind of data processing system and data processing method

文档序号:1771507 发布日期:2019-12-03 浏览:16次 中文

阅读说明:本技术 一种数据处理系统和数据处理方法 (A kind of data processing system and data processing method ) 是由 宋奔 耿磊 于 2019-08-30 设计创作,主要内容包括:本申请公开一种数据处理系统和数据处理方法,属于人工智能技术领域,该数据处理系统中,业务层确定满足业务模块的触发条件时,确定业务模块的数据处理需求对应的目标功能组件,向组件层发送调用请求,组件层根据调用请求向数据调度层发送第一数据获取请求,控制目标功能组件对返回的视觉数据执行处理,将执行结果返回给业务层,业务层根据执行结果生成控制指令,控制智能机器人执行控制指令,这样,将业务需求和视觉数据处理需求分离,业务层调用组件层中的功能组件即可满足对应的视觉数据处理需求,开发人员在开发业务模块时可专注于开发业务需求,而不必过多关注业务模块的视觉数据处理需求,故可简化业务模块的开发,提升开发效率。(The application discloses a kind of data processing system and data processing method, belong to field of artificial intelligence, in the data processing system, when operation layer determination meets the trigger condition of business module, determine the corresponding targeted functional component of the data processing needs of business module, call request is sent to component layer, component layer sends the first data acquisition request to data dispatch layer according to call request, control targeted functional component executes processing to the vision data of return, implementing result is returned into operation layer, operation layer generates control instruction according to implementing result, it controls intelligent robot and executes control instruction, in this way, business demand and visual data processing demand are separated, functional unit in operation layer invocation component layer can meet corresponding visual data processing demand, developer can be absorbed in exploitation business demand when developing business module, and The visual data processing demand of business module need not be excessively paid close attention to, therefore the exploitation of business module can be simplified, promotes development efficiency.)

1. a kind of data processing system, which is characterized in that the system comprises operation layer, component layer and data dispatch layers, in which:

The operation layer, for determining the data of the business module when any business module of intelligent robot is triggered The corresponding targeted functional component of process demand, and call request is sent to the component layer, it include described in the call request The identification information of targeted functional component;Control instruction is generated according to the implementing result that the component layer returns, and controls the intelligence It can the robot execution control instruction;

The component layer, for determining the targeted functional component according to the identification information in the call request;To the number The first data acquisition request for vision data needed for obtaining the targeted functional component is sent according to dispatch layer;Control the mesh The vision data that mark functional unit returns to the data dispatch layer executes processing, by the implementing result of the targeted functional component It is back to the operation layer;

The data dispatch layer, for the identification information of the targeted functional component according to first data acquisition request, From the vision data that vision module acquires, vision data needed for determining the targeted functional component, and it is back to described group Part layer.

2. the system as claimed in claim 1, which is characterized in that the operation layer is specifically used for:

If it is determined that the business module has at least two data processing needs, then according to various data processings in the business module The logical order of demand successively sends the calling to the corresponding targeted functional component of every kind of data processing needs to the component layer Request.

3. system as claimed in claim 2, which is characterized in that the component layer is specifically used for:

Parameter information needed for carrying out data processing according to targeted functional component described in the call request, creates the target The example of functional unit;The vision data for calling the example to return to the data dispatch layer executes processing, obtains described hold Row result.

4. system as claimed in claim 3, which is characterized in that the component layer is specifically used for:

If meeting the condition that the targeted functional component in the call request starts to process data, call the example to institute The vision data for stating the return of data dispatch layer executes processing;Or

After the example creates successfully, call directly at the vision data execution that the example returns to the data dispatch layer Reason.

5. system as described in claim 3 or 4, which is characterized in that the component layer is also used to:

After the vision data execution processing for calling the example to return to the data dispatch layer, asked if meeting the calling The life cycle of condition or the example that targeted functional component described in asking ends processing data terminates, and discharges the example.

6. the system as claimed in claim 1, which is characterized in that

The operation layer is also used to targeted functional component corresponding with the data processing needs if it does not exist, then to the number Third data acquisition request is sent according to dispatch layer, to obtain the data for the data processing needs for meeting the business module;According to The implementing result that the data dispatch layer returns generates control instruction, and controls the intelligent robot execution control and refer to It enables;

The data dispatch layer is also used to the vision number according to the third data acquisition request, acquired from the vision module In, vision data needed for determining the business module, according to the data processing needs in the third data acquisition request Information, executes processing to vision data needed for the business module, and processing result is back to the operation layer.

7. claim 1-4,6 it is any as described in system, which is characterized in that the data dispatch layer is also used to:

If the format of the data got from vision module and the format for the data that the business module can identify are inconsistent, The format of the data got from the vision module is converted into the format that the business module can identify.

8. a kind of data processing method characterized by comprising

Through operation layer when any business module of intelligent robot is triggered, determine that the data processing of the business module needs Corresponding targeted functional component is sought, and sends call request to component layer, carries the objective function group in the call request The identification information of part;

By the component layer according to the identification information in the call request, the targeted functional component is determined;And to number The first data acquisition request for vision data needed for obtaining the targeted functional component is sent according to dispatch layer;

By the identification information of data dispatch layer targeted functional component according to first data acquisition request, from vision In the vision data of module acquisition, vision data needed for determining the targeted functional component, and it is back to the component layer;

The vision data that the targeted functional component returns to the data dispatch layer, which is controlled, by the component layer executes processing, The implementing result of the targeted functional component is back to the operation layer;

Control instruction is generated according to the implementing result by the operation layer, and controls the intelligent robot and executes the control System instruction.

9. a kind of electronic equipment characterized by comprising at least one processor, and it is logical at least one described processor Believe the memory of connection, in which:

The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one It manages device to execute, so that at least one described processor is able to carry out method according to claim 8.

10. a kind of computer-readable medium, is stored with computer executable instructions, which is characterized in that the computer is executable Instruction is for executing method according to claim 8.

Technical field

This application involves field of artificial intelligence more particularly to a kind of data processing systems and data processing method.

Background technique

With the fast development of artificial intelligence technology, there are more and more intelligent robots, due to intelligent robot The mankind can be replaced to do many service type work, have a good application prospect, and cost of labor increases year by year, so to intelligence The research of robot is also more and more.

In practical application, intelligent robot often needs to use vision data when executing operation flow, and in difference It is also different to the process demand of vision data in business scenario.Currently, being to realize the business in the development process of business scenario The corresponding visual data processing demand of scene, that is to say, that developer will not only pay close attention to business demand in business scenario, also Corresponding visual data processing demand in business scenario is paid close attention to, business scenario develops comparatively laborious complexity.

As it can be seen that the problem of the comparatively laborious complexity of exploitation of business scenario exists in the prior art.

Summary of the invention

The embodiment of the present application provides a kind of data processing system and data processing method, exists in the prior art to solve Business scenario the comparatively laborious complexity of exploitation problem.

In a first aspect, the embodiment of the present application provides a kind of data processing system, the system comprises operation layer, component layer and Data dispatch layer, in which:

The operation layer, for determining the business module when any business module of intelligent robot is triggered The corresponding targeted functional component of data processing needs, and call request is sent to the component layer, include in the call request The identification information of the targeted functional component;Control instruction is generated according to the implementing result that the component layer returns, and controls institute It states intelligent robot and executes the control instruction;

The component layer, for determining the targeted functional component according to the identification information in the call request;To institute State first data acquisition request of the data dispatch layer transmission for vision data needed for obtaining the targeted functional component;Control institute It states the vision data that targeted functional component returns to the data dispatch layer and executes processing, by the execution of the targeted functional component As a result it is back to the operation layer;

The data dispatch layer, the mark for the targeted functional component according to first data acquisition request are believed Breath, from the vision data that vision module acquires, vision data needed for determining the targeted functional component, and be back to described Component layer.

Under a kind of possible embodiment, the operation layer is specifically used for:

If it is determined that the business module has at least two data processing needs, then according to various data in the business module The logical order of process demand is successively sent to the component layer to the corresponding targeted functional component of every kind of data processing needs Call request.

Under a kind of possible embodiment, the component layer is specifically used for:

Parameter information needed for carrying out data processing according to targeted functional component described in the call request, described in creation The example of targeted functional component;The vision data for calling the example to return to the data dispatch layer executes processing, obtains institute State implementing result.

Under a kind of possible embodiment, the component layer is specifically used for:

If meeting the condition that the targeted functional component in the call request starts to process data, the example is called The vision data returned to the data dispatch layer executes processing;Or

After the example creates successfully, calls directly the vision data that the example returns to the data dispatch layer and hold Row processing.

Under a kind of possible embodiment, the component layer is also used to:

After the vision data execution processing for calling the example to return to the data dispatch layer, if meeting the tune The life cycle of condition or the example that the targeted functional component described in request ends processing data terminates, and discharges the reality Example.

Under a kind of possible embodiment, the data dispatch layer is also used to:

If receiving the asking for vision data needed for stopping the acquisition targeted functional component that the component layer is sent It asks, then stops vision data needed for returning to the targeted functional component to the component layer.

Under a kind of possible embodiment, the operation layer, be also used to if it does not exist with the data processing needs pair The targeted functional component answered then sends the second data acquisition request to the data dispatch layer, to obtain the business module institute The vision data needed;The vision data returned to the data dispatch layer executes processing, generates control instruction according to implementing result, And it controls the intelligent robot and executes the control instruction;

The data dispatch layer is also used to the view according to second data acquisition request, acquired from the vision module Feel in data, the vision data is back to the operation layer by vision data needed for determining the business module.

Under a kind of possible embodiment, the operation layer, be also used to if it does not exist with the data processing needs pair The targeted functional component answered then sends third data acquisition request to the data dispatch layer, meets the business mould to obtain The data of the data processing needs of block;Control instruction is generated according to the implementing result that the data dispatch layer returns, and controls institute It states intelligent robot and executes the control instruction;

The data dispatch layer is also used to the view according to the third data acquisition request, acquired from the vision module Feel in data, vision data needed for determining the business module, according to the data processing in the third data acquisition request Demand information, executes processing to vision data needed for the business module, and processing result is back to the operation layer.

Under a kind of possible embodiment, the data dispatch layer is also used to:

If receiving the request for data needed for stopping the acquisition business module that the operation layer is sent, stop Data transmission between the business module.

Under a kind of possible embodiment, the data cached in the data dispatch layer are comprised at least one of the following:

The face information of each object in the vision module acquired image;The human body information of each object;It is described The distance between each object and the intelligent robot information;Orientation letter between each object and the intelligent robot Breath.

Under a kind of possible embodiment, the data dispatch layer is also used to:

If the format of the data got from vision module and the format for the data that the business module can identify are different It causes, then the format of the data got from the vision module is converted into the format that the business module can identify.

Second aspect, a kind of data method provided by the embodiments of the present application, comprising:

Through operation layer when any business module of intelligent robot is triggered, at the data that determine the business module The corresponding targeted functional component of reason demand, and call request is sent to component layer, the target function is carried in the call request The identification information of energy component;

By the component layer according to the identification information in the call request, the targeted functional component is determined;And The first data acquisition request for vision data needed for obtaining the targeted functional component is sent to data dispatch layer;

By the identification information of data dispatch layer targeted functional component according to first data acquisition request, from In the vision data of vision module acquisition, vision data needed for determining the targeted functional component, and it is back to the component Layer;

The targeted functional component is controlled by the component layer to execute the vision data that the data dispatch layer returns Processing, is back to the operation layer for the implementing result of the targeted functional component;

Control instruction is generated according to the implementing result by the operation layer, and controls the intelligent robot and executes institute State control instruction.

Under a kind of possible embodiment, call request is sent to component layer, comprising:

By the operation layer if it is determined that the business module has at least two data processing needs, then according to the business The logical order of various data processing needs in module is successively sent to the component layer corresponding to every kind of data processing needs The call request of targeted functional component.

Under a kind of possible embodiment, the targeted functional component is controlled to the data tune by the component layer The vision data that degree layer returns executes processing, comprising:

Ginseng needed for carrying out data processing by component layer targeted functional component according to the call request Number information, the example for creating the targeted functional component;

Processing is executed by the vision data that the component layer calls the example to return to the data dispatch layer, is obtained The implementing result.

Under a kind of possible embodiment, the example is called to return to the data dispatch layer by the component layer Vision data execute processing, obtain the implementing result, comprising:

If meeting the item that the targeted functional component in the call request starts to process data by the component layer Part, the vision data for calling the example to return to the data dispatch layer execute processing;Or

Through the component layer after the example creates successfully, calls directly the example and the data dispatch layer is returned The vision data returned executes processing.

Under a kind of possible embodiment, further includes:

The example is being called to execute processing to the vision data that the data dispatch layer returns by the component layer Afterwards, if meeting targeted functional component described in the call request ends processing the condition of data or the life cycle of the example Terminate, discharges the example.

Under a kind of possible embodiment, the method also includes:

If receiving the stopping that being used for that the component layer is sent by the data dispatch layer obtains the objective function group The request of vision data needed for part then stops vision data needed for returning to the targeted functional component to the component layer.

Under a kind of possible embodiment, the method also includes:

By operation layer targeted functional component corresponding with the data processing needs if it does not exist, then to the number The second data acquisition request is sent according to dispatch layer, with vision data needed for obtaining the business module;

By the data dispatch layer according to second data acquisition, from the vision data of vision module acquisition In, the vision data is back to the operation layer by vision data needed for determining the business module;

Processing is executed by the vision data that the operation layer returns to the data dispatch layer, is generated according to implementing result Control instruction, and control the intelligent robot and execute the control instruction.

Under a kind of possible embodiment, the method also includes:

By operation layer targeted functional component corresponding with the data processing needs if it does not exist, then to the number Third data acquisition request is sent according to dispatch layer, to obtain the data for the data processing needs for meeting the business module;

By the data dispatch layer according to the third data acquisition request, from the vision number of vision module acquisition In, vision data needed for determining the business module, according to the data processing needs in the third data acquisition request Information, executes processing to vision data needed for the business module, and processing result is back to the operation layer;

Control instruction is generated according to the implementing result that the data dispatch layer returns by the operation layer, and described in control Intelligent robot executes the control instruction.

Under a kind of possible embodiment, the method also includes:

If receiving the stopping that being used for that the operation layer is sent by the data dispatch layer obtains the business module institute The request of data is needed, then the data stopped between the business module are transmitted.

Under a kind of possible embodiment, the data cached in the data dispatch layer are comprised at least one of the following:

The face information of each object in the vision module acquired image;The human body information of each object;It is described The distance between each object and the intelligent robot information;Orientation letter between each object and the intelligent robot Breath.

Under a kind of possible embodiment, the method also includes:

If the format of the data got by the data dispatch layer from vision module can be known with the business module The format of other data is inconsistent, then the format of the data got from the vision module is converted to the business module energy The format enough identified.

The third aspect, a kind of electronic equipment provided by the embodiments of the present application, comprising: at least one processor, and with institute State the memory of at least one processor communication connection, in which:

Memory is stored with the instruction that can be executed by least one processor, which is held by least one described processor Row, so that at least one described processor is able to carry out above-mentioned data processing method.

A kind of fourth aspect, computer-readable medium provided by the embodiments of the present application, is stored with computer executable instructions, The computer executable instructions are for executing above-mentioned data processing method.

Data dispatch layer, operation layer and component layer are provided in the embodiment of the present application, in data processing system, operation layer exists When determination meets the trigger condition of any business module of intelligent robot, the corresponding mesh of the data processing needs of business module is determined Functional unit is marked, the call request to targeted functional component is sent to component layer, after component layer receives call request, to data Dispatch layer is sent for obtaining the first data acquisition request of vision data needed for targeted functional component, and controls objective function group The vision data that part returns to data dispatch layer executes processing, implementing result is returned to operation layer, operation layer is according to component layer The implementing result of return generates control instruction, and controls intelligent robot and execute control instruction, in this way, by the business of business module Demand and visual data processing demand are separated, and it is corresponding that operation layer only needs the functional unit in invocation component layer that can meet Visual data processing demand, developer can be absorbed in the business demand of exploitation business module when developing business module, without Therefore the visual data processing demand of excessive concern business module can simplify the development process of business module, promote business module Development efficiency.

Detailed description of the invention

The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:

Fig. 1 is a kind of application scenarios schematic diagram of data processing system provided by the embodiments of the present application;

Fig. 2 is a kind of schematic diagram of data processing system provided by the embodiments of the present application;

Fig. 3 is a kind of flow chart of data processing method provided by the embodiments of the present application;

Fig. 4 is the flow chart of another data processing method provided by the embodiments of the present application;

Fig. 5 is the flow chart of another data processing method provided by the embodiments of the present application;

Fig. 6 is a kind of structural schematic diagram of the computing device of application data processing method provided by the embodiments of the present application.

Specific embodiment

Comparatively laborious complicated, the embodiment of the present application of exploitation in order to solve the problems, such as business scenario existing in the prior art Provide a kind of data processing system and data processing method.

Preferred embodiment of the present application is illustrated below in conjunction with Figure of description, it should be understood that described herein Preferred embodiment is only used for describing and explaining the application, is not used to limit the application, and in the absence of conflict, this Shen Please in embodiment and embodiment in feature can be combined with each other.

Referring to Fig. 1, Fig. 1 is a kind of application scenarios schematic diagram of data processing system provided by the embodiments of the present application, including Vision module and data processing system, wherein data processing system includes operation layer, component layer and data dispatch layer, operation layer Including N number of business module, component layer includes M functional unit, and each business module includes at least one data processing needs, often Kind data processing needs correspond to a kind of functional unit, and each business module can call at least one functional unit, work as different business When the partial data process demand of module is identical, different business modules can call same functional unit simultaneously, referring to Fig. 1, Business module 1 can calling function component 1, business module 2 can calling function component 2, business module N can 2 He of calling function component Functional unit M, N and M are positive integer.

In practical application, vision module is installed on intelligent robot, is carried out for the ambient enviroment to intelligent robot Image Acquisition, and acquired image is analyzed and processed to obtain vision data, face information, people such as object each in image The distance between body information, each object and intelligent robot information, azimuth information etc. belong to vision data.Vision data is to intelligence Particularly significant for energy robot processing business, therefore, vision module is also particularly significant for intelligent robot processing business.

Data processing system provided by the embodiments of the present application, by the business demand of business module and visual data processing demand It is separated, operation layer only needs the functional unit in invocation component layer that can meet corresponding visual data processing demand, exploitation Personnel can be absorbed in the business demand of exploitation business module, the vision without excessively paying close attention to business module when developing business module Data processing needs promote the development efficiency of business module, are described as follows in the hope of simplifying the development process of business module.

Firstly, the treatment process of the operation layer in data processing system is described in detail.

Operation layer is used for when any business module of intelligent robot is triggered, and determines that the data processing of business module needs Corresponding targeted functional component is sought, and sends call request to component layer, includes the mark of targeted functional component in the call request Know information, control instruction is generated according to the implementing result that component layer returns, and control intelligent robot and execute control instruction.

21页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像形成装置及其启动控制方法、存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!