CN108713199B - Authority management method and system, mobile terminal, shared charging equipment and server - Google Patents

Authority management method and system, mobile terminal, shared charging equipment and server Download PDF

Info

Publication number
CN108713199B
CN108713199B CN201880000678.6A CN201880000678A CN108713199B CN 108713199 B CN108713199 B CN 108713199B CN 201880000678 A CN201880000678 A CN 201880000678A CN 108713199 B CN108713199 B CN 108713199B
Authority
CN
China
Prior art keywords
mobile terminal
shared charging
authority
administrator
account
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
CN201880000678.6A
Other languages
Chinese (zh)
Other versions
CN108713199A (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.)
Shenzhen Aoxingao Technology Co ltd
Original Assignee
Shenzhen Aoxingao 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 Shenzhen Aoxingao Technology Co ltd filed Critical Shenzhen Aoxingao Technology Co ltd
Publication of CN108713199A publication Critical patent/CN108713199A/en
Application granted granted Critical
Publication of CN108713199B publication Critical patent/CN108713199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F21/31User authentication
    • 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
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a permission management method, a system, a mobile terminal, a shared charging device, a server and a computer readable storage medium, wherein the permission management method comprises the following steps: after the mobile terminal is connected with the shared charging equipment, acquiring equipment information of the shared charging equipment; the mobile terminal requests a server to obtain an administrator authority account based on the equipment information; the mobile terminal logs in the administrator authority account and sends the information of the administrator authority account to the shared charging equipment, so that the shared charging equipment stores the information of the administrator authority account and opens administrator authority to the mobile terminal which logs in the administrator authority account. According to the scheme, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can more conveniently manage the shared charging equipment.

Description

