Communication method and device related to industrial simulation software, equipment and storage medium

By setting a preset format conversion database and user equipment whitelist in the cloud server, the data conversion errors and efficiency losses in the process of format interoperability and version upgrade of industrial simulation software are solved, and efficient, secure and personalized format conversion is achieved.

CN119835327APending Publication Date: 2025-04-15BEIJING ZHIDAKE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411906555.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

There are problems of data conversion errors and efficiency losses in the process of format interoperability and version upgrade of industrial simulation software, and the format conversion needs of different companies are personalized.

Method used

By setting a preset format conversion database and user equipment whitelist in the cloud server, receiving format conversion requests, judging processing permissions, performing conversion operations, and sending responses, ensuring the security and personalized requirements of format conversion.

Benefits of technology

It improves the format conversion efficiency of industrial simulation software, ensures data integrity and security, and meets the personalized format conversion needs of different enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835327A_ABST
    Figure CN119835327A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method and device related to industrial simulation software, equipment and a storage medium, and the method comprises the steps that a cloud server receives a format conversion request, sent by first user equipment to second user equipment, of the industrial simulation software, and the format conversion request is used for converting a first text format into a second text format; in a preset format conversion database, judging whether the format conversion request can be processed or not; when it is confirmed that the format conversion request can be processed, an interface of the format conversion request is called, and conversion operation is executed; and sending a format conversion response to the second user equipment, wherein the format conversion response comprises the second text format. According to the invention, the format conversion problem of industrial simulation software can be solved; and the individual requirements of enterprises on format conversion of the industrial simulation software are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial simulation software communication technology, and specifically to a communication method, device, equipment and storage medium involving industrial simulation software. Background Art

[0002] At present, with the advancement of Industry 4.0 and the rise of intelligent manufacturing, the application scenarios of industrial simulation software in the manufacturing industry are increasing. Industrial simulation software is widely used in multiple links such as product design, manufacturing process simulation, performance testing, fault prediction and maintenance strategy. They help companies verify and optimize products and production processes in a virtual environment, thereby reducing costs, shortening R&D cycles and improving product quality.

[0003] At this time, the increasing demand for industrial simulation software format interoperability also reflects the manufacturing industry's pursuit of data interoperability. In a complex supply chain, different simulation software may be involved in each stage of a product from design to manufacturing to maintenance. These software need to be able to understand and process data from other systems to ensure the integrity and accuracy of the information. For example, a 3D model of a product may be designed in one software, then need to be imported into another software for structural analysis, and finally may need to be used for production simulation in another software. If these software cannot achieve format interoperability, it will cause errors in data conversion and loss of efficiency.

[0004] In addition, when upgrading industrial simulation software, the formats between the old and new versions often face challenges. With the iterative update of the software, developers may introduce new file formats or modify existing formats to support new functions, which makes it difficult for the old version of the software to open the files created by the new version. In addition, the new version may no longer support the old file format, making it impossible for users to access previous data after upgrading the software. This incompatibility limits the continuity of data and the smoothness of work, and increases the cost and complexity of data migration and conversion for users.

[0005] Moreover, individual enterprises also face the problem of format conversion of industrial simulation software; and different enterprises have different demands for industrial simulation software format conversion, that is, enterprises present personalized characteristics to this problem.

[0006] Therefore, there is an urgent need for a communication method involving industrial simulation software to solve the format intercommunication problem of one or more of the above industrial simulation software. Summary of the invention

[0007] The present application provides a communication method involving industrial simulation software, which can solve the problem of format conversion of industrial simulation software; and meet the personalized needs of enterprises for format conversion of industrial simulation software.

[0008] The first aspect of the present application discloses a communication method involving industrial simulation software, which is applied to a cloud server, and the method includes: receiving a format conversion request for industrial simulation software sent by a first user device to a second user device, the format conversion request being used to convert a first text format into a second text format; judging in a preset format conversion database whether the format conversion request can be processed; upon confirming that the format conversion request can be processed, calling an interface of the format conversion request to perform a conversion operation; and sending a format conversion response to the second user device, the format conversion response including the second text format.

[0009] In the above scheme, by setting up a cloud server to specifically handle format conversion, the efficiency of format conversion can be improved; and by setting up a preset format conversion database, it can provide conversion between multiple formats; solve the format conversion problem of industrial simulation software; different companies can set different preset format conversion databases to achieve personalized configuration of format conversion.

[0010] In a possible implementation, in a preset format conversion database, it is determined whether the format conversion request can be processed before; the method also includes: determining whether the first user device and the second user device are in a preset user device whitelist; the verification of the preset user device whitelist includes the user device ID, the user device IP address and the user device usage time; if the first user device and the second user device are in the preset user device whitelist, it is confirmed that the first user device and the second user device have the authority for format conversion.

[0011] The above solution aims to solve the security problem of format conversion files. In practice, in areas with higher security levels, only specified file formats can be used; when the file needs to be transmitted, the file format needs to be converted; at this time, by setting a preset user device whitelist, the specified user device can have format conversion permissions, thereby ensuring the security of the format conversion file.

[0012] In a possible implementation, the files in the format conversion request and the format conversion response are encrypted in a preset manner, and the preset encryption method includes any one of the following: using a check code corresponding to a timestamp as a key to encrypt the file; using a preset hash algorithm to perform a hash operation on the file, the first user device ID, the second user device ID, and the timestamp to obtain an encrypted file.

[0013] In the above scheme, the security of the files to be converted and the files after the conversion can be further guaranteed. The transmission security of the files to be converted is guaranteed by encrypting the conversion request, and the security of the files after the conversion is guaranteed by encrypting the conversion response; the encryption method is the default method for both parties to transfer the files, and only the two parties to transfer the files can perform encryption and decryption; or the encryption method is the default method of a company, and only the authorized user devices within the company can perform encryption and decryption.

[0014] In a possible implementation, the format conversion request is a format conversion request corresponding to two different software versions of the same industrial simulation software, and the first text format and the second text format are file formats corresponding to two different software versions corresponding to the same industrial simulation software; in a preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second text format.

[0015] The above solution aims to solve the format conversion problem between two different software versions of the same industrial simulation software. It should be noted that the premise of format conversion through the cloud server is that for the same industrial simulation software, the higher version of the software cannot open the file format of the lower version, and the lower version of the software cannot open the file format of the higher version; if they can open each other, there is no need for format conversion.

[0016] In a possible implementation, in a preset format conversion database, before determining whether the format conversion request can be processed, the method includes: constructing the preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring the first text format and the second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0017] In the above scheme, the purpose is to illustrate how to construct a database for format conversion between two different software versions of the same industrial simulation software. It should be noted that not all different software versions of industrial simulation software can perform format conversion. When constructing the database, only the cases where format conversion can be performed can be stored.

[0018] In a possible implementation, the format conversion request is a format conversion request between different industrial simulation software, and the first text format and the second text format are file formats corresponding to two different industrial simulation software; in a preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second text format.

[0019] The above scheme aims to solve the problem of format conversion between different industrial simulation software.

[0020] In a possible implementation, in a preset format conversion database, before determining whether the format conversion request can be processed, the method includes: constructing the preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring the first text format and the second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0021] In the above scheme, it is intended to illustrate how to construct a database for format conversion for different industrial simulation software. It should be noted that the format conversion between different industrial simulation software is more complicated than the format conversion between different versions of the same industrial simulation software; this application mainly focuses on the problem of customized format conversion, that is, when performing format conversion between different industrial simulation software, the focus is on the file content that the enterprise attaches importance to, and the file content that the enterprise does not attach importance to will be simply processed.

[0022] In a possible implementation, after determining in a preset format conversion database whether the format conversion request can be processed, the method further includes: after confirming that the format conversion request cannot be processed, counting the number of times the format conversion request cannot be processed; when the number of times the format conversion request cannot be processed is greater than a preset value, sending a prompt message to a management device, the prompt message being used to prompt the administrator to add information corresponding to the ability to process the format conversion request in the preset format conversion database.

[0023] In the above scheme, it is intended to illustrate that in the enterprise customized format conversion problem, the format conversion provided has priority. Priority is given to format conversion information with higher frequency of demand, which will be added to the preset format conversion database first; and only format conversion information that reaches the preset frequency will be added to the preset format conversion database. The preset frequency corresponds to the preset value, which is set by the enterprise user according to personal needs.

[0024] The second aspect of the present application discloses a communication device related to industrial simulation software, the communication device includes a receiving unit, a processing unit and a sending unit, wherein:

[0025] The receiving unit receives a format conversion request for industrial simulation software sent by a first user device to a second user device, wherein the format conversion request is used to convert a first text format into a second text format;

[0026] The processing unit determines whether the format conversion request can be processed in a preset format conversion database; when it is confirmed that the format conversion request can be processed, calls the interface of the format conversion request to perform the conversion operation;

[0027] The sending unit sends a format conversion response to the second user equipment, where the format conversion response includes the second text format.

[0028] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.

[0029] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.

[0030] This application can solve the problem of format conversion of industrial simulation software; and meet the personalized needs of enterprises for format conversion of industrial simulation software. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a communication structure involving industrial simulation software disclosed in this application specification;

[0032] Figure 2 A flow chart of a communication method involving industrial simulation software disclosed in this application specification;

[0033] Figure 3A flow chart of another communication method involving industrial simulation software disclosed in this application specification;

[0034] Figure 4 A flow chart of another communication method involving industrial simulation software disclosed in this application specification;

[0035] Figure 5 A schematic diagram of the structure of a communication device involving industrial simulation software disclosed in this application specification;

[0036] Figure 6 This is a schematic diagram of the structure of an electronic device involving industrial simulation software disclosed in this application specification. DETAILED DESCRIPTION

[0037] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0038] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0039] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0040] The user device in this application is an electronic device that can connect to the Internet and display web pages or download application software, such as a mobile phone, tablet computer, personal computer, etc.

[0041] This manual is aimed at the following scenarios: when an enterprise uses different versions of the same industrial simulation software, the higher version of the software cannot directly open the file format of the lower version, and the lower version of the software cannot directly open the file format of the higher version (of course, some higher version software can directly open the file format of the lower version, and the lower version software cannot directly open the file format of the higher version; these two situations are not the main subject of this manual). The reason for not being able to open directly may be due to the need for industrial simulation file security, or it may be an incompatibility issue after the software upgrade; this manual does not discuss the reason for not being able to open directly.

[0042] In addition, this manual also addresses the file format conversion issues that enterprises face when using different industrial simulation software. For this type of problem, some users can use specific format conversion software to complete it; manual format conversion is inefficient, and format conversion software is often universal and cannot focus on the specific needs of the enterprise; and this type of universal format conversion software also has security risks of file leakage. The enterprise-specific needs mentioned in this manual may be: the enterprise needs to retain the size information after format conversion; however, universal format conversion may lose size information. When universal format conversion is used, the converted file can only be manually annotated again, which is time-consuming and labor-intensive.

[0043] The hardware architecture diagram of this manual is as follows Figure 1 As shown, a cloud server 100, a user device 200, and a user device 300. The user device referred to in this specification may be a personal computer. A cloud server communicates with multiple user devices and is responsible for the implementation of the format conversion function.

[0044] This specification discloses a communication method involving industrial simulation software, which is applied in a cloud server. Figure 2 As shown, the method includes steps S201-S204.

[0045] S201. Receive a format conversion request for industrial simulation software sent by a first user device to a second user device, where the format conversion request is used to convert a first text format into a second text format.

[0046] S202: Determine in a preset format conversion database whether the format conversion request can be processed.

[0047] like Figure 3 In one example, before determining in a preset format conversion database whether the format conversion request can be processed, the method further includes steps S301-S302.

[0048] S301. Determine whether the first user device and the second user device are in a preset user device whitelist; the verification of the preset user device whitelist includes the user device ID, the user device IP address, and the user device usage time.

[0049] S302: If the first user equipment and the second user equipment are in the preset user equipment whitelist, confirm that the first user equipment and the second user equipment have the authority to perform format conversion.

[0050] For companies that use industrial simulation software, the R&D department often sets multiple security levels, and employees also have corresponding permissions. In practice, in areas with higher security levels, only specified file formats can be used; when the file needs to be transferred, the file format needs to be converted. By setting a preset user device whitelist, the specified user device can have format conversion permissions, thereby ensuring the security of the format conversion file.

[0051] This specification does not limit the setting method of the preset user device whitelist, but in step S301, several preferred methods are disclosed. The user device ID is an identifier set by the company for each user ID, which is a unique identifier of the user device within the company; if only the user device ID is restricted, there is a possibility of counterfeiting. Therefore, the user device IP address will also be set, and the IP address can ensure that the user device is in the specified area. Generally speaking, the usage time of the user device can be set to the working hours on weekdays. Of course, the user identity information of the user who logs in to the user device can also be identified and verified; such as user name and password; user biometric fingerprint and other information to pass verification. These methods can be set according to actual needs. However, in practice, areas with higher security levels generally have physical access control to identify the identity of the user (such as office area A, only employees working in office area A can swipe cards or face recognition to enter), therefore, the preferred scheme disclosed in this specification is mainly aimed at the identification of user devices.

[0052] In addition, in the above example, both parties who make the format conversion request need to confirm it at the same time, such as the first user device and the second user device mentioned above, both have the authority to perform the format conversion. This setting method can further improve the security of the industrial simulation file corresponding to the format conversion compared to only the sender of the format conversion request or only the receiver of the format conversion request.

[0053] S203: After confirming that the format conversion request can be processed, call the interface of the format conversion request to perform the conversion operation.

[0054] S204: Send a format conversion response to the second user equipment, where the format conversion response includes a second text format.

[0055] In step S204, the second text format in the format conversion response and the first text format described above are both the same industrial simulation file.

[0056] In an example, the files in the format conversion request and the format conversion response are encrypted using a preset method, and the preset encryption method includes any one of the following: using a verification code corresponding to a timestamp as a key to encrypt the file; using a preset hash algorithm to perform a hash operation on the file, the first user device ID, the second user device ID, and the timestamp to obtain an encrypted file.

[0057] In the above example, it is disclosed that the format conversion request and format conversion response should be encrypted during transmission to further improve the transmission security of industrial simulation files. This is just an example of encryption. Similarly, the other party of the transmission will also use a corresponding method for decryption; this encryption and decryption method can only be used by user devices with corresponding permissions.

[0058] The check code corresponding to the timestamp is a random check code. This is a symmetric encryption method, for example: the current time is 18:30, A year B month C day. Then the check code can be ABC, 1830, A1830, etc.; at the same time, a security code will be sent, and the security correspondence is the encryption rule currently used (the check code rule used is month, day, year, or month time, etc.). When the receiving user device receives the industrial simulation file, the system can automatically obtain the security code to identify the hidden timestamp rule; and obtain the random check code through the sent timestamp, and then decrypt it to obtain the industrial simulation file. This method can further improve the security of transmission during the industrial simulation file format conversion process.

[0059] The encryption method of the hash algorithm is more widely used to avoid errors or omissions in the transmission of industrial simulation files. The encrypted file obtained by the hash algorithm is unique, and the receiver can obtain the encrypted file and the transmitted industrial simulation file at the same time; the receiver can perform the same hash operation with the same hash algorithm to confirm whether the transmitted industrial simulation file is missing. If the encrypted file obtained by the receiver after performing the hash operation on the transmitted industrial simulation file is consistent with the received encrypted file, it is confirmed that the received industrial simulation file is complete.

[0060] In one example, a format conversion request is a format conversion request corresponding to two different software versions of the same industrial simulation software, and the first text format and the second text format are file formats corresponding to two different software versions corresponding to the same industrial simulation software; in a preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second format.

[0061] It should be noted that the premise of format conversion through cloud servers is that for the same industrial simulation software, high-version software cannot open low-version file formats, and low-version software cannot open high-version file formats; if they can open each other, there is no need for format conversion. Format conversion often consumes computing power, and it takes a long time for local computers to perform related operations; through cloud servers, computing power can be flexibly configured to improve the efficiency of format conversion.

[0062] The first text format and the second text format are file formats corresponding to two different versions of the same industrial simulation software, as shown in Table 1 below.

[0063]

[0064] Table 1

[0065] The table is only used as an example. The above table shows two versions of industrial software F. In practice, an industrial simulation software often has multiple versions. The same version example shows two formats. In practice, a version often has more than two formats. This table shows that format 1a of version 1 can be format-converted with format 2a of version 2, and shows the corresponding interface serial number for format conversion. It should be noted that in practice there is a situation where format 1c of version 1 and format 2c of version 1 do not have a conversion relationship. In this case, there is also a corresponding interface serial number for which there is no format conversion.

[0066] At this time, the format conversion interface serial number mentioned in this manual is set in advance by the enterprise user. And one format conversion interface serial number corresponds to one format conversion interface. The cloud server can call the format conversion interface to perform the format conversion operation; the format conversion interface can be a format conversion interface developed by the enterprise user according to the personalized needs of the enterprise, or it can be a format conversion interface commissioned by a third-party enterprise; both methods can meet the customized needs of the enterprise for format conversion.

[0067] Therefore, the format conversion database needs to be built in advance. The corresponding webpage can be configured in advance for the construction of the format conversion database, and the authorized user can directly fill in and configure various corresponding relationships; this can facilitate the user's configuration operation.

[0068] In one example, before determining whether a format conversion request can be processed in a preset format conversion database, the method includes: constructing a preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring a first text format and a second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0069] At this time, the preset format conversion database includes a plurality of corresponding relationships similar to the above table.

[0070] In one example, the format conversion request is a format conversion request between different industrial simulation software, and the first text format and the second text format are file formats corresponding to two different industrial simulation software; in the preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second format.

[0071] In order to meet the format conversion requirements of different industrial simulation software, it is also necessary to build corresponding relationships in advance. This is explained below.

[0072] In one example, before determining whether a format conversion request can be processed in a preset format conversion database, the method includes: constructing a preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring a first text format and a second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0073] At this time, the first file format and the second file format are file formats corresponding to two different industrial simulation software, as shown in Table 2 below.

[0074]

[0075] Table 2

[0076] The above table is only an example and should not be construed as a limitation of this specification. In practice, there are more than two different industrial software; there are more than two formats for the same industrial software. In addition, there is a situation where there is no format conversion relationship between the format M3 of industrial software M and the format N3 of industrial software N. In this case, there is no corresponding format conversion interface number.

[0077] It should be noted that for a single enterprise, only the industrial simulation files that are commonly used by the enterprise and can be converted into formats need to be built into the format conversion database. Therefore, this manual can mainly focus on the customized format conversion problem, that is, when performing format conversion between different industrial simulation software, the focus is on the industrial simulation file content that the enterprise attaches importance to; this can reduce the construction cost of the format conversion database.

[0078] Furthermore, the industrial simulation software format conversion referred to in this specification refers to allowing another version of the same industrial simulation software to access or open the industrial simulation file of the current version; or allowing other industrial simulation software to open the industrial simulation file of the current industrial simulation software. In one example, after the current industrial simulation file is format converted, format conversion information will also be displayed; the format conversion information is the information that has been format converted and the information that has not been format converted in the current format conversion operation, and the format conversion information can prompt the user for the details of the current format conversion. The user can view the effect of the current format conversion operation based on the format conversion information, so that the user can make further decisions. For different software versions of the same industrial simulation software, the format conversion information is displayed through another software version (not the current software version); for different industrial simulation software, the format conversion information is displayed through another industrial simulation software (not the industrial simulation software corresponding to the current industrial simulation file format).

[0079] Furthermore, in one example, different software versions of industrial simulation software (or different industrial simulation software) can display the above-mentioned information that has been formatted and the information that has not been formatted in different colors when opening the industrial simulation file after format conversion. This example discloses a display scheme using different colors, which is a preferred scheme; in practice, it can improve the user's reading experience of viewing the format conversion information.

[0080] Therefore, how to judge the need for format conversion is important for enterprises and should be taken seriously by enterprises. Figure 4 As shown, Figure 4 For example, this is further explained.

[0081] In one example, after determining in the preset format conversion database whether the format conversion request can be processed, the method further includes steps S401-S402.

[0082] S401: After confirming that the format conversion request cannot be processed, count the number of times that the format conversion request cannot be processed.

[0083] S402: When the number of times that the format conversion request cannot be processed is greater than a preset value, a prompt message is sent to the management device, where the prompt message is used to prompt the administrator to add information corresponding to the format conversion request that can be processed in the preset format conversion database.

[0084] At this time, the number of times that the format conversion request cannot be processed is counted in a quantitative manner. This number can correspond to the intensity of the demand for format conversion of industrial simulation files; and the conversion between different formats of different industrial simulation files can be sorted by the number of times, and the higher the ranking, the higher the priority.

[0085] The preset values ​​here can be configured by the enterprise according to its needs, and this manual does not limit this.

[0086] This description discloses a format conversion solution between different industrial simulation files in the field of industrial simulation software; it can not only improve the efficiency of format conversion between different industrial simulation files, but also reduce the deployment cost of the solution.

[0087] This specification also discloses a communication device related to industrial simulation software. Figure 5 As shown, the communication device includes a receiving unit 501 , a processing unit 502 and a sending unit 503 .

[0088] A receiving unit, receiving a format conversion request of industrial simulation software sent by a first user device to a second user device, where the format conversion request is used to convert a first text format into a second text format;

[0089] The processing unit determines whether the format conversion request can be processed in a preset format conversion database; when it is confirmed that the format conversion request can be processed, calls the interface of the format conversion request to perform the conversion operation;

[0090] The sending unit sends a format conversion response to the second user equipment, where the format conversion response includes a second text format.

[0091] In one example, in a preset format conversion database, it is determined whether the format conversion request can be processed; before; the method also includes: determining whether the first user device and the second user device are in a preset user device whitelist; the verification of the preset user device whitelist includes the user device ID, the user device IP address and the user device usage time; if the first user device and the second user device are in the preset user device whitelist, it is confirmed that the first user device and the second user device have the authority to convert the format.

[0092] In an example, the files in the format conversion request and the format conversion response are encrypted using a preset method, and the preset encryption method includes any one of the following: using a verification code corresponding to a timestamp as a key to encrypt the file; using a preset hash algorithm to perform a hash operation on the file, the first user device ID, the second user device ID, and the timestamp to obtain an encrypted file.

[0093] In one example, a format conversion request is a format conversion request corresponding to two different software versions of the same industrial simulation software, and the first text format and the second text format are file formats corresponding to two different software versions corresponding to the same industrial simulation software; in a preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second format.

[0094] In one example, before determining whether a format conversion request can be processed in a preset format conversion database, the method includes: constructing a preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring a first text format and a second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0095] In one example, the format conversion request is a format conversion request between different industrial simulation software, and the first text format and the second text format are file formats corresponding to two different industrial simulation software; in the preset format conversion database, determining whether the format conversion request can be processed specifically includes: determining whether the preset format conversion database includes the first text format, the second text format, and the corresponding conversion relationship between the first text format and the second format.

[0096] In one example, before determining whether a format conversion request can be processed in a preset format conversion database, the method includes: constructing a preset format conversion database; wherein constructing the preset format conversion database specifically includes: acquiring a first text format and a second text format, and a conversion interface between the first format text and the second format text; constructing a conversion relationship between the first text format and the second text format; constructing a corresponding relationship between the first text format, the second text format, the conversion interface between the first format text and the second format text, and the conversion relationship between the first text format and the second text format; and storing the corresponding relationship in the preset format conversion database.

[0097] In one example, after determining whether the format conversion request can be processed in the preset format conversion database, the method also includes: after confirming that the format conversion request cannot be processed, counting the number of times the format conversion request is triggered to be unable to be processed; when the number of times the format conversion request cannot be processed is greater than a preset value, sending a prompt message to the management device, the prompt message is used to prompt the administrator to add information corresponding to the format conversion request that can be processed in the preset format conversion database.

[0098] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0099] The specification also discloses a computer-readable storage medium, which stores instructions. When the instructions are executed, any of the above methods is executed.

[0100] This embodiment also discloses an electronic device, referring to Figure 6 The electronic device may include: at least one processor 601 , at least one communication bus 602 , a user interface 603 , a network interface 604 , and at least one memory 605 .

[0101] The communication bus 602 is used to realize the connection and communication between these components.

[0102] The user interface 603 may include a display screen (Display) and a camera (Camera), and the optional user interface 603 may also include a standard wired interface and a wireless interface.

[0103] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0104] Among them, the processor 601 may include one or more processing cores. The processor 601 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 605, and calling data stored in the memory 605. Optionally, the processor 601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 601 can integrate one or more combinations of a central processing unit 601 (Central Processing Unit, CPU), an image processor 601 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 601, and it can be implemented by a single chip.

[0105] Among them, the memory 605 may include a random access memory 605 (Random Access Memory, RAM), and may also include a read-only memory 605 (Read-Only Memory). Optionally, the memory 605 includes a non-transitory computer-readable storage medium. The memory 605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above various method embodiments, etc. The memory 605 may also be optionally at least one storage device located away from the aforementioned processor 601. As shown in the figure, the memory 605 as a computer storage medium may include an operating system, a network communication module, and an application program of a user interface module.

[0106] exist Figure 6In the electronic device shown, the user interface 603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 601 can be used to call the application program of the method for calculating the engineering construction cost stored in the memory 605. When executed by one or more processors 601, the electronic device executes one or more methods in the above-mentioned embodiments.

[0107] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0108] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory 605. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 605 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory 605 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.

[0113] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A communication method involving industrial simulation software, characterized in that: Applied in a cloud server, the method includes: receiving a format conversion request for industrial simulation software sent by a first user device to a second user device, wherein the format conversion request is used to convert a first text format into a second text format; In a preset format conversion database, determining whether the format conversion request can be processed; After confirming that the format conversion request can be processed, calling the interface of the format conversion request to perform the conversion operation; A format conversion response is sent to the second user equipment, where the format conversion response includes the second text format.

2. The communication method according to claim 1, characterized in that: Before determining in a preset format conversion database whether the format conversion request can be processed, the method further comprises: Determine whether the first user device and the second user device are in a preset user device whitelist; the verification of the preset user device whitelist includes a user device ID, a user device IP address, and a user device usage time; If the first user equipment and the second user equipment are in the preset user equipment whitelist, it is confirmed that the first user equipment and the second user equipment have the authority for format conversion.

3. The communication method according to claim 1, characterized in that: The files in the format conversion request and the format conversion response are encrypted in a preset manner, and the preset encryption manner includes any one of the following: The checksum corresponding to the timestamp is used as a key to encrypt the file; A preset hash algorithm is used to perform a hash operation on the file, the first user device ID, the second user device ID, and the timestamp to obtain an encrypted file.

4. The communication method according to claim 1, characterized in that: The format conversion request is a format conversion request corresponding to two different software versions of the same industrial simulation software, and the first text format and the second text format are file formats corresponding to two different software versions corresponding to the same industrial simulation software; In a preset format conversion database, determining whether the format conversion request can be processed specifically includes: It is determined whether the preset format conversion database includes the first text format, the second text format, and a corresponding conversion relationship between the first text format and the second text format.

5. The communication method according to claim 4, characterized in that: Before determining whether the format conversion request can be processed in the preset format conversion database, the method includes: constructing the preset format conversion database; wherein: Constructing the preset format conversion database specifically includes: Acquire the first text format and the second text format, and a conversion interface between the first format text and the second format text; Establishing a conversion relationship between the first text format and the second text format; Constructing a correspondence between the first text format, the second text format, a conversion interface between the first format text and the second format text, and a conversion relationship between the first text format and the second text format; The corresponding relationship is stored in the preset format conversion database.

6. The communication method according to claim 1, characterized in that: The format conversion request is a format conversion request between different industrial simulation software, and the first text format and the second text format are file formats corresponding to two different industrial simulation software; In a preset format conversion database, determining whether the format conversion request can be processed specifically includes: It is determined whether the preset format conversion database includes the first text format, the second text format, and a corresponding conversion relationship between the first text format and the second text format.

7. The communication method according to claim 6, characterized in that: After determining in a preset format conversion database whether the format conversion request can be processed, the method further includes: After confirming that the format conversion request cannot be processed, counting the number of times the format conversion request cannot be processed; When the number of times that the format conversion request cannot be processed is greater than a preset value, a prompt message is sent to a management device, wherein the prompt message is used to prompt an administrator to add information corresponding to the format conversion request that can be processed in the preset format conversion database.

8. A communication device involving industrial simulation software, characterized in that: The communication device includes a receiving unit, a processing unit and a sending unit, wherein: The receiving unit receives a format conversion request for industrial simulation software sent by a first user device to a second user device, wherein the format conversion request is used to convert a first text format into a second text format; The processing unit determines whether the format conversion request can be processed in a preset format conversion database; when it is confirmed that the format conversion request can be processed, calls the interface of the format conversion request to perform the conversion operation; The sending unit sends a format conversion response to the second user equipment, where the format conversion response includes the second text format.

9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.