CN115941656B - Integration method of design software in industrial design - Google Patents
Integration method of design software in industrial design Download PDFInfo
- Publication number
- CN115941656B CN115941656B CN202211712272.5A CN202211712272A CN115941656B CN 115941656 B CN115941656 B CN 115941656B CN 202211712272 A CN202211712272 A CN 202211712272A CN 115941656 B CN115941656 B CN 115941656B
- Authority
- CN
- China
- Prior art keywords
- client
- design software
- scheduling
- software
- scheduling 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000013461 design Methods 0.000 title claims abstract description 16
- 230000010354 integration Effects 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 50
- 230000008569 process Effects 0.000 claims abstract description 4
- 230000002159 abnormal effect Effects 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 3
- 239000000284 extract Substances 0.000 claims description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Computer And Data Communications (AREA)
Abstract
An integration method of design software in industrial design, comprising the following steps: s1, creating a software scheduling module, integrating a websocket communication protocol in the module, and registering a client and design software on the software scheduling module through the websocket communication protocol; s2, each design software and each client end send heartbeat information to the scheduling module at regular time through a Websocket communication protocol; s3, the scheduling module receives heartbeat information sent by the client and the design software through a Websocket communication protocol, namely, the client and the design software are considered to be normally connected, and registration information of the client and the design software is recorded in a registration information table; s4, the client sends an operation instruction through a Websocket communication protocol, the operation instruction of the client is received by the scheduling management of the scheduling module, and different design software is selected according to the operation instruction to process the instruction; s5, completing communication between the client and the design software.
Description
Technical Field
The application relates to the field of industrial design, in particular to an integration method of design software in industrial design.
Background
Many design software is required in the industrial design, and the design software is required to verify and perfect the design in the design process. However, each piece of software is independently installed, and the difficulty of integrating all pieces of design software into a platform is high, and codes are redundant, so that in order to reduce the integration difficulty and improve the use efficiency of the design software, a convenient method for integrating the design software is needed to be designed.
In the prior art, the following technical problems exist:
1. the platform is directly connected with each piece of software, code redundancy is easy to cause, the coupling degree is high, and the software expansion is not facilitated;
2. because the design software is more, when designing the product in the platform, the user needs to manually select the design software, and the operation steps are complicated.
Disclosure of Invention
The application aims to solve the defects in the prior art, and provides an integration method of design software in industrial design;
in order to achieve the above purpose, the application adopts the following technical scheme: an integration method of design software in industrial design, comprising the following steps:
s1, creating a software scheduling module, integrating a websocket communication protocol in the module, and registering a client and design software on the software scheduling module through the websocket communication protocol;
the software scheduling module comprises registration management, scheduling management and scheduling logs;
the database of the software scheduling module comprises a registry, and the registry records the registration information of the client and the software;
registration management: recording registration information, including a registration name and a registration address;
the registration information includes the name and code of the client or design software;
scheduling log: a scheduling log table in a database of the software scheduling module records scheduling logs of the client and the software;
s2, each design software and each client end send heartbeat information to the scheduling module at regular time through a Websocket communication protocol;
the heartbeat information is a piece of confirmation data, and can be a number 0 or 1 or a character string;
s3, the scheduling module receives heartbeat information sent by the client and the design software through a Websocket communication protocol, namely, the client and the design software are considered to be normally connected, and registration information of the client and the design software is recorded in a registration information table;
s3-1, when the client registration is successful; the scheduling module records the registration information of the client to a registry, the scheduling module transmits the registration information of all design software in the current registry to the client through a Websocket communication protocol, and the client displays available design software;
s3-2, when the design software is successfully registered, the scheduling module sends the registration information of the currently registered design software to all clients in a registry through a Websocket communication protocol, and the clients display that the currently registered design software is available;
s3-3, if the scheduling module does not receive heartbeat information of the design software in a timed time, the scheduling module judges that the state of the design software is abnormal, and meanwhile, abnormal design software registration information is sent to all registration clients through a Websocket communication protocol, and the clients display that the design software is abnormal through the registration information of the design software;
s3-4, if the scheduling module does not receive heartbeat information of the client in a timed time, the scheduling module judges that the state of the client is abnormal;
s4, the client sends an operation instruction through a Websocket communication protocol, the operation instruction of the client is received by the scheduling management of the scheduling module, and different design software is selected according to the operation instruction to process the instruction;
s5, completing communication between the client and the design software.
Preferably, the scheduling module does not receive heartbeat information of the design software in a period of a plurality of heartbeat information, the scheduling module judges that the design software is unavailable, the scheduling module directly deletes registration information of the design software in a registry, and notifies all registration clients through a Websocket communication protocol, and the registration clients reject the software; .
Preferably, the scheduling module does not receive the heartbeat information of the client in the period of the plurality of heartbeat information, and determines that the client is not available, and the scheduling module directly deletes the registration information of the client in the registry.
Preferably, step S4 further comprises the sub-steps of:
s4-1, the scheduling management of the scheduling module stores scheduling information or operation instructions of the client in a scheduling log so as to facilitate scheduling traceability;
s4-2, the scheduling management of the scheduling module extracts the registration information of the design software from the operation instruction through the operation instruction of the client, and finds the registration address of the corresponding design software in the registry;
s4-3, the scheduling management sends the operation instruction of the client to the design software through a Websocket communication protocol and a registration address of the design software, and the design software receives the operation instruction of the client to execute the operation;
s4-4, after the operation is finished, sending an operation result to scheduling management through a Websocket communication protocol;
s4-5, the scheduling management receives the execution result information of the design software, finds the client information according to the record in the scheduling log, then finds the registration address of the client in the registry by utilizing the registration information of the client, and sends the execution result information of the design software to the corresponding client again through the Websocket communication protocol and the registration address of the client. .
Compared with the prior art, the application has the beneficial effects that:
1. the platform is directly in butt joint with the scheduling module, design software is not required to be concerned, the difficulty of integration is reduced, integration is unified, and the design software and the platform are subjected to split decoupling;
2. the scheduling module can uniformly control design software, can realize dynamic expansion of the software, and registers to the scheduling module directly through a Websocket communication protocol;
3. platform operation is optimized, all operations are scheduled by the scheduling module, operation difficulty of a client is reduced, and design efficiency is improved.
Drawings
FIG. 1 is a schematic flow diagram illustrating the operation of an integrated method of designing software in an industrial design according to the present application.
Detailed Description
For a further understanding of the objects, construction, features, and functions of the application, reference should be made to the following detailed description of the preferred embodiments.
Referring to fig. 1, an integration method of design software in an industrial design according to an embodiment of the application includes the following steps:
s1, creating a software scheduling module, integrating a websocket communication protocol in the module, and registering a client and design software on the software scheduling module through the websocket communication protocol;
the Websocket communication protocol can keep long-chain communication, can keep long-time communication of the client in the server, and saves communication resources;
the software scheduling module comprises registration management, scheduling management and scheduling logs;
the database of the software scheduling module comprises a registry, and the registry records the registration information of the client and the software;
registration management: recording registration information, including a registration name and a registration address;
the registration information includes the name and code of the client or design software;
the registration name is unique;
scheduling management: for scheduling processing, dynamically selecting software according to platform transmitted information
The client comprises a browser, an APP and an applet;
scheduling log: a scheduling log table in a database of the software scheduling module records scheduling logs of the client and the software;
the design software is industrial design software including creo, simulation software and the like;
s2, each design software and each client send heartbeat information to the scheduling module at regular time through a Websocket communication protocol so as to prove that the connection of the client, the design software and the scheduling module is not interrupted;
the heartbeat information is a piece of confirmation data, and can be a number 0 or 1 or a character string;
the timing is the time customized by the client or design software, and is generally 20s;
s3, the scheduling module receives heartbeat information sent by the client and the design software through a Websocket communication protocol, namely, the client and the design software are considered to be normally connected, and registration information of the client and the design software is recorded in a registration information table;
s3-1, when the client registration is successful; the scheduling module records the registration information of the client to a registry, the scheduling module transmits the registration information of all design software in the current registry to the client through a Websocket communication protocol, and the client displays available design software;
s3-2, when the design software is successfully registered, the scheduling module sends the registration information of the currently registered design software to all clients in a registry through a Websocket communication protocol, and the clients display that the currently registered design software is available;
s3-3, if the scheduling module does not receive heartbeat information of the design software in a timed time, the scheduling module judges that the state of the design software is abnormal, and meanwhile, abnormal design software registration information is sent to all registration clients through a Websocket communication protocol, and the clients display that the design software is abnormal through the registration information of the design software; the scheduling module judges that the design software is unavailable if the scheduling module does not receive heartbeat information of the design software in a period of a plurality of heartbeat information, the scheduling module directly deletes registration information of the design software in a registry and notifies all registration clients through a Websocket communication protocol, and the registration clients reject the software; data space resources are saved;
s3-4, if the scheduling module does not receive heartbeat information of the client in a timed time, the scheduling module judges that the state of the client is abnormal; the scheduling module judges that the client is unavailable if the heartbeat information of the client is not received in the period of the heartbeat information, and the scheduling module directly deletes the registration information of the client in a registry; data space resources are saved;
s4, the client sends an operation instruction through a Websocket communication protocol, the operation instruction of the client is received by the scheduling management of the scheduling module, and different design software is selected according to the operation instruction to process the instruction;
s4-1, the scheduling management of the scheduling module stores scheduling information or operation instructions of the client in a scheduling log so as to facilitate scheduling traceability;
s4-2, the scheduling management of the scheduling module extracts the registration information of the design software from the operation instruction through the operation instruction of the client, and finds the registration address of the corresponding design software in the registry;
s4-3, the scheduling management sends the operation instruction of the client to the design software through a Websocket communication protocol and a registration address of the design software, and the design software receives the operation instruction of the client to execute the operation;
s4-4, after the operation is finished, sending an operation result to scheduling management through a Websocket communication protocol;
s4-5, the scheduling management receives the execution result information of the design software, finds the client information according to the record in the scheduling log, then finds the registration address of the client in the registry by using the registration information of the client, and sends the execution result information of the design software to the corresponding client again through the Websocket communication protocol and the registration address of the client;
s5, completing communication between the client and the design software.
The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by 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 protection scope of the present application.
Claims (4)
1. An integration method of design software in industrial design is characterized in that: the method comprises the following steps:
s1, creating a software scheduling module, integrating a websocket communication protocol in the module, and registering a client and design software on the software scheduling module through the websocket communication protocol;
the software scheduling module comprises registration management, scheduling management and scheduling logs;
the database of the software scheduling module comprises a registry, and the registry records the registration information of the client and the software;
registration management: recording registration information, including a registration name and a registration address;
the registration information includes the name and code of the client or design software;
scheduling log: a scheduling log table in a database of the software scheduling module records scheduling logs of the client and the software;
s2, each design software and each client end send heartbeat information to the scheduling module at regular time through a Websocket communication protocol;
the heartbeat information is a piece of confirmation data, and can be a number 0 or 1 or a character string;
s3, the scheduling module receives heartbeat information sent by the client and the design software through a Websocket communication protocol, namely, the client and the design software are considered to be normally connected, and registration information of the client and the design software is recorded in a registration information table;
s3-1, when the client registration is successful; the scheduling module records the registration information of the client to a registry, the scheduling module transmits the registration information of all design software in the current registry to the client through a Websocket communication protocol, and the client displays available design software;
s3-2, when the design software is successfully registered, the scheduling module sends the registration information of the currently registered design software to all clients in a registry through a Websocket communication protocol, and the clients display that the currently registered design software is available;
s3-3, if the scheduling module does not receive heartbeat information of the design software in a timed time, the scheduling module judges that the state of the design software is abnormal, and meanwhile, abnormal design software registration information is sent to all registration clients through a Websocket communication protocol, and the clients display that the design software is abnormal through the registration information of the design software;
s3-4, if the scheduling module does not receive heartbeat information of the client in a timed time, the scheduling module judges that the state of the client is abnormal;
s4, the client sends an operation instruction through a Websocket communication protocol, the operation instruction of the client is received by the scheduling management of the scheduling module, and different design software is selected according to the operation instruction to process the instruction;
s5, completing communication between the client and the design software.
2. The method of integrating design software in an industrial design of claim 1, wherein: and if the scheduling module does not receive the heartbeat information of the design software in the period of the heartbeat information, the scheduling module judges that the design software is unavailable, the scheduling module directly deletes the registration information of the design software in a registry, and informs all registration clients through a Websocket communication protocol, and the registration clients reject the software.
3. The method of integrating design software in an industrial design of claim 1, wherein: and if the scheduling module does not receive the heartbeat information of the client in the period of the heartbeat information, the scheduling module judges that the client is not available, and the scheduling module directly deletes the registration information of the client in the registry.
4. The method of integrating design software in an industrial design of claim 1, wherein: step S4 further comprises the sub-steps of:
s4-1, the scheduling management of the scheduling module stores scheduling information or operation instructions of the client in a scheduling log so as to facilitate scheduling traceability;
s4-2, the scheduling management of the scheduling module extracts the registration information of the design software from the operation instruction through the operation instruction of the client, and finds the registration address of the corresponding design software in the registry;
s4-3, the scheduling management sends the operation instruction of the client to the design software through a Websocket communication protocol and a registration address of the design software, and the design software receives the operation instruction of the client to execute the operation;
s4-4, after the operation is finished, sending an operation result to scheduling management through a Websocket communication protocol;
s4-5, the scheduling management receives the execution result information of the design software, finds the client information according to the record in the scheduling log, then finds the registration address of the client in the registry by utilizing the registration information of the client, and sends the execution result information of the design software to the corresponding client again through the Websocket communication protocol and the registration address of the client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211712272.5A CN115941656B (en) | 2022-12-29 | 2022-12-29 | Integration method of design software in industrial design |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211712272.5A CN115941656B (en) | 2022-12-29 | 2022-12-29 | Integration method of design software in industrial design |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115941656A CN115941656A (en) | 2023-04-07 |
CN115941656B true CN115941656B (en) | 2023-09-08 |
Family
ID=86652622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211712272.5A Active CN115941656B (en) | 2022-12-29 | 2022-12-29 | Integration method of design software in industrial design |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115941656B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002087094A1 (en) * | 2001-04-24 | 2002-10-31 | Wideray Corporation | System and method for communicating information from a computerized distributor to portable computing devices |
CN105553720A (en) * | 2015-12-15 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Client and system with trusted operating environments |
CN110677483A (en) * | 2019-09-29 | 2020-01-10 | 北京可信华泰信息技术有限公司 | Information processing system and trusted security management system |
CN112416345A (en) * | 2020-11-16 | 2021-02-26 | 中国电子科技集团公司第二十八研究所 | Universal client software integration system |
-
2022
- 2022-12-29 CN CN202211712272.5A patent/CN115941656B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002087094A1 (en) * | 2001-04-24 | 2002-10-31 | Wideray Corporation | System and method for communicating information from a computerized distributor to portable computing devices |
CN105553720A (en) * | 2015-12-15 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Client and system with trusted operating environments |
CN110677483A (en) * | 2019-09-29 | 2020-01-10 | 北京可信华泰信息技术有限公司 | Information processing system and trusted security management system |
CN112416345A (en) * | 2020-11-16 | 2021-02-26 | 中国电子科技集团公司第二十八研究所 | Universal client software integration system |
Also Published As
Publication number | Publication date |
---|---|
CN115941656A (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110309231B (en) | Cross-machine-room data synchronization method and system | |
CN102880503B (en) | Data analysis system and data analysis method | |
WO2023185310A1 (en) | Data synchronization method and system, and computer readable storage medium | |
CN115941656B (en) | Integration method of design software in industrial design | |
WO2020258687A1 (en) | Message reply management method and system | |
CN114721873A (en) | A system for asynchronous data backup and recovery | |
CN111026945B (en) | Multi-platform crawler scheduling method, device and storage medium | |
CN111813575A (en) | Customized cleaning method and system based on container service | |
CN116450175A (en) | State updating method, device and storage medium | |
CN115580605A (en) | Microservice-based request processing method and device | |
CN1971599A (en) | Error monitoring method and system of software application | |
CN109981738B (en) | A cloud server suitable for narrowband IoT applications | |
CN112769927A (en) | Client micro-service architecture of application program APP | |
JP2002073585A (en) | Debugging support device, debugging support method, and recording medium | |
CN114201275A (en) | Data migration method, device, equipment and storage medium | |
CN113965380B (en) | Single sign-on control method and device based on multiple background applications | |
TWI292105B (en) | Method and system for asynchronous data query and storage media storing a computer program for executing the method | |
CN115422279A (en) | Method for driving relational database acquisition based on event message | |
CN120492560A (en) | Method, system and related device for automatic information collection | |
CN100394737C (en) | Access method of website server and supporting system | |
CN113641679B (en) | A data transfer method, data transfer system, computer equipment and medium | |
CN114611335B (en) | Simulation task scheduling method based on distributed engine | |
CN118827486A (en) | Session message protocol verification method, device, storage medium and computer equipment | |
JP2005038030A (en) | Mobile terminal and synchronous control program | |
CN114253915A (en) | Method for importing and exporting mass data by using data processing service in micro service |
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 |