CN113038199B - Authority changing method, device, computer equipment and computer readable storage medium - Google Patents

Authority changing method, device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN113038199B
CN113038199B CN201911345636.9A CN201911345636A CN113038199B CN 113038199 B CN113038199 B CN 113038199B CN 201911345636 A CN201911345636 A CN 201911345636A CN 113038199 B CN113038199 B CN 113038199B
Authority
CN
China
Prior art keywords
terminal
control authority
control
authority level
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911345636.9A
Other languages
Chinese (zh)
Other versions
CN113038199A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911345636.9A priority Critical patent/CN113038199B/en
Publication of CN113038199A publication Critical patent/CN113038199A/en
Application granted granted Critical
Publication of CN113038199B publication Critical patent/CN113038199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor

Abstract

The embodiment of the application discloses a permission changing method, a permission changing device, computer equipment and a computer readable storage medium; when a plurality of terminals have the control right of the intelligent playing equipment, receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing equipment; acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing device according to the playing control instruction; when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal; receiving a control authority change instruction sent by the first terminal based on the notification information; sending a control authority application request to a second terminal with the highest control authority level based on the control authority changing instruction; and changing the control authority level of the first terminal into a target control authority level according to request passing information returned by the second terminal based on the control authority application request. The scheme can improve the accuracy of controlling the intelligent playing equipment.

Description

