CN116582317A - Control authority acquisition method and device, electronic equipment and storage medium - Google Patents

Control authority acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116582317A
CN116582317A CN202310518242.9A CN202310518242A CN116582317A CN 116582317 A CN116582317 A CN 116582317A CN 202310518242 A CN202310518242 A CN 202310518242A CN 116582317 A CN116582317 A CN 116582317A
Authority
CN
China
Prior art keywords
information
authority
control
user terminal
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202310518242.9A
Other languages
Chinese (zh)
Inventor
王盼科
支涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Yunji Intelligent Technology Co Ltd
Original Assignee
Henan Yunji Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Yunji Intelligent Technology Co Ltd filed Critical Henan Yunji Intelligent Technology Co Ltd
Priority to CN202310518242.9A priority Critical patent/CN116582317A/en
Publication of CN116582317A publication Critical patent/CN116582317A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a control authority acquisition method, a control authority acquisition device, electronic equipment and a storage medium, wherein the control authority acquisition method comprises the following steps: determining client identity information according to the authority acquisition request of the user terminal; determining a control level corresponding to the client identity information according to a preset authority information table; and transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level. The embodiment of the invention can realize the acquisition of the control rights of the equipment to be controlled of different user terminals, and can reduce the difficulty of acquiring the control rights of the service robot, thereby enhancing the use experience of users.

Description

Control authority acquisition method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of robotic applications, and in particular, to a control authority obtaining method, a control authority obtaining device, an electronic device, and a storage medium.
Background
In recent years, especially under the influence of epidemic situation, demand of unmanned distribution is continuously rising, and with the improvement of our living standard and the rapid development of scientific technology, the service robot has a remarkable role in life, and the service robot bears various works in the aspect of life. At present, a hotel scene is a scene that more service robots appear, the service robots in the hotel scene are often controlled by foreground personnel or special operation and maintenance personnel, hotel clients often cannot directly control the service robots, so that leakage risks exist in client shipping slips, and aiming at the problem, a control authority acquisition method of the service robots is needed at present, so that clients acquire control authorities of the service robots, and the clients control the service robots to execute services.
Disclosure of Invention
The invention provides a control authority acquisition method, a control authority acquisition device, electronic equipment and a storage medium, which are used for realizing acquisition of control authority of a service robot, reducing control difficulty of the service robot and enhancing use experience of a user.
According to an aspect of the present invention, there is provided a control right acquisition method, wherein the method includes: determining client identity information according to the authority acquisition request of the user terminal; determining a control level corresponding to the client identity information according to a preset authority information table; and transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level.
Optionally, determining the client identity information according to the rights acquisition request of the user terminal includes:
monitoring the permission acquisition request on a preset communication connection corresponding to the user terminal; and extracting a source network address from a source address field of the right acquisition request as the client identity information.
Optionally, determining the control level corresponding to the client identity information according to a preset authority information table includes: searching a room number corresponding to a source network address of the client identity information in the preset authority information table; and taking the preset room level of the room number as the control level.
Optionally, transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level includes: searching equipment information corresponding to the control level in a preset configuration file; determining the equipment to be controlled according to the working state in the equipment information; and updating the working state in the equipment information to work, transmitting the authority verification information in the equipment information of the equipment to be controlled, and transmitting the authority verification information to the user terminal.
Optionally, determining the device to be controlled according to the working state in the device information includes: extracting the working state of at least one corresponding device in the device information; and at least one device in the devices with idle working states is used as the device to be controlled.
Optionally, the preset communication connection includes at least one of: message queue telemetry transport protocol connection, hypertext transport protocol connection.
Optionally, the method provided by the embodiment of the invention further includes: receiving a device control instruction of the user terminal; and when the authority verification information in the equipment control instruction passes verification, forwarding the equipment control instruction to the equipment to be controlled.
According to another aspect of the present invention, there is provided a control right acquiring apparatus, wherein the apparatus includes:
the information determining module is used for determining the client identity information according to the authority acquisition request of the user terminal;
the level determining module is used for determining the corresponding control level of the client identity information according to a preset authority information table;
and the permission transmission module is used for transmitting permission verification information of at least one device to be controlled to the user terminal according to the control level.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the control right acquisition method according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute the control right acquisition method according to any one of the embodiments of the present invention.
According to the technical scheme, the client identity information is determined when the permission acquisition request of the user terminal is received, the control level corresponding to the client identity information is searched according to the preset permission information table, and the permission verification information of the equipment to be controlled according to the control level is issued to the user terminal, so that the user terminal can acquire the control permission of the equipment to be controlled, the control permission acquisition difficulty of the service robot can be reduced, and the use experience of a user is enhanced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a control right acquiring method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a control right acquiring method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of another control authority acquisition method according to the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a control right acquiring device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a control right acquiring method according to a first embodiment of the present invention, where the embodiment is applicable to a scenario of acquiring control rights of a service robot, the control right acquiring method according to the embodiment of the present invention may be implemented by a control right acquiring device in the form of hardware and/or software, where the device may be configured in a terminal device or a server, as shown in fig. 1, and the method includes:
step 110, determining the customer identity information according to the authority acquisition request of the user terminal.
The user terminal may be a terminal that requests to control the service device, in a hotel scenario, the user terminal may be a personal device used by a check-in guest, the permission acquisition request may be a communication request generated by the user terminal and used for acquiring control permission of the service device, the permission acquisition request may be determined by a pre-agreed communication format, the permission acquisition request may be generated by a client or a browser in the user terminal, and the client identity information may be information identifying the user identity and may include information such as a client number, a room number or a network address.
In the embodiment of the invention, the permission acquisition request transmitted by the user terminal can be received, and the client identity information can be determined by the information in the permission acquisition request, and it can be understood that the permission acquisition request transmitted by the user terminal can be packaged according to the appointed format, and the user identity information can be determined by the information on one or more fields in the appointed format.
And 120, determining a control level corresponding to the client identity information according to a preset authority information table.
The preset authority information table may include client identity information and a control level, the client identity information in the preset authority information table may be stored in association with the control level, different control levels may represent the types, operation areas, operation time and other control authority levels of the service device controlled by the client identity information, for example, the higher the client identity information is in a room, the higher the control level in the preset authority information table is, and the higher the control authority of the client on the service device may be. The control level may be a permission level reflecting the client control service device, and the control level may be identified in the form of a number, a symbol, or a special symbol.
In the embodiment of the invention, a preset authority information table can be preconfigured, the preset authority information table can be configured by operation and maintenance personnel according to service requirements, when a user terminal requests to control service equipment, the preset authority information table can be added, and the control level which is stored in association with the client identity information is searched in the preset authority information table according to the client identity information acquired in the previous step, and the control level can be used for acquiring one or more service equipment.
And 130, transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level.
In some embodiments of the present invention, the device to be controlled may be a service device controlled by a user terminal, and in some embodiments of the present invention, the device to be controlled may be a service robot, an intelligent television, an intelligent sound box, an intelligent door lock, etc., the authority verification information may be verification information of the user terminal controlling the device to be controlled, the authority verification information may be information such as a password or a verification code, etc., and different devices to be controlled may have different authority verification information.
In the embodiment of the invention, one or more service devices can be selected as devices to be controlled according to the control level, the authority verification information of each device to be controlled can be obtained, and the authority verification information is issued to the user terminal. The service device may be divided into multiple control levels according to information such as a device brand, a type, a service area, etc., and may acquire the service device under the control level corresponding to the user identity information, may connect to the service device to acquire the permission verification information, and then forward the permission verification information to the user terminal. It can be appreciated that the authority verification information may have a valid time, and the user terminal may control the device to be controlled through the authority verification information within the valid time of each authority verification information.
According to the embodiment of the invention, the client identity information is determined when the permission acquisition request of the user terminal is received, the control level corresponding to the client identity information is searched according to the preset permission information table, and the permission verification information of the equipment to be controlled according to the control level is issued to the user terminal, so that the user terminal can acquire the control permission of the equipment to be controlled, the control permission acquisition difficulty of the service equipment can be reduced, and the use experience of a user is enhanced.
Example two
Fig. 2 is a flowchart of a control authority obtaining method according to a second embodiment of the present invention, where the embodiment of the present invention is embodied on the basis of the foregoing embodiment of the present invention, and referring to fig. 2, the method provided by the embodiment of the present invention specifically includes the following steps:
step 210, monitoring a permission acquisition request on a preset communication connection corresponding to the user terminal.
The preset communication connection may be a communication connection pre-established between the local device and the user terminal, and the communication connection may be implemented by calling a protocol stack communication protocol.
In the embodiment of the invention, the preset communication connection can be pre-established with the user terminal, the user terminal can be monitored in the preset communication connection, and whether the transmission permission acquisition request exists in the preset communication connection or not is determined.
Further, on the basis of the above embodiment of the present invention, the preset communication connection includes at least one of the following: message queue telemetry transport protocol connection, hypertext transport protocol connection.
In the embodiment of the invention, the server or the server cluster can pre-establish at least one of message queue telemetry transmission protocol connection and hypertext transmission protocol connection with the user terminal, thereby realizing the transfer of the message between the user terminal and the server or the server cluster.
Step 220, extracting the source address field of the rights acquisition request extracts the source network address as the client identity information.
The source address field may be a resource storing a source network address in the rights acquisition request, where the source network address may be a network address of a user terminal sending the rights acquisition request, and it may be understood that the source address field may be located in different bits in the rights acquisition request according to different protocols for generating the rights acquisition request.
Specifically, the rights acquisition request may be parsed to extract a source network address in a source address field, which may be used as customer identity information.
Step 230, searching the room number corresponding to the source network address of the client identity information in the preset authority information table.
The preset authority information table can manage network addresses of different rooms, the network addresses in the preset authority information table can be stored in association with room numbers, and different rooms can be allocated with different network addresses.
In the embodiment of the invention, the room number corresponding to the source network address can be searched in the preset authority information table, and it can be understood that the room number and the source network address can be used together as a record in the preset authority information table, and the room number and the source network address have the same main key.
Step 240, taking the preset room level of the room number as a control level.
In the embodiment of the present invention, each room number may have a respective preset room level, and the corresponding preset room level may be determined by the room number found in the above step, where the preset room level may be configured in the preset authority information table as well, or the preset room level and the room number may be configured in other configuration files.
Step 250, transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level.
In the embodiment of the invention, the service equipment can be selected as the equipment to be controlled according to the control level, the authority verification information of the equipment to be controlled can be extracted, and the authority verification information is issued to the user terminal.
According to the embodiment of the invention, the authority acquisition request is monitored in the preset communication connection of the user terminal, the source network address of the source address field of the authority acquisition request is extracted as the client identity information, the room number is searched in the preset authority information table according to the client identity information, the preset room grade of the room number is used as the control grade, the authority verification information corresponding to the equipment to be controlled is issued to the user terminal according to the control grade, the control authority issuing of the equipment to be controlled is realized, the difficulty of the user terminal in acquiring the control authority of the service equipment can be reduced, the utilization efficiency of the service equipment can be improved, and the user experience is enhanced.
Example III
Fig. 3 is a flowchart of another control authority obtaining method according to a third embodiment of the present invention, where the embodiment of the present invention is embodied on the basis of the above embodiment of the present invention, and referring to fig. 3, the method provided by the embodiment of the present invention specifically includes the following steps:
step 310, determining the client identity information according to the authority acquisition request of the user terminal.
Step 320, determining a control level corresponding to the client identity information according to the preset authority information table.
Step 330, searching the device information corresponding to the control level in the preset configuration file.
The preset configuration file may be used for managing device information, the device information stored in the preset configuration file may be divided into multiple classes according to different control levels, and each class of device information may correspond to the same control level.
In the embodiment of the present invention, after the control level corresponding to the client identity information is obtained, one or more pieces of device information may be searched in a preset configuration file according to the control level, where the device information may be device information of a service device that may be controlled by the user, and it may be understood that the one or more pieces of device information may include basic information of the service device, such as an introduction of information such as a working state, a service area, a service function, and the like.
And 340, determining the equipment to be controlled according to the working state in the equipment information.
The working state may be an identifier reflecting the current working state of the service device, where the working state may include idle or in-working, and the working state may be represented by different identifier information, for example, setting the working state to 1 indicates that the corresponding service device is in working, setting the working state to 0 indicates that the corresponding service device is idle.
In the embodiment of the invention, the working state can be extracted from the acquired one or more pieces of equipment information, the corresponding service equipment can be selected as the equipment to be controlled according to different working states, in some embodiments, the service equipment which is about to finish working can be selected as the equipment to be controlled, or the idle service equipment can be selected as the equipment to be controlled.
And 350, updating the working state in the equipment information to work, transmitting the authority verification information in the equipment information of the equipment to be controlled, and transmitting the authority verification information to the user terminal.
In the embodiment of the invention, after the service equipment is selected as the equipment to be controlled, the working state of the equipment to be controlled can be updated into work, the authority verification information in the equipment information of the equipment to be controlled is extracted, and the authority verification information can be issued to the user terminal, so that the user terminal controls the equipment to be controlled through the authority verification information.
Step 360, receiving a device control instruction of the user terminal.
The device control instruction may be an instruction for controlling the device to be controlled, where the device control instruction at least includes operation control information and a function implementation position.
Specifically, the user terminal may generate the device control instruction according to the client requirement and send the device control instruction, and the server or the server cluster executing the method of the embodiment of the present invention may monitor the user terminal to obtain the device control instruction.
And 370, forwarding the device control instruction to the device to be controlled when the authority verification information in the device control instruction passes verification.
Specifically, the authority verification information in the device control instruction can be extracted, the authority verification information piece is verified, when the authority verification information passes the verification, the device control instruction can be transmitted to the device to be controlled, and the service function corresponding to the device control instruction is realized by the device to be controlled.
According to the embodiment of the invention, the client identity information is determined through the permission acquisition request transmitted by the user terminal, the control level corresponding to the client identity information is searched in the preset permission information table, the equipment information of the control level is searched in the preset configuration file, the working state in the equipment information is extracted, one or more equipment to be controlled is determined according to each extracted working state, the working state of the equipment to be controlled is updated to work, the permission verification information is transmitted to the user terminal, the equipment control instruction of the user terminal is received, the equipment control instruction is forwarded to the equipment to be controlled after the permission verification information of the equipment control instruction passes verification, the control permission of the equipment to be controlled is issued, the difficulty in acquiring the control permission of the service equipment by the user terminal can be reduced, the utilization efficiency of the service equipment can be improved, and the use experience of the user is enhanced.
Further, on the basis of the embodiment of the present invention, determining the device to be controlled according to the working state in the device information includes:
extracting the working state of at least one corresponding device in the device information; and at least one device in the devices with idle working states is used as the device to be controlled.
In the embodiment of the invention, the working states are extracted from the acquired device information, the working states in different device information can correspond to different devices, the working states of the different devices can be judged, and when the working states are determined to be idle, the device corresponding to the working states can be used as the device to be controlled.
Example IV
Fig. 4 is a schematic structural diagram of a control right acquiring device according to a fourth embodiment of the present invention. As shown in fig. 4, the apparatus includes: an information determination module 401, a level determination module 402, and a rights transmission module 403.
The information determining module 401 is configured to determine the client identity information according to the rights acquisition request of the user terminal.
The level determining module 402 is configured to determine, according to a preset authority information table, a control level corresponding to the client identity information.
And the permission transmission module 403 is configured to transmit permission verification information of at least one device to be controlled to the user terminal according to the control level.
According to the embodiment of the invention, the information determining module determines the client identity information when receiving the permission acquisition request of the user terminal, the level determining module searches the control level corresponding to the client identity information according to the preset permission information table, and the permission transmitting module transmits the permission verification information of the equipment to be controlled according to the control level to the user terminal, so that the user terminal can acquire the control permission of the equipment to be controlled, the control permission acquisition difficulty of the service robot can be reduced, and the use experience of a user is enhanced.
Further, on the basis of the above embodiment of the present invention, the information determining module 401 includes:
and the request monitoring unit is used for monitoring the permission acquisition request on the preset communication connection corresponding to the user terminal.
And the identity extraction unit is used for extracting a source network address from a source address field of the permission acquisition request as the client identity information.
Further, on the basis of the above embodiment of the present invention, the level determining module 402 includes:
and the room number unit is used for searching the source address field of the client identity information in the preset authority information table to determine the room number.
And the level determining unit is used for taking the preset room level of the room number as the control level.
Further, on the basis of the above embodiment of the present invention, the rights transmission module 403 includes:
and the device searching unit is used for searching the device information corresponding to the control level in a preset configuration file.
And the equipment unit to be controlled is used for determining the equipment to be controlled according to the working state in the equipment information.
And the permission issuing unit is used for updating the working state in the equipment information to work, transmitting the permission verification information in the equipment information of the equipment to be controlled and transmitting the permission verification information to the user terminal.
Further, on the basis of the above embodiment of the present invention, the device unit to be controlled is specifically configured to: extracting the working state of at least one corresponding device in the device information; and at least one device in the devices with idle working states is used as the device to be controlled.
Further, on the basis of the above embodiment of the present invention, the apparatus further includes: the device control module is used for receiving a device control instruction of the user terminal; and when the authority verification information in the equipment control instruction passes verification, forwarding the equipment control instruction to the equipment to be controlled.
Further, on the basis of the above embodiment of the present invention, the preset communication connection in the device includes at least one of the following: message queue telemetry transport protocol connection, hypertext transport protocol connection.
The control right acquiring device provided by the embodiment of the invention can execute the control right acquiring method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the respective methods and processes described above, for example, the control right acquisition method.
In some embodiments, the scheduling method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the scheduling method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the control rights acquisition method in any other suitable way (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
Example six
A sixth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a control right acquisition method, the method comprising:
determining client identity information according to the authority acquisition request of the user terminal;
determining a control level corresponding to the client identity information according to a preset authority information table;
and transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform the related operations in the control right acquisition method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the operation state monitoring device, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding function can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A control authority acquisition method, characterized in that the method comprises:
determining client identity information according to the authority acquisition request of the user terminal;
determining a control level corresponding to the client identity information according to a preset authority information table;
and transmitting authority verification information of at least one device to be controlled to the user terminal according to the control level.
2. The method of claim 1, wherein determining the client identity information based on the rights acquisition request of the user terminal comprises:
monitoring the permission acquisition request on a preset communication connection corresponding to the user terminal;
and extracting a source network address from a source address field of the right acquisition request as the client identity information.
3. The method of claim 1, wherein determining the corresponding control level of the client identity information according to a preset authority information table comprises:
searching a room number corresponding to a source network address of the client identity information in the preset authority information table;
and taking the preset room level of the room number as the control level.
4. The method according to claim 1, wherein said transmitting rights verification information of at least one device to be controlled to said user terminal according to said control level comprises:
searching equipment information corresponding to the control level in a preset configuration file;
determining the equipment to be controlled according to the working state in the equipment information;
and updating the working state in the equipment information to work, transmitting the authority verification information in the equipment information of the equipment to be controlled, and transmitting the authority verification information to the user terminal.
5. The method of claim 4, wherein the determining the device to be controlled according to the operating state in the device information comprises:
extracting the working state of at least one corresponding device in the device information;
and at least one device in the devices with idle working states is used as the device to be controlled.
6. The method as recited in claim 1, further comprising:
receiving a device control instruction of the user terminal;
and when the authority verification information in the equipment control instruction passes verification, forwarding the equipment control instruction to the equipment to be controlled.
7. The method of claim 2, wherein the preset communication connection comprises at least one of: message queue telemetry transport protocol connection, hypertext transport protocol connection.
8. A control right acquisition device, characterized in that the device comprises:
the information determining module is used for determining the client identity information according to the authority acquisition request of the user terminal;
the level determining module is used for determining the corresponding control level of the client identity information according to a preset authority information table;
and the permission transmission module is used for transmitting permission verification information of at least one device to be controlled to the user terminal according to the control level.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the control right acquisition method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the control right acquisition method of any one of claims 1 to 7 when executed.
CN202310518242.9A 2023-05-08 2023-05-08 Control authority acquisition method and device, electronic equipment and storage medium Withdrawn CN116582317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310518242.9A CN116582317A (en) 2023-05-08 2023-05-08 Control authority acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310518242.9A CN116582317A (en) 2023-05-08 2023-05-08 Control authority acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116582317A true CN116582317A (en) 2023-08-11

Family

ID=87535228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310518242.9A Withdrawn CN116582317A (en) 2023-05-08 2023-05-08 Control authority acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116582317A (en)

Similar Documents

Publication Publication Date Title
CN114697391B (en) Data processing method, device, equipment and storage medium
CN114691780A (en) Data synchronization method and device, electronic equipment and storage medium
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN116582317A (en) Control authority acquisition method and device, electronic equipment and storage medium
CN116015816A (en) Access management method, device, equipment and storage medium of heterogeneous equipment of Internet of things platform
CN115550413A (en) Data calling method and device, service gateway and storage medium
CN114401121A (en) Application program login method and device, electronic equipment and readable storage medium
CN112968876A (en) Content sharing method and device, electronic equipment and storage medium
CN116432169B (en) Automatic task permission control method, system and equipment based on sharing strategy
CN111741097B (en) Method for tenant to monopolize node, computer equipment and storage medium
CN116566737B (en) Permission configuration method and device based on SaaS platform and related equipment
CN115525415B (en) Data processing method, device, equipment and medium
CN117077199A (en) File access control method, device, equipment and medium
CN117336072A (en) Multi-fort machine access system, method, equipment and storage medium
CN113824645A (en) Data transmission method, device, equipment and storage medium
CN116015770A (en) Communication method, communication system, communication device and electronic equipment for server
CN114416040A (en) Page construction method, device, equipment and storage medium
CN117998038A (en) Method and device for managing network video recorder, electronic equipment and storage medium
CN116627469A (en) Method, device, equipment and medium for generating unique identifier of Android equipment
CN117009363A (en) Service data docking method and device, electronic equipment and storage medium
CN114996243A (en) Database operation method and device, electronic equipment and storage medium
CN115408357A (en) File record processing method, device, equipment and medium
CN115203876A (en) Red and black image updating method, device, equipment and medium
CN116170188A (en) Network access control method, device, electronic equipment and storage medium
CN117668114A (en) Data synchronization method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20230811

WW01 Invention patent application withdrawn after publication