CN114690723A - Equipment control method and device for heterogeneous system, server and storage medium - Google Patents

Equipment control method and device for heterogeneous system, server and storage medium Download PDF

Info

Publication number
CN114690723A
CN114690723A CN202210325225.9A CN202210325225A CN114690723A CN 114690723 A CN114690723 A CN 114690723A CN 202210325225 A CN202210325225 A CN 202210325225A CN 114690723 A CN114690723 A CN 114690723A
Authority
CN
China
Prior art keywords
task
control system
equipment control
instruction
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210325225.9A
Other languages
Chinese (zh)
Inventor
童超
张运方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210325225.9A priority Critical patent/CN114690723A/en
Publication of CN114690723A publication Critical patent/CN114690723A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/4186Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32252Scheduling production, machining, job shop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides a device control method and device of a heterogeneous system, a server and a storage medium. When the task management system and the equipment control system are heterogeneous systems, the server can acquire a task instruction sent by the task management system to the equipment control system, convert the received task instruction according to an interface protocol of the task management system and the equipment control system to obtain a task instruction matched with the equipment control system, and send the converted task instruction to the equipment control system. Further, the device control system may control the target device to perform the corresponding task. In the embodiment, the device control can be realized under the condition that the task management system and the device control system are heterogeneous systems, the compatibility of the task management system to the heterogeneous device control system is improved, and the development cost of the task management system is reduced.

Description

Equipment control method and device for heterogeneous system, server and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling a device in a heterogeneous system, a server, and a storage medium.
Background
An Automated Guided Vehicle (AGV) is an Automated Vehicle, on which automatic guidance devices such as magnetic strips, rails or lasers are mounted, and which can travel along a planned path.
In a logistics warehousing scenario, automated guided vehicles may be used instead of or in addition to human labor. For example, the warehouse management system may send a transport instruction to an automated guided vehicle, which may retrieve an item to a designated location based on the transport instruction and unload the item after transporting the item to a destination.
Nowadays, more and more manufacturers produce automatic guided vehicles, and robot control systems of different manufacturers have certain differences. For a warehouse management system, robot control systems of different manufacturers cannot be compatible, so that the system cannot be in communication connection with automatic guided vehicles of different manufacturers well. Therefore, a solution is yet to be proposed.
Disclosure of Invention
Various aspects of the present disclosure provide a method, an apparatus, a server, and a storage medium for controlling devices of a heterogeneous system, so as to improve compatibility of a task management system with the heterogeneous device control system.
The embodiment of the application provides a device control method for a heterogeneous system, which comprises the following steps: acquiring a first task instruction sent to an equipment control system by a task management system; the equipment control system and the task management system are heterogeneous systems; converting the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system; and sending the second task instruction to the equipment control system so as to enable the equipment control system to control target equipment to execute the corresponding task.
Optionally, converting the first task instruction into a second task instruction matched with the device control system according to respective interface protocols of the task management system and the device control system, where the method includes: according to an interface protocol of the task management system, analyzing the content of the first task instruction to obtain the task content of the first task instruction; and generating a task instruction following an interface protocol of the equipment control system as the second task instruction according to the task content.
Optionally, performing content analysis on the first task instruction according to an interface protocol of the task management system to obtain task content of the first task instruction, including: according to a format definition in an interface protocol of the task management system, at least one field and a parameter of the at least one field are separated from the first task instruction; and determining the respective meanings of the at least one decomposed field and the respective meanings of the at least one field parameter according to the field definitions and the parameter definitions in the interface protocol of the task management system.
Optionally, generating a task instruction following an interface protocol of the device control system according to the task content, where the task instruction is used as the second task instruction and includes: generating a standardized task corresponding to the task content according to a preset standardized task generation rule; according to the manufacturer identification of the equipment control system, determining a standardized task analysis rule matched with an interface protocol of the equipment control system; and analyzing the standardized task according to the standardized task analysis rule to obtain the second task instruction.
Optionally, the method further comprises: responding to a request for adding a new equipment control system, and acquiring an interface protocol and a manufacturer identification of the new equipment control system; generating a new standardized task analysis rule matched with the interface protocol of the new equipment control system according to the interface protocol of the new equipment control system; and storing the corresponding relation between the new standardized task analysis rule and the manufacturer identification of the new equipment control system for use.
Optionally, sending the second task instruction to the device control system, so that the device control system controls the target device to execute the corresponding task, including: sending a connection request to the equipment control system, and sending a state detection message to the equipment control system after receiving a confirmation message returned by the equipment control system according to the connection request; and when the equipment control system is determined to be in an online state, sending the second task instruction to the equipment control system so as to enable the equipment control system to control target equipment to execute a corresponding task.
Optionally, the task management system includes: a warehouse management system; the target device includes: an automated guided vehicle, the device control system comprising: a robot control system.
An embodiment of the present application further provides a server, including: a memory and a processor; the memory is to store one or more computer instructions; the processor is to execute the one or more computer instructions to: the steps in the method provided by the embodiments of the present application are performed.
Embodiments of the present application further provide a computer-readable storage medium storing a computer program, where the computer program can implement the steps in the method provided in the embodiments of the present application when executed by a processor.
In the device control method provided by the embodiment of the application, when the task management system and the device control system are heterogeneous systems, the server may obtain a task instruction sent by the task management system to the device control system, convert the received task instruction according to an interface protocol of the task management system and the device control system to obtain a task instruction matched with the device control system, and send the converted task instruction to the device control system. Further, the device control system may control the target device to perform the corresponding task. In the embodiment, the device control can be realized under the condition that the task management system and the device control system are heterogeneous systems, the compatibility of the task management system to the heterogeneous device control system is improved, and the development cost of the task management system is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of an apparatus control method for a heterogeneous system according to an exemplary embodiment of the present application;
fig. 2 is a flowchart illustrating a device control method based on heterogeneous WMSs and RCSs according to an exemplary embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus control device of a heterogeneous system according to another exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of a server according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
The automatic guiding vehicle is an automatic vehicle, and automatic guiding equipment such as a magnetic strip, a track or laser is installed on the automatic vehicle, so that the automatic vehicle can run along a planned path. In a logistics storage scenario, automated guided vehicles may be used instead of, or in addition to, manual labor. For example, the warehousing management system may send a transport instruction to an automated guided vehicle, which may retrieve an item to a designated location based on the transport instruction, and unload the item after transporting the item to a destination.
Nowadays, more and more manufacturers produce automatic guided vehicles, and robot control systems of different manufacturers have certain differences. For a warehouse management system, robot control systems of different manufacturers cannot be compatible, so that the system cannot be in communication connection with automatic guided vehicles of different manufacturers well.
In view of the above technical problem, in some embodiments of the present application, a solution is provided, and the technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a device control method for a heterogeneous system according to an exemplary embodiment of the present application, where as shown in fig. 1, the method includes:
step 101, acquiring a first task instruction sent to an equipment control system by a task management system; the equipment control system and the task management system are heterogeneous systems.
And 102, converting the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system.
And 103, sending the second task instruction to the equipment control system so that the equipment control system controls the target equipment to execute the corresponding task.
The execution main body of this embodiment may be a server, and the server may be implemented based on a single server or a server cluster, and this embodiment is not limited. The server can provide heterogeneous connection services for users on the management side so as to meet the control of the task management system on other heterogeneous systems.
The task management system is mainly used for formulating tasks from a macroscopic view, issuing and managing the tasks. And the equipment control system is used for executing equipment scheduling operation according to the tasks formulated by the task management system and controlling the equipment to execute corresponding tasks. The task management system and the equipment control system are heterogeneous systems. The heterogeneous system means that the interfaces of different systems adopt different communication protocols (i.e., interface protocols), so that the different systems cannot directly communicate.
The present embodiment can be applied to various scenes of the internet of things, and will be exemplified below. For example, in a commodity processing scenario, the task management system may be implemented as an order management system, and the equipment control system may be implemented as a system that controls equipment on the production line. The order management system may receive the external order and generate a production task based on the order. The order management system may send the production tasks to the equipment control systems of the production line. The equipment control system can dispatch equipment on the production line according to the production tasks and control the equipment on the production line to execute corresponding product processing operation.
For example, in an intelligent home scene, the task management system may be implemented as a home management system, and the device control system may be implemented as a home device control system that controls the intelligent home device. The target device may be implemented as an intelligent home device. The household management system in the family can receive the instruction of the user and send the operation task to the household equipment control system according to the user quality. The home equipment control system can control smart home equipment installed in a family to execute response operation according to the operation task. For example, after receiving an instruction of "enter night mode" from a user, the home management system may send a job task corresponding to the night mode to the home device control system. The household equipment can control the intelligent lamp to adjust the color temperature, control the intelligent air humidifying equipment to increase the air humidity and control the high-power equipment to reduce the working power so as to reduce the noise based on the received task.
For another example, in a smart warehousing scenario, the task Management System may be implemented as a Warehouse Management System (WMS), the device Control System may be implemented as a Robot-Control-System (RCS), and the target device may be implemented as an Automatic Guided Vehicle (AGV). The warehouse management system is applied to an order operation layer of warehouse dimensions, a warehouse manager performs corresponding operation of warehouse entry and warehouse exit and operation in a warehouse according to the role of the corresponding post, and the warehouse management system is used for realizing efficient warehouse entry and warehouse exit operation of orders and warehouse supervision in the warehouse, so that the timely accuracy of the orders and the health condition of the warehouse are guaranteed. And the robot control system is used for scheduling and controlling the automatic guided vehicle to execute tasks such as warehousing transportation, ex-warehouse transportation and the like of the order according to the issued tasks of the warehouse management system.
Of course, the application scenarios are only used for illustration, and the method provided in the embodiment of the present application may also be applied to other scenarios besides the scenarios, which are not described in detail.
After receiving the first task instruction sent by the task management system, the server can convert the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system. The device control system may identify the second task instruction and control the target device to perform the corresponding task according to the second task instruction.
In some embodiments, the server may obtain an interface protocol adopted by the task management system in advance, and perform content analysis on the first task instruction based on a communication mode agreed by the interface protocol to obtain task content of the first task instruction.
After the task content of the first task instruction is obtained, the server can convert the first task instruction according to the task content to obtain a second task instruction matched with the equipment control system. The server may also obtain an interface protocol adopted by the device control system in advance. After determining the task content of the first task instruction, the server may generate a new task instruction (i.e., a second task instruction) based on the interface protocol employed by the device control system, such that the new task instruction can be recognized by the device control system.
After the second task instruction is obtained, the server can send the second task instruction to the equipment control system, so that the equipment control system can identify the second task instruction and control the target equipment to execute the corresponding task.
In this embodiment, when the task management system and the device control system are heterogeneous systems, the server may obtain a task instruction sent by the task management system to the device control system, convert the received task instruction according to an interface protocol of the task management system and the device control system to obtain a task instruction matched with the device control system, and send the converted task instruction to the device control system. Further, the device control system may control the target device to perform the corresponding task. In the embodiment, the device control can be realized under the condition that the task management system and the device control system are heterogeneous systems, the compatibility of the task management system to the heterogeneous device control system is improved, and the development cost of the task management system is reduced.
In some exemplary embodiments, the server, upon receiving the first task instruction, may directly convert the first task instruction into a second task instruction that is recognizable by the device control system. For convenience of description and distinction, the interface protocol employed by the task management system is described as a first interface protocol, and the interface protocol employed by the device control system is described as a second interface protocol. In this embodiment, the server may pre-establish a correspondence between the first interface protocol and the second interface protocol, where the correspondence includes a correspondence of an instruction format, a field, and/or a parameter. Furthermore, the server may convert the first task instruction into the second task instruction according to a correspondence between the first interface protocol and the second interface protocol after receiving the first task instruction.
In other exemplary embodiments, the server may, after receiving the first task instruction, analyze the first task instruction according to an interface protocol of the task management system to obtain task content of the first task instruction, and generate, according to the task content, a second task instruction that can be recognized by the device control system.
Generally, different manufacturers developing the task management system use different interface protocols, and therefore, the task instructions of the task management systems of different manufacturers are analyzed differently. In some exemplary embodiments, the server may obtain instruction parsing rules corresponding to interface protocols of a plurality of different manufacturers, and establish a correspondence between manufacturer identifiers of the different manufacturers and the instruction parsing rules. The instruction analysis rule of any manufacturer is used for describing the corresponding relation between the instruction format, the field and the parameters in the interface protocol used by the manufacturer and the actual meaning.
When the server analyzes the content of the received first task instruction, the manufacturer identifier of the task management system sending the first task instruction can be obtained, and the manufacturer identifier can be carried by the first task instruction. According to the manufacturer identification of the task management system, the interface protocol of the task management system can be determined, and at least one field and the respective parameters of the at least one field are separated from the first task instruction according to the format definition in the interface protocol of the task management system.
Next, the server may determine the resolved meaning of each of the at least one field and the at least one field parameter according to the field definition and the parameter definition in the interface protocol of the task management system. For example, according to an instruction format specified by an interface protocol of the task management system, a field of the first task instruction may be split, and according to an actual meaning comparison relationship between a field in the interface protocol and a field parameter, an actual meaning of the split field may be determined. For example, in the interface protocol of the warehouse management system, the format definition of the task instruction may be: a task type field of 2 bytes + a task time field of 2 bytes + a task start address field of 2 bytes + a task end address field of 2 bytes. Based on the format definition, different fields can be parsed from the corresponding positions of the task instructions, and parameters of each field can be obtained. For example, based on the definition of the task type field in the interface protocol, a 2-byte task type field can be determined as a cargo handling task; based on the parameter definition of the task type field in the interface protocol, the number of the handling tasks corresponding to the parameter of the task type field can be determined to be 100 goods.
After determining the task content of the first task instruction, the server may generate a standardized task corresponding to the task content according to a preset standardized task generation rule. The standardized task generation rule is a rule for generating a task having a uniform description on the server side. Compared with a server, the standardized task adopts a uniform task description mode to describe the task, can shield the difference generated by describing the task based on different interface protocols by different task management systems, realizes upward compatibility of the different task management systems, and is beneficial to subsequent task analysis.
After the standardized task is generated, the server can determine a standardized task analysis rule matched with an interface protocol of the equipment control system according to a manufacturer identification of the equipment control system. The standardized task parsing rule is a rule for individually parsing a standardized task into task instructions that can be recognized by the equipment control system. Different equipment control system manufacturers can correspond to different standardized task analysis rules. The server can generate a second task instruction corresponding to the standardized task according to the standardized task analysis rule. The second task instruction is recognizable by the device control system.
Alternatively, the server may perform the standardized task generating operation and the standardized task parsing operation using different functional modules. The server may include: the standardized task analysis system comprises a standardized task generation module and a standardized task analysis module. The standardized task generation module can analyze the task content of the received task instruction and generate a standardized task according to the task content. The generated standardized tasks may be added to the standardized task set. And the standardized task analysis module in the server can analyze the standardized tasks according to the time sequence of the standardized tasks in the standardized task set to obtain task instructions which can be identified by the equipment control system.
In the embodiment, the standardized task generation function and the standardized task analysis function of the server are mutually decoupled, so that batch processing of task instruction analysis and batch processing of task instruction conversion can be respectively realized, and the conversion efficiency of the task instruction is improved.
The method for controlling the device of the heterogeneous system provided in the embodiment of the present application will be further described with reference to fig. 2 by taking a smart warehousing scenario as an example. As shown in fig. 2, the heterogeneous system is WMSs of a plurality of different third party vendors and RCSs of a plurality of third party vendors. The WMS and the RCS are respectively in communication connection with a cloud server, and heterogeneous connection services provided by the embodiment of the application run on the cloud server.
As shown in FIG. 2, the WMS of vendor 1 and the WMS of vendor 2 issue initial tasks, respectively. The cloud server can synchronize the initial task to the cloud server and standardize the task so as to convert a task instruction set issued by WMSs of multiple third parties into a logic standard task set. As shown in fig. 2, after the initial task is synchronized to the cloud server, WMS manufacturer information of the initial task may be parsed, and task content including a task batch and task details may be parsed according to the manufacturer information. Among other things, the task details may include: at least one of a departure address of the task, a destination address of the task, a start time of the task, a type of the task, and a number of the task. Based on the analyzed task content, a logic standard task set can be generated according to a preset standardized task generation rule.
And the standard task set is cached in the standard task set caching module. In the standard task set cache module, the converted logic standardized tasks can be sequenced according to the time sequence of task issuing to obtain an abstract standard set. And the standard task analysis module on the cloud server can decompose the standard task set into a special instruction set capable of being executed by each AGV manufacturer according to a standard task analysis rule corresponding to each RCS manufacturer, and issues the special instruction set to the RCS provided by each AGV manufacturer so that the RCS can control the AGV to execute the corresponding task according to the instruction set.
Based on the implementation mode, the cloud server can be upwards compatible with WMSs of different manufacturers and downwards compatible with RCSs of different manufacturers, and communication connection between the heterogeneous WMSs and the RCSs is realized. For a single user, when a plurality of robot manufacturers are used for executing tasks, the obstacles of a heterogeneous system can be overcome, and the use cost of the system is further reduced.
In some exemplary embodiments, the interface protocols of different task management system vendors in the server may be dynamically configured to meet the requirements of the newly added different task management system vendors.
Optionally, the server may obtain an updated upgrade installation package of the heterogeneous connection service, and upgrade the currently installed heterogeneous connection service according to the upgrade installation package. The upgrade installation package may include an interface protocol of a newly added task management system manufacturer.
Optionally, in order to reduce the influence on the currently running heterogeneous connection service on the server, an interface protocol of a new task management system manufacturer may be added in a manner of updating the configuration file. The heterogeneous connection service on the server can periodically check whether the configuration file is updated or not, and can read the interface protocol and the manufacturer identification of the new task management system manufacturer in the configuration file and determine the corresponding relation between the interface protocol and the manufacturer identification of the new task management system manufacturer when the configuration file is checked to be updated. When a task instruction of the newly added task management system is subsequently received, the content of the task instruction can be analyzed according to an interface protocol of a manufacturer of the newly added task management system.
In the implementation mode, when a new task management system manufacturer is added, the interface protocol of the new task management system manufacturer can be dynamically added, so that the transverse expansion of the task management system manufacturer in the aspects of quantity and type is realized, the new manufacturer can be continuously compatible, and the service capability aiming at the heterogeneous system is expanded.
In some exemplary embodiments, the standardized task resolution rules in the server may also be dynamically configured to meet the needs of newly added different equipment control system vendors.
Alternatively, in response to a request to add a new device control system, the server may obtain the interface protocol and vendor identification of the new device control system. The interface protocol of the equipment control system of the second manufacturer can be stored in the software upgrading packet or in the configuration file. After the interface protocol of the equipment control system of the second manufacturer is obtained, a new standardized task analysis rule matched with the interface protocol of the new equipment control system can be generated according to the interface protocol of the new equipment control system, and the corresponding relation between the new standardized task analysis rule and the manufacturer identification of the new equipment control system is stored.
In the implementation mode, when a manufacturer of the equipment control system is newly added, a standardized task analysis rule can be dynamically added, the transverse expansion of the type of the manufacturer of the equipment control system is realized, the manufacturer of the new equipment control system can be continuously compatible, and the service capability aiming at the heterogeneous system is expanded.
In the foregoing embodiments, the server translates the task instruction of the task management system into the task instruction that can be recognized by the device control system, and in other alternative embodiments, the server may also translate the message of the device control system into the message that can be recognized by the task management system. As will be exemplified below.
Optionally, the server may also receive a first message sent by the device control system. The first message may be a task result feedback message, a failure feedback message, or an information synchronization message, and the like, which is not limited in this embodiment.
The server can analyze the content of the first message according to an interface protocol of the equipment control system to obtain the message content of the first message. When the first message is analyzed, at least one field and the respective parameter of the at least one field are decomposed from the first message according to the format definition in the interface protocol of the equipment control system, and the decomposed respective meaning of the at least one field and the respective meaning of the at least one field parameter are determined according to the field definition and the parameter definition in the interface protocol of the equipment control system. After the message content is determined, the server can convert the first message according to the message content to obtain a second message matched with the task management system, and the second message is sent to the task management system. When the first message is converted according to the message content, a new message following the interface protocol of the task management system is generated according to the message content. Therefore, under the condition that the task management system and the control system are heterogeneous, the task management system can identify the message sent by the equipment control system, and the communication requirement of the heterogeneous system is met.
In the above and following embodiments of the present application, optionally, when the server sends the task instruction to the device control system, it may further determine whether the control system is in an online state, so as to ensure that the second task instruction can be received by the device control system.
Alternatively, the server may send the connection request based on a handshake mechanism (e.g., a three-way handshake mechanism or a four-way handshake mechanism) device control system. After receiving the acknowledgement message returned by the device control system according to the connection request, the server may send a status detection message to the device control system. When it is determined that the device control system is in an online state, the server may send the second task instruction to the device control system, so that the device control system controls the target device to perform the corresponding task.
By the implementation mode, the server can ensure that the equipment control system receives the second task instruction under the condition of being in the online state, so that the conversion rate of the tasks is improved.
In addition to the method for controlling devices of a heterogeneous system provided in the foregoing embodiment, an embodiment of the present application further provides a device controlling apparatus of a heterogeneous system, which will be further exemplarily described with reference to the accompanying drawings.
As shown in fig. 3, the device control apparatus of the heterogeneous system may include:
the instruction acquisition module 301 is used for acquiring a first task instruction sent by the task management system to the equipment control system; the equipment control system and the task management system are heterogeneous systems.
The instruction conversion module 302 is configured to convert the first task instruction into a second task instruction matched with the device control system according to respective interface protocols of the task management system and the device control system.
The instruction sending module 303 is configured to send the second task instruction to the device control system, so that the device control system controls the target device to execute the corresponding task.
Optionally, when the instruction conversion module 302 converts the first task instruction into a second task instruction matched with the device control system according to respective interface protocols of the task management system and the device control system, the instruction conversion module is specifically configured to: according to the interface protocol of the task management system, analyzing the content of the first task instruction to obtain the task content of the first task instruction; and generating a task instruction following an interface protocol of the equipment control system as the second task instruction according to the task content.
Optionally, when performing content analysis on the first task instruction according to the interface protocol of the task management system to obtain the task content of the first task instruction, the instruction conversion module 302 is specifically configured to: according to the format definition in the interface protocol of the task management system, at least one field and the respective parameter of the at least one field are decomposed from the first task instruction; and determining the respective meanings of the at least one decomposed field and the respective meanings of the at least one field parameter according to the field definitions and the parameter definitions in the interface protocol of the task management system.
Optionally, when the instruction conversion module 302 generates a task instruction according to the task content and using the task instruction as the second task instruction, the task instruction is specifically configured to: generating a standardized task corresponding to the task content according to a preset standardized task generation rule; according to the manufacturer identification of the equipment control system, determining a standardized task analysis rule matched with an interface protocol of the equipment control system; and analyzing the standardized task according to the standardized task analysis rule to obtain the second task instruction.
Further optionally, the apparatus further includes an updating module 304, configured to: responding to a request for adding a new equipment control system, and acquiring an interface protocol and a manufacturer identification of the new equipment control system; generating a new standardized task analysis rule matched with the interface protocol of the new equipment control system according to the interface protocol of the new equipment control system; and storing the corresponding relation between the new standardized task analysis rule and the manufacturer identification of the new equipment control system for use.
Optionally, the instruction sending module 303, when sending the second task instruction to the device control system, so that the device control system controls the target device to execute the corresponding task, is specifically configured to: sending a connection request to the equipment control system, and sending a state detection message to the equipment control system after receiving a confirmation message returned by the equipment control system according to the connection request; and when the equipment control system is determined to be in an online state, sending the second task instruction to the equipment control system so as to enable the equipment control system to control the target equipment to execute the corresponding task.
Optionally, the task management system includes: a warehouse management system; the target device includes: an automated guided vehicle, the device control system comprising: a robot control system.
In this embodiment, when the task management system and the device control system are heterogeneous systems, the apparatus shown in fig. 3 may obtain a task instruction sent by the task management system to the device control system, convert the received task instruction according to an interface protocol of the task management system and the device control system to obtain a task instruction matched with the device control system, and send the converted task instruction to the device control system. Further, the device control system may control the target device to perform the corresponding task. In the embodiment, the device control can be realized under the condition that the task management system and the device control system are heterogeneous systems, the compatibility of the task management system to the heterogeneous device control system is improved, and the development cost of the task management system is reduced.
In different scenarios, the device control apparatus of the heterogeneous system illustrated in fig. 3 may be deployed on different devices, which is not limited in this embodiment.
In some scenarios, the apparatus illustrated in fig. 3 may be deployed on a device on the user side of the task management system. For example, when the task management system is implemented as a WMS, the apparatus illustrated in fig. 3 may be deployed on a terminal device or a server of a user to which the warehouse belongs.
In other scenarios, the apparatus illustrated in fig. 3 may be deployed on a cloud server, and different task management system manufacturers may utilize heterogeneous connection services provided by the cloud server to control devices provided by different manufacturers. The method can realize resource sharing, improve the utilization rate of the service resources of the heterogeneous connection and reduce the cost required by the heterogeneous connection.
In still other scenarios, the apparatus illustrated in FIG. 3 may be deployed on a single controlled device. For example, when the controlled device is implemented as a robot, the device illustrated in fig. 3 may be deployed on the robot, so that based on the device illustrated in fig. 3, a single robot device may identify task instructions issued by task management systems of different manufacturers, thereby overcoming a problem of communication barrier existing in a heterogeneous system.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of steps 101 to 104 may be device a; for another example, the execution subject of steps 101 and 102 may be device a, and the execution subject of step 103 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or concurrently, and the sequence numbers of the operations, such as 101, 102, etc., are used only for distinguishing between different operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or concurrently.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Fig. 4 is a schematic structural diagram of a server provided in an exemplary embodiment of the present application, where the server is applied to the device control method of the heterogeneous system provided in the foregoing embodiment. As shown in fig. 4, the server includes: a memory 401 and a processor 402.
The memory 401 is used for storing computer programs and may be configured to store other various data to support operations on the server. Examples of such data include instructions for any application or method operating on the server.
The memory 401 may be implemented by any type or combination of volatile and non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A processor 402, coupled to the memory 401, for executing the computer program in the memory 401 for: acquiring a first task instruction sent to an equipment control system by a task management system; the equipment control system and the task management system are heterogeneous systems; converting the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system; and sending the second task instruction to the equipment control system so as to enable the equipment control system to control the target equipment to execute the corresponding task.
Further optionally, when the processor 402 converts the first task instruction into a second task instruction matched with the device control system according to respective interface protocols of the task management system and the device control system, the processor is specifically configured to: according to the interface protocol of the task management system, analyzing the content of the first task instruction to obtain the task content of the first task instruction; and generating a task instruction following an interface protocol of the equipment control system as the second task instruction according to the task content.
Further optionally, when performing content analysis on the first task instruction according to the interface protocol of the task management system to obtain the task content of the first task instruction, the processor 402 is specifically configured to: according to the format definition in the interface protocol of the task management system, at least one field and the respective parameter of the at least one field are separated from the first task instruction; and determining the respective meanings of the at least one decomposed field and the respective meanings of the at least one field parameter according to the field definitions and the parameter definitions in the interface protocol of the task management system.
Further optionally, when the processor 402 generates a task instruction conforming to an interface protocol of the device control system according to the task content, and serves as the second task instruction, the processor is specifically configured to: generating a standardized task corresponding to the task content according to a preset standardized task generation rule; according to the manufacturer identification of the equipment control system, determining a standardized task analysis rule matched with an interface protocol of the equipment control system; and analyzing the standardized task according to the standardized task analysis rule to obtain the second task instruction.
Further optionally, the processor 402 is further configured to: responding to a request for adding a new equipment control system, and acquiring an interface protocol and a manufacturer identification of the new equipment control system; generating a new standardized task analysis rule matched with the interface protocol of the new equipment control system according to the interface protocol of the new equipment control system; and storing the corresponding relation between the new standardized task analysis rule and the manufacturer identification of the new equipment control system for use.
Further optionally, when sending the second task instruction to the device control system to enable the device control system to control the target device to execute the corresponding task, the processor 402 is specifically configured to: sending a connection request to the equipment control system, and sending a state detection message to the equipment control system after receiving a confirmation message returned by the equipment control system according to the connection request; and when the equipment control system is determined to be in the online state, sending the second task instruction to the equipment control system so as to enable the equipment control system to control the target equipment to execute the corresponding task.
Further optionally, the task management system comprises: a warehouse management system; the target device includes: an automated guided vehicle, the device control system comprising: a robot control system.
Further, as shown in fig. 4, the server further includes: communication components 403, power components 404, and the like. Only some of the components are schematically shown in fig. 4, and it is not meant that the server includes only the components shown in fig. 4.
Wherein the communication component 403 is configured to facilitate communication between the device in which the communication component is located and other devices in a wired or wireless manner. The device in which the communication component is located may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast task management system via a broadcast channel. In an exemplary embodiment, the communication component may be implemented based on Near Field Communication (NFC) technology, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
The power supply 404 provides power to various components of the device in which the power supply is located. The power components may include a power task management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the devices in which the power components are located.
In this embodiment, when the task management system and the device control system are heterogeneous systems, the server may obtain a task instruction sent by the task management system to the device control system, convert the received task instruction according to an interface protocol of the task management system and the device control system to obtain a task instruction matched with the device control system, and send the converted task instruction to the device control system. Further, the device control system may control the target device to perform the corresponding task. In the embodiment, the device control can be realized under the condition that the task management system and the device control system are heterogeneous systems, the compatibility of the task management system to the heterogeneous device control system is improved, and the development cost of the task management system is reduced.
Accordingly, the present application further provides a computer-readable storage medium storing a computer program, where the computer program can implement the steps that can be executed by the server in the foregoing method embodiments when executed.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An apparatus control method for a heterogeneous system, comprising:
acquiring a first task instruction sent to an equipment control system by a task management system; the equipment control system and the task management system are heterogeneous systems;
converting the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system;
and sending the second task instruction to the equipment control system so as to enable the equipment control system to control target equipment to execute the corresponding task.
2. The method of claim 1, wherein translating the first task instruction into a second task instruction that matches the plant control system according to respective interface protocols of the task management system and the plant control system comprises:
according to an interface protocol of the task management system, analyzing the content of the first task instruction to obtain the task content of the first task instruction;
and generating a task instruction following an interface protocol of the equipment control system as the second task instruction according to the task content.
3. The method of claim 2, wherein performing content parsing on the first task instruction according to an interface protocol of the task management system to obtain task content of the first task instruction comprises:
according to a format definition in an interface protocol of the task management system, at least one field and the respective parameters of the at least one field are decomposed from the first task instruction;
and determining the respective meanings of the at least one decomposed field and the respective meanings of the at least one field parameter according to the field definitions and the parameter definitions in the interface protocol of the task management system.
4. The method of claim 2, wherein generating a task instruction conforming to an interface protocol of the device control system as the second task instruction based on the task content comprises:
generating a standardized task corresponding to the task content according to a preset standardized task generation rule;
according to the manufacturer identification of the equipment control system, determining a standardized task analysis rule matched with an interface protocol of the equipment control system;
and analyzing the standardized task according to the standardized task analysis rule to obtain the second task instruction.
5. The method of claim 4, further comprising:
responding to a request for adding a new equipment control system, and acquiring an interface protocol and a manufacturer identification of the new equipment control system;
generating a new standardized task analysis rule matched with the interface protocol of the new equipment control system according to the interface protocol of the new equipment control system;
and storing the corresponding relation between the new standardized task analysis rule and the manufacturer identification of the new equipment control system for use.
6. The method according to any one of claims 1 to 5, wherein sending the second task instruction to the device control system to cause the device control system to control a target device to perform a corresponding task comprises:
sending a connection request to the equipment control system, and sending a state detection message to the equipment control system after receiving a confirmation message returned by the equipment control system according to the connection request;
and when the equipment control system is determined to be in an online state, sending the second task instruction to the equipment control system so as to enable the equipment control system to control target equipment to execute a corresponding task.
7. The method of any of claims 1-5, wherein the task management system comprises: a warehouse management system; the target device includes: an automated guided vehicle, the device control system comprising: a robot control system.
8. An apparatus control device for a heterogeneous system, comprising:
the instruction acquisition module is used for acquiring a first task instruction sent to the equipment control system by the task management system; the equipment control system and the task management system are heterogeneous systems;
the instruction conversion module is used for converting the first task instruction into a second task instruction matched with the equipment control system according to respective interface protocols of the task management system and the equipment control system;
and the instruction sending module is used for sending the second task instruction to the equipment control system so as to enable the equipment control system to control target equipment to execute the corresponding task.
9. A server, comprising: a memory and a processor;
the memory is to store one or more computer instructions;
the processor is to execute the one or more computer instructions to: performing the steps of the method of any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 7.
CN202210325225.9A 2022-03-29 2022-03-29 Equipment control method and device for heterogeneous system, server and storage medium Pending CN114690723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210325225.9A CN114690723A (en) 2022-03-29 2022-03-29 Equipment control method and device for heterogeneous system, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210325225.9A CN114690723A (en) 2022-03-29 2022-03-29 Equipment control method and device for heterogeneous system, server and storage medium

Publications (1)

Publication Number Publication Date
CN114690723A true CN114690723A (en) 2022-07-01

Family

ID=82140142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210325225.9A Pending CN114690723A (en) 2022-03-29 2022-03-29 Equipment control method and device for heterogeneous system, server and storage medium

Country Status (1)

Country Link
CN (1) CN114690723A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314554A (en) * 2022-09-26 2022-11-08 北京城建设计发展集团股份有限公司 Data access method, device and system of rail transit heterogeneous system
CN115328581A (en) * 2022-08-05 2022-11-11 科东(广州)软件科技有限公司 Management device and method for modular service fusion based on heterogeneous system
CN116252305A (en) * 2023-05-05 2023-06-13 苏州视通医疗科技有限公司 Control system reconstruction method, control system, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328581A (en) * 2022-08-05 2022-11-11 科东(广州)软件科技有限公司 Management device and method for modular service fusion based on heterogeneous system
CN115328581B (en) * 2022-08-05 2023-10-27 科东(广州)软件科技有限公司 Management device and method for modularized business fusion based on heterogeneous system
CN115314554A (en) * 2022-09-26 2022-11-08 北京城建设计发展集团股份有限公司 Data access method, device and system of rail transit heterogeneous system
CN115314554B (en) * 2022-09-26 2024-01-26 北京城建设计发展集团股份有限公司 Data access method, device and system of rail transit heterogeneous system
CN116252305A (en) * 2023-05-05 2023-06-13 苏州视通医疗科技有限公司 Control system reconstruction method, control system, electronic equipment and storage medium
CN116252305B (en) * 2023-05-05 2024-02-20 苏州视通医疗科技有限公司 Control system reconstruction method, control system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN114690723A (en) Equipment control method and device for heterogeneous system, server and storage medium
CN113285885B (en) Service grid-based edge flow control method, device and storage medium
CN112340557B (en) Call information processing method, control board and storage medium
EP3806013A1 (en) Method and apparatus for carrying shelf
CN110225026B (en) Protocol converter instrument remote configuration method
CN111369103B (en) Textile ERP intelligent management system, terminal and computer readable storage medium
WO2023221781A1 (en) Service management method and system, and configuration server and edge computing device
US11036539B2 (en) Workflow engine framework
CN109857074A (en) Intelligent logistics system and workshop management system
CN101827302A (en) Multi-service unified processing method and unified service platform
CN113204444B (en) Present vehicle management system based on global situation and method thereof
CN110658759A (en) Industrial intelligent controller capable of dynamically deploying AI model
CN103516735A (en) Method and apparatus for upgrading network node
CN116112576A (en) Connection method, adapter, control method and device for single system and AGV
Chu et al. Research on key technologies of service quality optimizationfor industrial IoT 5G network for intelligent manufacturing
CN113377344A (en) Complex information system comprehensive integration method
KR100838526B1 (en) Terminal and method for serving in the uss of ubiquitious
KR102470122B1 (en) System and method for interfacing of devices using multi-protocol in internet of things
CN109739192B (en) Control method and system under intelligent logistics system
CN112468316B (en) Edge computing gateway device and implementation method thereof
CN113301558A (en) Message transmission method, device, system and storage medium
KR102524852B1 (en) Systems and methods for managing on-site facilities with Web applications
CN112749158A (en) Energy system data processing method and device
CN113132174A (en) Network equipment inspection system, method, equipment and storage medium
CN117121451A (en) Control network for mobile robots

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination