WO2022148212A1 - 信息的处理装置、方法和机器人 - Google Patents

信息的处理装置、方法和机器人 Download PDF

Info

Publication number
WO2022148212A1
WO2022148212A1 PCT/CN2021/137413 CN2021137413W WO2022148212A1 WO 2022148212 A1 WO2022148212 A1 WO 2022148212A1 CN 2021137413 W CN2021137413 W CN 2021137413W WO 2022148212 A1 WO2022148212 A1 WO 2022148212A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
task request
task
processor
processing
Prior art date
Application number
PCT/CN2021/137413
Other languages
English (en)
French (fr)
Inventor
姚秀军
桂晨光
许哲涛
Original Assignee
京东科技信息技术有限公司
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 京东科技信息技术有限公司 filed Critical 京东科技信息技术有限公司
Publication of WO2022148212A1 publication Critical patent/WO2022148212A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to an information processing device, an information processing method, a robot, and a non-volatile computer-readable storage medium.
  • the main controller of the service robot generally needs to handle various tasks such as voice interaction, display interaction, task scheduling, path planning, and sensor data response.
  • the service robot mostly runs the Linux operating system, and processes various tasks through a unified processor.
  • an apparatus for processing information comprising: a service function device, configured to send a first task request or a second task request according to the length of the response time required by the task to be processed, the first task request The required response time is longer than the response time of the second task request; the first processor is used to receive and process the first task request; the second processor is used to receive and process the second task request, and will respond to the second task request The processing result is sent to the first processor.
  • the service function device receives related information of the task to be processed, and determines the length of the response time required by the task to be processed according to at least one of the type of the related information or the size of the corresponding data value.
  • the first processor interrupts the current worker thread in response to the second processor processing the second task request; after the second processor finishes processing the second task request, notifies the first processor to resume the current worker thread .
  • the service function device configures an identifier in the task request according to the length of the response time, which is used to indicate that the task request is the first task request or the second task request.
  • the task request further includes priority information for indicating a processing priority of the second task request if the task request is the second task request.
  • the service function device determines that the response time is shorter than a threshold and generates the second task request when the relevant information of the task to be processed is at least one of braking information and abnormal operation information.
  • the service function device includes a bottom-level signal processing module
  • the braking information includes at least one of information about the obstacle being located in the braking area, information about the existence of a cliff, and information about triggering a safety edge.
  • the service function device includes a power control module
  • the braking information includes emergency stop departure information
  • the operation abnormality information is power supply abnormality information, including at least one of battery overtemperature information and battery overvoltage.
  • the service function device includes an interaction module, and the braking information includes at least one of touch braking information, voice braking information, and shutdown information.
  • the service function device includes a navigation module
  • the braking information includes information that the obstacle is located in the braking area
  • the operation abnormality information includes navigation abnormality information.
  • the service function device includes a power module, and the operation abnormality information is motor abnormality information, including at least one of motor stall information and motor stall information.
  • providing an information processing method includes: receiving a first task request or a second task request of a task to be processed sent by a service function device, where the response time required by the first task request is longer than that of the second task request.
  • the response time of the task request in the case of the first task request sent by the business function device, the first processor is used to process the first task request; in the case of the second task request sent by the business function device, the second processor is used
  • the second task request is processed, and the processing result of the second task request is sent to the first processor.
  • the length of the response time is determined according to at least one of the type of related information of the task to be processed or the size of the corresponding data value.
  • using the second processor to process the second task request includes: in response to the second processor processing the second task request, using the first processor to interrupt the current worker thread; After the task request, the first processor is notified to resume the current worker thread.
  • the processing method further includes: determining that the task request is the first task request or the second task request according to the identifier in the task request sent by the business function device, and the identifier is the response time of the business function device according to the length of the response time. configuration.
  • using the second processor to process the second task request includes: if the task request sent by the service function device is the second task request, determining the second task request according to priority information in the task request processing priority; process the second task request according to the processing priority.
  • receiving the first task request or the second task request of the to-be-processed task sent by the service function device includes: when the relevant information of the to-be-processed task is at least one of braking information and operation abnormality information In the case of receiving the second task request sent by the service function device.
  • a robot including the information processing apparatus in any one of the above embodiments.
  • an apparatus for processing information comprising: a memory; and a processor coupled to the memory, the processor being configured to execute any one of the above embodiments based on instructions stored in the memory apparatus The method of processing the information in .
  • a non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the information processing method in any one of the foregoing embodiments.
  • FIG. 1 illustrates a block diagram of some embodiments of an apparatus for processing information of the present disclosure
  • FIG. 2 shows a schematic diagram of some embodiments of an apparatus for processing information of the present disclosure
  • FIG. 3 shows a schematic diagram of other embodiments of the information processing apparatus of the present disclosure
  • FIG. 4 illustrates a flow chart of some embodiments of methods of processing information of the present disclosure
  • Figure 5 shows a block diagram of other embodiments of the information processing apparatus of the present disclosure.
  • Figure 6 shows a block diagram of further embodiments of the apparatus for processing information of the present disclosure
  • Figure 7 shows a block diagram of some embodiments of the robot of the present disclosure.
  • the inventor of the present disclosure found that the above-mentioned related technologies have the following problems: when the current processor occupancy rate is high and the current task process occupies a lot of resources, the low latency requirement of the task cannot be guaranteed, resulting in poor information processing effect.
  • the present disclosure proposes an information processing technical solution, which can improve the information processing effect.
  • robots need to handle different tasks, and different tasks require different response times.
  • emergency stop events, collision events, and cliff events detected by a drop sensor have high requirements on the response speed of the processor and require the processor to process them first; voice requests, display requests, and task scheduling requests have lower priority than safety-related events.
  • the system's response time to the current task request is affected by the current processor occupancy rate and the processes running on the current processor.
  • the response time of the retriggered task request will be prolonged.
  • the present disclosure classifies internal message events into common events and emergency events, which are received and responded to by the first processor and the second processor mounted on the communication bus, respectively. That is, the first processor receives and responds to ordinary events, and the second processor receives and responds to emergency events, and reports the processing result to the first processor.
  • the technical solutions of the present disclosure can be realized through the following embodiments.
  • Figure 1 shows a block diagram of some embodiments of an apparatus for processing information of the present disclosure.
  • the information processing apparatus 1 includes a service function device 11 , a first processor 12 , and a second processor 13 .
  • the service function device 11 sends the first task request or the second task request according to the length of the response time required by the task to be processed.
  • the response time required for the first task request is longer than the response time for the second task request.
  • the service function device 11 may include a low-level signal processing module, a power control module, a power module, a display interaction module, a voice interaction module, a navigation module, and the like.
  • Different service function devices can determine whether the to-be-processed task is an urgent task according to the received relevant information.
  • the service function device and the first processor and the second processor may be configured through the embodiment in FIG. 2 .
  • FIG. 2 shows a schematic diagram of some embodiments of an apparatus for processing information of the present disclosure.
  • each service function device is connected to the first processor and the second processor in the processor module through the CAN bus.
  • the first processor and the second processor can interact with the CAN bus via Ethernet.
  • the service function device may include a low-level signal processing module, a power control module, a power module, a processor, a display interaction module, a voice interaction module, a navigation module, and the like.
  • Different business function devices can control different sensors and devices of the robot.
  • the sensors provided by the robot include ultrasonic modules, safety edges, cliff detection modules, indicator lights, etc.
  • the equipment of the robot includes a display screen for displaying pictures and images, a microphone and a speaker for voice recognition and audio playback.
  • the power module and navigation module of the robot can autonomously navigate and plan paths.
  • the underlying signal processing module can control the ultrasonic module, the safety touch module, the cliff detection module, the indicator light control module, etc.
  • power modules provide power and power control for robotic systems.
  • the power module can communicate with the battery and has an external emergency stop button.
  • a power module can power a robot to move back and forth, left and right.
  • the power module can be connected with motor drivers and encoders.
  • the display interaction module controls the display of content on the display screen; the voice interaction module can communicate with the user by voice.
  • the service function device 11 receives the related information of the to-be-processed task, and determines the length of the response time required by the to-be-processed task according to at least one of the type of the related information or the size of the corresponding data value.
  • a pending task with a required response time shorter than or equal to the threshold is a common task, and a first task request is sent; a pending task with a required response time longer than the threshold is an urgent task, and a second task request is sent.
  • the length of the response time required by the task to be processed is determined according to the type of relevant information. For example, the service function device 11 determines that the response time is shorter than a threshold and generates the second task request when the relevant information of the task to be processed is at least one of braking information and abnormal operation information.
  • the braking information includes at least one item of information about the obstacle being located in the braking area, information about the existence of a cliff, and information about triggering a safety edge.
  • the braking information includes emergency stop departure information
  • the operation abnormality information is power supply abnormality information, including at least one of battery overtemperature information and battery overvoltage.
  • the braking information includes at least one item of touch braking information, voice braking information, and shutdown information.
  • the braking information includes the information that the obstacle is located in the braking area
  • the operation abnormality information includes the navigation abnormality information.
  • the operation abnormality type information is motor abnormality information, including at least one item of motor stall information and motor stall information.
  • the service function device 11 may determine the length of the response time required by the task to be processed according to the size of the corresponding data value of the related information. For example, the service function device 11 determines whether the response time is shorter than the threshold value according to the comparison of the corresponding data value and the numerical threshold value, thereby determining whether to generate the second task request.
  • the business function device 11 includes a power control module, if the remaining power of the battery is less than the power value threshold, a second task request is generated; in the case where the business function device 11 includes an interaction module, if the number of the same interaction request is greater than The number of numerical thresholds to generate a second task request.
  • the service function device 11 may determine the length of the response time required by the task to be processed according to the type of related information and the size of the corresponding data value. For example, when the relevant information of the task to be processed is at least one of braking information and abnormal operation information, the service function device 11 determines whether the response time is shorter than the threshold according to the comparison between the corresponding data value and the numerical threshold. , thereby determining whether to generate a second task request.
  • the braking information includes the information that the obstacle is located in the braking area, and if the distance to the obstacle is less than the distance data threshold, a second task request is generated; in the service function device 11
  • the abnormal operation information is battery over-temperature information, and if the battery temperature exceeds the temperature data threshold, a second task request is generated.
  • the service function device 11 configures an identifier in the task request according to the length of the response time, which is used to indicate that the task request is the first task request or the second task request.
  • the task request further includes priority information for indicating a processing priority of the second task request if the task request is the second task request.
  • the task request when each service function device sends a task request to the processor module, the task request may be classified into an emergency message request and a normal message request.
  • Each service function device may add an identifier to the sent message.
  • the request information may be configured according to the embodiment in FIG. 3 .
  • FIG. 3 shows a schematic diagram of other embodiments of the information processing apparatus of the present disclosure.
  • the task request may include an identifier data field, a priority information data field, and a reserved bit data field.
  • the identifier data segment occupies 1 byte.
  • the identifier of 0 indicates that the task request is the first task request (ordinary task request); the identifier of 1 indicates that the task request is the second task request (urgent task request).
  • the priority information data segment occupies 3 bytes. 8 different priorities for identifying urgent task requests.
  • a high-priority task request can preempt resources requested by a low-priority task.
  • the reserved bits data segment occupies 4 bytes and is used to identify extended functions.
  • the first processor 12 receives and processes the first task request.
  • the second processor 13 receives and processes the second task request, and sends the processing result of the second task request to the first processor.
  • the first processor 12 interrupts the current worker thread in response to the second processor 13 processing the second task request. After the second processor 13 finishes processing the second task request, it notifies the first processor to resume the current working thread.
  • the first processor 12 is used to control the logic flow of the entire robot, that is, occupy the main thread of the robot.
  • the second processor 13 needs to be called to respond, which is equivalent to stopping the current working thread of the robot and entering the interrupted state.
  • the second processor 13 synchronizes the processing result to the first processor 12, so that the robot learns of the emergency task and the response to the emergency task.
  • each service function device 11 After each service function device 11 receives the relevant data of the sensors and devices it controls, it classifies the tasks to be processed into two levels of emergency and ordinary according to the data type and the size of the data value; each service function device 11 When requesting a response from the processor module, an identifier is added to the task request and reported to the processor module, and the response result from the processor module is waited for.
  • the internal message events of the robot are classified into ordinary events and emergency events; the first processor and the second processor mounted on the communication bus are used to receive and respond to event messages respectively.
  • the first processor receives and responds to ordinary events; the second processor receives and responds to emergency events, and reports the processing results to the first processor.
  • two processors are provided for processing urgent task requests and common task requests respectively.
  • priority processing and low-latency response to emergency events can be ensured, thereby improving information processing effects.
  • FIG. 4 illustrates a flow diagram of some embodiments of methods of processing information of the present disclosure.
  • a first task request or a second task request of a task to be processed sent from the service function device is received.
  • the response time required for the first task request is longer than the response time for the second task request.
  • the length of the response time is determined according to at least one of the type of related information of the task to be processed or the size of the corresponding data value.
  • the relevant information of the task to be processed is at least one of braking information and abnormal operation information
  • the second task request sent by the service function device is received.
  • step 420 it is determined whether the first task request or the second task request is received.
  • the task request is determined as the first task request or the second task request according to the identifier in the task request sent by the service function device, and the identifier is configured by the service function device according to the length of the response time.
  • step 430 when the first task request is sent by the service function device, the first processor is used to process the first task request.
  • step 440 when the second task request is sent from the service function device, the second task request is processed by the second processor, and the processing result of the second task request is sent to the first processor.
  • the first processor in response to the second processor processing the second task request, is used to interrupt the current worker thread; after the second processor finishes processing the second task request, the first processor is notified to resume the current work thread worker thread.
  • the processing priority of the second task request is determined according to the priority information in the task request; the second task request is processed according to the processing priority. task request.
  • FIG. 5 shows a block diagram of further embodiments of apparatuses for processing information of the present disclosure.
  • the information processing apparatus 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51 , and the processor 52 is configured to execute the instructions in the present disclosure based on the instructions stored in the memory 51 .
  • the information processing method in any one of the embodiments.
  • the memory 51 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
  • the system memory stores, for example, an operating system, an application program, a boot loader Boot Loader, a database, and other programs.
  • FIG. 6 shows a block diagram of further embodiments of a processing apparatus for information of the present disclosure.
  • the information processing apparatus 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610 , and the processor 620 is configured to execute any one of the foregoing based on the instructions stored in the memory 610 Methods of processing information in the embodiments.
  • Memory 610 may include, for example, system memory, fixed non-volatile storage media, and the like.
  • the system memory stores, for example, an operating system, an application program, a boot loader, and other programs.
  • the information processing device 6 may further include an input and output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630 , 640 , 650 and the memory 610 and the processor 620 may be connected, for example, through a bus 660 .
  • the input and output interface 630 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a speaker.
  • Network interface 640 provides a connection interface for various networked devices.
  • the storage interface 650 provides a connection interface for external storage devices such as SD cards and U disks.
  • Figure 7 shows a block diagram of some embodiments of the robot of the present disclosure.
  • the robot 7 includes the information processing device 71 in any of the above-mentioned embodiments.
  • embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.
  • the methods and systems of the present disclosure may be implemented in many ways.
  • the methods and systems of the present disclosure may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware.
  • the above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise.
  • the present disclosure can also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing methods according to the present disclosure.
  • the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Manipulator (AREA)

Abstract

本公开涉及一种信息的处理装置、方法和机器人,涉及计算机技术领域。该处理装置包括:业务功能设备,用于根据待处理任务要求的响应时间的长短,发送所述待处理任务的第一任务请求或者第二任务请求,第一任务请求要求的响应时间长于第二任务请求的响应时间;第一处理器,用于接收并处理第一任务请求;第二处理器,用于接收并处理第二任务请求,并将对第二任务请求的处理结果发送至第一处理器。

Description

信息的处理装置、方法和机器人
相关申请的交叉引用
本申请是以CN申请号为202110024579.5,申请日为2021年1月8日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。
技术领域
本公开涉及计算机技术领域,特别涉及一种信息的处理装置、信息的处理方法、机器人和非易失性计算机可读存储介质。
背景技术
近几年人工智能技术加速了机器人行业的发展。服务型机器人多应用在酒店、商场、医院、银行大厅、政务大厅等提供引导、问答、业务办理等服务。
服务型机器人主控制器一般需要处理语音交互、显示交互、任务调度、路径规划、传感器数据响应等多种任务。
在相关技术中,服务型机器人多运行Linux操作系统,通过统一的处理器处理多种任务。
发明内容
根据本公开的一些实施例,提供了一种信息的处理装置包括:业务功能设备,用于根据待处理任务要求的响应时间的长短,发送第一任务请求或者第二任务请求,第一任务请求要求的响应时间长于第二任务请求的响应时间;第一处理器,用于接收并处理第一任务请求;第二处理器,用于接收并处理第二任务请求,并将对第二任务请求的处理结果发送至第一处理器。
在一些实施例中,业务功能设备接收待处理任务的相关信息,根据相关信息的类型或者相应数据值的大小中的至少一项,确定待处理任务要求的响应时间的长短。
在一些实施例中,第一处理器响应于第二处理器处理第二任务请求,中断当前的工作线程;第二处理器处理完毕第二任务请求后,通知第一处理器恢复当前的工作线程。
在一些实施例中,业务功能设备根据响应时间的长短,配置任务请求中的标志符, 用于指示任务请求为第一任务请求或者第二任务请求。
在一些实施例中,任务请求还包括优先级信息,用于在任务请求为第二任务请求的情况下,指示该第二任务请求的处理优先级。
在一些实施例中,业务功能设备在待处理任务的相关信息为制动类信息、运行异常类信息中的至少一项的情况下,确定响应时间短于阈值,生成第二任务请求。
在一些实施例中,业务功能设备包括底层信号处理模块,制动类信息包括障碍物位于制动区信息、存在悬崖信息、安全触边触发信息中的至少一项。
在一些实施例中,业务功能设备包括电源控制模块,制动类信息包括急停出发信息,运行异常类信息为电源异常信息,包括电池过温信息、电池过压中的至少一项。
在一些实施例中,业务功能设备包括交互模块,制动类信息包括触摸制动信息、语音制动信息、关机信息中的至少一项。
在一些实施例中,业务功能设备包括导航模块,制动类信息包括障碍物位于制动区信息,运行异常类信息包括导航异常信息。
在一些实施例中,业务功能设备包括动力模块,运行异常类信息为电机异常信息,包括电机堵转信息、电机失速信息中的至少一项。
根据本公开的另一些实施例,提供一种信息的处理方法包括:接收业务功能设备发送来的待处理任务的第一任务请求或第二任务请求,第一任务请求要求的响应时间长于第二任务请求的响应时间;在业务功能设备发送来第一任务请求的情况下,利用第一处理器处理第一任务请求;在业务功能设备发送来第二任务请求的情况下,利用第二处理器处理第二任务请求,并将对第二任务请求的处理结果发送至第一处理器。
在一些实施例中,响应时间的长短根据待处理任务的相关信息的类型或者相应数据值的大小中的至少一项确定。
在一些实施例中,利用第二处理器处理第二任务请求包括:响应于第二处理器处理第二任务请求,利用第一处理器中断当前的工作线程;在第二处理器处理完毕第二任务请求后,通知第一处理器恢复当前的工作线程。
在一些实施例中,处理方法还包括:根据业务功能设备发来的任务请求中的标志符,确定任务请求为第一任务请求或者第二任务请求,标志符为业务功能设备根据响应时间的长短配置。
在一些实施例中,利用第二处理器处理第二任务请求包括:在业务功能设备发来的任务请求为第二任务请求的情况下,根据任务请求中的优先级信息,确定第二任务 请求的处理优先级;根据处理优先级处理第二任务请求。
在一些实施例中,接收业务功能设备发送来的待处理任务的第一任务请求或第二任务请求包括:在待处理任务的相关信息为制动类信息、运行异常类信息中的至少一项的情况下,接收业务功能设备发送的第二任务请求。
根据本公开的又一些实施例,提供一种机器人包括上述任一个实施例中的信息的处理装置。
根据本公开的再一些实施例,提供一种信息的处理装置,包括:存储器;和耦接至存储器的处理器,处理器被配置为基于存储在存储器装置中的指令,执行上述任一个实施例中的信息的处理方法。
根据本公开的再一些实施例,提供一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一个实施例中的信息的处理方法。
附图说明
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。
参照附图,根据下面的详细描述,可以更加清楚地理解本公开:
图1示出本公开的信息的处理装置的一些实施例的框图;
图2示出本公开的信息的处理装置的一些实施例的示意图;
图3示出本公开的信息的处理装置的另一些实施例的示意图;
图4示出本公开的信息的处理方法的一些实施例的流程图;
图5示出本公开的信息的处理装置的另一些实施例的框图;
图6示出本公开的信息的处理装置的又一些实施例的框图;
图7示出本公开的机器人的一些实施例的框图。
具体实施方式
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,技术、方法和设备应当被视为授权说明书的一部分。
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
本公开的发明人发现上述相关技术中存在如下问题:在当前处理器占用率高且当前任务进程占用资源较多的情况下,无法保证任务的低时延要求,导致信息处理效果差。
鉴于此,本公开提出了一种信息的处理技术方案,能够提高信息处理效果。
如前所述,机器人需要处理不同的任务,不同的任务需要的响应时间不同。例如,紧急停止事件、碰撞事件、跌落传感器探测到悬崖事件等对处理器响应速度要求高,需要处理器优先处理;语音请求、显示请求、任务调度请求相对涉及到安全的事件优先级较低。
然而,采用统一的处理器处理不同的任务,系统对当前任务请求的响应时间受当前处理器占用率和当前处理器运行的进程影响。在处理器占用率高且当前任务进程占用资源较多的情况下,再次触发的任务请求的响应时间会延长。
这样,会导致需要优先处理的安全事件(如紧急停止事件、碰撞事件、跌落传感器探测到悬崖事件等)请求的优先处理和低时延无法被保证。
针对上述技术问题,本公开对内部消息事件分类为普通事件和紧急事件,分别由挂载在通信总线上的第一处理器和第二处理器进行接收和响应。也就是说,第一处理器接收和响应普通事件,第二处理器接收和响应紧急事件,并将处理结果上报给第一处理器。例如,可以通过下面的实施例实现本公开的技术方案。
图1示出本公开的信息的处理装置的一些实施例的框图。
如图1所示,信息的处理装置1包括业务功能设备11、第一处理器12、第二处理器13。
业务功能设备11根据待处理任务要求的响应时间的长短,发送第一任务请求或者第二任务请求。第一任务请求要求的响应时间长于第二任务请求的响应时间。
在一些实施例中,业务功能设备11可以包括底层信号处理模块、电源控制模块、动力模块、显示交互模块、语音交互模块、导航模块等。不同的业务功能设备可以根据接收到的相关信息,确定待处理任务是否为紧急任务。例如,可以通过图2中的实施例配置业务功能设备与第一处理器和第二处理器。
图2示出本公开的信息的处理装置的一些实施例的示意图。
如图2所示,各业务功能设备通过CAN总线与处理器模块中的第一处理器和第二处理器连接。第一处理器和第二处理器可以通过以太网与CAN总线进行交互。
在一些实施例中,业务功能设备可以包括底层信号处理模块、电源控制模块、动力模块、处理器、显示交互模块、语音交互模块、导航模块等。不同的业务功能设备可以控制机器人的不同传感器和设备。
例如,机器人具备的传感器包括超声波模组、安全触边、悬崖检测模组、指示灯等。机器人具备的设备包括用于进行图片和影像展示的显示屏、用于语音识别、音频播放的麦克风和音响等。机器人具备的动力模块和导航模块可以自主导航、路径规划。
例如,底层信号处理模块可以控制超声波模组、安全触边模组、悬崖检测模组、指示灯控制模组等。
例如,电源模块为机器人系统提供电源和供电控制。电源模块可与电池通信并外接有急停按键。
例如,动力模块可以为机器人提供动力,使机器人前后左右移动。动力模块可以与电机驱动器、编码器连接。
例如,显示交互模块控制显示屏的内容展示;语音交互模块可与用户进行语音交流。
在一些实施例中,业务功能设备11接收待处理任务的相关信息,根据相关信息的类型或者相应数据值的大小中的至少一项,确定待处理任务要求的响应时间的长短。
例如,要求的响应时间短于或等于阈值的待处理任务为普通任务,发送第一任务请求;要求的响应时间长于阈值的待处理任务为紧急任务,发送第二任务请求。
在一些实施例中,根据相关信息的类型,确定待处理任务要求的响应时间的长短。例如,业务功能设备11在待处理任务的相关信息为制动类信息、运行异常类信息中的至少一项的情况下,确定响应时间短于阈值,生成第二任务请求。
在业务功能设备11包括底层信号处理模块的情况下,制动类信息包括障碍物位于制动区信息、存在悬崖信息、安全触边触发信息中的至少一项。
在业务功能设备11包括电源控制模块的情况下,制动类信息包括急停出发信息,运行异常类信息为电源异常信息,包括电池过温信息、电池过压中的至少一项。
在业务功能设备11包括交互模块的情况下,制动类信息包括触摸制动信息、语音制动信息、关机信息中的至少一项。
在业务功能设备11包括导航模块的情况下,制动类信息包括障碍物位于制动区信息,运行异常类信息包括导航异常信息。
在业务功能设备11包括动力模块的情况下,运行异常类信息为电机异常信息,包括电机堵转信息、电机失速信息中的至少一项。
在一些实施例中,业务功能设备11可以根据相关信息的相应数据值的大小,确定待处理任务要求的响应时间的长短。例如,业务功能设备11根据相应数据值与数值阈值的比较情况,确定响应时间是否短于阈值,从而确定是否生成第二任务请求。
例如,在业务功能设备11包括电源控制模块的情况下,如果电池的剩余电量小于电量数值阈值,生成第二任务请求;在业务功能设备11包括交互模块的情况下,如果同一交互请求的数量大于数量数值阈值,生成第二任务请求。
在一些实施例中,业务功能设备11可以根据相关信息的类型和相应数据值的大小,确定待处理任务要求的响应时间的长短。例如,业务功能设备11在待处理任务的相关信息为制动类信息、运行异常类信息中的至少一项的情况下,根据相应数据值与数值阈值的比较情况,确定响应时间是否短于阈值,从而确定是否生成第二任务请求。
例如,在业务功能设备11包括底层信号处理模块的情况下,制动类信息包括障碍物位于制动区信息,如果与障碍物的距离小于距离数据阈值,生成第二任务请求;在业务功能设备11包括电源控制模块的情况下,运行异常类信息为电池过温信息,如果电池温度超过温度数据阈值,生成第二任务请求。
在一些实施例中,业务功能设备11根据响应时间的长短,配置任务请求中的标志符,用于指示任务请求为第一任务请求或者第二任务请求。
在一些实施例中,任务请求还包括优先级信息,用于在任务请求为第二任务请求的情况下,指示该第二任务请求的处理优先级。
在一些实施例中,各业务功能设备向处理器模块发送任务请求时,可以将任务请求分类为紧急消息请求和普通消息请求。各业务功能设备可以在发送的消息中加入标志符。例如,可以根据图3中的实施例配置请求信息。
图3示出本公开的信息的处理装置的另一些实施例的示意图。
如图3所示,任务请求可以包括标志符数据段、优先级信息数据段、预留位数据段。
在一些实施例中,标志符数据段占用1个字节。例如,标志符为0标识该任务请求为第一任务请求(普通任务请求);标志符为1标识该任务请求为第二任务请求(紧急任务请求)。
在一些实施例中,优先级信息数据段占用3个字节。用于标识紧急任务请求的8种不同的优先级。高优先级的任务请求可以抢占低优先级的任务请求的资源。
在一些实施例中,预留位数据段占用4个字节,用于标识扩展功能。
第一处理器12接收并处理第一任务请求。第二处理器13接收并处理第二任务请求,并将对第二任务请求的处理结果发送至第一处理器。
在一些实施例中,第一处理器12响应于第二处理器13处理第二任务请求,中断当前的工作线程。第二处理器13处理完毕第二任务请求后,通知第一处理器恢复当前的工作线程。
例如,第一处理器12用于控制整个机器人的逻辑流程,即占用机器人的主线程。紧急任务发生后,需要调用第二处理器13进行响应,相当于停止了机器人当前的工作线程进入中断状态。紧急任务处理完成后,第二处理器13将处理结果同步给第一处理器12,使得机器人获知发生的紧急任务,并获知针对紧急任务作出的响应。
在一些实施例中,各业务功能设备11在接收到各自控制的传感器、设备的相关数据后,根据数据类型和数据值大小将待处理任务分类为紧急和普通两种等级;各业务功能设备11在请求处理器模块响应时,在任务请求中加入标志符后上报给处理器模块,等待处理器模块的响应结果。
上述实施例中,将机器人内部消息事件分类为普通事件和紧急事件;分别利用挂载在通信总线上的第一处理器和第二处理器,对事件消息进行接收和响应。第一处理器接收和响应普通事件;第二处理器接收和响应紧急事件,并将处理结果上报给第一处理器。
这样,通过对消息事件和处理器的功能划分,能够在确保机器人正常运行的同时,保证了紧急事件的优先处理和低时延响应不受机器人当前任务的影响。
在上述实施例中,设置了两个处理器分别用于处理紧急任务请求和普通任务请求。这样,通过对任务请求的分类和处理器的功能划分,可以保证紧急事件的优先处理和 低时延响应,从而提高信息处理效果。
图4示出本公开的信息的处理方法的一些实施例的流程图。
如图4所示,在步骤410中,接收业务功能设备发送来的待处理任务的第一任务请求或第二任务请求。第一任务请求要求的响应时间长于第二任务请求的响应时间。例如,响应时间的长短根据待处理任务的相关信息的类型或者相应数据值的大小中的至少一项确定。
在一些实施例中,在待处理任务的相关信息为制动类信息、运行异常类信息中的至少一项的情况下,接收业务功能设备发送的第二任务请求。
在步骤420中,判断接收到的是第一任务请求还是第二任务请求。例如,根据业务功能设备发来的任务请求中的标志符,确定任务请求为第一任务请求或者第二任务请求,标志符为业务功能设备根据响应时间的长短配置。
在步骤430中,在业务功能设备发送来第一任务请求的情况下,利用第一处理器处理第一任务请求。
在步骤440中,在业务功能设备发送来第二任务请求的情况下,利用第二处理器处理第二任务请求,并将对第二任务请求的处理结果发送至第一处理器。
在一些实施例中,响应于第二处理器处理第二任务请求,利用第一处理器中断当前的工作线程;在第二处理器处理完毕第二任务请求后,通知第一处理器恢复当前的工作线程。
在一些实施例中,在业务功能设备发来的任务请求为第二任务请求的情况下,根据任务请求中的优先级信息,确定第二任务请求的处理优先级;根据处理优先级处理第二任务请求。
图5示出本公开的信息的处理装置的另一些实施例的框图。
如图5所示,该实施例的信息的处理装置5包括:存储器51以及耦接至该存储器51的处理器52,处理器52被配置为基于存储在存储器51中的指令,执行本公开中任意一个实施例中的信息的处理方法。
其中,存储器51例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序Boot Loader、数据库以及其他程序等。
图6示出本公开的信息的处理装置的又一些实施例的框图。
如图6所示,该实施例的信息的处理装置6包括:存储器610以及耦接至该存储 器610的处理器620,处理器620被配置为基于存储在存储器610中的指令,执行前述任意一个实施例中的信息的处理方法。
存储器610例如可以包括系统存储器、固定非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序Boot Loader以及其他程序等。
信息的处理装置6还可以包括输入输出接口630、网络接口640、存储接口650等。这些接口630、640、650以及存储器610和处理器620之间例如可以通过总线660连接。其中,输入输出接口630为显示器、鼠标、键盘、触摸屏、麦克、音箱等输入输出设备提供连接接口。网络接口640为各种联网设备提供连接接口。存储接口650为SD卡、U盘等外置存储设备提供连接接口。
图7示出本公开的机器人的一些实施例的框图。
如图7所示,机器人7包括上述任一个实施例中的信息的处理装置71。
本领域内的技术人员应当明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用非瞬时性存储介质包括但不限于磁盘存储器、CD-ROM、光学存储器等上实施的计算机程序产品的形式。
至此,已经详细描述了根据本公开的信息的处理装置、信息的处理方法、机器人和非易失性计算机可读存储介质。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。
可能以许多方式来实现本公开的方法和系统。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开的方法和系统。用于方法的步骤的上述顺序仅是为了进行说明,本公开的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开的方法的程序的记录介质。
虽然已经通过示例对本公开的一些特定实施例进行了详细说明,但是本领域的技术人员应该理解,以上示例仅是为了进行说明,而不是为了限制本公开的范围。本领域的技术人员应该理解,可在不脱离本公开的范围和精神的情况下,对以上实施例进行修改。本公开的范围由所附权利要求来限定。

Claims (16)

  1. 一种信息的处理装置,包括:
    业务功能设备,用于根据待处理任务要求的响应时间的长短,发送所述待处理任务的第一任务请求或者第二任务请求,所述第一任务请求要求的响应时间长于所述第二任务请求的响应时间;
    第一处理器,用于接收并处理所述第一任务请求;
    第二处理器,用于接收并处理所述第二任务请求,并将对所述第二任务请求的处理结果发送至所述第一处理器。
  2. 根据权利要求1所述的处理装置,其中,
    所述业务功能设备接收所述待处理任务的相关信息,根据所述相关信息的类型或者相应数据值的大小中的至少一项,确定所述待处理任务要求的响应时间的长短。
  3. 根据权利要求1所述的处理装置,其中,
    所述第一处理器响应于所述第二处理器处理所述第二任务请求,中断当前的工作线程;
    所述第二处理器处理完毕所述第二任务请求后,通知所述第一处理器恢复所述当前的工作线程。
  4. 根据权利要求1所述的处理装置,其中
    所述业务功能设备根据所述待处理任务要求的响应时间的长短,配置所述待处理任务对应的任务请求中的标志符,用于指示所述任务请求为所述第一任务请求或者所述第二任务请求。
  5. 根据权利要求4所述的处理装置,其中,
    所述任务请求还包括优先级信息,用于在所述任务请求为所述第二任务请求的情况下,指示所述第二任务请求的处理优先级。
  6. 根据权利要求1-5任一项所述的处理装置,其中,
    所述业务功能设备在所述待处理任务的相关信息包括制动类信息或运行异常类信息中的至少一项的情况下,确定所述待处理任务要求的响应时间短于阈值,生成所述第二任务请求。
  7. 根据权利要求6所述的处理装置,其中,
    在所述业务功能设备包括底层信号处理模块的情况下,所述制动类信息包括障碍 物位于制动区信息、存在悬崖信息或安全触边触发信息中的至少一项;
    在所述业务功能设备包括电源控制模块的情况下,所述制动类信息包括急停出发信息,所述运行异常类信息为电源异常信息,包括电池过温信息或电池过压中的至少一项;
    在所述业务功能设备包括交互模块的情况下,所述制动类信息包括触摸制动信息、语音制动信息或关机信息中的至少一项;
    在所述业务功能设备包括导航模块的情况下,所述制动类信息包括障碍物位于制动区的信息,所述运行异常类信息包括导航异常信息;
    在所述业务功能设备包括动力模块的情况下,所述运行异常类信息为电机异常信息,包括电机堵转信息或电机失速信息中的至少一项。
  8. 一种信息的处理方法,包括:
    接收业务功能设备根据待处理任务要求的响应时间的长短发送来的所述待处理任务的第一任务请求或第二任务请求,所述第一任务请求要求的响应时间长于所述第二任务请求的响应时间;
    在所述业务功能设备发送来所述第一任务请求的情况下,利用第一处理器处理所述第一任务请求;
    在所述业务功能设备发送来所述第二任务请求的情况下,利用第二处理器处理所述第二任务请求,并将对所述第二任务请求的处理结果发送至所述第一处理器。
  9. 根据权利要求8所述的处理方法,其中,
    所述响应时间的长短根据所述待处理任务的相关信息的类型或者相应数据值的大小中的至少一项确定。
  10. 根据权利要求8所述的处理方法,其中,所述利用第二处理器处理所述第二任务请求包括:
    响应于所述第二处理器处理所述第二任务请求,利用所述第一处理器中断当前的工作线程;
    在所述第二处理器处理完毕所述第二任务请求后,通知所述第一处理器恢复所述当前的工作线程。
  11. 根据权利要求8所述的处理方法,还包括:
    根据所述业务功能设备发来的任务请求中的标志符,确定所述任务请求为所述第一任务请求或者所述第二任务请求,所述标志符为所述业务功能设备根据所述待处理 任务要求的响应时间的长短配置。
  12. 根据权利要求8所述的处理方法,其中,所述利用第二处理器处理所述第二任务请求包括:
    在所述业务功能设备发来的任务请求为所述第二任务请求的情况下,根据所述任务请求中的优先级信息,确定所述第二任务请求的处理优先级;
    根据所述处理优先级处理所述第二任务请求。
  13. 根据权利要求8-12任一项所述的处理方法,其中,所述接收业务功能设备发送来的待处理任务的第一任务请求或第二任务请求包括:
    在所述待处理任务的相关信息为制动类信息或运行异常类信息中的至少一项的情况下,接收所述业务功能设备发送的所述第二任务请求。
  14. 一种机器人,包括:
    权利要求1-7任一项所述的信息的处理装置。
  15. 一种信息的处理装置,包括:
    存储器;和
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行权利要求8-13任一项所述的信息的处理方法。
  16. 一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求8-13任一项所述的信息的处理方法。
PCT/CN2021/137413 2021-01-08 2021-12-13 信息的处理装置、方法和机器人 WO2022148212A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110024579.5A CN112686565A (zh) 2021-01-08 2021-01-08 信息的处理装置、方法和机器人
CN202110024579.5 2021-01-08

Publications (1)

Publication Number Publication Date
WO2022148212A1 true WO2022148212A1 (zh) 2022-07-14

Family

ID=75456490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/137413 WO2022148212A1 (zh) 2021-01-08 2021-12-13 信息的处理装置、方法和机器人

Country Status (2)

Country Link
CN (1) CN112686565A (zh)
WO (1) WO2022148212A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134328A (zh) * 2022-07-22 2022-09-30 平安银行股份有限公司 角标的配置方法、装置、计算机设备及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686565A (zh) * 2021-01-08 2021-04-20 京东数科海益信息科技有限公司 信息的处理装置、方法和机器人

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101911019A (zh) * 2008-01-18 2010-12-08 库卡罗伯特有限公司 计算机系统,用于机器、特别是工业机器人的控制装置及工业机器人
CN104898471A (zh) * 2015-04-01 2015-09-09 湖北骐通智能科技股份有限公司 机器人的控制系统以及控制方法
CN108897282A (zh) * 2018-05-03 2018-11-27 顺丰科技有限公司 多任务模块化机器人及调度管理方法、装置及其存储介质
US20190114202A1 (en) * 2017-10-13 2019-04-18 Beijing Baidu Netcom Science And Technology Co., Ltd. Task scheduling method and apparatus of artificial intelligence heterogeneous hardware, device and readable medium
CN112686565A (zh) * 2021-01-08 2021-04-20 京东数科海益信息科技有限公司 信息的处理装置、方法和机器人

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2514126A (en) * 2013-05-14 2014-11-19 Ibm Interruption of chip component managing tasks
EP3370125A1 (en) * 2017-03-01 2018-09-05 PLETHORA IIoT, S.L. Device and system including multiple devices for supervision and control of machines in industrial installation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101911019A (zh) * 2008-01-18 2010-12-08 库卡罗伯特有限公司 计算机系统,用于机器、特别是工业机器人的控制装置及工业机器人
CN104898471A (zh) * 2015-04-01 2015-09-09 湖北骐通智能科技股份有限公司 机器人的控制系统以及控制方法
US20190114202A1 (en) * 2017-10-13 2019-04-18 Beijing Baidu Netcom Science And Technology Co., Ltd. Task scheduling method and apparatus of artificial intelligence heterogeneous hardware, device and readable medium
CN108897282A (zh) * 2018-05-03 2018-11-27 顺丰科技有限公司 多任务模块化机器人及调度管理方法、装置及其存储介质
CN112686565A (zh) * 2021-01-08 2021-04-20 京东数科海益信息科技有限公司 信息的处理装置、方法和机器人

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134328A (zh) * 2022-07-22 2022-09-30 平安银行股份有限公司 角标的配置方法、装置、计算机设备及可读存储介质
CN115134328B (zh) * 2022-07-22 2024-03-19 平安银行股份有限公司 角标的配置方法、装置、计算机设备及可读存储介质

Also Published As

Publication number Publication date
CN112686565A (zh) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2022148212A1 (zh) 信息的处理装置、方法和机器人
US20190114202A1 (en) Task scheduling method and apparatus of artificial intelligence heterogeneous hardware, device and readable medium
US8473648B2 (en) System and method of I/O path virtualization between a raid controller and an environment service module in a storage area network
US7533207B2 (en) Optimized interrupt delivery in a virtualized environment
US9519869B2 (en) Predictive computer system resource monitoring
US20080256280A1 (en) Splitting One Hardware Interrupt To Multiple Handlers
JP2011192281A (ja) 仮想マシンモニター及び仮想マシンモニターのスケジューリング方法
EP2904765B1 (en) Method and apparatus using high-efficiency atomic operations
CN112099975B (zh) 一种消息处理方法及系统、存储介质
CN112130963A (zh) 虚拟机任务的调度方法、装置、计算机设备及存储介质
US9244718B2 (en) Virtual machine resource allocation based on connection time coverage exceeding a minimum threshold
US20220291944A1 (en) Information processing device, anomaly detection method, and computer-readable recording medium
KR20170136449A (ko) 저장 디바이스에서의 성능 변화를 제한하기 위한 기술
US11080108B2 (en) System using adaptive interrupts for controlling notifications to a user
CN109144698A (zh) 数据获取方法、事件分发器、设备、介质和无人车
CN110103932B (zh) 故障检测方法、装置、设备和介质
CN109933549B (zh) 一种适用于risc-v处理器的中断控制器
CN113821257B (zh) 处理器内核调用栈信息查询方法及装置
CN113835863A (zh) 一种数据通讯方法及其软件平台
CN113377573A (zh) 一种自动驾驶车辆的异常处理方法、装置、设备和存储介质
US10646998B2 (en) System and method for optimizing resource usage of a robot
US20240338284A1 (en) Modular redundancy
US8380938B2 (en) Providing shared access to data storage resources across cluster computing environment boundaries
US12047228B2 (en) Event reporting
US11983092B2 (en) Information processing device and information processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21917253

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18.10.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21917253

Country of ref document: EP

Kind code of ref document: A1