Method and device for operating industrial internet equipment and readable storage medium
By designing a 5G message transponder on the UPF/edge computing server, user terminals can operate industrial Internet equipment through 5G messages, solving the problems of high cost and high risk of existing methods, and realizing low-cost and low-risk operation methods.
Patent Information
- Application Number
- CN202311133428.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-04
AI Technical Summary
Existing methods of operating industrial Internet equipment usually require custom terminals or access to the intranet of industrial enterprises, resulting in high costs and high risks.
By designing a 5G message transponder, user terminals only need to support 5G messages to operate industrial Internet equipment, use UPF/edge computing servers to access, switch and control equipment, achieve universality and cost reduction, and reduce risks through permission control.
Low-cost and low-risk operation of industrial Internet equipment is achieved, and the combination of 5G message transponder and UPF/edge computing servers is simplified in operation and improved security.
Smart Images

Figure CN119561966A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial Internet equipment technology, and in particular to a method, device and readable storage medium for operating an industrial Internet equipment. Background Art
[0002] In the 5G (5th generation mobile communication technology) era, industrial Internet devices will be connected to the factory's 5G network through protocol conversion, industrial gateways, and 5G-carrying industrial protocols, and will be connected through 5G UPF (User plane Function) and higher-level industrial Internet platforms, applications, main PLCs (Programmable Logic Controllers) and other components.
[0003] However, existing methods of operating industrial Internet devices generally require customized terminals, running access control systems on terminals, or entering factory systems in the industrial enterprise intranet, which can easily lead to high costs and risks. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method, device and readable storage medium for operating industrial Internet equipment in response to the above-mentioned deficiencies in the prior art, so as to solve the problems that the existing methods of operating industrial Internet equipment generally require customized terminals, running access control systems on terminals, or entering factory systems in the intranet of industrial enterprises to operate, which easily leads to high costs and high risks.
[0005] In a first aspect, the present invention provides a method for operating an industrial Internet device, which is applied to a 5G message transponder on a user plane function UPF / edge computing server, wherein
[0006] Methods include:
[0007] Receiving a first 5G message sent by a user terminal;
[0008] Acquire, according to the first 5G message, industrial Internet devices that the user has the authority to operate and are located within a predetermined range of the user terminal;
[0009] Returning a second 5G message to the user terminal, where the second 5G message includes the authorized industrial Internet device and the operations that can be performed;
[0010] After receiving a third 5G message sent by the user terminal after the user selects a target industrial Internet device and a target operation from the industrial Internet devices with permission to operate and the operations that can be performed;
[0011] Forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device.
[0012] Further, the receiving a first 5G message sent by the user terminal specifically includes:
[0013] Receive the first 5G message sent by the user terminal for accessing, switching, or controlling the industrial Internet device.
[0014] Further, obtaining, according to the first 5G message, an industrial Internet device that a user has permission to operate and is located within a predetermined range of the user terminal, specifically includes:
[0015] Acquire all industrial Internet devices within a predetermined range of the user terminal from a preset device list according to the first 5G message;
[0016] Based on a preset user permission list, the industrial Internet devices that the user has permission to operate are obtained from all the industrial Internet devices.
[0017] Furthermore, the first 5G message carries location information, and acquiring all industrial Internet devices located within a predetermined range of the user terminal from a preset device list according to the first 5G message specifically includes:
[0018] Query the device list for all industrial Internet devices within the predetermined range of the location information.
[0019] Furthermore, the obtaining of the industrial Internet devices that the user has permission to operate from all the industrial Internet devices based on the preset user permission list specifically includes:
[0020] Obtaining the permission level of each operation corresponding to each industrial Internet device among all the industrial Internet devices;
[0021] Obtaining the permission level of each operation corresponding to the user terminal in the user permission list;
[0022] For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is greater than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the permission to operate the industrial Internet device; or,
[0023] For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is less than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the authority to operate the industrial Internet device.
[0024] Furthermore, the operation includes access, and / or switch, and / or control; the authority level includes access authority level, and / or switch authority level, and / or control authority level.
[0025] Furthermore, the permission levels in the user permission list also include special permission levels, and the special permission levels include special access permission levels of users for special devices, and / or special switch permission levels, and / or special control permission levels.
[0026] Furthermore, the second 5G message is one or more, each second 5G message corresponds to an industrial Internet device that the user has the authority to operate, and the second 5G message is displayed in the form of an icon.
[0027] Further, after forwarding the third 5G message to the UPF / edge computing server, the method further includes:
[0028] Receive the operation result returned by the UPF / edge computing server, and send the operation result to the user terminal.
[0029] In a second aspect, the present invention provides a device for operating an industrial Internet device, a 5G message transponder arranged on a user plane function UPF / edge computing server, the device comprising:
[0030] A first receiving module, used to receive a first 5G message sent by a user terminal;
[0031] A device acquisition module, connected to the first receiving module, for acquiring, according to the first 5G message, an industrial Internet device that a user has the authority to operate and is located within a predetermined range of the user terminal;
[0032] A first sending module, connected to the device acquisition module, is used to return a second 5G message to the user terminal, where the second 5G message includes the industrial Internet device with permission to operate and the operations that can be performed;
[0033] A second receiving module, connected to the first sending module, is used to receive a third 5G message sent by the user terminal after the user selects a target industrial Internet device and a target operation from the industrial Internet devices with permission to operate and the operations that can be performed;
[0034] The second sending module is connected to the second receiving module, and is used to forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs corresponding target operations on the target industrial Internet device.
[0035] In a third aspect, the present invention provides an apparatus for operating an industrial Internet device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the method for operating an industrial Internet device described in the first aspect above.
[0036] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for operating an industrial Internet device as described in the first aspect above is implemented.
[0037] The method, device and readable storage medium for operating industrial Internet devices provided by the present invention first receive the first 5G message sent by the user terminal by the 5G message responder on the UPF / edge computing server; then obtain the industrial Internet devices that the user has the authority to operate within the predetermined range of the user terminal according to the first 5G message; then return the second 5G message to the user terminal, the second 5G message contains the industrial Internet devices with the authority to operate and the operations that can be performed; finally, after receiving the user to select the target industrial Internet device and the target operation from the industrial Internet devices with the authority to operate and the operations that can be performed, the third 5G message sent by the user terminal; then forward the third 5G message to the UPF / edge computing server, so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device. The present invention only requires the user terminal (i.e., the access terminal) to support 5G messages to realize the operation of the industrial Internet device, has universality (i.e., only one 5G terminal is required to complete it), so the cost is low, and at the same time, by limiting the user terminal to only operate the industrial Internet devices with the authority to operate, the risk can be controlled. It solves the problem that the existing methods of operating industrial Internet devices generally require customized terminals, running access control systems on terminals, or entering factory systems in the industrial enterprise intranet, which easily leads to high costs and greater risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 This is a flowchart of a method for operating an industrial Internet device according to Embodiment 1 of the present invention;
[0039] Figure 2 An interactive schematic diagram of a method for operating an industrial Internet device according to an embodiment of the present invention;
[0040] Figure 3This is a schematic diagram of the structure of a device for operating an industrial Internet device according to Embodiment 2 of the present invention;
[0041] Figure 4 This is a structural diagram of a device for operating industrial Internet equipment according to Example 3 of the present invention. DETAILED DESCRIPTION
[0042] In order to enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0043] It should be understood that the specific embodiments and drawings described herein are only used to explain the present invention rather than to limit the present invention.
[0044] It can be understood that, in the absence of conflict, the various embodiments of the present invention and the various features in the embodiments can be combined with each other.
[0045] It can be understood that, for the convenience of description, the drawings of the present invention only show the parts related to the present invention, while the parts irrelevant to the present invention are not shown in the drawings.
[0046] It can be understood that each unit and module involved in the embodiments of the present invention may correspond to only one physical structure, or may be composed of multiple physical structures, or multiple units and modules may be integrated into one physical structure.
[0047] It can be understood that the terms "first", "second", etc. in the embodiments of the present invention are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0048] It can be understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of the present invention may occur in an order different from that marked in the drawings.
[0049] It is understood that the flowcharts and block diagrams of the present invention illustrate the possible architectures, functions, and operations of the systems, devices, equipment, and methods according to the various embodiments of the present invention. Each box in the flowchart or block diagram may represent a unit, module, program segment, or code, which contains executable instructions for implementing the specified functions. Moreover, each box or combination of boxes in the block diagram and flowchart may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.
[0050] It can be understood that the units and modules involved in the embodiments of the present invention can be implemented by software or hardware. For example, the units and modules can be located in a processor.
[0051] Application Overview
[0052] The existing methods of operating industrial Internet devices have the following technical problems:
[0053] (1) The method of operating industrial Internet devices by customizing terminals and running access control systems on the terminals requires industrial enterprises to customize terminals. The number of terminals is limited, the terminal functions are not rich (only for industrial enterprises), and the cost is high.
[0054] (2) The method of operating industrial Internet devices by entering the factory system through the industrial enterprise intranet requires the access end to obtain permission to the factory system or factory intranet, which carries certain risks.
[0055] In response to the above technical problems, the concept of this application is to provide a method, device and readable storage medium for operating industrial Internet devices. By designing a 5G message transponder, the user terminal (i.e., the access terminal) only needs to support 5G messages to realize the operation of industrial Internet devices. It has universality (i.e., only one 5G terminal is needed to complete it), so the cost is low. At the same time, by limiting the user terminal to only operate the industrial Internet devices with permission, the risk can be controlled. It solves the existing methods of operating industrial Internet devices, which generally require customized terminals, running access control systems on terminals, or entering the factory system in the industrial enterprise intranet to operate, which easily leads to high costs and high risks.
[0056] After introducing the basic principles of the present application, various non-limiting embodiments of the present application will be described in detail with reference to the accompanying drawings.
[0057] Embodiment 1:
[0058] This embodiment provides a method for operating an industrial Internet device, which is applied to a 5G message transponder on a UPF / edge computing server, such as Figure 1 As shown, the method includes:
[0059] Step S101: Receive the first 5G message sent by the user terminal.
[0060] In this embodiment, in order to meet the upgrade plan for the purpose of controlling industrial Internet devices, the present invention designs a 5G message responder, which can be deployed on the edge computing server or UPF of an industrial enterprise. For example, the 5G message responder can be integrated into the form of microservices and deployed as an additional function / service on the edge computing server or user-side UPF. It can be standardized and universally integrated with the industrial UPF, and the access, switching and even control operations of industrial Internet devices can be summarized as operator services without the need for industrial enterprises or smart factories or fully connected factory solution providers to design and build them, further simplifying the construction of 5G fully connected factories.
[0061] Optionally, the receiving a first 5G message sent by a user terminal specifically includes:
[0062] Receive the first 5G message sent by the user terminal for accessing, switching, or controlling the industrial Internet device.
[0063] In this embodiment, the user terminal supports 5G messages. When the user wants to operate an industrial Internet device, he can send a first 5G message for accessing, switching, or controlling the industrial Internet device to the UPF / edge computing server through the user terminal. For example, the first 5G message may be "access device", and the 5G message responder on the UPF / edge computing server replies and processes the 5G message for device access, switching, and control sent by the user terminal.
[0064] Step S102: Obtain, based on the first 5G message, industrial Internet devices that the user is authorized to operate and are located within a predetermined range of the user terminal.
[0065] In this embodiment, the predetermined range refers to a certain radius of the user's location, that is, near the user's location. The radius can be set by the industrial enterprise. According to the 5G positioning accuracy, this radius can be set to 0.5m.
[0066] Optionally, acquiring, according to the first 5G message, an industrial Internet device that a user has permission to operate and is located within a predetermined range of the user terminal, specifically includes:
[0067] Acquire all industrial Internet devices within a predetermined range of the user terminal from a preset device list according to the first 5G message;
[0068] Based on a preset user permission list, the industrial Internet devices that the user has permission to operate are obtained from all the industrial Internet devices.
[0069] In this embodiment, the device list and user permission list are stored in the UPF or edge computing server. For example, they can be integrated into a microservice like the 5G message transponder and deployed as additional functions / services on the edge computing server or user-side UPF. The device list refers to the list of industrial Internet devices connected to the UPF or edge computing server of the industrial enterprise. The user permission list records the permission levels of various operations of the user terminal that applies for access to the industrial Internet device.
[0070] Optionally, the first 5G message carries location information, and acquiring all industrial Internet devices located within a predetermined range of the user terminal from a preset device list according to the first 5G message specifically includes:
[0071] Query the device list for all industrial Internet devices within the predetermined range of the location information.
[0072] In this embodiment, after the 5G message responder receives the first 5G message sent by the user terminal, it first extracts the user terminal information (i.e., user information and location information) in the first 5G message. The user information and location information are content that the user terminal will automatically carry when sending the first 5G message. The 5G message responder queries all industrial Internet devices near the user location in the device list based on the location information.
[0073] Optionally, the obtaining, from all the industrial Internet devices, the industrial Internet devices that the user has permission to operate based on a preset user permission list specifically includes:
[0074] Obtaining the permission level of each operation corresponding to each industrial Internet device among all the industrial Internet devices;
[0075] Obtaining the permission level of each operation corresponding to the user terminal in the user permission list;
[0076] For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is greater than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the permission to operate the industrial Internet device; or,
[0077] For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is less than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the authority to operate the industrial Internet device.
[0078] In this embodiment, the operation includes access, and / or switch, and / or control; the permission level includes access permission level, and / or switch permission level, and / or control permission level. The 5G message responder determines whether the user can access, switch, and control the industrial Internet devices near the user's location based on the user permission list.
[0079] Specifically, the device list can include the device network address, device physical address, access permission level, and switch permission level. In order to meet the upgrade plan for the purpose of controlling industrial Internet devices, the device list can also be expanded to include control permission level, control parameter list, etc. Among them, the device network address can be the virtual address of the device registered in the UPF / edge computing server; the device physical address is the real physical location of the device (it will be automatically provided during the device registration process, and the device list only needs to be read); the access permission level can be a number such as 123456. When the access permission level of the user terminal is greater than or equal to this number, the user can access the device (or when the access permission level of the user terminal is less than or equal to this number, the user can access the device); the switch permission level can be a number such as 123456. When the switch permission level of the user terminal is greater than or equal to this number, the user can switch the device (or when the user switch permission level is less than or equal to this number, the user can switch the device). The control authority level can be a number such as 123456. When the control authority level of the user terminal is greater than or equal to this number, the user can control the device (or when the control authority level of the user terminal is less than or equal to this number, the user can control the device). The control parameter list contains the parameter codes and names that can be adjusted.
[0080] It should be noted that the device list is updated and maintained when the industrial Internet device is connected to the UPF / edge computing server or goes offline (registered on or offline from the UPF / edge computing server). For example, when the industrial Internet device is turned on and connected to the UPF / edge computing server, the device list is updated accordingly. When the industrial Internet device goes offline, the device list is also updated accordingly. When the user terminal sends the first 5G message, in order to ensure the accuracy of the data, the UPF / edge computing server can update the device list first.
[0081] Optionally, the permission levels in the user permission list also include special permission levels, and the special permission levels include special access permission levels of users for special devices, and / or special switch permission levels, and / or special control permission levels.
[0082] In this embodiment, in order to implement user access control to special devices, special permission levels can be set, such as special access permission levels, special switch permission levels, and special control permission levels. Taking the special access permission level as an example, the access permission level in the user permission list is for all ordinary Industrial Internet devices, while the special access permission level is for one or some special devices.
[0083] Specifically, the user permission list includes user information, access permission level, special access permission level, switch permission level, and special switch permission level. In order to meet the upgrade plan for controlling industrial Internet devices, the user permission list can also be expanded to include control permission level and special control permission level. Among them, user information is the user terminal identifier (such as mobile phone number); the access permission level can be a number such as 123456, indicating that the user can access devices with access permission levels less than or equal to / greater than this number; the switch permission level can be a number such as 123456, indicating that the user can switch devices with switch permission levels less than or equal to / greater than this number, and the control permission level is similar; the special access / switch / control permission level includes the address of the special device, and the user's access, switch, and control permission level for the special device. For example, in the special access permission level, the address of the special device included can be the virtual address of the device when it is registered on the UPF / edge computing server, and the user's access permission level for the special device included can be a number such as 123456, indicating that when judging whether the user can access the special device, the special access permission level shall prevail.
[0084] It should be noted that the user permission list is maintained by the industrial enterprise and updated when the device list is updated.
[0085] In this embodiment, the industrial enterprise sets the permission level of the user terminal to be greater than or equal to or less than or equal to the permission level of the industrial Internet device in order to implement the corresponding operation. For example, if the permission level of the user terminal is greater than or equal to the permission level of the industrial Internet device, the operation can be performed. If the access permission level of the light bulb is 1 and the access permission level of all users is 5, then all users can access the light bulb. If the switch access permission of the light bulb is 6, then no user can turn the light bulb on or off.
[0086] Step S103: Return a second 5G message to the user terminal, where the second 5G message includes the authorized industrial Internet device and the operations that can be performed.
[0087] In this embodiment, the 5G message responder determines whether the user can access the industrial Internet devices near the user's location based on the user permission list, and replies with the industrial Internet devices near the user's location that the user has permission to operate and the operations that can be performed.
[0088] Optionally, the second 5G message is one or more, each second 5G message corresponds to an industrial Internet device that the user has the authority to operate, and the second 5G message is displayed in the form of an icon.
[0089] In this embodiment, each second 5G message corresponds to an industrial Internet device, a message is a hyperlink, and a message can be displayed in the form of an icon (with a device name on it, the icon can be highlighted, which means that the user can operate the device, and different highlighted devices can perform different operations). If there is no accessible device (that is, there is no device with permission to operate), reply "No accessible device". When the user clicks the highlighted icon, the operations that the user can perform (such as on, off, parameter viewing, parameter adjustment-parameter list) may pop up. The user clicks a non-highlighted icon, and a prompt message pops up saying "You do not have permission to operate this device".
[0090] Step S104: Receive the third 5G message sent by the user terminal after the user selects the target industrial Internet device and the target operation from the industrial Internet devices with authorized operations and the operations that can be performed.
[0091] In this embodiment, after the user terminal receives the second 5G message, the user makes a corresponding selection or operation on the user terminal, which is converted into a corresponding third 5G message and sent to the 5G message responder. For example:
[0092] User selects parameters to view: The user terminal sends user information + location information + device information (such as 0, representing the position of the device in the device list) + operation information (such as 1, representing viewing parameters) to the 5G message responder.
[0093] User chooses on / off: The user terminal sends user information + location information + device information (such as 23, representing the position of the device in the device list) + operation information (such as 2, representing turning on the device; 3, representing turning off the device) to the 5G message responder.
[0094] User selects parameter adjustment: the user terminal sends user information + location information + device information (such as 23, representing the position of the device in the device list) + operation information (such as 4, representing the adjustment parameter) + parameter position (such as 6, representing the 6th parameter in the parameter list) + parameter (such as 35) to the 5G message responder.
[0095] Step S105: Forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs corresponding target operations on the target industrial Internet device.
[0096] In this embodiment, after receiving the third 5G message, the 5G message responder communicates with the UPF / edge computing server of the industrial enterprise to implement corresponding operations.
[0097] It should be noted that the 5G message transponder does not directly operate the industrial Internet equipment. The UPF or edge computing server operates the industrial Internet equipment. By designing the 5G message transponder, the present invention allows industrial enterprises to complete the access, switching, control and other operations of the industrial Internet equipment through the 5G terminal without changing the existing equipment network structure.
[0098] Optionally, after forwarding the third 5G message to the UPF / edge computing server, the method further includes:
[0099] Receive the operation result returned by the UPF / edge computing server, and send the operation result to the user terminal.
[0100] In this embodiment, access refers to accessing certain parameters, switching refers to simply turning on / off a certain industrial Internet device, and control may include switching and other controls, such as controlling speed, controlling direction, setting parameters, etc. The UPF / edge computing server returns corresponding operation results based on the corresponding access, switching, and control operations.
[0101] Specifically, the operation result is one or more 5G messages. One 5G message corresponds to one industrial Internet device. One 5G message can be presented in the form of an icon (with the device name and parameters / operation results on it. The icon can be highlighted, indicating that the user can operate the device). If there is no accessible device (for example, the device within the user's range has not been included in the enterprise's device list), reply "No accessible device". The user clicks the highlighted icon, and the user's available operations (such as on, off, parameter viewing) pop up. The user clicks the non-highlighted icon, and a prompt message pops up "You do not have permission to operate this device."
[0102] In this embodiment, the returned 5G message may be an icon, but the icon has parameters and operation results (for example, the parameter is temperature, the operation result is a specific degree, and the operation is to turn on a certain industrial Internet device, then the operation result may be turned on). The user can further operate on the returned operation result. For example, if a certain industrial Internet device is currently turned on, by clicking the icon, the user can perform the operation "Close" pop-up. When a user clicks "Close", the corresponding industrial Internet device can be turned off.
[0103] It should be noted that the method of accessing, switching, and controlling industrial Internet devices based on 5G messages in the present invention can be further expanded to complete the construction of digital twins of industrial Internet devices based on 5G messages, and even the construction of digital twins of industrial enterprises.
[0104] In a specific embodiment, taking access to industrial Internet devices as an example, refer to Figure 2 , the method for operating an industrial Internet device comprises the following steps:
[0105] (1) The user terminal sends "access device" to the 5G message responder;
[0106] (2) The 5G message responder queries the device list for devices near the user's location;
[0107] (3) The 5G message responder obtains devices near the user's location in the device list;
[0108] (4) The 5G message responder determines whether devices near the user's location are accessible based on the user's permission list;
[0109] (5) The 5G message responder obtains the device accessible to the user;
[0110] (6) The 5G message responder sends the user terminal the devices that the user can access and the operations that can be performed;
[0111] (7) The user performs corresponding operations on the user terminal to initiate access to the device;
[0112] (8) The 5G message responder communicates with the UPF / edge computing server, which implements the actual operation of the industrial Internet equipment.
[0113] The method for operating an industrial Internet device provided by an embodiment of the present invention is that the 5G message responder on the UPF / edge computing server first receives a first 5G message sent by a user terminal; then obtains the industrial Internet device that the user has the authority to operate within the predetermined range of the user terminal according to the first 5G message; then returns a second 5G message to the user terminal, the second 5G message containing the industrial Internet device with the authority to operate and the operations that can be performed; finally, after receiving the user to select the target industrial Internet device and the target operation from the industrial Internet devices with the authority to operate and the operations that can be performed, the third 5G message sent by the user terminal; then forward the third 5G message to the UPF / edge computing server, so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device. The present invention only requires the user terminal (i.e., the access terminal) to support 5G messages to realize the operation of the industrial Internet device, has universality (i.e., only one 5G terminal is required to complete it), so the cost is low, and at the same time, by limiting the user terminal to only operate the industrial Internet devices with the authority to operate, the risk can be controlled. It solves the problem that the existing methods of operating industrial Internet devices generally require customized terminals, running access control systems on terminals, or entering factory systems in the industrial enterprise intranet, which easily leads to high costs and greater risks.
[0114] Embodiment 2:
[0115] like Figure 3 As shown, this embodiment provides a device for operating an industrial Internet device, a 5G message transponder arranged on a user plane function UPF / edge computing server, for executing the above-mentioned method for operating an industrial Internet device, and the device includes:
[0116] A first receiving module 11 is used to receive a first 5G message sent by a user terminal;
[0117] A device acquisition module 12, connected to the first receiving module 11, is used to acquire, according to the first 5G message, an industrial Internet device that a user has the authority to operate and is located within a predetermined range of the user terminal;
[0118] A first sending module 13, connected to the device acquisition module 12, is used to return a second 5G message to the user terminal, where the second 5G message includes the industrial Internet device with permission to operate and the operations that can be performed;
[0119] The second receiving module 14 is connected to the first sending module 13, and is used to receive a third 5G message sent by the user terminal after the user selects a target industrial Internet device and a target operation from the industrial Internet devices with permission to operate and the operations that can be performed;
[0120] The second sending module 15 is connected to the second receiving module 14, and is used to forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device.
[0121] Optionally, the first receiving module 11 is specifically configured to:
[0122] Receive the first 5G message sent by the user terminal for accessing, switching, or controlling the industrial Internet device.
[0123] Optionally, the device acquisition module 12 includes:
[0124] A first acquisition unit, configured to acquire all industrial Internet devices located within a predetermined range of the user terminal from a preset device list according to the first 5G message;
[0125] The second acquisition unit is used to acquire the industrial Internet devices that the user has the authority to operate from all the industrial Internet devices based on a preset user authority list.
[0126] Optionally, the first 5G message carries location information, and the first acquiring unit is specifically configured to:
[0127] Query the device list for all industrial Internet devices within the predetermined range of the location information.
[0128] Optionally, the second acquiring unit includes:
[0129] A first permission level acquisition unit, used to acquire the permission level of each operation corresponding to each industrial Internet device among all the industrial Internet devices;
[0130] A second permission level acquisition unit, used to acquire the permission level of each operation corresponding to the user terminal in the user permission list;
[0131] A judgment unit is used to judge, for each of the operations, in turn whether the permission level of the operation corresponding to the user terminal is greater than or equal to the permission level of the operation corresponding to the industrial Internet device, and if so, determine that the user has the permission to operate the industrial Internet device; or
[0132] For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is less than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the authority to operate the industrial Internet device.
[0133] Optionally, the operation includes access, and / or switch, and / or control; the authority level includes access authority level, and / or switch authority level, and / or control authority level.
[0134] Optionally, the permission levels in the user permission list also include special permission levels, and the special permission levels include special access permission levels of users for special devices, and / or special switch permission levels, and / or special control permission levels.
[0135] Optionally, the second 5G message is one or more, each second 5G message corresponds to an industrial Internet device that the user has the authority to operate, and the second 5G message is displayed in the form of an icon.
[0136] Optionally, the device further comprises:
[0137] The operation result returning module is used to receive the operation result returned by the UPF / edge computing server and send the operation result to the user terminal.
[0138] Embodiment 3:
[0139] refer to Figure 4 This embodiment provides an apparatus for operating an industrial Internet device, including a memory 21 and a processor 22, wherein the memory 21 stores a computer program, and the processor 22 is configured to run the computer program to execute the method for operating an industrial Internet device in Example 1.
[0140] The memory 21 is connected to the processor 22. The memory 21 may be a flash memory, a read-only memory or other memory. The processor 22 may be a central processing unit or a single-chip microcomputer.
[0141] Embodiment 4:
[0142] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for operating an industrial Internet device in the above-mentioned embodiment 1 is implemented.
[0143] The computer-readable storage medium includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer.
[0144] In summary, the method, device and readable storage medium for operating industrial Internet devices provided by the embodiment of the present invention are that the 5G message responder on the UPF / edge computing server first receives the first 5G message sent by the user terminal; then obtains the industrial Internet devices that the user has the authority to operate within the predetermined range of the user terminal according to the first 5G message; then returns the second 5G message to the user terminal, and the second 5G message contains the industrial Internet devices with the authority to operate and the operations that can be performed; finally, after receiving the user to select the target industrial Internet device and the target operation from the industrial Internet devices with the authority to operate and the operations that can be performed, the third 5G message sent by the user terminal; and then forwards the third 5G message to the UPF / edge computing server, so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device. The present invention only requires the user terminal (i.e., the access terminal) to support 5G messages to realize the operation of the industrial Internet device, which is universal (i.e., only one 5G terminal is required to complete it), so the cost is low. At the same time, by limiting the user terminal to only operate the industrial Internet devices with the authority to operate, the risk can be controlled. It solves the problem that the existing methods of operating industrial Internet devices generally require customized terminals, running access control systems on terminals, or entering factory systems in the industrial enterprise intranet, which easily leads to high costs and greater risks.
[0145] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for operating an industrial Internet device, characterized in that: A 5G message transponder applied to a user plane function UPF / edge computing server, the method comprising: Receiving a first 5G message sent by a user terminal; Acquire, according to the first 5G message, industrial Internet devices that the user has the authority to operate and are located within a predetermined range of the user terminal; Returning a second 5G message to the user terminal, where the second 5G message includes the authorized industrial Internet device and the operations that can be performed; After receiving a third 5G message sent by the user terminal after the user selects a target industrial Internet device and a target operation from the industrial Internet devices with permission to operate and the operations that can be performed; Forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs the corresponding target operation on the target industrial Internet device.
2. The method according to claim 1, characterized in that The receiving a first 5G message sent by the user terminal specifically includes: Receive the first 5G message sent by the user terminal for accessing, switching, or controlling the industrial Internet device.
3. The method according to claim 2, characterized in that The obtaining, according to the first 5G message, an industrial Internet device that a user has permission to operate and is located within a predetermined range of the user terminal specifically includes: Acquire all industrial Internet devices within a predetermined range of the user terminal from a preset device list according to the first 5G message; Based on a preset user permission list, the industrial Internet devices that the user has permission to operate are obtained from all the industrial Internet devices.
4. The method according to claim 3, characterized in that: The first 5G message carries location information, and acquiring all industrial Internet devices located within a predetermined range of the user terminal from a preset device list according to the first 5G message specifically includes: Query the device list for all industrial Internet devices within the predetermined range of the location information.
5. The method according to claim 3, characterized in that: The obtaining of the industrial Internet devices that the user has permission to operate from all the industrial Internet devices based on the preset user permission list specifically includes: Obtaining the permission level of each operation corresponding to each industrial Internet device among all the industrial Internet devices; Obtaining the permission level of each operation corresponding to the user terminal in the user permission list; For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is greater than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the permission to operate the industrial Internet device; or, For each of the operations, determine in turn whether the permission level of the operation corresponding to the user terminal is less than or equal to the permission level of the operation corresponding to the industrial Internet device. If so, determine that the user has the authority to operate the industrial Internet device.
6. The method according to claim 5, characterized in that The operations include access, and / or switch, and / or control; the authority level includes access authority level, and / or switch authority level, and / or control authority level.
7. The method according to claim 6, characterized in that The permission levels in the user permission list also include special permission levels, and the special permission levels include special access permission levels for special devices, and / or special switch permission levels, and / or special control permission levels.
8. The method according to claim 1, characterized in that The second 5G message is one or more, each second 5G message corresponds to an industrial Internet device that the user has the authority to operate, and the second 5G message is displayed in the form of an icon.
9. The method according to claim 1, characterized in that: After forwarding the third 5G message to the UPF / edge computing server, the method further includes: Receive the operation result returned by the UPF / edge computing server, and send the operation result to the user terminal.
10. A device for operating an industrial Internet device, characterized in that: A 5G message transponder provided on a user plane function UPF / edge computing server, the device comprising: A first receiving module, used to receive a first 5G message sent by a user terminal; A device acquisition module, connected to the first receiving module, for acquiring, according to the first 5G message, an industrial Internet device that a user has the authority to operate and is located within a predetermined range of the user terminal; A first sending module, connected to the device acquisition module, is used to return a second 5G message to the user terminal, where the second 5G message includes the industrial Internet device with permission to operate and the operations that can be performed; A second receiving module, connected to the first sending module, is used to receive a third 5G message sent by the user terminal after the user selects a target industrial Internet device and a target operation from the industrial Internet devices with permission to operate and the operations that can be performed; The second sending module is connected to the second receiving module, and is used to forward the third 5G message to the UPF / edge computing server so that the UPF / edge computing server performs corresponding target operations on the target industrial Internet device.
11. A device for operating an industrial Internet device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to implement the method for operating an industrial Internet device as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for operating an industrial Internet device as described in any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Intelligent lock control method, device and system and storage medium
CN110535950A
Key configuration method and device of intelligent gateway and electronic equipment
CN110838973A
Contactless equipment control method and device
CN111970369A
Internet of Things equipment management method and related equipment
CN115314247A
Cosmetic container
KR102318969B1