Authority changing method, device, computer equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for changing permissions, a computer device, and a computer-readable storage medium.
Background
With the development of communication technology, the remote control of the television can be realized by using a mobile phone in addition to a television remote controller.
In the research and practice process of the related art, the inventor of the present application finds that there are generally two methods for controlling a television by using a mobile phone, one method is to allow only one mobile phone to remotely control the television, in this case, if the mobile phone does not have the control right of the television for a long time, even if a holder of the mobile phone does not already have the right to release even if the holder of the mobile phone does not watch the television, so that other people cannot operate, and the other method is to allow a plurality of mobile phones to simultaneously control the television, but in this control manner, the statuses of a plurality of holders of the mobile phones are equal, and when the television receives a plurality of control commands at the same time or in a short time, the statuses of a plurality of holders of the mobile phones are not good for the television to accurately execute the control commands.
Disclosure of Invention
The embodiment of the application provides a permission changing method and device, computer equipment and a computer readable storage medium, and when a plurality of control terminals of intelligent playing equipment are provided, the method and device are beneficial to accurate control of the intelligent playing equipment.
The embodiment of the application provides a permission changing method, which comprises the following steps:
when a plurality of terminals have the control right of intelligent playing equipment, receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing equipment, wherein the plurality of terminals comprise the first terminal and a second terminal;
acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing equipment according to the playing control instruction;
when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal;
receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level;
sending a control authority application request to the second terminal with the highest control authority level based on the control authority changing instruction;
and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
Correspondingly, an embodiment of the present application provides an authority changing apparatus, including:
the terminal comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing device when a plurality of terminals have the control right of the intelligent playing device;
the first acquisition unit is used for acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by the intelligent playing device according to the playing control instruction;
a first sending unit, configured to send notification information of control failure to the first terminal when the current control permission level is lower than the predetermined control permission level;
a second receiving unit, configured to receive a control authority change instruction sent by the first terminal based on the notification information, where the control authority change instruction indicates a target control authority level that the first terminal needs to have, and the target control authority level is not lower than the predetermined control authority level;
a second sending unit, configured to send a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction;
and the first changing unit is used for changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
In one embodiment, the right changing apparatus may further include:
a third receiving unit configured to receive an opponent instruction setting request including a time interval at which the opponent instruction is executed;
the setting unit is used for setting the type of a preset control instruction as the type of the opposition instruction according to the opposition instruction setting request;
a fourth receiving unit, configured to receive multiple control instructions sent by a terminal of the multiple terminals;
and the execution unit is used for executing the at least two control instructions according to the receiving moments of the at least two control instructions and the time interval when the types of the at least two control instructions in the plurality of control instructions are the opposite instruction type.
In one embodiment, the first changing unit includes:
a first changing subunit, configured to change the control permission level of the first terminal to the target control permission level if request passing information returned by the second terminal based on the control permission application request is received within a preset time period;
and the second changing subunit is configured to change the control permission level of the first terminal to the target control permission level if the request passing information and the request failing information returned by the second terminal based on the control permission application request are not received within a preset time period.
In one embodiment, the right changing apparatus may further include:
a fifth receiving unit, configured to receive a control permission level transfer instruction sent by the second terminal, where the control permission level transfer instruction includes an identifier of a target terminal;
a first determining unit, configured to determine a target terminal from the multiple terminals according to the identifier;
and the second changing unit is used for changing the control authority level of the target terminal from the corresponding current control authority level to the highest control authority level based on the control authority level transfer instruction, and disconnecting the control connection between the second terminal and the intelligent playing device.
In one embodiment, the second changing unit further includes:
a third changing unit, configured to change the highest control authority level of the target terminal to the current control authority level when it is detected that the second terminal establishes a control connection with the smart playing device;
and the fourth changing unit is used for changing the control authority level of the second terminal into the highest control authority level based on the control connection established between the second terminal and the intelligent playing device.
In one embodiment, the right changing apparatus further includes:
the second obtaining unit is used for obtaining the current control authority levels corresponding to other terminals in the plurality of terminals when the second terminal is detected to be disconnected from the control connection of the intelligent playing device;
a second determining unit, configured to determine, based on the current control permission level, a terminal to be transferred from the other terminals, where the current control permission level of the terminal to be transferred is a highest level of current control permission levels corresponding to the other terminals;
and the fifth changing unit is used for changing the control authority level of the terminal to be transferred to the highest control authority level.
In an embodiment, the second determining unit includes:
the first determining subunit is configured to determine the highest control permission level in the current control permission levels corresponding to the other terminals;
the obtaining subunit is configured to, if there are multiple highest control permission levels, obtain a control connection duration of the terminal corresponding to the highest control permission level to the smart playing device;
and the second determining subunit is used for determining the terminal corresponding to the longest time length in the control connection time lengths as the terminal to be transferred.
Correspondingly, the embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps in the permission changing method provided in any of the embodiments of the present application.
Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute steps in any of the permission changing methods provided in the embodiments of the present application.
The method and the device for controlling the intelligent playing device can receive a control instruction which is sent by a first terminal and used for controlling the intelligent playing device when a plurality of terminals have the control right of the intelligent playing device, wherein the plurality of terminals comprise the first terminal and a second terminal; acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing equipment according to the playing control instruction; when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal; receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level; sending a control authority application request to the second terminal with the highest control authority level based on the control authority changing instruction; and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request. According to the scheme, the control authority is transferred in a control authority distribution mode, the control authority levels of the terminals are changed into the corresponding control authority levels according to requirements, the control core right is maintained, the arbitration when the terminals have instruction divergence can be effectively processed, ordered control of the intelligent playing equipment is finally achieved, and the accuracy of control over the intelligent playing equipment can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a permission changing method provided in an embodiment of the present application;
FIG. 2 is a flowchart of a method for changing permissions according to an embodiment of the present application;
fig. 3 is a schematic control environment diagram of a permission changing method according to an embodiment of the present application;
FIG. 4 is a block chain system according to an embodiment of the present disclosure;
FIG. 5 is another flowchart of a method for changing permissions according to an embodiment of the present application;
fig. 6 is a device diagram of a method for changing permissions according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a permission changing method, a permission changing device, computer equipment and a computer readable storage medium. Specifically, the embodiment of the present application provides an authority changing apparatus suitable for a computer device, where the computer device may be an intelligent playback device control device, and the computer device has a function of controlling the intelligent playback device, and optionally, the intelligent playback device control device may include a television box, a terminal, and the like, where the terminal may include: including cell phones, tablet computers, notebook computers, Personal Computers (PCs), and the like.
Referring to fig. 1, the smart playing device controlling the smart playing device may receive a control instruction sent by a first terminal for controlling the smart playing device when a plurality of terminals have the control right of the smart playing device, where the plurality of terminals include the first terminal and a second terminal; acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing device according to the playing control instruction; when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal; receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level; sending a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction; and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
As can be seen from the above, in this embodiment, the control right is released in a manner of controlling right distribution, the control right levels of the terminals are changed to the corresponding control right levels according to the requirements, and meanwhile, the right of the control core is also maintained, so that the arbitration when the plurality of terminals have instruction divergence can be effectively handled, the orderly control of the intelligent playing device is finally realized, and the accuracy of controlling the intelligent playing device is improved.
The following are detailed below, and it should be noted that the order of description of the following examples is not intended to limit the preferred order of the examples.
The embodiments of the present application will be described from the perspective of a rights changing device, which may be specifically integrated in a smart player control device.
An embodiment of the present application provides a method for changing a right, where the method may be executed by a processor of a control device of an intelligent playback device, and as shown in fig. 2, a specific process of the method for changing a right may be as follows:
101. when a plurality of terminals have the control right of the intelligent playing device, receiving a control instruction sent by a first terminal and used for controlling the intelligent playing device, wherein the plurality of terminals comprise the first terminal and a second terminal.
The smart playing device is a device with playing and other functions, such as a smart television, and the control authority is an authority for controlling the smart playing device.
The control instruction is an instruction for controlling the smart playing device by the terminal, and may be an instruction sent by the first terminal to the smart playing device control device for controlling the smart playing device, and is mainly used for obtaining response information returned by the smart playing device based on the playing control instruction, and further performing playing control on the smart playing device.
For example, as shown in fig. 3, taking a smart tv as an example of a smart playing device, when a smart tv has established connections with multiple terminals, the control authority level of each terminal for controlling the smart tv may be different.
For example, the control authority level of the terminal 10 may be the lowest control authority level, and the terminal 10 may only be capable of maintaining connection with the smart television, but does not know the current state of the smart television, such as the current playing content, the playing progress, the volume and other system setting conditions, and may not control to operate the smart television, such as adjusting the volume of the video currently played by the smart television, selecting the video playing category, and the like.
For example, the authority possessed by the terminal 20 may be higher than the authority possessed by the terminal 10 by one level, for example, the terminal 20 may not only be connected with the smart tv, but also receive information of the smart tv, and may also understand that the current state of the smart tv can be known, but an instruction cannot be sent to the smart tv, that is, the smart tv cannot be controlled, that is, the smart tv cannot be remotely controlled in a normal way.
For example, the authority of the terminal 30 may be higher than the authority of the terminal 20, for example, the terminal 30 may not only maintain connection with the smart tv and receive smart tv information, but also send an instruction to the smart tv to control the smart tv.
For another example, the control authority level of the terminal 40 may be the highest control authority level, for example, in addition to maintaining connection with the smart tv, receiving information of the smart tv, and sending instructions to the smart tv to control the smart tv, the control authority levels of the terminal 10, the terminal 20, and the terminal 30 that establish control connection with the smart tv may be managed, and some instructions may be set up, etc.
102. And acquiring the current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing equipment according to the playing control instruction.
The preset control authority level may be any one of a plurality of different control authority levels, as long as the control authority level can ensure that the first terminal can control the smart playing device, for example, as long as the changed preset control authority level can send an instruction to the smart playing device, the smart television can be controlled to operate and have the authority.
And acquiring the current control authority level of the first terminal to judge whether the first terminal can control the intelligent playing device, and applying for control authority level change if the intelligent playing device cannot be controlled.
103. And when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal.
The control failure may refer to that the current control permission level is not enough to send an instruction to the smart playing device to control the playing operation of the smart playing device, and the like, at this time, the current control permission level may possibly keep the connection between the terminal corresponding to the current control permission level and the smart playing device and receive information of the smart playing device, and may also keep the connection between the terminal corresponding to the current control permission level and the smart playing device but may not receive information of the smart playing device.
For example, when the control authority level of the first terminal reaches the control authority level that can control the smart play device, the notification information that the control of the smart play device has failed is not received.
104. And receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level.
The permission changing instruction is used for applying permission change, and the control permission level of the first terminal is changed into a preset control permission level.
Optionally, the target control permission level may be a predetermined control permission level, or may be the highest control permission level, that is, the control permission level that can control the smart playing device.
105. And sending a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction.
The second terminal is a terminal with a control authority level of a second preset control authority level, the second terminal can be set according to a user identifier, for example, the second terminal is set through a WeChat account number and a QQ account number, the setting of the second terminal can be determined at the intelligent playing device end, for example, the setting can be set in a complex mode so as to avoid random change, and the control authority level of the second terminal can be used for keeping connection with the intelligent playing device, sending an instruction to the intelligent playing device to control the intelligent television, managing authority levels of a plurality of terminals with connection relation with the intelligent playing device, and the like.
It can be understood that, a plurality of terminals connected to the smart playing device may all apply for the second predetermined control authority level, and may also change the control authority level to the second predetermined control authority level, but the second terminal is set by the smart playing device and is not generally changed by the application, and the first terminal and the second terminal are both two terminals of the plurality of terminals having the control authority of the smart playing device.
106. And changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
Wherein, the received request indicates that the second terminal agrees to change the control authority level of the first terminal into the preset control authority level through the information, and the target control authority level can be the preset control authority level or the highest control authority level
In an embodiment, the control authority level of the first terminal may be changed according to request passing information returned by the second terminal based on the control authority application request.
Specifically, the step of "changing the control authority level of the first terminal to the predetermined control authority level according to the request passing information returned by the second terminal based on the control authority application request" may include:
if request passing information returned by the second terminal based on the control authority application request is received in a preset time period, the control authority level of the first terminal is changed into the target control authority level;
and if the request passing information and the request failing information returned by the second terminal based on the control authority application request are not received within a preset time period, changing the control authority level of the first terminal into the target control authority level.
The request passing information may be received within a preset time period, the request failing information may be received, the request passing information and the request failing information may not be received, changing the control authority level of the first terminal to a target control authority level when the request pass information is received, when the request fail information is received, the control authority level of the first terminal is not changed, when the request passing information and the request failing information are not received within the preset time period, the control authority level of the first terminal can be changed into the target control authority level, this is to avoid that when the second terminal is absent and other terminals control the connected smart player device to perform a control operation on the smart player device, the control authority level of the first terminal is changed to the target control authority level by defaulting the second terminal to agree with the preset time period.
Wherein the request failed information refers to information returned by the second terminal refusing to change the control authority level of the first terminal to a predetermined control authority level.
The target control authority level is generally higher than the control authority level before the control authority level of the first terminal is not changed.
In an embodiment, the instruction type of any two instructions may also be set as an opponent instruction type, where an opponent instruction refers to two mutually contradictory or conflicting instructions within a certain time interval.
Specifically, the step of setting the opposition instruction may include:
receiving an opponent instruction setting request, wherein the opponent instruction setting request comprises a time interval for executing the opponent instruction;
setting the type of a preset control instruction as an opponent instruction type according to the opponent instruction setting request;
receiving a plurality of control instructions sent by terminals in the plurality of terminals;
and when the types of at least two control instructions in the plurality of control instructions are the opposite instruction type, executing the at least two control instructions according to the receiving moments of the at least two control instructions and the time interval.
It can be understood that the opposition instruction may generally be an instruction for performing control operation on the same attribute, for example, an instruction corresponding to volume size adjustment of the smart playing device, and the like, and of course, two instructions may also be configured as a conflict instruction, that is, a single instruction may be set as the opposition instruction itself, for example, adjustment of the progress bar, and an instruction for setting the playing progress, where at a certain time interval, for example, 5 seconds, only one playing progress may be adjusted within the time interval, and if the playing progress needs to be adjusted for the second time, the adjustment may be performed again after 5 seconds. The setting of the opposition instruction can meet the requirement of avoiding messy control operation within a certain independent instruction interval, and can optimize control operation and viewing experience.
In an embodiment, before the second terminal disconnects from the smart playing device, the second terminal may determine a target terminal from a plurality of terminals having control authority of the smart playing device, change the control authority level of the terminal, and change the control authority level of the terminal into the control authority level of the second terminal, and the specific steps may include:
receiving a control authority level transfer instruction sent by the second terminal, wherein the control authority level transfer instruction comprises an identifier of a target terminal;
determining a target terminal from the plurality of terminals according to the identification;
and changing the control authority level of the target terminal from the corresponding current control authority level to the highest control authority level based on the control authority level transfer instruction, and disconnecting the control connection between the second terminal and the intelligent playing device.
The control authority level of the target terminal can be changed from the corresponding current control authority level to the highest control authority level, the control authority level of the target terminal can be changed from the current control authority level to other control authority levels, and the target terminal can be any terminal which has a connection relation with the intelligent playing device.
Optionally, when the second terminal and the smart playing device are disconnected and then control connection is established, the control permission level of the first terminal is changed, and the control permission level of the second terminal in control connection with the smart playing device is the highest control permission level, specifically, when the second terminal is established control connection with the smart playing device again, the control permission levels of the first terminal and the second terminal are changed, and the steps may include:
when the second terminal is detected to establish control connection with the intelligent playing device, the highest control authority level of the target terminal is changed into the current control authority level;
and changing the control authority level of the second terminal into the highest control authority level based on the control connection established between the second terminal and the intelligent playing device.
Optionally, the current control authority level is a control authority level before the target terminal changes the control authority level into the highest control authority level.
In an embodiment, before the second terminal disconnects the control connection with the smart playing device, if one terminal is not selected from the plurality of terminals connected with the smart playing device to change the control authority level of the terminal to the highest control authority level, the control authority level of any one terminal may be changed to the second predetermined control authority level without passing through the second terminal, and specifically, the method may include:
when the second terminal is detected to be disconnected from the control connection of the intelligent playing device, acquiring the current control authority level corresponding to other terminals in the plurality of terminals;
determining a terminal to be transferred from the other terminals based on the current control authority level, wherein the current control authority level of the terminal to be transferred is the highest level in the current control authority levels corresponding to the other terminals;
and changing the control authority level of the terminal to be transferred into the highest control authority level.
It can be understood that when the second terminal with the control authority level of the second predetermined control authority level is disconnected from the smart playing device, if the second terminal does not extract one terminal from the plurality of terminals connected to the smart playing device to change the control authority level of the terminal to the highest control authority level, the current control authority levels corresponding to the remaining plurality of terminals are obtained, and then the terminal with the highest control authority level is extracted from the plurality of terminals in the obtained plurality of control authority levels to change the control authority level of the terminal to the highest control authority level.
The "highest control authority level" mentioned above means not the highest control authority level, but the highest control authority level among a plurality of terminals connected to the smart player device, which is obtained by comparing several control authority levels existing in the plurality of terminals.
Optionally, if more than one terminal corresponding to the highest control authority level in the remaining terminals is available, the terminal to be transferred may be determined according to a duration of connection of the intelligent playing device in the terminals, where the terminal with the longest duration may be determined as the terminal to be transferred, and the specific steps may include:
determining the highest control authority level in the current control authority levels corresponding to the other terminals;
if the highest control authority level is multiple, acquiring the control connection duration of the terminal corresponding to the highest control authority level to the intelligent playing device;
and determining the terminal corresponding to the longest time length in the control connection time lengths as the terminal to be transferred.
In one embodiment, the control authority level information of the first terminal may be stored to the blockchain, to facilitate subsequent retrieval and storage of information, as shown in fig. 4, the server may be a node in a distributed system, wherein, the distributed system can be a blockchain system, the blockchain system can be a distributed system formed by connecting a plurality of nodes in a network communication mode, Peer-To-Peer (P2P, Peer To Peer) networks can be formed among the nodes, any type of computer equipment, such as servers, terminals and other electronic equipment can become one node in the blockchain system by joining the Peer-To-Peer network, the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
As can be seen from the above, in this embodiment, the control right is released in a manner of controlling right distribution, the control right levels of the terminals are changed to the corresponding control right levels according to the requirements, and meanwhile, the right of the control core is also maintained, so that the arbitration when the plurality of terminals have instruction divergence can be effectively handled, the orderly control of the intelligent playing device is finally realized, and the accuracy of controlling the intelligent playing device is improved.
The embodiments of the present application will be described from the perspective of a rights changing device, which may be specifically integrated in a smart player control device.
As shown in fig. 5, a specific flow of the method for changing the authority may be as follows:
201. when a plurality of terminals have the control right of the intelligent playing device, the intelligent playing device control device receives a control instruction which is sent by a first terminal and used for controlling the intelligent playing device, wherein the plurality of terminals comprise the first terminal and a second terminal.
The intelligent playing device control device is a device for controlling and connecting the terminal and the intelligent playing device, has the function of controlling the intelligent playing device, and can receive the control instruction and the control authority change instruction, change the control authority according to the control authority change instruction and change the control authority grades of a plurality of corresponding terminals.
For example, the control instruction may include a play control instruction for performing a play control operation on the smart play device, where, when the plurality of terminals establish a control connection with the smart play device, the first terminal may send the play control instruction to the smart play device control device in order to perform play control on the smart play device, and the first terminal may further apply for changing its own control authority level as needed.
202. According to the playing control instruction, the intelligent playing device control device obtains the current control authority level corresponding to the first terminal and the preset control authority level required by controlling the intelligent playing device.
For example, among a plurality of terminals in control connection with the smart playing device, there may be terminals with different control authority levels, and the control authority of some terminals may not be enough for the corresponding terminals to control the smart playing device, so that the current control authority level of the first terminal that needs to control the smart playing device and the predetermined control authority level required for controlling the smart playing device may be obtained to determine whether the first terminal can control the smart playing device.
If the control authority level of the first terminal is enough to enable the first terminal to control the playing of the intelligent playing device, the first terminal may not apply for changing the control authority level of the first terminal, and may also apply for changing the control authority level of the first terminal.
203. And when the current control authority level is lower than the preset control authority level, the intelligent playing device control device sends notification information of control failure to the first terminal.
For example, if the current control authority level of the first terminal does not reach the control authority level required for controlling the smart playing device, the first terminal may not control the smart playing device, and in this case, the smart playing device control device returns notification information of playing control failure.
If the first terminal needs to control the intelligent playing device, the control authority level can be changed into a preset control authority level.
204. And the intelligent playing device control device receives a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level.
For example, the first terminal receives the notification information of the control failure sent by the smart playing device control device, and determines that the control authority level of the first terminal is not enough to control the smart playing device, and at this time, if the first terminal needs to control the smart playing device, the first terminal may send a control authority change instruction to the smart playing device control device.
The control authority changing instruction can instruct the intelligent playing device control device to change the control authority level of the first terminal into the target control authority level.
205. And based on the control authority change instruction, the intelligent playing device control device sends a control authority application request to the second terminal with the highest control authority level.
For example, the first terminal sends a control authority change instruction to the control device of the intelligent playing device to change the control authority level of the first terminal because the control authority level of the first terminal cannot reach the control authority level of the intelligent playing device for playing control, wherein the terminal authority change can be applied to the second terminal, the authority of the second terminal enables the second terminal to agree with the control authority application request to change the control authority level of the first terminal, and the control authority application can be refused not to change the control authority level of the first terminal.
206. And according to the request passing information returned by the second terminal based on the control authority application request, the intelligent playing device control equipment changes the control authority level of the first terminal into the target control authority level.
For example, if the second terminal approves the control authority application request and returns the request pass information, the control authority level of the first terminal may be changed to a predetermined control authority level according to the request pass information.
In an embodiment, if request passing information returned by the second terminal based on the control authority application request is received within a preset time period, the control authority level of the first terminal may be changed to a predetermined control authority level, and if the request passing information and the request failing information returned by the second terminal based on the control authority application request are not received within the preset time period, the control authority level of the first terminal may also be changed to the predetermined control authority level.
It can be understood that, in a preset time period, request passing information or request failing information returned by the second terminal based on the control authority application request may be received, or request passing information and request failing information returned by the second terminal based on the control authority application request may not be received in the preset time period, if the request passing information is received in a preset time period, the control authority level of the first terminal may be directly changed to a predetermined control authority level, if the request failing information is received in the preset time period, the control authority level of the first terminal is not changed to the predetermined control authority level, and if the request passing information and the request failing information is not received in the preset time period, the control authority level of the first terminal is changed to a target control authority level.
In an embodiment, the instruction types of any two instructions may be set as the opponent instruction type, for example, the instruction types of the play control instruction and the control authority change instruction may be set as the opponent instruction type, after the instruction types of the play control instruction and the control authority change instruction are set as the opponent instruction type, when the play control instruction is executed, the control authority change instruction may be continuously executed after a certain time interval, or any one of the instructions and the instruction type of the instruction itself may be set as the opponent instruction type, for example, the instruction type of the "play progress" instruction of the video play progress is set as the opponent instruction type.
For example, when the terminal controls the smart playing device, the command types of the "volume +" command and the "volume-" command, the command types of the "brightness +" command and the "brightness-" command, and the command type of the "playing progress" command may be set as the opposite command types, where after one of the opposite commands takes effect, another one of the opposite commands must take effect after a certain time interval, and the following is a part of the opposite command table:
instruction 1 Instruction 2 Opponent instruction time interval (seconds)
Volume + Volume- 60
Brightness turned on Luminance- 60
Progress of play Progress of play 600
…… …… ……
The command type of the "volume +" command and the "volume-" command is an opposite command type, and after the "volume +" command takes effect, the "volume-" command can take effect after 60 seconds, that is, the volume playing degree of the intelligent playing device can be adjusted only once within 60 seconds.
Similarly, the command type of the "brightness +" command and the "brightness-" command is the type of the opposition command, and after the "brightness +" command takes effect, the "volume-" command can take effect after 60 seconds, that is, the brightness of the screen of the intelligent playing device can be adjusted only once within 60 seconds.
For example, in an embodiment, the second terminal may determine a target terminal from a plurality of terminals connected to the smart player, change the control authority level of the target terminal to the highest control authority level of the second terminal, and disconnect the second terminal from the smart player after changing the control authority level of the target terminal to the highest control authority level.
When the second terminal is connected with the intelligent playing device again, the control authority level of the target terminal is changed from the highest control authority level to the unchanged control authority level, and the control authority level of the second terminal is the highest control authority level.
In an embodiment, if the second terminal does not determine a terminal from the remaining terminals to change the control authority level of the terminal to the highest control authority level before the intelligent playing device is disconnected, the terminal to be transferred may be determined according to the level of the control authority of the remaining terminals and the control connection duration of the connected intelligent playing device, and the control authority level of the terminal to be transferred is changed to the highest control authority level.
For example, in addition to the case where the second terminal is connected to the smart playing device, there are a plurality of terminals connected to the smart playing device, the control authority levels of the terminals are obtained, the terminal with the highest control authority level is determined as the terminal to be transferred, if there are a plurality of terminals with the highest control authority levels, the terminal with the longest duration connected to the smart playing device is selected from the terminals with the highest control authority levels, the terminal is determined as the terminal to be transferred, and finally the control authority level of the terminal to be transferred is changed to the highest control authority level.
As can be seen from the above, in this embodiment, the control right is released in a manner of controlling right distribution, the control right levels of the terminals are changed to the corresponding control right levels according to the requirements, and meanwhile, the right of the control core is also maintained, so that the arbitration when the plurality of terminals have instruction divergence can be effectively handled, the orderly control of the intelligent playing device is finally realized, and the accuracy of controlling the intelligent playing device is improved.
In order to better implement the method, correspondingly, an embodiment of the present application further provides an authority changing apparatus, where the authority changing apparatus may be specifically integrated in the smart playing device control device.
For example, as shown in fig. 6, the authority changing device may include a first receiving unit 301, a first acquiring unit 302, a first transmitting unit 303, a second receiving unit 304, a second transmitting unit 305, and a first changing unit 306, as follows:
(1) a first receiving unit 301;
a first receiving unit 301, configured to receive a control instruction sent by a first terminal for controlling a smart play device when a plurality of terminals have a control right of the smart play device, where the plurality of terminals include the first terminal and a second terminal.
(2) A first acquisition unit 302;
a first obtaining unit 302, configured to obtain, according to the play control instruction, a current control permission level corresponding to the first terminal and a predetermined control permission level required for controlling the smart play device.
(3) A first transmission unit 303;
a returning unit 303, configured to send notification information of control failure to the first terminal when the current control authority level is lower than the predetermined control authority level.
(4) A second receiving unit 304;
a second receiving unit 304, configured to receive a control authority change instruction sent by the first terminal based on the notification information, where the control authority change instruction indicates a target control authority level that the first terminal needs to have, and the target control authority level is not lower than the predetermined control authority level.
(5) A second transmission unit 305;
a sending unit 305, configured to send a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction.
(6) A first changing unit 306;
a first changing unit 306, configured to change the control authority level of the first terminal to the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
In an embodiment, the first changing unit 306 includes:
a first changing subunit 3061, configured to change the control authority level of the first terminal to the target control authority level if request passing information returned by the second terminal based on the control authority applying request is received within a preset time period;
a second changing subunit 3062, configured to change the control authority level of the first terminal to the target control authority level if the request passing information and the request failing information returned by the second terminal based on the control authority application request are not received within the preset time period.
In one embodiment, the right changing apparatus may further include:
a third receiving unit 307 for receiving an opponent instruction setting request including a time interval of execution of the opponent instruction;
a setting unit 308, configured to set a type of a preset control instruction as an opponent instruction type according to the opponent instruction setting request;
a fourth receiving unit 309, configured to receive multiple control instructions sent by terminals in the multiple terminals;
the execution unit 310 is configured to, when at least two control instructions of the plurality of control instructions are of the opposite instruction type, execute the at least two control instructions according to the receiving time of the at least two control instructions and the time interval.
In one embodiment, the right changing apparatus may further include:
a fifth receiving unit 311, configured to receive a control permission level transfer instruction sent by the second terminal, where the control permission level transfer instruction includes an identifier of a target terminal;
a first determining unit 312, configured to determine a target terminal from the plurality of terminals according to the identifier;
a second changing unit 313, configured to change the control permission level of the target terminal from the corresponding current control permission level to the highest control permission level based on the control permission level transfer instruction, and disconnect the control connection between the second terminal and the intelligent playback device.
In an embodiment, the second changing unit 313 further includes:
a third changing unit 314, configured to change the highest control authority level of the target terminal to the current control authority level when it is detected that the second terminal establishes a control connection with the smart playing device;
a fourth changing unit 315, configured to change the control authority level of the second terminal to the highest control authority level based on the control connection established between the second terminal and the smart playing device.
In one embodiment, the right changing apparatus may further include:
a second obtaining unit 316, configured to obtain, when it is detected that the second terminal is disconnected from the control connection of the smart playing device, a current control permission level corresponding to another terminal in the multiple terminals;
a second determining unit 317, configured to determine, based on the current control permission level, a terminal to be transferred from the other terminals, where the current control permission level of the terminal to be transferred is a highest level of current control permission levels corresponding to the other terminals;
a fifth changing unit 318, configured to change the control authority level of the terminal to be transferred to the highest control authority level.
In an embodiment, the second determining unit 317 includes:
a first determining subunit 3171, configured to determine the highest control authority level in the current control authority levels corresponding to the other terminals;
an obtaining subunit 3172, configured to, if there are multiple highest control permission levels, obtain a control connection duration of the terminal corresponding to the highest control permission level to the smart playing device;
a second determining subunit 3173, configured to determine that the terminal corresponding to the longest duration in the control connection duration is the terminal to be transferred.
As can be seen from the above, in the authority changing apparatus according to the embodiment of the present application, when a plurality of terminals have a control authority of a smart playing device, the first receiving unit 301 receives a control instruction sent by the first terminal for controlling the smart playing device, where the plurality of terminals include the first terminal and the second terminal; then, the first obtaining unit 302 obtains the current control authority level corresponding to the first terminal and the predetermined control authority level required for controlling the intelligent playing device according to the playing control instruction; when the current control authority level is lower than the preset control authority level, the first sending unit 303 sends notification information of control failure to the first terminal; receiving, by the second receiving unit 304, a control authority change instruction sent by the first terminal based on the notification information, the control authority change instruction indicating a target control authority level that the first terminal needs to have, the target control authority level being not lower than the predetermined control authority level; a second sending unit 305, configured to send a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction; the first changing unit 306 changes the control authority level of the first terminal into the target control authority level according to the request passing information returned by the second terminal based on the control authority applying request. According to the scheme, the control authority is transferred in a control authority distribution mode, the control authority levels of the terminals are changed into the corresponding control authority levels according to requirements, the control core right is maintained, the arbitration when the terminals have instruction divergence can be effectively processed, ordered control of the intelligent playing equipment is finally achieved, and the accuracy of control over the intelligent playing equipment is improved.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Accordingly, an embodiment of the present application further provides a computer device, which may be a smart playing device control device, and as shown in fig. 7, it shows a schematic structural diagram of the smart playing device control device according to the embodiment of the present application, specifically:
the computer device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 7 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the computer device as a whole. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The computer device may also include an input unit 404, the input unit 404 being operable to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the computer device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions as follows:
when a plurality of terminals have the control right of the intelligent playing device, receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing device, wherein the plurality of terminals comprise the first terminal and a second terminal; acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing device according to the playing control instruction; when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal; receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level; sending a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction; and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
The above embodiments can be referred to in the foregoing embodiments, and are not described in detail herein.
In one embodiment, as shown in fig. 4, the smart playing device control device may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computer device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
As can be seen from the above, in this embodiment, the control right is released in a manner of controlling right distribution, the control right levels of the terminals are changed to the corresponding control right levels according to the requirements, and meanwhile, the right of the control core is also maintained, so that the arbitration when the plurality of terminals have instruction divergence can be effectively handled, the orderly control of the intelligent playing device is finally realized, and the accuracy of controlling the intelligent playing device is improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the permission change methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
when a plurality of terminals have the control right of the intelligent playing device, receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing device, wherein the plurality of terminals comprise the first terminal and a second terminal; acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing device according to the playing control instruction; when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal; receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level; sending a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction; and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
The above detailed implementation of each operation can refer to the foregoing embodiments, and is not described herein again.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the permission changing methods provided in the embodiments of the present application, beneficial effects that can be achieved by any of the permission changing methods provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above detailed description is provided for a method, an apparatus, a computer device and a computer-readable storage medium for changing permissions provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principles and embodiments of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of changing rights, comprising:
when a plurality of terminals have the control right of intelligent playing equipment, receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing equipment, wherein the plurality of terminals comprise the first terminal and a second terminal;
acquiring a current control authority level corresponding to the first terminal and a preset control authority level required by controlling the intelligent playing equipment according to the control instruction;
when the current control authority level is lower than the preset control authority level, sending notification information of control failure to the first terminal;
receiving a control authority changing instruction sent by the first terminal based on the notification information, wherein the control authority changing instruction indicates a target control authority level required to be possessed by the first terminal, and the target control authority level is not lower than the preset control authority level;
sending a control authority application request to the second terminal with the highest control authority level based on the control authority changing instruction;
and changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
2. The method of claim 1, further comprising:
receiving an opponent instruction setting request, wherein the opponent instruction setting request comprises a time interval for executing the opponent instruction;
setting the type of a preset control instruction as an opponent instruction type according to the opponent instruction setting request;
receiving a plurality of control instructions sent by terminals in the plurality of terminals;
and when the types of at least two control instructions in the plurality of control instructions are the opposite instruction types, executing the at least two control instructions according to the receiving moments of the at least two control instructions and the time interval.
3. The method according to claim 1, wherein the changing the control authority level of the first terminal to the predetermined control authority level according to the request passing information returned by the second terminal based on the control authority application request comprises:
if request passing information returned by the second terminal based on the control authority application request is received in a preset time period, changing the control authority level of the first terminal into the target control authority level;
and if the request passing information and the request failing information returned by the second terminal based on the control authority application request are not received within a preset time period, changing the control authority level of the first terminal into the target control authority level.
4. The method of claim 1, further comprising:
receiving a control authority level transfer instruction sent by the second terminal, wherein the control authority level transfer instruction comprises an identifier of a target terminal;
determining a target terminal from the plurality of terminals according to the identification;
and changing the control authority level of the target terminal from the corresponding current control authority level to the highest control authority level based on the control authority level transfer instruction, and disconnecting the control connection between the second terminal and the intelligent playing device.
5. The method according to claim 4, wherein after changing the control authority level of the target terminal to the highest control authority level and disconnecting the control connection between the second terminal and the smart player device based on the control authority level transfer instruction, the method further comprises:
when the second terminal is detected to establish control connection with the intelligent playing device, changing the highest control authority level of the target terminal into the current control authority level;
and changing the control authority level of the second terminal to the highest control authority level based on the control connection established between the second terminal and the intelligent playing device.
6. The method of claim 1, further comprising:
when the second terminal is detected to be disconnected from the control connection of the intelligent playing device, acquiring the current control authority level corresponding to other terminals in the plurality of terminals;
determining a terminal to be transferred from the other terminals based on the current control authority level, wherein the current control authority level of the terminal to be transferred is the highest level in the current control authority levels corresponding to the other terminals;
and changing the control authority level of the terminal to be transferred into the highest control authority level.
7. The method of claim 6, wherein the determining the terminal to be transferred from the other terminals based on the current control authority level comprises:
determining the highest control authority level in the current control authority levels corresponding to the other terminals;
if the highest control authority level is multiple, acquiring the control connection duration of the terminal corresponding to the highest control authority level to the intelligent playing device;
and determining the terminal corresponding to the longest time length in the control connection time lengths as the terminal to be transferred.
8. The method according to claim 1, wherein after changing the control authority level of the first terminal to the target control authority level, the method further comprises:
and storing the control authority level information of the first terminal into a block chain.
9. An authority change apparatus comprising:
the terminal comprises a first receiving unit, a second receiving unit and a control unit, wherein the first receiving unit is used for receiving a control instruction which is sent by a first terminal and used for controlling the intelligent playing device when a plurality of terminals have the control right of the intelligent playing device;
the first acquisition unit is used for acquiring the current control authority level corresponding to the first terminal and a preset control authority level required by the intelligent playing device according to the control instruction;
a first sending unit, configured to send notification information of control failure to the first terminal when the current control permission level is lower than the predetermined control permission level;
a second receiving unit, configured to receive a control authority change instruction sent by the first terminal based on the notification information, where the control authority change instruction indicates a target control authority level that the first terminal needs to have, and the target control authority level is not lower than the predetermined control authority level;
a second sending unit, configured to send a control authority application request to the second terminal with the highest control authority level based on the control authority change instruction;
and the first changing unit is used for changing the control authority level of the first terminal into the target control authority level according to request passing information returned by the second terminal based on the control authority application request.
10. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the privilege changing method according to any one of claims 1 to 8.
CN201911345636.9A 2019-12-24 2019-12-24 Authority changing method, device, computer equipment and computer readable storage medium Active CN113038199B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345636.9A CN113038199B (en) 2019-12-24 2019-12-24 Authority changing method, device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345636.9A CN113038199B (en) 2019-12-24 2019-12-24 Authority changing method, device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113038199A CN113038199A (en) 2021-06-25
CN113038199B true CN113038199B (en) 2022-04-05

Family

ID=76451569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345636.9A Active CN113038199B (en) 2019-12-24 2019-12-24 Authority changing method, device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113038199B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140184910A1 (en) * 2014-02-24 2014-07-03 Apex Technology Ventures, LLC Methods and Systems for Remote Controller Communication Network
CN106773742B (en) * 2015-11-23 2019-10-25 宏碁股份有限公司 Sound control method and speech control system
CN106021455A (en) * 2016-05-17 2016-10-12 乐视控股(北京)有限公司 Image characteristic relationship matching method, apparatus and system
CN107289581A (en) * 2017-06-01 2017-10-24 珠海格力电器股份有限公司 A kind of air conditioning control method, apparatus and system
CN108105954B (en) * 2017-11-07 2019-12-17 珠海格力电器股份有限公司 Device control method and apparatus, storage medium, and processor
CN108388140B (en) * 2018-03-13 2020-05-12 Oppo广东移动通信有限公司 Method and device for controlling intelligent equipment, electronic equipment and storage medium
CN109087494B (en) * 2018-08-21 2021-05-14 广州极飞科技股份有限公司 Control method of equipment end, control method of control end, device and system
CN110083169B (en) * 2019-04-04 2022-05-31 上海歌尔泰克机器人有限公司 Unmanned aerial vehicle control system, method and device and electronic equipment

Also Published As

Publication number Publication date
CN113038199A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
US8973005B2 (en) Information processing apparatus, information processing method, recording medium and information processing system
CN105072146B (en) Music information sharing method and device
CN105138422B (en) Control method and electronic equipment
CN105308673A (en) Methods, systems, and media for managing output of an HDMI source
EP3047404A1 (en) Service activity user interface
KR102502655B1 (en) Method for contents playback with continuity and electronic device therefor
CN103428734A (en) Method and device for optimizing network resources
CN108712422A (en) A kind of method and apparatus creating transcoding task
US9992140B2 (en) Electronic apparatus, server, and control method of system
CN102830943B (en) Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform
CN114221985A (en) Device control method, device, electronic device and computer-readable storage medium
CN113038199B (en) Authority changing method, device, computer equipment and computer readable storage medium
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN113596100A (en) Communication transfer method, computer equipment and storage medium
US20180189198A1 (en) Method for performing communication between peripheral devices of mobile terminal and mobile terminal
TWI503149B (en) Method for game data communication and terminal apparatus thereof
CN107038047B (en) Software version synchronization method and device of audio playing equipment and audio playing equipment
CN111193940B (en) Audio playing method and device, computer equipment and computer readable storage medium
JP2019505102A5 (en)
CN111726658A (en) Multimedia data transmission method and device
CN106257461B (en) Data storage method and device
CN104410620B (en) A kind of information processing method and server
CN117255332B (en) Bluetooth connection control method and device, storage medium and electronic equipment
WO2023236806A1 (en) Data burning method and apparatus, and computer device and computer-readable storage medium
KR101225405B1 (en) Method and apparatus for controlling network of data transmittion and reception

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40047326

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant