Industrial System Interaction Method, Device, and Industrial System
By identifying the user-side device type and adapting the target monitoring data, the problem that the mobile terminal cannot operate the industrial system is solved, and the effect of improving the availability of the mobile terminal is achieved, while ensuring data and production security.
Patent Information
- Application Number
- CN202211253158.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-13
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-10-13
AI Technical Summary
In the field of industrial production, mobile terminals cannot further process production data, nor can they operate industrial systems based on the viewed data, which seriously affects the availability of mobile terminals.
By receiving query instructions from the user side, the user side device type is identified. If it is a mobile side, the target monitoring data adapted to the mobile side will be obtained and feedback will be received. After receiving the operation instructions from the mobile side, it will be forwarded to a non-mobile side associated with the target data object and located in the preset network range for response.
The operation of industrial systems on the mobile terminal is realized, the availability of mobile terminals is improved, and data security and industrial production are ensured.
Smart Images

Figure CN115903677B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application belong to the technical field of industrial production, and particularly relate to an industrial system interaction method, device and industrial system. Background Art
[0002] In the field of industrial production, industrial systems such as on-site control systems or remote monitoring systems can provide users with centralized monitoring and data access functions for production data. Users can access the data in real time on an office network or a mobile device, which greatly meets the user's need to remotely view data.
[0003] Generally, in order to ensure the security of production data, the data access function implemented by the user through the mobile device can only view the data, cannot further process the data, and cannot operate the industrial system based on the viewed data, which seriously affects the usability of the mobile device. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide an industrial system interaction method, device and industrial system to realize the operation of the industrial system on the mobile device and improve the usability of the mobile device.
[0005] The first aspect of the embodiments of the present application provides an industrial system interaction method, including:
[0006] Receiving a query instruction for monitoring data submitted by a user device;
[0007] Identifying the device type of the user device according to the query instruction;
[0008] If the user device is a mobile device, obtaining target monitoring data corresponding to the query instruction and adapted to the mobile device from the monitoring data;
[0009] Feeding back the target monitoring data to the mobile device;
[0010] When an operation instruction for a target data object in the target monitoring data is received from the mobile device, forwarding the operation instruction to a non-mobile device associated with the target data object and located within a preset network range, and the non-mobile device responds to the operation instruction.
[0011] Optionally, the obtaining target monitoring data corresponding to the query instruction and adapted to the mobile device from the monitoring data includes:
[0012] Obtaining query data corresponding to the query instruction from the monitoring data;
[0013] Writing the query data into a query template pre-configured for the mobile device to obtain the target monitoring data adapted to the mobile device.
[0014] Optionally, forwarding the operation instruction to a non-mobile device associated with the target data object and within a preset network range includes:
[0015] Identifying whether the user account currently logged in to the mobile device has the permission to operate the target data object;
[0016] If the user account has the permission to operate the target data object, determining multiple non-mobile devices associated with the target data object, and sending the operation instruction to the non-mobile device with the highest permission and currently online;
[0017] If the user account does not have the permission to operate the target data object, or all of the multiple non-mobile devices associated with the target data object are not online, feedbacking information rejecting the operation of the target data object to the mobile device.
[0018] Optionally, after feedbacking the target monitoring data to the mobile device, the method further includes:
[0019] Determining the operation priorities of each data object in the target monitoring data;
[0020] Obtaining the post-operation data of the first data object with the first operation priority.
[0021] Optionally, obtaining the post-operation data of the first data object with the first operation priority includes:
[0022] Simulating the operation of the first data object with the first operation priority;
[0023] In response to the action of operating the first data object with the first operation priority, obtaining the post-operation data corresponding to the first data object from the monitoring data.
[0024] Optionally, after receiving the operation instruction of the mobile device for the target data object in the target monitoring data, the method further includes:
[0025] If the target data object is the first data object and the result of the non-mobile device responding to the operation instruction is an affirmative operation, feedbacking the post-operation data to the mobile device.
[0026] Optionally, after receiving the operation instruction of the mobile device for the target data object in the target monitoring data, the method further includes:
[0027] If the operation instruction for the target data object is an instruction acting on the on-site control device, and the result of the non-mobile device responding to the operation instruction is to confirm the operation, then after receiving the execution result of the non-mobile device executing the operation instruction, the execution result is fed back to the mobile device; wherein, the execution result is generated after the non-mobile device operates the on-site control device according to the operation instruction.
[0028] The second aspect of the embodiments of the present application provides an industrial system interaction device, including:
[0029] A receiving module, configured to receive a query instruction for monitoring data submitted by a user device;
[0030] An identification module, configured to identify the device type of the user device according to the query instruction;
[0031] An obtaining module, configured to, if the user device is a mobile device, obtain target monitoring data corresponding to the query instruction and adapted to the mobile device from the monitoring data;
[0032] A feedback module, configured to feed back the target monitoring data to the mobile device;
[0033] A response module, configured to, when receiving an operation instruction for a target data object in the target monitoring data from the mobile device, forward the operation instruction to a non-mobile device associated with the target data object and located within a preset network range, and the non-mobile device responds to the operation instruction.
[0034] Optionally, the obtaining module includes:
[0035] An obtaining sub-module, configured to obtain query data corresponding to the query instruction from the monitoring data;
[0036] A writing sub-module, configured to write the query data into a query template pre-configured for the mobile device to obtain the target monitoring data adapted to the mobile device.
[0037] Optionally, the response module includes:
[0038] An identification sub-module, configured to identify whether the user account currently logged in to the mobile device has the permission to operate the target data object;
[0039] A sending sub-module, configured to, if the user account has the permission to operate the target data object, determine a plurality of non-mobile devices associated with the target data object, and send the operation instruction to the non-mobile device that is currently online and has the highest permission;
[0040] The first feedback sub-module is used to feed back information rejecting the operation of the target data object to the mobile terminal if the user account does not have the permission to operate the target data object, or if multiple non-mobile terminals associated with the target data object are not online.
[0041] Optionally, the device further includes:
[0042] An operation priority determination module, which is used to determine the operation priorities of the respective data objects in the target monitoring data;
[0043] An operation result data acquisition module, which is used to acquire the operation result data of a first data object with a first operation priority.
[0044] Optionally, the operation result data acquisition module includes:
[0045] A simulation operation sub-module, which is used to simulate the operation of the first data object with the first operation priority;
[0046] An operation result data acquisition sub-module, which is used to, in response to the action of operating the first data object with the first operation priority, acquire the operation result data corresponding to the first data object from the monitoring data.
[0047] Optionally, the device further includes:
[0048] An operation result data feedback module, which is used to, if the target data object is the first data object and the result of the non-mobile terminal responding to the operation instruction is an approved operation, feed back the operation result data to the mobile terminal.
[0049] Optionally, the response module further includes:
[0050] A second feedback sub-module, which is used to, if the operation instruction for the target data object is an instruction for acting on a field control device and the result of the non-mobile terminal responding to the operation instruction is an approved operation, after receiving the execution result of the non-mobile terminal executing the operation instruction, feed back the execution result to the mobile terminal; wherein, the execution result is generated after the non-mobile terminal operates the field control device according to the operation instruction.
[0051] A third aspect of the embodiments of the present application provides an industrial system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the industrial system interaction method described in the first aspect above is implemented.
[0052] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program, which when executed by a processor implements the industrial system interaction method as described in the first aspect above.
[0053] A fifth aspect of the embodiments of the present application provides a computer program product, which when running on a computer causes the computer to execute the industrial system interaction method as described in the first aspect above.
[0054] Compared with the prior art, the embodiments of the present application have the following advantages:
[0055] By applying the method provided in the embodiments of the present application, when the industrial system receives a query instruction for monitoring data submitted by the user terminal, it can identify the device type of the user terminal according to the query instruction. For different devices, the industrial system can adopt different processing methods. For example, if the user terminal is a mobile terminal, the industrial system can feedback target monitoring data for viewing only to the mobile terminal. Specifically, the industrial system can obtain the target monitoring data corresponding to the query instruction and adapted to the mobile terminal from the monitoring data, and feedback the target monitoring data to the mobile terminal. When receiving an operation instruction for a target data object in the target monitoring data from the mobile terminal, in order to ensure data security and the safety of industrial production, the industrial system may not directly respond to the operation instruction, but forward the operation instruction to a non-mobile terminal associated with the above target data object and located within a preset network range, and the non-mobile terminal responds to the operation instruction. Among them, the non-mobile terminal can be an electronic device within the enterprise office network or the enterprise internal network. Performing operations on data or the industrial system on the non-mobile terminal can improve the security of operations. By applying the method provided in the embodiments of the present application, it is possible to solve the problem in the prior art that the mobile terminal cannot initiate further processing of production data and cannot operate the industrial system based on the viewed data, and improve the usability of the mobile terminal accessing the industrial system. Description of the Drawings
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0057] Figure 1 is a schematic diagram of an industrial system interaction method provided by an embodiment of the present application;
[0058] Figure 2 is a schematic diagram of an implementation manner of S103 in an industrial system interaction method provided by an embodiment of the present application;
[0059] Figure 3 It is a schematic diagram of an implementation manner of S105 in an industrial system interaction method provided by an embodiment of the present application;
[0060] Figure 4 It is a schematic diagram of another industrial system interaction method provided by an embodiment of the present application;
[0061] Figure 5 It is a schematic diagram of an industrial system interaction device provided by an embodiment of the present application;
[0062] Figure 6 It is a schematic diagram of an industrial system provided by an embodiment of the present application. Specific embodiments
[0063] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.
[0064] The technical solution of the present application will be described below through specific embodiments.
[0065] Referring to Figure 1 , a schematic diagram of an industrial system interaction method provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0066] S101. Receive a query instruction for monitoring data submitted by the user terminal.
[0067] This method can be applied to the field of industrial production technology. Specifically, this method can be applied to an industrial system, which can be a system that allows user terminal devices to access and feedback data to the user terminal under the condition of meeting other permission conditions. Among them, the data feedback by the industrial system to the user terminal can include monitoring data.
[0068] In an embodiment of the present application, an industrial system may be a system configured in an industrial production enterprise and capable of implementing specific functions. In one example, the industrial system may be a field control system in an industrial production enterprise. Generally, the field control system may be used to control the production process of industrial equipment and collect production data during the production process for relevant equipment and personnel to monitor the production process. When a user terminal accesses the field control system, the production data collected by the field control system can be transmitted to the user terminal as monitoring data for the users of the user terminal to view. In another example, the industrial system may be a monitoring system of an industrial production enterprise, such as a on-site monitoring system or a remote monitoring system. The monitoring system of the industrial production enterprise can directly communicate with the field control system to obtain the production data collected by the field control system. The monitoring system can process the production data to form monitoring data. The monitoring system can also provide a function for the user terminal to access, and the users of the user terminal can query the monitoring data through the monitoring system.
[0069] The execution subject of the embodiment of the present application may be the above industrial system. Specifically, the execution subject of the embodiment of the present application may be a certain server configured in the industrial system, and each step of the embodiment of the present application is implemented through this server.
[0070] The user terminal in the embodiment of the present application may include a mobile terminal or a non-mobile terminal. Among them, the mobile terminal may be devices such as mobile phones, tablet computers, portable computers, etc.; the non-mobile terminal may be desktop computers, servers, etc. installed at fixed positions. The installation location of the non-mobile terminal may be within the internal office network or intranet of the industrial production enterprise. Generally, non-mobile terminal devices installed in the internal office network are isolated from the external network and cannot directly communicate with the external network.
[0071] In one example, the user terminal accessing the industrial system may send a query instruction to the industrial system, requesting to view the corresponding monitoring data. After receiving the query instruction, the industrial system may process the query instruction.
[0072] S102. According to the query instruction, identify the device type of the user terminal.
[0073] When processing the query instruction, the industrial system may first identify the device type of the user terminal. That is, the industrial system may, according to the query instruction, identify whether the device sending the query instruction is a mobile device or a device fixedly installed at a certain position. The industrial system may identify what kind of device the user terminal belongs to according to the information related to the device type carried in the query instruction.
[0074] S103. If the user terminal is a mobile terminal, obtain target monitoring data corresponding to the query instruction and adapted to the mobile terminal from the monitoring data.
[0075] In the embodiments of the present application, the client may include a mobile device or a non-mobile device. Among them, the non-mobile device may be a device installed in the internal office network of an industrial production enterprise. If the industrial system identifies that the client submitting the query instruction is the above-mentioned non-mobile device, the industrial system may, according to the indication of the query instruction, obtain the monitoring data corresponding to the query instruction from the monitoring data and feedback the monitoring data to the non-mobile device.
[0076] If the industrial system identifies that the user submitting the query instruction is a mobile device, the industrial system may also obtain the target monitoring data corresponding to the query instruction from the monitoring data in the above manner.
[0077] In a possible implementation manner of the embodiments of the present application, as Figure 2 shown, in S103, specifically obtaining the target monitoring data corresponding to the query instruction and adapted to the mobile device from the monitoring data may include the following steps S1031 - S1032:
[0078] S1031. Obtain the query data corresponding to the query instruction from the monitoring data.
[0079] S1032. Write the query data into the query template pre-configured for the mobile device to obtain the target monitoring data adapted to the mobile device.
[0080] In the embodiments of the present application, after the industrial system receives the query instruction submitted by the mobile device, the industrial system may first process the query instruction to confirm which data the mobile device wants to query. Then, the industrial system may obtain the query data corresponding to the query instruction from the monitoring data. Since the display screen of the mobile device has its limitations and may not be able to directly display the corresponding data, the industrial system may write the obtained query data into the query template pre-configured for the mobile device to obtain the target monitoring data adapted to the mobile device.
[0081] In a possible implementation manner, the industrial system may pre-store multiple query templates, and various query templates may be configured for different mobile devices. For example, for mobile device screens of different sizes, multiple specifications of query templates may be pre-configured. When the industrial system obtains the corresponding query data from the monitoring data according to the query instruction, by writing the query data into different specifications of query templates, the target monitoring data adapted to various types of mobile devices can be obtained.
[0082] S104. Feedback the target monitoring data to the mobile device.
[0083] After the industrial system obtains the target monitoring data, it may feedback the target monitoring data to the mobile device.
[0084] It should be noted that, in order to ensure the security of data usage, the target monitoring data fed back from the industrial system to the mobile terminal is only viewable by the users of the mobile terminal. The users cannot further process the received target monitoring data on the mobile terminal, nor can they send instructions for the on-site control devices of the industrial production enterprise to the industrial system based on the target monitoring data.
[0085] S105. When an operation instruction for a target data object in the target monitoring data is received from the mobile terminal, forward the operation instruction to a non-mobile terminal associated with the target data object and located within a preset network range, and have the non-mobile terminal respond to the operation instruction.
[0086] In a possible implementation manner of the embodiment of the present application, the target monitoring data fed back to the mobile terminal may include operation prompt information. These operation prompt information may be for some data objects in the target monitoring data, and are used to prompt the users of the mobile terminal that they can submit operation instructions for the data objects with such operation prompt information. The industrial system may forward the operation instructions to the non-mobile terminal for processing.
[0087] In the embodiment of the present application, the non-mobile terminal may be an electronic device located within a preset network range. For example, the above-mentioned preset network range may be the internal office network or intranet of the industrial production enterprise. Generally, non-mobile terminal devices in the internal office network or intranet environment of the industrial production enterprise are generally configured with corresponding information security management measures. Having the non-mobile terminal devices in the internal office network or intranet environment respond to the operation instructions submitted by the mobile terminal can ensure the security of the operations.
[0088] The target data object may be any data object in the target monitoring data. After the industrial system receives the operation instruction submitted by the mobile terminal for the target data object, it may forward the operation instruction to the non-mobile terminal associated with the target data object.
[0089] In the implementation of the present application, the data object carrying the operation prompt information may be associated with a specific non-mobile terminal, and the non-mobile terminals associated with different data objects may not be exactly the same. In this way, the response to the operation instruction can be implemented by a specific non-mobile terminal, rather than any non-mobile terminal within the preset network range being able to respond to various operation instructions submitted by the mobile terminal.
[0090] In a possible implementation manner of the embodiment of the present application, as Figure 3 shown, the specific steps of forwarding the operation instruction to the non-mobile terminal associated with the target data object and located within the preset network range in S105 may include the following steps S1051 - S1054:
[0091] S1051. Identify whether the user account currently logged in to the mobile device has the permission to operate the target data object.
[0092] In the embodiment of the present application, when the industrial system receives an operation instruction for a target data object, it can first identify whether the user account currently logged in to the mobile device has the permission to operate the target data object. Through permission identification, the industrial system can initially determine whether it is necessary to execute the step of forwarding the operation instruction to the non-mobile device associated with the target data object.
[0093] S1052. If the user account has the permission to operate the target data object, determine multiple non-mobile devices associated with the target data object.
[0094] S1053. Send the operation instruction to the non-mobile device that is currently online and has the highest permission.
[0095] In a possible implementation manner of the embodiment of the present application, the number of non-mobile devices associated with each target data object may include multiple. When there are multiple non-mobile devices associated with the current target data object, the industrial system can send the operation instruction to the non-mobile device that is currently online and has the highest permission.
[0096] In the embodiment of the present application, the currently online non-mobile device may refer to a non-mobile device that is currently operable. That is, the non-mobile device is in a normal operating state, and usually there are relevant staff on duty when it is in a normal operating state. In this way, when receiving an operation instruction from the mobile device, it can respond to the operation instruction in a timely manner.
[0097] S1054. If the user account does not have the permission to operate the target data object, or all the multiple non-mobile devices associated with the target data object are not online, feedback information rejecting the operation of the target data object to the mobile device.
[0098] In a possible implementation manner of the embodiment of the present application, if the user account currently logged in to the mobile device does not have the permission to operate the target data object, the industrial system does not need to forward the operation instruction to any non-mobile device. The industrial system can directly feedback information rejecting the operation of the target data object to the mobile device based on the permission identification result.
[0099] In another possible implementation manner of the embodiment of the present application, if the user account currently logged in to the mobile device has the permission to operate the target data object, but at the current moment, all the non-mobile devices associated with the target data object are not online, even if the industrial system forwards the operation instruction to the non-mobile device, the non-mobile device cannot respond to the operation instruction in a timely manner. At this time, the industrial system can also directly feedback information rejecting the operation of the target data object to the mobile device.
[0100] In the embodiments of the present application, the information of the target data object for which the industrial system rejects the operation feedback to the mobile terminal may be different for different reasons. Exemplarily, when the user account currently logged in to the mobile terminal does not have the permission to operate the target data object, the information of the industrial system rejecting the operation of the target data object may include a prompt that the currently logged-in user account does not have the corresponding permission, or a prompt to the user to change the user account and then try again. When the user account currently logged in to the mobile terminal has the permission to operate the target data object, but all non-mobile terminals associated with the target data object are not online, the information of the industrial system rejecting the operation of the target data object may include a prompt that the non-mobile terminal is not online and cannot process the operation instruction in a timely manner, and a prompt to the user to try again later.
[0101] In the embodiments of the present application, the response of the non-mobile terminal to the operation instruction may include an approval operation or a rejection operation.
[0102] Among them, the rejection operation may refer to the non-mobile terminal rejecting the operation instruction submitted by the mobile terminal. In this way, the industrial system can reject the operation of the non-mobile terminal on the target data object according to the response result of the non-mobile terminal.
[0103] The approval operation may refer to the non-mobile terminal approving the operation instruction submitted by the mobile terminal and allowing the mobile terminal to operate on the target data object. In this way, the industrial system can execute the operation instruction according to the response result of the non-mobile terminal. For example, after executing the operation instruction, the industrial system may feedback the data after operating on the target data object to the mobile terminal.
[0104] In a possible implementation manner of the embodiments of the present application, the operation instruction sent by the mobile terminal for the target data object may be an instruction for the on-site control device. The instruction for the on-site control device may refer to an instruction that can operate the on-site control device. If the response result of the non-mobile terminal to the instruction for the on-site control device is an approval operation, the industrial system may operate the on-site control device according to the instruction.
[0105] Exemplarily, when the user of the mobile terminal discovers an abnormality in the industrial production process according to the target monitoring data, for example, the concentration of a certain industrial device exceeds the standard during the current production process. The mobile terminal may initiate a corresponding operation instruction, and the operation instruction is forwarded by the industrial system to the non-mobile terminal. When the response result of the non-mobile terminal to the operation instruction is an approval operation, the industrial system may operate the above industrial device under the control of the non-mobile terminal to gradually restore the concentration during the production process to the normal level.
[0106] In an embodiment of the present application, when the operation instruction for the target data object is an instruction acting on a field control device and the result of the non-mobile device's response to the operation instruction is an acknowledgement operation, the non-mobile device can operate the field control device according to the operation instruction and generate a corresponding execution result. The execution result can be sent by the non-mobile device to the industrial system, and the industrial system can feedback the execution result to the mobile device.
[0107] In a possible implementation manner of the embodiment of the present application, as Figure 4 shown, after the industrial system feeds back the target monitoring data to the mobile device, the industrial system can further perform the following steps S401 - S403:
[0108] S401. Determine the operation priorities of each data object in the target monitoring data.
[0109] In an embodiment of the present application, the target monitoring data includes multiple data objects. After the industrial system feeds back the target monitoring data to the mobile device, the industrial system can determine the operation priority of each data object. The operation priority can be determined according to the urgency of the data object to be processed. Exemplarily, it is assumed that in the target monitoring data, there are data objects regarding the operating states of multiple industrial devices. Among them, based on the target monitoring data, it can be known that an industrial device corresponding to a certain data object is operating abnormally, and the user of the mobile device may need to further obtain other data related to the industrial device with abnormal operation. At this time, it can be determined that the data object corresponding to the industrial device with abnormal operation has a higher operation priority.
[0110] S402. Obtain the post-operation data of the first data object with the first operation priority.
[0111] In an embodiment of the present application, the first operation priority can be the highest operation priority. When it is determined that a certain data object has the first operation priority, the industrial system can obtain the post-operation data of the first data object with the first operation priority. The post-operation data can refer to the data obtained after further processing a certain data object.
[0112] In a possible implementation manner of the embodiment of the present application, when the industrial system obtains the post-operation data of the first data object with the first operation priority, it can first simulate the operation of the first data object with the first operation priority. Then, the industrial system can, in response to the action of operating the first data object with the first operation priority, obtain the post-operation data corresponding to the first data object from the monitoring data.
[0113] S403. If the target data object is the first data object and the result of the non-mobile device's response to the operation instruction is an acknowledgement operation, then feedback the post-operation data to the mobile device.
[0114] In the embodiment of the present application, the target data object is the data object actually requested and operated by the user of the mobile terminal, and the first data object has the highest operation priority, that is, the data object with the first operation priority. If the data object requested and operated by the user on the mobile terminal is the first data object, at this time, since the industrial system has obtained the post-operation data in advance, when the industrial system receives that the result of the non-mobile-terminal response operation instruction is a confirmation operation, it can be considered that the non-mobile terminal allows the user of the mobile terminal to operate on the first data object. The industrial system can feedback the pre-obtained post-operation data to the mobile terminal. In this way, by pre-obtaining the post-operation data of the data object with a higher operation priority, the speed of feedbacking the post-operation data to the mobile terminal can be improved.
[0115] In the embodiment of the present application, when the industrial system receives a query instruction for monitoring data submitted by the user terminal, it can identify the device type of the user terminal according to the query instruction. If the user terminal is a mobile terminal, the industrial system can feedback the target monitoring data only for viewing to the mobile terminal. When receiving an operation instruction for the target data object in the target monitoring data from the mobile terminal, in order to ensure data security and the safety of industrial production, the industrial system may not directly respond to the operation instruction, but forward the operation instruction to a non-mobile terminal associated with the above target data object and located within a preset network range, and the non-mobile terminal responds to the operation instruction. By applying the method provided in the embodiment of the present application, when an operation instruction for the target data object is initiated on the mobile terminal, the non-mobile terminal with the corresponding permission can respond to the operation instruction, solving the problem in the prior art that the mobile terminal cannot initiate further processing of production data and cannot operate on the industrial system based on the viewed data, and improving the usability of the mobile terminal accessing the industrial system.
[0116] It should be noted that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0117] Refer to Figure 5 , which shows a schematic diagram of an industrial system interaction device provided by an embodiment of the present application. Specifically, it may include a receiving module 501, an identifying module 502, an obtaining module 503, a feedback module 504, and a response module 505, where:
[0118] The receiving module 501 is configured to receive a query instruction for monitoring data submitted by the user terminal;
[0119] The identifying module 502 is configured to identify the device type of the user terminal according to the query instruction;
[0120] An acquisition module 503, configured to, if the client is a mobile device, acquire from the monitoring data target monitoring data corresponding to the query instruction and adapted to the mobile device;
[0121] A feedback module 504, configured to feedback the target monitoring data to the mobile device;
[0122] A response module 505, configured to, when receiving an operation instruction of a target data object in the target monitoring data from the mobile device, forward the operation instruction to a non-mobile device associated with the target data object and located within a preset network range, and the non-mobile device responds to the operation instruction.
[0123] In an embodiment of the present application, the acquisition module 503 may specifically be configured to: acquire query data corresponding to the query instruction from the monitoring data; write the query data into a query template pre-configured for the mobile device to obtain the target monitoring data adapted to the mobile device.
[0124] In a possible implementation manner of an embodiment of the present application, the response module 505 may specifically be configured to: identify whether the user account currently logged in to the mobile device has the permission to operate the target data object; if the user account has the permission to operate the target data object, determine multiple non-mobile devices associated with the target data object, and send the operation instruction to the non-mobile device with the highest permission and currently online; if the user account does not have the permission to operate the target data object, or all of the multiple non-mobile devices associated with the target data object are not online, feedback information rejecting the operation of the target data object to the mobile device.
[0125] In a possible implementation manner of an embodiment of the present application, the device may further include: an operation priority determination module and an operation result data acquisition module, where:
[0126] The operation priority determination module is configured to determine the operation priority of each data object in the target monitoring data;
[0127] The operation result data acquisition module is configured to acquire the operation result data of a first data object with a first operation priority.
[0128] In an embodiment of the present application, the operation result data acquisition module may specifically be configured to: simulate the operation of the first data object with the first operation priority; in response to the action of operating the first data object with the first operation priority, acquire the operation result data corresponding to the first data object from the monitoring data.
[0129] In a possible implementation manner of the embodiment of the present application, the device may further include an operation result feedback module. Specifically:
[0130] The operation result feedback module is configured to, if the target data object is the first data object and the result of the non-mobile terminal responding to the operation instruction is a confirmation operation, feedback the operation result to the mobile terminal.
[0131] In another possible implementation manner of the embodiment of the present application, the response module 505 may further be configured to: if the operation instruction for the target data object is an instruction for acting on a field control device and the result of the non-mobile terminal responding to the operation instruction is a confirmation operation, after receiving the execution result of the non-mobile terminal executing the operation instruction, feedback the execution result to the mobile terminal; where the execution result is generated after the non-mobile terminal operates the field control device according to the operation instruction.
[0132] The embodiment of the present application provides an industrial system interaction device, and applying this device can implement the steps in each of the foregoing method embodiments.
[0133] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant parts, reference may be made to the description in the method embodiment section.
[0134] Refer to Figure 6 , which shows a schematic diagram of an industrial system provided by the embodiment of the present application. As Figure 6 shown, the industrial system 600 in the embodiment of the present application includes: a processor 610, a memory 620, and a computer program 621 stored in the memory 620 and executable on the processor 610. When the processor 610 executes the computer program 621, it implements the steps in each of the foregoing embodiments of the industrial system interaction method, such as Figure 1 the steps S101 to S105 shown. Alternatively, when the processor 610 executes the computer program 621, it implements the functions of each module / unit in each of the foregoing device embodiments, such as Figure 5 the functions of the modules 501 to 505 shown.
[0135] Exemplarily, the computer program 621 can be divided into one or more modules / units, which are stored in the memory 620 and executed by the processor 610 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, and these instruction segments can be used to describe the execution process of the computer program 621 in the industrial system 600. For example, the computer program 621 can be divided into a receiving module, an identifying module, an obtaining module, a feedback module, and a response module, and the specific functions of each module are as follows:
[0136] The receiving module is used to receive a query instruction for monitoring data submitted by the user terminal;
[0137] The identifying module is used to identify the device type of the user terminal according to the query instruction;
[0138] The obtaining module is used to, if the user terminal is a mobile terminal, obtain target monitoring data corresponding to the query instruction and adapted to the mobile terminal from the monitoring data;
[0139] The feedback module is used to feedback the target monitoring data to the mobile terminal;
[0140] The response module is used to, when receiving an operation instruction for a target data object in the target monitoring data from the mobile terminal, forward the operation instruction to a non-mobile terminal associated with the target data object and located within a preset network range, and the non-mobile terminal responds to the operation instruction.
[0141] The industrial system 600 can be a server that implements the steps in the foregoing various method embodiments. This server can be a computing device such as a desktop computer or a cloud server. The industrial system 600 can include, but is not limited to, a processor 610 and a memory 620. Those skilled in the art can understand that Figure 6 This is only an example of the industrial system 600 and does not constitute a limitation on the industrial system 600. It can include more or fewer components than shown in the figure, or combine some components, or different components. For example, the industrial system 600 can also include input / output devices, network access devices, a bus, etc.
[0142] The processor 610 may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc.
[0143] The memory 620 may be an internal storage unit of the industrial system 600, such as the hard disk or memory of the industrial system 600. The memory 620 may also be an external storage device of the industrial system 600, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the industrial system 600. Further, the memory 620 may also include both the internal storage unit of the industrial system 600 and the external storage device. The memory 620 is used to store the computer program 621 and other programs and data required by the industrial system 600. The memory 620 may also be used to temporarily store data that has been output or is to be output.
[0144] An embodiment of this application also discloses an industrial system, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the industrial system interaction method described in the foregoing various embodiments is implemented.
[0145] An embodiment of this application also discloses a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the industrial system interaction method described in the foregoing various embodiments is implemented.
[0146] An embodiment of this application also discloses a computer program product, and when the computer program product runs on a computer, the computer is caused to execute the industrial system interaction method described in the foregoing various embodiments.
[0147] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included within the protection scope of the present application.
Claims
1. An industrial system interaction method, characterized in that, including: Receiving a query instruction for monitoring data submitted by a client, where the query instruction carries device type-related information; Identifying the device type of the client according to the device type-related information; If the client is a mobile device, obtaining query data corresponding to the query instruction from the monitoring data; Writing the query data into a query template pre-configured for the mobile device according to the screen size of the mobile device to obtain target monitoring data adapted to the mobile device; Feeding back the target monitoring data to the mobile device; When receiving an operation instruction of a target data object in the target monitoring data from the mobile device, forwarding the operation instruction to a non-mobile device associated with the target data object and located within a preset network range, including: identifying whether the user account currently logged in to the mobile device has the permission to operate the target data object; if the user account has the permission to operate the target data object, determining multiple non-mobile devices associated with the target data object, and sending the operation instruction to the non-mobile device with the highest permission and currently online; if the user account does not have the permission to operate the target data object, or all multiple non-mobile devices associated with the target data object are not online, feeding back information rejecting the operation of the target data object to the mobile device, and the non-mobile device responds to the operation instruction; After receiving an operation instruction of a target data object in the target monitoring data from the mobile device, if the operation instruction for the target data object is an instruction for a field control device and the result of the non-mobile device responding to the operation instruction is to confirm the operation, after receiving the execution result of the non-mobile device executing the operation instruction, feeding back the execution result to the mobile device; where the execution result is generated after the non-mobile device operates the field control device according to the operation instruction.
2. The method according to claim 1, wherein After feeding back the target monitoring data to the mobile device, the method further includes: Determining the operation priorities of each data object in the target monitoring data; Obtaining the post-operation data of a first data object with a first operation priority.
3. The method according to claim 2, characterized in that The obtaining the post-operation data of a first data object with a first operation priority includes: Simulating the operation of the first data object with the first operation priority; In response to the action of operating the first data object with the first operation priority, obtaining the post-operation data corresponding to the first data object from the monitoring data.
4. The method according to claim 2 or 3, characterized in that, After receiving an operation instruction of a target data object in the target monitoring data from the mobile device, the method further includes: If the target data object is the first data object and the result of the non-mobile device responding to the operation instruction is to confirm the operation, feeding back the post-operation data to the mobile device.
5. An industrial system interaction device, characterized in that, including: A receiving module, configured to receive a query instruction for monitoring data submitted by a client, where the query instruction carries device type-related information; An identification module, configured to identify the device type of the client according to the device type-related information; An acquisition module, configured to, if the client is a mobile device, acquire query data corresponding to the query instruction from the monitoring data; write the query data into a query template pre-configured for the mobile device according to the screen size of the mobile device, to obtain target monitoring data adapted to the mobile device; A feedback module, configured to feedback the target monitoring data to the mobile device; A response module, configured to, when receiving an operation instruction of a target data object in the target monitoring data from the mobile device, forward the operation instruction to a non-mobile device associated with the target data object and located within a preset network range, including: identifying whether the user account currently logged in to the mobile device has the permission to operate the target data object; if the user account has the permission to operate the target data object, determining a plurality of the non-mobile devices associated with the target data object, and sending the operation instruction to the non-mobile device with the highest permission and currently online; if the user account does not have the permission to operate the target data object, or all of the plurality of non-mobile devices associated with the target data object are not online, feedbacking information rejecting the operation of the target data object to the mobile device, and the non-mobile device responds to the operation instruction; The feedback module is further configured to, after receiving an operation instruction of a target data object in the target monitoring data from the mobile device, if the operation instruction for the target data object is an instruction for a field control device, and the result of the non-mobile device responding to the operation instruction is an affirmative operation, after receiving the execution result of the non-mobile device executing the operation instruction, feedbacking the execution result to the mobile device; wherein, the execution result is generated after the non-mobile device operates the field control device according to the operation instruction.
6. An industrial system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the industrial system interaction method according to any one of claims 1-4 is implemented.
7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the industrial system interaction method according to any one of claims 1-4 is implemented.
Citation Information
Patent Citations
Network monitoring method and device, equipment and storage medium
CN110247906A
Equipment data monitoring method and device, terminal equipment and storage medium
CN112817810A