Authority management method and system, mobile terminal, shared charging equipment and server
Technical Field
The application belongs to the technical field of internet of things, and particularly relates to a permission management method, a permission management system, a mobile terminal, a shared charging device, a server and a computer-readable storage medium.
Background
Currently, a complete system for shared charging exists, for example, a shared charging device, a mobile terminal, a server, and the like are generally available in the system. In this system, the consumer needs to register an account with his mobile terminal before having the right to control the shared charging device to perform the charging operation. For the manufacturer's device commissioning personnel, they can only commission the shared charging device through the authority of the ordinary consumer. Since it is generally impossible for a manufacturer to open all the rights of the shared charging device to a common consumer, and the manufacturer needs to perform various control operations on the shared charging device during the debugging process, there is still a great room for improvement in the operational rights of the shared charging device that can be opened currently.
Disclosure of Invention
In view of this, embodiments of the present application provide an authority management method, a mobile terminal, a shared charging device, a server, an authority management system, and a computer-readable storage medium, which can implement authority management on the shared charging device.
A first aspect of the present application provides a rights management method, where the rights management method includes:
after the mobile terminal is connected with the shared charging equipment, acquiring equipment information of the shared charging equipment;
the mobile terminal requests a server to obtain an administrator authority account based on the equipment information;
the mobile terminal logs in the administrator authority account and sends information of the administrator authority account to the shared charging equipment, so that the shared charging equipment stores the information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account.
A second aspect of the present application provides a rights management method, where the rights management method includes:
after the shared charging equipment is connected with the mobile terminal, receiving the information of the administrator authority account sent by the mobile terminal;
the shared charging device stores information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account.
A third aspect of the present application provides a rights management method, where the rights management method includes:
the server receives a request instruction sent by the mobile terminal;
the server analyzes the request instruction to obtain the equipment information of the shared charging equipment;
the server generates an administrator authority account based on the equipment information and the request instruction;
and the server sends the administrator authority account to the mobile terminal.
A fourth aspect of the present application provides a mobile terminal, including:
the device comprises an acquisition unit, a charging unit and a charging unit, wherein the acquisition unit is used for acquiring the device information of the shared charging device after establishing connection with the shared charging device;
the request unit is used for requesting a server to obtain an administrator authority account based on the equipment information;
a login unit, configured to log in the administrator authority account;
a sending unit, configured to send the information of the administrator authority account to the shared charging device, so that the shared charging device stores the information of the administrator authority account, and opens administrator authority to the mobile terminal in which the administrator authority account is logged.
A fifth aspect of the present application provides a shared charging apparatus, including:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving the information of the administrator authority account sent by the mobile terminal after establishing connection with the mobile terminal;
and the management unit is used for storing the information of the administrator authority account and opening the administrator authority to the mobile terminal logged in the administrator authority account.
A sixth aspect of the present application provides a server, including:
the receiving unit is used for receiving a request instruction sent by the mobile terminal;
the analysis unit is used for analyzing the request instruction to obtain the equipment information of the shared charging equipment;
a generating unit, configured to generate an administrator authority account based on the device information and the request instruction;
and the sending unit is used for sending the administrator authority account to the mobile terminal.
A seventh aspect of the present application provides a rights management system, which includes the mobile terminal of the fourth aspect, the shared charging apparatus of the fifth aspect, and the server of the sixth aspect.
An eighth aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect when executing the computer program.
A ninth aspect of the present application provides a shared charging apparatus, wherein the mobile terminal comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the second aspect when executing the computer program.
A tenth aspect of the present application provides a server, where the mobile terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the third aspect when executing the computer program.
An eleventh aspect of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of the first aspect as described above.
A twelfth aspect of the application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of the second aspect above.
A thirteenth aspect of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of the third aspect above.
A fourteenth aspect of the present application provides a computer program product comprising a computer program that when executed by one or more processors performs the steps of the method as described in the first aspect above.
A fifteenth aspect of the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method of the second aspect as described above.
A sixteenth aspect of the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the method according to the third aspect as described above.
As can be seen from the above, according to the present application, after a mobile terminal is connected to a shared charging device, first, device information of the shared charging device is obtained, then, the mobile terminal requests a server to obtain an administrator permission account based on the device information, and finally, the mobile terminal logs in the administrator permission account and sends information of the administrator permission account to the shared charging device, so that the shared charging device stores the information of the administrator permission account and opens administrator permission to the mobile terminal that logs in the administrator permission account. According to the scheme, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can more conveniently manage the shared charging equipment.
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 embodiments or the prior art descriptions will be briefly described 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 inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a rights management method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an implementation flow of another rights management method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an implementation flow of another rights management method provided in an embodiment of the present application;
fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a shared charging device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a server according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a rights management system according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a shared charging device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example 1
Referring to fig. 1, a method for rights management provided in an embodiment of the present application is described below, where the method for rights management in the embodiment of the present application includes:
in step 101, after a mobile terminal establishes a connection with a shared charging device, obtaining device information of the shared charging device;
in the embodiment of the present application, since most of the shared charging devices are installed in public places, in order to facilitate interaction with other devices, the shared charging devices are generally connected with other devices, such as a mobile terminal, in a wireless connection manner. The WIreless connection may be a Bluetooth (Bluetooth) connection, an infrared (ir) connection, or a WIreless-FIdelity (WI-FI) connection, which is not limited herein; after the mobile terminal is connected with the shared charging equipment, the mobile terminal can obtain the equipment information of the shared charging equipment through Bluetooth, infrared or WI-FI communication. After establishing connection, the mobile terminal may send a device information acquisition request to the shared charging device; after receiving the device information acquisition request, the shared charging device may feed back device information to the mobile terminal; alternatively, the device information of the shared charging device may be acquired during the process of establishing the connection between the mobile terminal and the shared charging device, which is not limited herein. The device information includes, but is not limited to, a device name, a device address, a device available charging location, and the like.
In step 102, the mobile terminal requests a server to obtain an administrator authority account based on the device information;
in this embodiment of the application, after obtaining the device information of the shared charging device, the mobile terminal may send the device information to a server to request an administrator authority account of the shared charging device. Optionally, the mobile terminal may generate an authority request instruction based on the device information, that is, the authority request instruction carries the device information of the shared charging device, and then sends the authority request instruction to the server; after receiving the device information or the permission request instruction carrying the device information, the server may detect whether an administrator permission account of the shared charging device already exists in a database, and if not, generate the administrator permission account of the shared charging device based on the device information and send the generated administrator permission account to the mobile terminal; and if so, directly acquiring the administrator authority account from the database, and sending the acquired administrator authority account to the mobile terminal. After the server generates the administrator authority account, the server may store the administrator authority account in the database.
In step 103, the mobile terminal logs in the administrator authority account and transmits information of the administrator authority account to the shared charging device, so that the shared charging device stores the information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account.
In this embodiment, after receiving the administrator authority account, the mobile terminal automatically logs in the administrator authority account, and sends information of the administrator authority account to the shared charging device. After receiving the information of the administrator permission account, the shared charging device may search whether the information of the administrator permission account is already stored locally in the shared charging device, and perform a storage operation if the information of the administrator permission account is not stored locally in the shared charging device currently; if the information of the administrator permission account is already stored locally in the shared charging device, verifying the information of the administrator permission account received this time, specifically comparing the information of the administrator permission account received this time with the information of the administrator permission account stored locally, and if the information of the administrator permission account received this time is not different from the information of the administrator permission account stored locally, determining that the verification is passed. After storing or verifying the information of the administrator authority account, the shared charging device may open administrator authority to the mobile terminal logged in the administrator authority account. Specifically, the administrator rights include: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
Optionally, after the mobile terminal establishes a connection with a shared charging device, before acquiring device information of the shared charging device, the right management method further includes:
the mobile terminal scans a Bluetooth beacon sent by the shared charging equipment;
when the mobile terminal scans the Bluetooth beacon, the mobile terminal establishes Bluetooth connection with the shared charging equipment based on the Bluetooth beacon.
In this embodiment, the beacon is a signal transmitted by the shared charging device and having the unique identifier of the shared charging device, and is typically a bluetooth beacon or other wireless network beacon. Optionally, in order to quickly establish contact with the mobile terminal, the shared charging device may continuously send a bluetooth beacon to the outside; alternatively, in order to save resources of the shared charging device, the shared charging device may periodically send out a bluetooth beacon, for example, continuously send out a bluetooth beacon every half minute for one minute; or, a key may be set on the body of the shared charging device, and when the user presses the key, it indicates that there is a user who needs to use the shared charging device currently, and at this time, the shared charging device further sends a bluetooth beacon to the outside, and a manner in which the shared charging device sends the bluetooth beacon to the outside is not limited herein.
Optionally, if the charging positions that the shared charging device can provide are all occupied, that is, the shared charging device cannot currently provide charging for the new device to be charged, the shared charging device may suspend sending the bluetooth beacon outwards until the device to be charged is taken away by the user, that is, until the shared charging device can provide charging for the new device to be charged, the shared charging device resumes sending the bluetooth beacon outwards, so as to save resources of the shared charging device and avoid resource waste. The mobile terminal can establish a bluetooth connection with the shared charging device based on the bluetooth beacon. Of course, if the beacon is not a bluetooth beacon but another wireless network beacon, another network connection is established with the shared charging device based on the type of the beacon, which is not limited herein.
Optionally, the rights management method further includes:
the mobile terminal receives the key sent by the server;
the mobile terminal sends the key to the shared charging device, so that the shared charging device updates the bluetooth beacon based on the key.
In this embodiment of the application, if the bluetooth beacon sent by the shared charging device remains unchanged all the time, a lawless person may be caused to implement counterfeit of the bluetooth beacon by analyzing the bluetooth beacon, so as to affect the use of the shared charging device by the user, and even threaten the property security of the user.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example 2
Referring to fig. 2, another rights management method provided in the embodiment of the present application is described below, where the rights management method in the embodiment of the present application includes:
in step 201, after the shared charging device establishes a connection with the mobile terminal, receiving information of an administrator authority account sent by the mobile terminal;
in the embodiment of the present application, since most of the shared charging devices are installed in public places, in order to facilitate interaction with other devices, the shared charging devices are generally connected with other devices, such as a mobile terminal, in a wireless connection manner. The wireless connection may be a bluetooth connection, an infrared connection, or a WI-FI connection, which is not limited herein. After the shared charging device is connected with the mobile terminal, the shared charging device firstly sends own device information to the mobile terminal, and then receives the information of the administrator authority account sent by the mobile terminal, wherein the information of the administrator authority account is generated based on the device information.
In step 202, the shared charging apparatus stores information of the administrator authority account, and opens administrator authority to the mobile terminal in which the administrator authority account is registered.
In this embodiment of the application, after receiving the information of the administrator permission account, the shared charging device may search whether the information of the administrator permission account is already stored locally in the shared charging device, and perform a storage operation if the information of the administrator permission account is not currently stored locally in the shared charging device; if the information of the administrator permission account is already stored locally in the shared charging device, verifying the information of the administrator permission account received this time, specifically comparing the information of the administrator permission account received this time with the information of the administrator permission account stored locally, and if the information of the administrator permission account received this time is not different from the information of the administrator permission account stored locally, determining that the verification is passed. After storing or verifying the information of the administrator authority account, the shared charging device may open administrator authority to the mobile terminal logged in the administrator authority account. Specifically, the administrator rights include: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
Optionally, after the shared charging device establishes a connection with the mobile terminal, before receiving information of an administrator authority account sent by the mobile terminal, the authority management method further includes:
the shared charging device sends a bluetooth beacon, so that the mobile terminal establishes a bluetooth connection with the shared charging device based on the bluetooth beacon.
In this embodiment, the beacon is a signal transmitted by the shared charging device and having the unique identifier of the shared charging device, and is typically a bluetooth beacon or other wireless network beacon. Optionally, in order to quickly establish contact with the mobile terminal, the shared charging device may continuously send a bluetooth beacon to the outside; alternatively, in order to save resources of the shared charging device, the shared charging device may periodically send out a bluetooth beacon, for example, continuously send out a bluetooth beacon every half minute for one minute; or, a key may be set on the body of the shared charging device, and when the user presses the key, it indicates that there is a user who needs to use the shared charging device currently, and at this time, the shared charging device further sends a bluetooth beacon to the outside, and a manner in which the shared charging device sends the bluetooth beacon to the outside is not limited herein.
Optionally, if the charging positions that the shared charging device can provide are all occupied, that is, the shared charging device cannot currently provide charging for the new device to be charged, the shared charging device may suspend sending the bluetooth beacon outwards until the device to be charged is taken away by the user, that is, until the shared charging device can provide charging for the new device to be charged, the shared charging device resumes sending the bluetooth beacon outwards, so as to save resources of the shared charging device and avoid resource waste. The mobile terminal can establish a bluetooth connection with the shared charging device based on the bluetooth beacon. Of course, if the beacon is not a bluetooth beacon but another wireless network beacon, another network connection is established with the shared charging device based on the type of the beacon, which is not limited herein.
Optionally, the rights management method further includes:
the shared charging equipment receives a secret key sent by the mobile terminal;
the shared charging device updates the bluetooth beacon based on the secret key.
In this embodiment of the application, if the bluetooth beacon sent by the shared charging device remains unchanged all the time, a lawless person may be caused to implement counterfeit of the bluetooth beacon by analyzing the bluetooth beacon, so as to affect the use of the shared charging device by the user, and even threaten the property security of the user.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example 3
Referring to fig. 3, a further rights management method provided in the embodiment of the present application is described below, where the rights management method in the embodiment of the present application includes:
in step 301, the server receives a request instruction sent by the mobile terminal;
in step 302, the server parses the request command to obtain device information of the shared charging device;
in step 303, the server generates an administrator authority account based on the device information and the request command;
in step 304, the server transmits the administrator authority account to the mobile terminal.
Optionally, the rights management method further includes:
and the server transmits a key to the mobile terminal based on the device information, so that the shared charging device receives the key forwarded by the mobile terminal, and updates the Bluetooth beacon transmitted by the shared charging device based on the key.
For implementation of each step in the embodiment of the present application, reference may be specifically made to related steps in the first method embodiment and the second method embodiment, and details are not described here again.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example 4
A fourth embodiment of the present application provides a structural block diagram of a mobile terminal, and as shown in fig. 4, a mobile terminal 400 in the embodiment of the present application includes:
an obtaining unit 401, configured to obtain device information of a shared charging device after establishing a connection with the shared charging device;
a requesting unit 402, configured to request a server to obtain an administrator authority account based on the device information;
a login unit 403, configured to log in the administrator authority account;
a sending unit 404, configured to send the information of the administrator authority account to the shared charging device, so that the shared charging device stores the information of the administrator authority account, and opens administrator authority to the mobile terminal in which the administrator authority account is logged.
Optionally, the mobile terminal 400 further includes:
the scanning unit is used for scanning the Bluetooth beacon sent by the shared charging equipment;
and the connection unit is used for establishing Bluetooth connection with the shared charging equipment based on the Bluetooth beacon when the mobile terminal scans the Bluetooth beacon.
Optionally, the mobile terminal 400 further includes:
a receiving unit, configured to receive a key sent by the server;
the transmitting unit 404 is further configured to transmit the secret key to the shared charging apparatus, so that the shared charging apparatus updates the bluetooth beacon based on the secret key.
Optionally, the administrator rights include: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
Example 5
An embodiment of the present application provides a structural block diagram of a shared charging device, as shown in fig. 5, a shared charging device 500 in the embodiment of the present application includes:
a receiving unit 501, configured to receive information of an administrator authority account sent by a mobile terminal after establishing a connection with the mobile terminal;
a management unit 502, configured to store information of the administrator authority account, and open administrator authority to the mobile terminal logged in the administrator authority account.
Optionally, the shared charging apparatus 500 further includes:
and the transmitting unit is used for transmitting a Bluetooth beacon so that the mobile terminal establishes Bluetooth connection with the shared charging equipment based on the Bluetooth beacon.
Optionally, the receiving unit 501 is further configured to receive a key sent by the mobile terminal;
the shared charging apparatus 500 further includes:
and the updating unit is used for updating the Bluetooth beacon based on the key.
Optionally, the administrator authority includes: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
As can be seen from the above, in the embodiment of the application, the connection is no longer established by scanning the two-dimensional code printed on the shared charging device through the mobile terminal, but the wireless connection is established based on the bluetooth beacon sent by the shared charging device, so that the operation is simple, and the control efficiency is high. Furthermore, the user can independently select a required charging scheme, generate a corresponding consumption code and a charging instruction, and designate the corresponding charging sharing device to charge the device to be charged, so that the situation of control object errors is avoided.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
Example 6
Sixth embodiment of the present application provides a structural block diagram of a server, and as shown in fig. 6, a server 600 in the embodiment of the present application includes:
a receiving unit 601, configured to receive a request instruction sent by a mobile terminal;
an analyzing unit 602, configured to analyze the request instruction to obtain device information of the shared charging device;
a generating unit 603, configured to generate an administrator authority account based on the device information and the request instruction;
a sending unit 604, configured to send the administrator authority account to the mobile terminal.
Optionally, the sending unit 604 is further configured to send a key to the mobile terminal based on the device information, so that the shared charging device receives the key forwarded by the mobile terminal, and update the bluetooth beacon sent by the shared charging device based on the key.
Therefore, according to the embodiment of the application, the shared charging equipment can open the charging authority of the common account to common consumers, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
Example 7
Fig. 7 is a block diagram of a rights management system according to a seventh embodiment of the present application. For ease of illustration, fig. 7 shows only those portions relevant to the embodiments of the present application. The rights management system 7 illustrated in fig. 7 mainly includes a mobile terminal 701, a shared charging device 702, and a server 703. Specifically, the mobile terminal 701 includes an obtaining unit 7011, a requesting unit 7012, a logging unit 7013, and a sending unit 7014, the shared charging apparatus 702 includes a receiving unit 7021 and a managing unit 7022, and the server 703 includes a receiving unit 7031, an analyzing unit 7032, a generating unit 7033, and a sending unit 7034.
Among them, in the above-mentioned mobile terminal 701:
the obtaining unit 7011 is configured to obtain device information of the shared charging device after establishing connection with the shared charging device;
the requesting unit 7012 is configured to request a server to obtain an administrator authority account based on the device information;
the login unit 7013 is configured to log in the administrator authority account;
the sending unit 7014 is configured to send the information of the administrator authority account to the shared charging device, so that the shared charging device stores the information of the administrator authority account, and opens administrator authority to the mobile terminal in which the administrator authority account is registered.
Wherein, in the shared charging apparatus 702 described above:
the receiving unit 7021 is configured to receive, after establishing a connection with the mobile terminal, information of an administrator authority account sent by the mobile terminal;
the management unit 7022 is configured to store information of the administrator authority account, and open administrator authority to the mobile terminal in which the administrator authority account is registered.
Among them, in the server 703:
the receiving unit 7031 is configured to receive a request instruction sent by the mobile terminal;
the analyzing unit 7032 is configured to analyze the request instruction to obtain device information of the shared charging device;
the generating unit 7033 is configured to generate an administrator authority account based on the device information and the request instruction;
the sending unit 7034 is configured to send the administrator authority account to the mobile terminal.
Therefore, according to the embodiment of the application, the shared charging equipment in the authority management system can open the charging authority of the common account to the common consumer, and can also open the administrator account authority for the administrator of the equipment, so that the administrator can conveniently and rapidly manage the shared charging equipment.
Example 8
Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 8, the mobile terminal 8 of this embodiment includes: a processor 80, a memory 81, and a computer program 82, such as a program of a rights management method, stored in the memory 81 and executable on the processor 80. The processor 80, when executing the computer program 82, implements the steps of the first embodiment of the rights management method, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 80 implements the functions of the respective units in the fourth embodiment described above when executing the computer program 82.
Illustratively, the computer program 82 of the rights management method mainly includes: after the mobile terminal is connected with the shared charging equipment, acquiring equipment information of the shared charging equipment; the mobile terminal requests a server to obtain an administrator authority account based on the equipment information; the mobile terminal logs in the administrator authority account and sends information of the administrator authority account to the shared charging equipment, so that the shared charging equipment stores the information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account.
The computer program 82 may be divided into one or more units, which are stored in the memory 81 and executed by the processor 80 to accomplish the present application. One or more of the elements may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program 82 in the mobile terminal 8.
The mobile terminal 8 may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of a mobile terminal 8 and does not constitute a limitation of the mobile terminal 8 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the mobile terminal 8 may further include input and output devices, network access devices, buses, and switching relays, etc.
The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 81 may be an internal storage unit of the mobile terminal 8, such as a hard disk or a memory of the mobile terminal 8. The memory 81 may also be an external storage device of the mobile terminal 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the mobile terminal 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the mobile terminal 8. The memory 81 is used to store computer programs and other programs and data required for the rights management method. The memory 81 may also be used to temporarily store data that has been output or is to be output.
Example 9
Fig. 9 is a schematic diagram of a shared charging device according to an embodiment of the present application. As shown in fig. 9, the shared charging apparatus of this embodiment includes: a processor 90, a memory 91 and a computer program 92, e.g. a program of the rights management method, stored in the memory 91 and executable on the processor 90. The processor 90, when executing the computer program 92, implements the steps of the second embodiment of the rights management method, such as the steps 201 to 203 shown in fig. 2. Alternatively, the processor 90 implements the functions of the units in the fifth embodiment described above when executing the computer program 92.
Illustratively, the computer program 92 of the rights management method mainly includes: after the shared charging equipment is connected with the mobile terminal, receiving the information of the administrator authority account sent by the mobile terminal; the shared charging device stores information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account.
The computer program 92 may be divided into one or more units, which are stored in the memory 91 and executed by the processor 90 to accomplish the present application. One or more of the elements may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program 92 in the shared charging apparatus 9.
The shared charging device 9 may include, but is not limited to, a processor 90, a memory 91. Those skilled in the art will appreciate that fig. 9 is merely an example of the shared charging device 9, and does not constitute a limitation of the shared charging device 9, and may include more or less components than those shown, or combine some components, or different components, for example, the shared charging device 9 may further include an input-output device, a network access device, a bus, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 91 may be an internal storage unit of the shared charging device 9, such as a hard disk or a memory of the shared charging device 9. The memory 91 may also be an external storage device of the shared charging device 9, such as a plug-in hard disk provided on the shared charging device 9, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 91 may also include both an internal storage unit of the shared charging device 9 and an external storage device. The memory 91 is used to store computer programs and other programs and data required for the rights management method. The memory 91 may also be used to temporarily store data that has been output or is to be output.
Example 10
Fig. 10 is a schematic diagram of a server provided in an embodiment of the present application. As shown in fig. 10, the server of this embodiment includes: a processor 100, a memory 101, and a computer program 102, such as a program of a rights management method, stored in the memory 101 and executable on the processor 100. The processor 100 executes the computer program 102 to implement the steps of the third embodiment of the rights management method, such as the steps 301 to 303 shown in fig. 3. Alternatively, the processor 100 implements the functions of the units in the sixth embodiment when executing the computer program 102.
Illustratively, the computer program 102 of the rights management method mainly includes: the server receives a request instruction sent by the mobile terminal; the server analyzes the request instruction to obtain the equipment information of the shared charging equipment; the server generates an administrator authority account based on the equipment information and the request instruction; and the server sends the administrator authority account to the mobile terminal.
The computer program 102 may be divided into one or more units, which are stored in the memory 101 and executed by the processor 100 to accomplish the present application. One or more of the elements may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program 102 in the server 10.
The server 10 may include, but is not limited to, a processor 100, a memory 101. Those skilled in the art will appreciate that fig. 10 is merely an example of a server 10 and is not intended to limit the mobile terminal 10 and that the server 10 may include more or less components than those shown, or some of the components may be combined, or different components, e.g., the server 10 may further include input-output devices, network access devices, buses, etc.
The Processor 100 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 101 may be an internal storage unit of the server 10, such as a hard disk or a memory of the server 10. The memory 101 may also be an external storage device of the server 10, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like provided on the server 10. Further, the memory 101 may also include both an internal storage unit of the server 10 and an external storage device. The memory 101 is used to store computer programs and other programs and data required for the rights management method. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, in the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
While the foregoing is directed to the preferred embodiment of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (15)

1. A method of rights management, comprising:
the method comprises the steps that a mobile terminal scans a Bluetooth beacon sent by shared charging equipment arranged in a public place;
when the mobile terminal scans the Bluetooth beacon, the mobile terminal establishes a Bluetooth connection with the shared charging device based on the Bluetooth beacon;
after the mobile terminal is connected with the shared charging equipment, acquiring equipment information of the shared charging equipment;
the mobile terminal requests a server to obtain an administrator authority account based on the equipment information;
the mobile terminal logs in the administrator permission account and sends information of the administrator permission account to the shared charging equipment, so that the shared charging equipment stores the information of the administrator permission account and opens administrator permission to the mobile terminal which logs in the administrator permission account;
the rights management method further includes:
the mobile terminal receives a secret key sent by the server;
the mobile terminal sends the key to the shared charging device, so that the shared charging device updates the Bluetooth beacon based on the key.
2. The rights management method of claim 1, wherein the administrator rights comprise: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
3. A method of rights management, comprising:
the method comprises the steps that a sharing charging device arranged in a public place sends a Bluetooth beacon, so that a mobile terminal establishes Bluetooth connection with the sharing charging device based on the Bluetooth beacon;
after the shared charging equipment is connected with the mobile terminal, receiving the information of the administrator authority account sent by the mobile terminal;
the shared charging equipment stores the information of the administrator authority account and opens administrator authority to the mobile terminal logged in the administrator authority account;
the rights management method further includes:
the shared charging equipment receives a secret key sent by the mobile terminal;
the shared charging device updates the bluetooth beacon based on the secret key.
4. The rights management method of claim 3, wherein the administrator rights comprise: password setting authority, cache clearing authority, equipment opening/closing authority, factory setting recovery authority, equipment upgrading authority, common account management authority, charging opening/closing authority, equipment name modification authority, version consulting authority and charging record consulting authority.
5. A method of rights management, comprising:
the server receives a request instruction sent by the mobile terminal;
the server analyzes the request instruction to obtain the equipment information of the shared charging equipment arranged in the public place;
the server generates an administrator authority account based on the equipment information and the request instruction;
the server sends the administrator authority account to the mobile terminal;
the rights management method further includes:
and the server sends a key to the mobile terminal based on the device information, so that the shared charging device receives the key forwarded by the mobile terminal, and updates the Bluetooth beacon sent by the shared charging device based on the key.
6. A mobile terminal, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring the device information of shared charging equipment after establishing connection with the shared charging equipment arranged in public places;
a requesting unit configured to request a server to obtain an administrator authority account based on the device information;
the login unit is used for logging in the administrator authority account;
a sending unit, configured to send information of the administrator permission account to the shared charging device, so that the shared charging device stores the information of the administrator permission account and opens administrator permission to a mobile terminal logged in the administrator permission account;
the scanning unit is used for scanning the Bluetooth beacon sent by the shared charging equipment;
the connection unit is used for establishing Bluetooth connection with the shared charging equipment based on the Bluetooth beacon when the mobile terminal scans the Bluetooth beacon;
the receiving unit is used for receiving the key sent by the server;
the sending unit is further configured to send the secret key to the shared charging device, so that the shared charging device updates the bluetooth beacon based on the secret key.
7. A shared charging apparatus for public use, comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving the information of the administrator authority account sent by the mobile terminal after establishing connection with the mobile terminal;
the management unit is used for storing the information of the administrator authority account and opening the administrator authority to the mobile terminal logged in the administrator authority account;
a sending unit, configured to send a bluetooth beacon, so that the mobile terminal establishes a bluetooth connection with the shared charging device based on the bluetooth beacon;
the receiving unit is further configured to receive a key sent by the mobile terminal;
the shared charging apparatus further includes:
an updating unit for updating the Bluetooth beacon based on the secret key.
8. A server, comprising:
the receiving unit is used for receiving a request instruction sent by the mobile terminal;
the analysis unit is used for analyzing the request instruction to obtain the equipment information of the shared charging equipment arranged in the public place;
the generating unit is used for generating an administrator authority account based on the equipment information and the request instruction;
a sending unit, configured to send the administrator authority account to the mobile terminal;
the sending unit is further configured to send a key to the mobile terminal based on the device information, so that the shared charging device receives the key forwarded by the mobile terminal, and updates the bluetooth beacon sent by the shared charging device based on the key.
9. A rights management system, characterized in that the rights management system comprises a mobile terminal according to claim 6, a shared charging device according to claim 7 and a server according to claim 8.
10. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 2 when executing the computer program.
11. A shared charging apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 3 to 4 when executing the computer program.
12. A server comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the steps of the method as claimed in claim 5 are implemented when the processor executes the computer program.
13. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 2.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 3 to 4.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 5.
CN201880000678.6A 2018-06-04 2018-06-04 Authority management method and system, mobile terminal, shared charging equipment and server Active CN108713199B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/089798 WO2019232677A1 (en) 2018-06-04 2018-06-04 Permission management method, system, mobile terminal, shared charging device, and server

Publications (2)

Publication Number Publication Date
CN108713199A CN108713199A (en) 2018-10-26
CN108713199B true CN108713199B (en) 2022-03-11

Family

ID=63873579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880000678.6A Active CN108713199B (en) 2018-06-04 2018-06-04 Authority management method and system, mobile terminal, shared charging equipment and server

Country Status (2)

Country Link
CN (1) CN108713199B (en)
WO (1) WO2019232677A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973518A (en) * 2022-04-21 2022-08-30 杭州小电科技股份有限公司 Shared charging equipment operation and maintenance method, shared charging equipment, terminal equipment and system
CN117675246A (en) * 2022-08-30 2024-03-08 广东美的制冷设备有限公司 Control method of sharing device, client, server and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095727A (en) * 2015-05-25 2015-11-25 深圳新创客电子科技有限公司 Device administrator permission application method, server and system
CN105324976A (en) * 2013-07-01 2016-02-10 汤姆逊许可公司 Method to enroll a certificate to a device using scep and respective management application
CN105635094A (en) * 2015-06-16 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Security authentication method, security authentication device and security verification system
CN106209800A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Equipment Authority sharing method and apparatus
CN106357598A (en) * 2015-07-13 2017-01-25 Ls产电株式会社 Method for providing user authority certification service
CN206224488U (en) * 2016-08-26 2017-06-06 广州佰能信息科技有限公司 Mobile terminal, server, controller based on device authorization management
CN206757783U (en) * 2017-05-22 2017-12-15 黄隆裕 The high shared precious system of electricity of security performance
CN107546812A (en) * 2017-10-09 2018-01-05 南京白驹文化传播有限公司 Shared the charger baby equipment and system of a kind of controllable discharge and recharge
CN107612941A (en) * 2017-10-31 2018-01-19 广东小天才科技有限公司 A kind of method, apparatus of rights management, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5018883B2 (en) * 2007-07-11 2012-09-05 富士通株式会社 Authentication system, terminal authentication device, and authentication processing program
CN104601529B (en) * 2013-10-31 2019-12-17 腾讯科技(深圳)有限公司 Terminal account management method and device
CN105493475A (en) * 2015-10-30 2016-04-13 深圳市奥星澳科技有限公司 Door control method, terminal, server and access control system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105324976A (en) * 2013-07-01 2016-02-10 汤姆逊许可公司 Method to enroll a certificate to a device using scep and respective management application
CN105095727A (en) * 2015-05-25 2015-11-25 深圳新创客电子科技有限公司 Device administrator permission application method, server and system
CN105635094A (en) * 2015-06-16 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Security authentication method, security authentication device and security verification system
CN106357598A (en) * 2015-07-13 2017-01-25 Ls产电株式会社 Method for providing user authority certification service
CN106209800A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Equipment Authority sharing method and apparatus
CN206224488U (en) * 2016-08-26 2017-06-06 广州佰能信息科技有限公司 Mobile terminal, server, controller based on device authorization management
CN206757783U (en) * 2017-05-22 2017-12-15 黄隆裕 The high shared precious system of electricity of security performance
CN107546812A (en) * 2017-10-09 2018-01-05 南京白驹文化传播有限公司 Shared the charger baby equipment and system of a kind of controllable discharge and recharge
CN107612941A (en) * 2017-10-31 2018-01-19 广东小天才科技有限公司 A kind of method, apparatus of rights management, equipment and storage medium

Also Published As

Publication number Publication date
WO2019232677A1 (en) 2019-12-12
CN108713199A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
US10785088B2 (en) Management method and management apparatus of internet of things and internet of things system
CN108781000B (en) Shared charging method and system, mobile terminal, shared charging equipment and server
CN108923908B (en) Authorization processing method, device, equipment and storage medium
CN106506521A (en) resource access control method and device
CN105282047A (en) Access request processing method and device
CN104079543A (en) Method, device and system for obtaining intelligent home system monitoring permissions
US9307403B2 (en) System and method for NFC peer-to-peer authentication and secure data transfer
CN107004077A (en) Method and system for providing safe and independently operable biological characteristic authentication
CN110381075B (en) Block chain-based equipment identity authentication method and device
CN106713315B (en) Login method and device of plug-in application program
CN108460875A (en) A kind of entrance guard authentication method and device based on dynamic two-dimension code
CN108713199B (en) Authority management method and system, mobile terminal, shared charging equipment and server
CN110413487A (en) A kind of indicator light management method, system and the baseboard management controller of server
DE102019106098A1 (en) SAFE VISUAL TRANSACTIONS FOR MOBILE DEVICES
CN112017007A (en) User behavior data processing method and device, computer equipment and storage medium
CN111163052B (en) Method, device, medium and electronic equipment for connecting Internet of things platform
CN114040411B (en) Equipment binding method and device, electronic equipment and storage medium
KR20150133055A (en) An electronic attendance method with a wireless access point
CN113037736B (en) Authentication method, device, system and computer storage medium
CN112579997B (en) User permission configuration method and device, computer equipment and storage medium
CN110366164B (en) Method for remotely controlling terminal, server, terminal and computing equipment
CN112600744A (en) Authority control method and device, storage medium and electronic device
CN112448909A (en) Electronic lock management method, device, system and storage medium
CN106936643B (en) Equipment linkage method and terminal equipment
CN109327499A (en) Management method and device, storage medium, the terminal of business interface

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
GR01 Patent grant
GR01 Patent grant