CN109116756B - Equipment building method and system - Google Patents

Equipment building method and system Download PDF

Info

Publication number
CN109116756B
CN109116756B CN201810775246.4A CN201810775246A CN109116756B CN 109116756 B CN109116756 B CN 109116756B CN 201810775246 A CN201810775246 A CN 201810775246A CN 109116756 B CN109116756 B CN 109116756B
Authority
CN
China
Prior art keywords
virtual device
control instruction
new
control
module
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.)
Active
Application number
CN201810775246.4A
Other languages
Chinese (zh)
Other versions
CN109116756A (en
Inventor
祁义龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
UniCompound Semiconductor Corp
Original Assignee
UniCompound Semiconductor Corp
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 UniCompound Semiconductor Corp filed Critical UniCompound Semiconductor Corp
Priority to CN201810775246.4A priority Critical patent/CN109116756B/en
Publication of CN109116756A publication Critical patent/CN109116756A/en
Application granted granted Critical
Publication of CN109116756B publication Critical patent/CN109116756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Operation Control Of Excavators (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a system for equipment construction, which comprises the following steps: the virtual device acquires a control instruction of the control equipment to the original machine platform module; the virtual device converts the received control instruction into a new control instruction of the current module according to a prestored conversion relation table; the virtual device sends a new control instruction to the current module. Different from the prior art, the technical scheme realizes the instruction sending of the current new module through the virtual device, so that the old control equipment can control the new module, and the problem that the whole equipment cannot work normally after the old module on the control equipment cannot work is solved.

Description

Equipment building method and system
Technical Field
The invention relates to the technical field of virtualization machine equipment, in particular to a method and a system for equipment construction.
Background
The existing complete machine equipment is divided into two parts, namely control equipment and an execution machine. After the control equipment terminal sends out an operation instruction, the operation instruction is transmitted to the execution machine station through a line to carry out corresponding operation. Firstly, the control equipment can work normally, but the control equipment is still inevitable to be out of order. When the system is out of order, the production data in the execution machine table is damaged, which causes waste, and the normal accessories need to be replaced. Due to the fact that the control equipment is updated quickly, the parts in the previous control equipment are old, and the market may not find the corresponding parts to be replaced. Generally, the operation is only possible with diseases, which may cause the reduction of the product yield.
Disclosure of Invention
Therefore, a method and a system for equipment construction are needed to be provided, so that the problem of reduced product yield caused by the fact that the accessories of the existing old equipment cannot work normally is solved.
To achieve the above object, the inventor provides a method for device construction, comprising the steps of:
the virtual device acquires a control instruction of the control equipment to the original machine platform module;
the virtual device converts the received control instruction into a new control instruction of the current module according to a prestored conversion relation table;
the virtual device sends a new control instruction to the current module.
Further, the method also comprises the following steps:
the virtual device acquires the reply information of the current module;
the virtual device converts the received reply information into the reply information of the original machine module according to a prestored conversion relation table;
the virtual device sends back the reply information to the control apparatus.
Further, the method also comprises the following steps:
the virtual device acquires a subsequent control instruction of the control equipment after sending the reply information back to the control equipment;
the virtual device converts the subsequent control instruction into a new subsequent control instruction according to a prestored conversion relation table;
the virtual device stores the corresponding relationship between the reply information and the new subsequent control instruction.
Further, the method also comprises the following steps:
the virtual device acquires reply information of the module when disconnected from the control apparatus,
the virtual device acquires a new subsequent control instruction corresponding to the reply information according to the corresponding relation between the stored reply information and the new subsequent control instruction;
the virtual device sends a new subsequent control instruction to the current module.
Further, the method also comprises the following steps:
the virtual device acquires a control instruction of the control equipment to the original machine platform module;
the virtual device acquires a new control instruction of the selected current module;
and the virtual device establishes a corresponding relation between the received control instruction and the new control instruction and stores the corresponding relation in a conversion relation table.
Further, the method also comprises the following steps:
the virtual device acquires and records a control instruction and a sequence of the control equipment;
the virtual device executes recording and a prestored conversion relation table according to the recorded sequence to convert the received control instruction into a new control instruction of the current module;
the virtual device sends a new control instruction to the current module.
The invention provides a system for equipment construction, which comprises a memory and a processor, wherein the memory is stored with a computer program, and the computer program realizes the steps of the method when being executed by the processor.
Different from the prior art, the technical scheme realizes the instruction sending of the current new module through the virtual device, so that the old control equipment can control the new module, and the problem that the whole equipment cannot work normally after the old module on the control equipment cannot work is solved.
Drawings
FIG. 1 is a flow chart of a method according to an embodiment;
FIG. 2 is a system architecture diagram according to an embodiment;
fig. 3 is another system architecture diagram according to an embodiment.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1 to fig. 3, the present embodiment provides a method for building a device, and the method can be applied between a control device and a machine. The control equipment is used for realizing the control of the machine, each functional module is contained on the machine, and the modules are finally used for realizing the functions of the machine. The control device sends control instructions to the modules, so that the modules can be driven, and the control device can acquire the states of the modules. When a certain module on the control equipment is damaged, a new module can be placed on the original machine, but the control equipment is relatively old, so that the new module cannot be driven. It needs to be processed using the virtual device of the present invention.
The virtual device in the virtual device is only used for distinguishing from the existing control equipment, and is not literally understood to be a non-entity meaning, and the virtual device of the invention can be an entity equipment with a processing function, such as a computer equipment. The virtual device is respectively connected with the control equipment in a communication way and the machine equipment module, and comprises the following steps: step S101, the virtual device acquires a control instruction of the control equipment to the original machine platform module; step S102, the virtual device converts the received control instruction into a new control instruction of the current module (namely a new module) according to a prestored conversion relation table; step S103 the virtual device sends a new control instruction to the current module. In step S101, if the virtual device needs to be able to obtain the control instruction of the control device, and the control device can directly issue the control instruction through the general communication protocol, the virtual device may intercept the control instruction. If the control device is sent out through some communication interfaces directly connected with the module, the virtual device can be connected to the specific communication interfaces, so that the acquisition of the control instruction is realized. Because the instructions of the new module and the old module are different, the instructions are converted on the virtual device, the conversion can be realized according to a conversion relation table, and the conversion relation table can be stored on the virtual device in advance. The conversion relation table is used to indicate the corresponding relation between the control command and the new control command, and is not limited to the form of a storage file, and may be in the form of a table, a database, or the like. Control of the new module can then be effected in step S103. As shown in fig. 2, the instruction of the current new module is sent through the virtual device, the control of the new module by the auxiliary control device is also saved by the control device, and the control of the original other modules is further saved by the control device, so that the old control device can control the new module, and the problem that the whole device cannot work normally after the old module on the control device cannot work is solved.
In order to realize the acquisition of the state of the new module, the invention also comprises the following steps: the virtual device acquires the reply information of the current module; the virtual device converts the received reply information into the reply information of the original machine module according to a prestored conversion relation table; the virtual device sends back the reply information to the control apparatus. Therefore, the control equipment can acquire the information of the new module.
In some embodiments, after receiving the reply message from the module, the control device performs corresponding processing according to the reply message, and the virtual device may store the corresponding processing relationships, so as to implement automatic operation when the control device is detached from the control device. During storage, the method further comprises the following steps: the virtual device acquires a subsequent control instruction of the control equipment after sending the reply information back to the control equipment; the virtual device converts the subsequent control instruction into a new subsequent control instruction according to a prestored conversion relation table; the virtual device stores the corresponding relationship between the reply information and the new subsequent control instruction. Therefore, instruction replication is realized, the new subsequent control instruction in this embodiment may be not only a control instruction for the new module, but also a notification instruction (for example, a display prompt message) or a control instruction for the original module of the machine, and in order to realize control over the original module, the virtual device should be connected to other modules of the machine.
When the virtual device is disconnected from the control device, as shown in fig. 3, the control device is not connected to the executing machine. The invention also comprises the following steps: when the virtual device is disconnected with the control equipment, acquiring reply information of a module (which can be a new module or an original module), and acquiring a new subsequent control instruction corresponding to the reply information by the virtual device according to the corresponding relation between the stored reply information and the new subsequent control instruction; the virtual device sends a new subsequent control instruction to the current module. The virtual device of this embodiment can perform peer-to-peer copy on the instruction of the normally operating control device, and when the virtual device acquires and stores the corresponding relationship between all reply information and the new subsequent control instruction. The module state of the original machine is judged through the virtual device, and when the original control equipment cannot work continuously, the current processing progress can be transferred to the virtual device to be executed continuously. The continuous operation of the equipment is realized, and the influence of shutdown is avoided.
In order to establish a corresponding relationship between the original machine module and the new module conveniently, the corresponding relationship can be suggested after the corresponding functional instruction is manually selected, and then the method further comprises the following steps: the virtual device acquires a control instruction of the control equipment to the original machine platform module; the virtual device acquires a new control instruction of the selected current module; and the virtual device establishes a corresponding relation between the received control instruction and the new control instruction and stores the corresponding relation in a conversion relation table.
The virtual device of the invention can completely replace the original control equipment, and needs to record the control flow of the original control equipment, and also comprises the following steps: the virtual device acquires and records a control instruction and a sequence of the control equipment; the virtual device executes recording and a prestored conversion relation table according to the recorded sequence to convert the received control instruction into a new control instruction of the current module; the virtual device sends a new control instruction to the current module. The sequence can also include a time parameter, and the virtual device records the sequence and the time parameter, simulates the execution of the control equipment according to the execution flow of the original control equipment, and finally realizes the replacement of the original equipment. Then, an instruction of a certain flow can be directly issued on the virtual device, and the virtual device can complete the execution of the flow task.
The invention provides a system for equipment construction, namely a software and hardware system on a virtual device, which comprises a memory and a processor, wherein a computer program is stored in the memory, and the steps of the method are realized when the computer program is executed by the processor.
The invention also provides a storage medium storing a computer program which, when executed by a processor, implements the steps of the above method. The storage medium of the present embodiment may be a storage medium provided in an electronic device, and the electronic device may read the content of the storage medium and achieve the effects of the present invention. The storage medium may also be a separate storage medium, which is connected to the electronic device, and the electronic device may read the content of the storage medium and implement the method steps of the present invention.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (6)

1. A method for equipment construction is characterized in that: the method comprises the following steps:
the virtual device acquires a control instruction of the control equipment to the original machine platform module;
the virtual device converts the received control instruction into a new control instruction of the current module according to a prestored conversion relation table;
the virtual device sends a new control instruction to the current module;
the virtual device acquires and records a control instruction and a sequence of the control equipment;
the virtual device converts the received control instruction into a new control instruction of the current module according to the recorded sequence and a prestored conversion relation table;
the virtual device sends a new control instruction to the current module;
and simulating the execution of the control equipment according to the execution flow of the original control equipment.
2. The method of claim 1, further comprising the steps of:
the virtual device acquires the reply information of the current module;
the virtual device converts the received reply information into the reply information of the original machine module according to a prestored conversion relation table;
the virtual device sends back the reply information to the control apparatus.
3. The method of claim 2, further comprising the steps of:
the virtual device acquires a subsequent control instruction of the control equipment after sending the reply information back to the control equipment;
the virtual device converts the subsequent control instruction into a new subsequent control instruction according to a prestored conversion relation table;
the virtual device stores the corresponding relationship between the reply information and the new subsequent control instruction.
4. The method of claim 3, further comprising the steps of:
the virtual device acquires reply information of the module when disconnected from the control apparatus,
the virtual device acquires a new subsequent control instruction corresponding to the reply information according to the corresponding relation between the stored reply information and the new subsequent control instruction;
the virtual device sends a new subsequent control instruction to the current module.
5. The method of claim 1, further comprising the steps of:
the virtual device acquires a control instruction of the control equipment to the original machine platform module;
the virtual device acquires a new control instruction of the selected current module;
and the virtual device establishes a corresponding relation between the received control instruction and the new control instruction and stores the corresponding relation in a conversion relation table.
6. A system for equipment set up, characterized by: comprising a memory, a processor, said memory having stored thereon a computer program which, when being executed by the processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201810775246.4A 2018-07-16 2018-07-16 Equipment building method and system Active CN109116756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810775246.4A CN109116756B (en) 2018-07-16 2018-07-16 Equipment building method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810775246.4A CN109116756B (en) 2018-07-16 2018-07-16 Equipment building method and system

Publications (2)

Publication Number Publication Date
CN109116756A CN109116756A (en) 2019-01-01
CN109116756B true CN109116756B (en) 2020-06-19

Family

ID=64862615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810775246.4A Active CN109116756B (en) 2018-07-16 2018-07-16 Equipment building method and system

Country Status (1)

Country Link
CN (1) CN109116756B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006192A (en) * 2010-11-24 2011-04-06 广州星海传媒有限公司 Control system and control method for digital family network equipment
CN102736531B (en) * 2012-06-14 2014-06-25 华北电力大学 Distributed self-learning sequential control system and method based on wireless network
CN103247182B (en) * 2013-04-26 2015-12-02 青岛海信网络科技股份有限公司 Traffic signal control and Signalized control method thereof
CN104407599B (en) * 2014-12-15 2017-02-08 杨光源 Portable intelligent home controller and intelligent home control system
CN104879894B (en) * 2015-05-20 2018-03-06 广东欧珀移动通信有限公司 The method, apparatus and system of remote control air-conditioning
CN106341393A (en) * 2016-08-18 2017-01-18 广州市迪士普音响科技有限公司 Method and system for making modules of wisdom platform compatible

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102043753B (en) Device information setting apparatus and device information setting method
CN111324378B (en) Configuration method, device and equipment for video monitoring application software
CN110990482A (en) Data synchronization method and device between asynchronous databases
CN110806958A (en) Monitoring method, monitoring device, storage medium and electronic equipment
WO2022083224A1 (en) Material real-time synchronization method and apparatus, electronic device, and storage medium
CN108196877A (en) The method and apparatus and computing device of component release management
EP3968145A1 (en) Apparatus and method for executing customized artificial intelligence production line, and device and medium
CN114328256A (en) Test method, test device, computer-readable storage medium and electronic equipment
CN113760611B (en) System site switching method and device, electronic equipment and storage medium
CN112256670A (en) Data migration method, terminal device and readable storage medium
CN111324480A (en) Large host transaction fault positioning system and method
CN115687486A (en) Method and device for lightweight data acquisition based on button
CN109116756B (en) Equipment building method and system
CN112559124A (en) Model management system and target operation instruction processing method and device
CN106933932B (en) Data processing method and device and application server
CN109190969B (en) Weighing equipment management and control method and system, weighing equipment management middleware and medium
CN115080043B (en) Data visualization processing method and device, front-end equipment and storage medium
CN101340311B (en) Display control apparatus, display control program and display control method
CN106850596B (en) Data acquisition system and method
CN115145634A (en) System management software self-adaption method, device and medium
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN110597536A (en) Software upgrading method, system and terminal equipment
CN110727457A (en) Component management method, device, storage medium and electronic equipment
CN112463268A (en) Application data processing method, device, equipment and storage medium
CN110531944B (en) Method for controlling operation of printing consumable adapter based on intelligent terminal system, computer device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant