Robotic system, method and device for data communication
By configuring the motherboard as a bridge between data processing modules in the robot system, the problems of complex system composition and increased power supply pressure in the prior art are solved, and convenient communication between data processing modules and streamlining of system composition is achieved.
Patent Information
- Application Number
- CN202110205691.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-24
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2041-02-24
AI Technical Summary
When existing robot systems realize data communication between different components, they need to set up switches and add complex wiring, resulting in complex system composition and increased power supply pressure.
By configuring the motherboard as a bridge between the first data processing module and the second data processing module, different data processing modules can be communicated through the motherboard, avoiding additional physical communication devices and wiring.
The composition of the robot system is streamlined, the power supply pressure of the motherboard is reduced, and convenient communication between data processing modules is achieved.
Smart Images

Figure CN114980038B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly to a robot system, and a method and apparatus for data communication. Background Art
[0002] A robot system usually refers to a whole composed of a robot, an operating object and an environment. A robot system generally includes a mechanical system, a drive system, a control system and a perception system. During the operation of a robot system, the control system usually issues instructions to control the drive system to drive the mechanical system to move, thereby completing the instructed task. The perception system then feeds back the collected information to the control system, and the control system issues the next instruction based on the information, and the cycle continues.
[0003] With the complexity of the operation tasks and the requirements for the operation results, the composition of the robot system is becoming more and more complex. In order to realize the communication between different components of the robot system (such as various functional components, etc.), a switch is usually set inside the robot so that the various components can exchange data through the switch. Generally, the switch needs to be connected to the main board of the robot system through a network cable or other lines, and the main board needs to supply power to it. Summary of the invention
[0004] Embodiments of the present disclosure provide a robot system, a method and an apparatus for data communication.
[0005] In a first aspect, an embodiment of the present disclosure provides a robot system, comprising a main board, a first data processing module and a second data processing module; the main board is configured as a bridge between the first data processing module and the second data processing module, so that the first data processing module and the second data processing module communicate with each other through the bridge.
[0006] In a second aspect, an embodiment of the present disclosure provides a method for data communication, which is applied to a robot system, the robot system comprising a main board, a first data processing module and a second data processing module, the method comprising: configuring the main board as a bridge between the first data processing module and the second data processing module; controlling the first data processing module and the second data processing module to communicate through the bridge.
[0007] In a third aspect, an embodiment of the present disclosure provides a device for data communication, which is applied to a robot system, wherein the robot system includes a main board, a first data processing module and a second data processing module, and the device includes: a configuration unit, configured to configure the main board as a bridge between the first data processing module and the second data processing module; and a communication unit, configured to control communication between the first data processing module and the second data processing module through the bridge.
[0008] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any implementation manner in the second aspect.
[0009] The robot system, method and device for data communication provided by the embodiments of the present disclosure use the mainboard as a bridge between different data processing modules, so that different data processing modules can communicate through the mainboard, without the need to set up additional physical communication devices such as switches in the robot system, and also avoid adding too much wiring, thereby streamlining the composition of the robot system. At the same time, since physical communication devices such as switches are omitted, the mainboard does not need to supply power to the switch, thereby reducing the power supply pressure of the mainboard. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0011] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0012] Figure 2 is a schematic diagram of a robot system suitable for implementing an embodiment of the present disclosure;
[0013] Figure 3 is a schematic diagram of an application scenario of the robot system according to this embodiment;
[0014] Figure 4 is a flow chart of yet another embodiment of a method for data communication according to the present disclosure;
[0015] Figure 5 It is a structural diagram of an embodiment of a device for data communication according to the present disclosure. DETAILED DESCRIPTION
[0016] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0017] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0018] Figure 1An exemplary architecture 100 is shown to which embodiments of the robotic system, method for data communication, or apparatus for data communication of the present disclosure may be applied.
[0019] like Figure 1 As shown, the system architecture 100 may include a robot system 101, a server 102, and a terminal device 103. The robot system 101 and the terminal device 103 may be respectively connected to the server 102 in a communication manner such as wired or wireless.
[0020] The robot system 101 may be a robot system for performing various operation tasks, for example, a robot system for sorting, or a robot system for security, and so on.
[0021] Various client applications can be installed on the terminal device 103. For example, search applications, browser applications, communication tools, etc. The terminal device 103 can be hardware or software. When the terminal device 103 is hardware, it can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, etc. When the terminal device 103 is software, it can be installed in the electronic devices listed above, which can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0022] The server 102 may be a server that provides various services, such as a backend server that provides backend support for the robot system 101 and the terminal device 103. The server 102 may receive instructions (such as control instructions, debugging instructions, etc.) sent by the terminal device 103, and send the received instructions to the robot system 101, so that the robot system 101 responds to the received instructions.
[0023] It should be noted that the method for data communication provided in the embodiments of the present disclosure is generally executed by the robot system 101 , and accordingly, the device for data communication is generally arranged in the robot system 101 .
[0024] It should also be pointed out that, depending on the actual application scenario and application requirements, the exemplary system architecture 100 may not have the server 102 and the terminal device 103 .
[0025] It should be noted that the server 102 can be hardware or software. When the server 102 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server 102 is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules for providing distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0026] It should be understood that Figure 1 The number of robot systems, terminal devices and servers in the embodiment is only for illustration. Any number of robot systems, terminal devices and servers may be provided according to the implementation requirements.
[0027] Continue to refer Figure 2 , Figure 2 A robot system 200 (eg, Figure 1 The schematic diagram of the structure of the robot system 101 is shown in FIG. Figure 2 As shown, the robot system 200 may include a mainboard 201 , a first data processing module 202 , and a second data processing module 203 .
[0028] The mainboard 201 is usually one of the most basic and important components of the robot system 200. The common mainboard 201 is generally a rectangular circuit board, on which the main circuit system of the robot system 200 is installed. For example, the mainboard 201 is usually provided with a BIOS chip (Basic Input Output System Chip), an I / O (Input / Output) control chip, a panel control switch interface, an indicator light connector, an expansion slot, a power supply connector, and the like.
[0029] Generally, the mainboard 201 can transmit various electronic signals and process some received data. The various components of the robot system 200 can usually be connected through the mainboard 201. The control of the robot system 200 on the various components usually needs to be completed through the mainboard 201.
[0030] The data processing module may refer to various components that can be used to receive, transmit or process data included in the robot system 200. For example, the data processing module may be various data acquisition devices (such as sensors, cameras, microphones, etc.), data processing devices (such as image processing boards, log management devices, etc.), data display devices (such as smart display screens, etc.), various mobile terminal devices, etc.
[0031] The first data processing module 202 and the second data processing module 203 can be any data processing modules. It should be noted that the first data processing module 202 and the second data processing module 203 can be hardware or software. When the first data processing module 202 or the second data processing module 203 is hardware, it can be the various data processing modules mentioned above. When the first data processing module 202 or the second data processing module 203 is software, it can be installed in the various data processing modules mentioned above, and it can be implemented as multiple software or software modules, which is not specifically limited here.
[0032] The mainboard 201 can be configured as a bridge connecting the first data processing module 202 and the second data processing module 203, and the first data processing module 202 and the second data processing module 203 can communicate through the bridge. Specifically, the mainboard 201 can be respectively connected to the first data processing module 202 and the second data processing module 203. At this time, when the first data processing module 202 and the second data processing module 203 need to exchange data, one of the data processing modules can send the data to the bridge, and then the bridge forwards the data to the other data processing module.
[0033] Among them, a bridge, also known as a bridge, is a data forwarding device. A bridge usually has two or more ports to connect different devices respectively. Each port of the bridge usually has an independent data exchange channel. It should be noted that the bridge in this embodiment may include but is not limited to a layer 2 network device, a repeater, a router, a switch, etc. with a data forwarding function.
[0034] The robot system 200 in this embodiment virtualizes the mainboard 201 as a network bridge to realize data exchange between the first data processing module 202 and the second data processing module 203. Therefore, the robot system 200 can realize data exchange between the first data processing module 202 and the second data processing module 203 by configuring the mainboard 201 and treating the mainboard 201 as a data exchange device such as a virtual switch, without the need for an actual physical network bridge.
[0035] The method of configuring the mainboard 201 as a bridge between the first data processing module 202 and the second data processing module 203 can be flexibly set. For example, some existing virtual bridge (including virtual router, virtual switch, etc.) setting methods can be adopted. It should be noted that the scheme of the present disclosure implemented by various methods of configuring virtual bridges that appear later should also fall within the protection scope of the present disclosure.
[0036] In some optional implementations of this embodiment, the mainboard 201 may be configured as a network bridge between the first data processing module 202 and the second data processing module 203 in a network bridging mode.
[0037] At present, some operating systems (such as Windows, Linux, etc.) provide a bridging function. Therefore, the bridging function provided by these operating systems can be used to configure the mainboard 201 as a bridge between the first data processing module 202 and the second data processing module 203. It should be noted that when the operating system uses the bridging function, it can be regarded as being in the bridging mode.
[0038] Taking Linux as an example, the operating system used by the robot system can first turn on the CONFIG_BRIDGE or CONDIG_BRIDGE_MODULE compilation option in the compiled kernel to enable the system kernel protocol stack to support the bridge. Then, the bridge management tool (such as Brctl, etc.) can be used to configure the bridge to virtualize the motherboard into a bridge.
[0039] Optionally, each time the operating system of the robot system is started, it can be controlled to automatically configure to enter the bridge mode, so that the mainboard can be virtualized as a bridge for data exchange between different data processing modules.
[0040] By utilizing the bridging function provided by the operating system itself, the mainboard can be conveniently configured as a bridge between the first data processing module and the second data processing module, thereby realizing the convenience of data exchange between different data processing modules of the robot system.
[0041] In some optional implementations of this embodiment, the mainboard 201 may be connected to the first data processing module 202 and the second data processing module 203 in a wired or wireless manner.
[0042] Optionally, the mainboard 201 may include at least two network ports. In this case, the mainboard 201 may be connected to the first data processing module 202 and the second data processing module 203 through the network ports included therein. Specifically, a network cable may be used to connect the mainboard and the data processing module.
[0043] For example, the mainboard includes a first network port and a second network port. In this case, the mainboard can be connected to the first data processing module via a network cable connected to the first network port, and connected to the second data processing module via a network cable connected to the second network port.
[0044] Generally, the number of network ports included in the mainboard is not less than the number of data processing modules included in the robot system, so that different data processing modules can use different networks to connect to the mainboard.
[0045] Through the stable connection between the mainboard and the data processing module, the stability of data exchange between different data processing modules connected to the mainboard can be guaranteed when the mainboard is subsequently set as a network bridge.
[0046] In some optional implementations of this embodiment, the first data processing module 202 and the second data processing module 203 may respectively have a pre-set Internet Protocol (IP) address, and the IP address of the first data processing module 202, the IP address of the second data processing module 203 and the IP address of the bridge may belong to the same network segment.
[0047] Among them, the IP addresses of the first data processing module and the second data processing module can be pre-set by a technician, and the IP addresses of the first data processing module and the second data processing module and the IP address of the bridge are set to belong to the same network segment to ensure that the first data processing module and the second data module can successfully communicate using the bridge.
[0048] Specifically, each data processing module can record the correspondence between the IP addresses and MAC (Media Access Control Address) addresses of other data processing modules included in the robot system. For example, each data processing module can maintain its corresponding ARP (Address Resolution Protocol) table and record the correspondence between the IP addresses and MAC addresses of other data processing modules in the ARP table.
[0049] After the mainboard is configured as a network bridge between different data processing modules, the mainboard can record the corresponding relationship between the MAC address of each data processing module and the port (such as network port) to which it is connected. For example, the mainboard can maintain its corresponding forwarding table (or MAC table), and record the corresponding relationship between the MAC address of each data processing module and the port to which it is connected in the forwarding table.
[0050] Based on this, each data processing module can send the data to be sent to the mainboard using its port connected to the mainboard, and carry the MAC address of the data processing module receiving the data. The mainboard can query the port corresponding to the MAC address, and forward the received data to the corresponding data processing module using the queried port.
[0051] Optionally, when the mainboard is configured as a bridge for realizing data exchange between different data processing modules, the network port information of each network port of the mainboard can be cleared to ensure that when different data processing modules use the bridge for data exchange, the mainboard can use the correct network port to receive or forward data.
[0052] It should be noted that the robot system 200 may include at least two data processing modules. Any two data processing modules included in the robot system 200 may respectively serve as the first data processing module and the second data processing module to achieve communication.
[0053] In some optional implementations of this embodiment, the mainboard 201 may further include at least one interface for accessing a Wi-Fi module, wherein the Wi-Fi module generally has a built-in wireless network protocol stack to construct a wireless network.
[0054] The Wi-Fi module in this embodiment can be various types of Wi-Fi modules. Therefore, the interface of the mainboard for accessing the Wi-Fi module can be various types of interfaces. For example, it can be a USB (Universal Serial Bus) interface.
[0055] The robot system 200 can communicate with other robot systems by using the interface for accessing the Wi-Fi module provided on the mainboard 201. Among them, the other robot systems can be robot systems for performing various operation tasks. The other robot systems can include one or more robot systems. The robot systems in the other robot systems can be the same as the robot system 200 or different.
[0056] Specifically, each robot system can use this interface on its mainboard to access the Wi-Fi module, and then use each robot system to build an AdHoc network, so that each robot system can communicate with each other using the built AdHoc network.
[0057] Among them, AdHoc network, also known as multi-hop network, infrastructureless network or self-organizing network, is a multi-hop, centerless, self-organizing wireless network. AdHoc network has no fixed infrastructure, each node in it is mobile, and can dynamically maintain contact with other nodes in any way. The construction of AdHoc network can refer to various existing construction methods, which will not be repeated here.
[0058] In some optional implementations of this embodiment, the first data module 202 may include a mobile terminal. Depending on the actual application requirements, the mobile terminal may be of various types. For example, the mobile terminal includes but is not limited to: various smart terminal screens, smart all-in-one machines, etc.
[0059] The mobile terminal can access the target network. The target network can be determined according to the actual application scenario. For example, the target network can be a network pre-specified by a technician. The target network can also be a network in the surrounding environment of the location where the mobile terminal is located. The target network can be a mobile network or a wireless network.
[0060] After accessing the target network, the mobile terminal can be further configured as a wireless access point, referred to as a wireless AP (Access Point). Figure 1 The terminal device 103 shown in the figure can use the wireless AP to control the robot system 200. The target device can be various electronic devices. For example, the target device includes but is not limited to a mobile phone, a notebook, a tablet computer, a desktop computer, etc.
[0061] Specifically, the target device can access the target network using the wireless AP shared by the mobile terminal included in the robot system, thereby sending control instructions to the server (such as Figure 1 The server 102 is then used to send the control command to the robot system so that the robot system responds to the control command. For example, a technician can use a target device to debug the robot system according to actual application requirements.
[0062] Continue to see Figure 3 , Figure 3 FIG. 3 is a schematic application scenario 300 of the robot system according to this embodiment. Figure 3 In the application scenario, the robot system 301 includes a mainboard 3011, a camera 3012 and an intelligent terminal screen 3013. It should be noted that the mainboard 3011 is usually located inside the robot system (not shown in the figure).
[0063] Reference numeral 302 in the figure shows the connection relationship between the mainboard and the camera 3012 and the smart terminal screen 3013. The mainboard 3011 includes two network ports, namely, the network port 30111 and the network port 30112. The mainboard 3011 is connected to the camera 3012 through the network port 30111, and the mainboard 3011 is connected to the smart terminal screen 3013 through the network port 30112.
[0064] When the mainboard 3011 starts the Linux system used by the robot system 301, the mainboard can be configured as a virtual switch through the bridging function provided by Linux. After the configuration is successful, the camera 30111 can send the collected image to the mainboard 3011 through the network port 30111, and the mainboard 3011 can forward the received image from the network port 30112 to the smart terminal screen 3013. After receiving the image, the smart terminal screen 3013 can process the image and display the processing result.
[0065] The robot system provided by the above-mentioned embodiments of the present disclosure virtualizes the mainboard into a bridge for realizing data exchange between different data processing modules, so that data exchange between different data processing modules can be realized directly by using the mainboard without any other physical data exchange equipment, thereby simplifying the composition and wiring settings of the robot system.
[0066] Reference below Figure 4 , which shows a process 400 of an embodiment of a method for data communication according to the present disclosure. The method for data communication can be applied to a robot system (such as Figure 1 The robot system 101 shown in the figure), the method comprises the following steps:
[0067] Step 401, configure the mainboard as a bridge between the first data processing module and the second data processing module.
[0068] In this embodiment, the robot system may include a mainboard, a first data processing module, and a second data processing module. Among them, the mainboard is usually one of the most basic and important components of the robot system. A common mainboard is generally a rectangular circuit board, on which the main circuit system of the robot system is installed. For example, the mainboard is usually provided with a BIOS chip (Basic Input Output System Chip), an I / O (Input / Output) control chip, a panel control switch interface, an indicator light connector, an expansion slot, a power supply connector, and the like.
[0069] The data processing module may refer to various components of the robot system that can be used to receive, transmit or process data. For example, the data processing module may be various data acquisition devices (such as sensors, cameras, microphones, etc.), data processing devices (such as image processing boards, log management devices, etc.), data display devices (such as smart display screens, etc.), various mobile terminal devices, etc. The first data processing module and the second data processing module may be any data processing modules.
[0070] The method of configuring the robot system's mainboard as a bridge between the first data processing module and the second data processing module can be flexibly set. For example, some existing virtual bridge (including virtual router, virtual switch, etc.) setting methods can be adopted. It should be noted that the scheme of the present disclosure implemented by using various methods of configuring virtual bridges that appear later should also fall within the protection scope of the present disclosure.
[0071] Step 402: Control the first data processing module and the second data processing module to communicate via a bridge.
[0072] In this embodiment, the mainboard can be connected to the first data processing module and the second data processing module for communication. After the mainboard is configured as a network bridge, when the first data processing module and the second data processing module need to exchange data, one of the data processing modules can send the data to the network bridge, and then the network bridge forwards the data to the other data processing module.
[0073] In some optional implementations of this embodiment, the robot system may utilize bridging to configure the mainboard as a network bridge between the first data processing module and the second data processing module.
[0074] Among them, bridging is a function provided by some current operating systems (such as Windows, Linux, etc.). Specifically, the mainboard can be configured as a bridge between the first data processing module and the second data processing module by utilizing the bridging function provided by the operating system of the robot system.
[0075] Taking the Linux operating system used by the robot system as an example, you can first turn on the CONFIG_BRIDGE or CONDIG_BRIDGE_MODULE compilation option in the compiled kernel to enable the system kernel protocol stack to support the bridge. Then you can use the bridge management tool (such as Brctl, etc.) to configure the bridge to virtualize the motherboard into a bridge.
[0076] Optionally, in response to detecting that the operating system of the robot system starts to start, the mainboard is configured as a bridge between the first data processing module and the second data processing module in bridging mode, and communication connections are established between the first data processing module and the second data processing module and the bridge respectively.
[0077] The robot system can be controlled to automatically configure itself to enter bridge mode each time the operating system is started, so that the mainboard can be virtualized as a bridge for data exchange between different data processing modules, thereby saving the time and manpower spent on repeated manual configuration.
[0078] The robot system can conveniently configure the mainboard as a bridge between the first data processing module and the second data processing module by utilizing the bridging function provided by the operating system itself, thereby realizing the convenience of data exchange between different data processing modules of the robot system.
[0079] In some optional implementations of this embodiment, the mainboard can be communicatively connected with the first data processing module and the second data processing module respectively in a wired or wireless manner.
[0080] Optionally, the mainboard may include at least two network ports. In this case, the mainboard may be respectively connected to the first data processing module and the second data processing module through the network ports included therein. Specifically, a network cable may be used to connect the mainboard and the data processing module.
[0081] Generally, the number of network ports included in the mainboard is not less than the number of data processing modules included in the robot system, so that different data processing modules can use different networks to connect to the mainboard.
[0082] Through the stable connection between the mainboard and the data processing module, the stability of data exchange between different data processing modules connected to the mainboard can be guaranteed when the mainboard is subsequently set as a network bridge.
[0083] In some optional implementations of this embodiment, the first data processing module and the second data processing module may respectively have a pre-set IP address, and the IP address of the first data processing module, the IP address of the second data processing module and the IP address of the bridge may belong to the same network segment.
[0084] Among them, the IP addresses of the first data processing module and the second data processing module can be pre-set by a technician, and the IP addresses of the first data processing module and the second data processing module and the IP address of the bridge are set to belong to the same network segment to ensure that the first data processing module and the second data module can successfully communicate using the bridge.
[0085] Specifically, each data processing module can record the correspondence between the IP addresses and MAC addresses of other data processing modules included in the robot system. For example, each data processing module can maintain its corresponding ARP table and record the correspondence between the IP addresses and MAC addresses of other data processing modules in the ARP table.
[0086] After the mainboard is configured as a network bridge between different data processing modules, the mainboard can record the corresponding relationship between the MAC address of each data processing module and the port (such as network port) to which it is connected. For example, the mainboard can maintain its corresponding forwarding table (or MAC table), and record the corresponding relationship between the MAC address of each data processing module and the port to which it is connected in the forwarding table.
[0087] Based on this, each data processing module can send the data to be sent to the mainboard using its port connected to the mainboard, and carry the MAC address of the data processing module receiving the data. The mainboard can query the port corresponding to the MAC address, and forward the received data to the corresponding data processing module using the queried port.
[0088] Optionally, when the robot system configures the mainboard as a bridge to realize data exchange between different data processing modules, the network port information of each network port of the mainboard can be cleared to ensure that when different data processing modules use the bridge to exchange data, the mainboard can use the correct network port to receive or forward data.
[0089] It should be noted that the robot system may include at least two data processing modules. Any two data processing modules included in the robot system may respectively serve as the first data processing module and the second data processing module to realize communication.
[0090] In some optional implementations of this embodiment, the mainboard may further include at least one interface for accessing a Wi-Fi module, wherein the Wi-Fi module generally has a built-in wireless network protocol stack to construct a wireless network.
[0091] The Wi-Fi module in this embodiment can be various types of Wi-Fi modules. Therefore, the interface of the mainboard for accessing the Wi-Fi module can be various types of interfaces. For example, it can be a USB interface.
[0092] The robot system can communicate with other robot systems by using the interface for accessing the Wi-Fi module provided on the mainboard. Among them, the other robot system can be a robot system for performing various operation tasks. The other robot system can include one or more robot systems. The robot system in the other robot system can be the same as the robot system or different.
[0093] Specifically, each robot system can use this interface on its mainboard to access the Wi-Fi module, and then use each robot system to build an AdHoc network, so that each robot system can communicate with each other using the built AdHoc network.
[0094] In some optional implementations of this embodiment, the first data module may include a mobile terminal. Depending on the actual application requirements, the mobile terminal may be of various types. For example, the mobile terminal includes but is not limited to: various smart terminal screens, smart all-in-one machines, etc.
[0095] The robot system can control the mobile terminal to access the target network. The target network can be determined according to the actual application scenario. For example, the target network can be a network pre-specified by a technician. The target network can also be a network in the surrounding environment of the location where the mobile terminal is located. The target network can be a mobile network or a wireless network.
[0096] After the mobile terminal accesses the target network, the robot system can further configure the mobile terminal into a wireless AP. Figure 1 The terminal device 103 shown in the figure can use the wireless AP to control the robot system. The target device can be various electronic devices. For example, the target device includes but is not limited to a mobile phone, a notebook, a tablet computer, a desktop computer, etc.
[0097] Specifically, the target device can access the target network using the wireless AP shared by the mobile terminal included in the robot system, thereby sending control instructions to the server (such as Figure 1 The server 102 is then used to send the control command to the robot system so that the robot system responds to the control command. For example, a technician can use a target device to debug the robot system according to actual application requirements.
[0098] The contents not specifically described in this embodiment can be referred to Figure 2 The relevant descriptions in the corresponding embodiments will not be repeated here.
[0099] The method provided by the above-mentioned embodiments of the present disclosure is a method for data communication, which virtualizes the main board of the robot system into a bridge for realizing data exchange between different data processing modules in the robot system, and uses the virtualized bridge to realize data exchange between different data processing modules in the robot system without the need for any other physical data exchange equipment.
[0100] Further references Figure 5 , as a response to the above Figure 4 The present disclosure provides an embodiment of a device for data communication, and the device embodiment is Figure 4 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0101] like Figure 5 As shown, the device 500 for data communication provided in this embodiment includes a configuration unit 501 and a communication unit 502. The configuration unit 501 is configured to configure the mainboard as a bridge between the first data processing module and the second data processing module; the communication unit 502 is configured to control the first data processing module and the second data processing module to communicate through the bridge.
[0102] In the device 500 for data communication in this embodiment, the specific processing of the configuration unit 501 and the communication unit 502 and the technical effects thereof can be referred to in Figure 4 The relevant descriptions in the corresponding embodiments will not be repeated here.
[0103] In some optional implementations of this embodiment, the configuration unit 501 is further configured to: configure the mainboard as a network bridge between the first data processing module and the second data processing module by using a bridge.
[0104] In some optional implementations of this embodiment, the configuration unit 501 is further configured to: in response to detecting that the operating system of the robot system starts to start, configure the mainboard as a bridge between the first data processing module and the second data processing module in a bridging mode.
[0105] The device provided by the above-mentioned embodiments of the present disclosure configures the mainboard into a bridge between the first data processing module and the second data processing module through the configuration unit; the communication unit controls the first data processing module and the second data processing module to communicate through the bridge, thereby realizing data exchange between different data processing modules in the robot system directly using the mainboard without the need for any other physical data exchange equipment.
[0106] It should be noted that the computer-readable medium described in the embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0107] The computer readable medium may be included in the robot system; or it may exist independently without being assembled into the robot system. The computer readable medium carries one or more programs. When the one or more programs are executed by the robot system, the robot system: configures the mainboard as a bridge between the first data processing module and the second data processing module; and controls the first data processing module and the second data processing module to communicate through the bridge.
[0108] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, JavaScript, Python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a configuration unit and a communication unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the configuration unit may also be described as "a unit for configuring the mainboard as a bridge between the first data processing module and the second data processing module".
[0111] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.
Claims
1. A robot system, which is applied inside a robot, comprising a mainboard, a first data processing module and a second data processing module; the mainboard comprises at least two network ports; The mainboard is configured as a network bridge between the first data processing module and the second data processing module based on a bridging function automatically provided after the operating system of the robot system is started, so that the first data processing module and the second data processing module communicate with each other through the network bridge; The mainboard is further configured to be communicatively connected to the first data processing module and the second data processing module respectively through the at least two network ports.
2. The robot system according to claim 1, wherein: The mainboard is configured as a network bridge between the first data processing module and the second data processing module in the bridge mode.
3. The robot system according to claim 1, wherein: The first data processing module and the second data processing module respectively have a preset Internet Protocol address, and the Internet Protocol address and the Internet Protocol address of the bridge belong to the same network segment.
4. The robot system according to claim 1, wherein: The mainboard also includes at least one interface for accessing a Wi-Fi module; and The robotic system communicates with other robotic systems using the interface.
5. The robot system according to claim 1, wherein: The first data processing module includes a mobile terminal; The mobile terminal is used to access the target network and is configured as a wireless access point so that the target device controls the robot system through the wireless access point.
6. A method for data communication, applied to a robot system, wherein the robot system is applied inside a robot, wherein: The robot system includes a mainboard, a first data processing module and a second data processing module, and the mainboard includes at least two network ports; the method includes: In response to detecting that the operating system of the robot system starts to start, based on a bridging function provided by the operating system of the robot system, configuring the mainboard as a network bridge between the first data processing module and the second data processing module; Controlling the first data processing module and the second data processing module to communicate via the network bridge; The mainboard is controlled to communicate with the first data processing module and the second data processing module respectively through the at least two network ports.
7. The method according to claim 6, wherein: The configuring the mainboard as a bridge between the first data processing module and the second data processing module comprises: The mainboard is configured as a network bridge between the first data processing module and the second data processing module by bridging.
8. A device for data communication, applied to a robot system, wherein the robot system is applied inside a robot, The robot system includes a mainboard, a first data processing module and a second data processing module, the mainboard includes at least two network ports; the device includes: a configuration unit configured to, in response to detecting that the operating system of the robot system starts to start, configure the mainboard as a network bridge between the first data processing module and the second data processing module based on a bridging function provided by the operating system of the robot system; A communication unit, configured to control the first data processing module and the second data processing module to communicate through the bridge; The communication unit is further configured to control the mainboard to communicate with the first data processing module and the second data processing module respectively through the at least two network ports.
9. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to claim 6 or 7 is implemented.
Citation Information
Patent Citations
Wireless robot long-range control system based on WIFI
CN103324178A
Industrial robot controller data intelligent acquisition system
CN209417574U
Industrial robot control mainboard based on X86 architecture
CN211682134U
Bridge element enabled module and method
US20030217217A1