CN108737424A - Authority sharing method, server, system and the readable storage medium storing program for executing of smart home - Google Patents

Authority sharing method, server, system and the readable storage medium storing program for executing of smart home Download PDF

Info

Publication number
CN108737424A
CN108737424A CN201810506626.8A CN201810506626A CN108737424A CN 108737424 A CN108737424 A CN 108737424A CN 201810506626 A CN201810506626 A CN 201810506626A CN 108737424 A CN108737424 A CN 108737424A
Authority
CN
China
Prior art keywords
terminal
account information
smart home
information
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201810506626.8A
Other languages
Chinese (zh)
Inventor
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lingdu Intelligent Control Technology Co Ltd
Original Assignee
Shenzhen Lingdu Intelligent Control 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 Lingdu Intelligent Control Technology Co Ltd filed Critical Shenzhen Lingdu Intelligent Control Technology Co Ltd
Priority to CN201810506626.8A priority Critical patent/CN108737424A/en
Publication of CN108737424A publication Critical patent/CN108737424A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a kind of Authority sharing method of smart home, the Authority sharing method of the smart home includes the following steps:When receiving the access request of smart home of first terminal transmission, the corresponding account information of the access request and the corresponding identification information of the first terminal are identified and obtained;Judge whether the account information is to authorize account information, and when the account information is to authorize account information, based on the incidence relation between the account information and the identification information, determine whether the first terminal possesses access rights;When determining that the first terminal possesses access rights, the access rights of the open smart home give the first terminal, and send and access successful prompt message to the first terminal.The invention also discloses a kind of server, the rights sharing systems and computer readable storage medium of smart home.The present invention realizes the confirmation by multiple information, preferably ensure that the safety in utilization of intelligentized Furniture equipment.

Description

Authority sharing method, server, system and the readable storage medium storing program for executing of smart home
Technical field
The present invention relates to technical field of intelligent home control more particularly to a kind of Authority sharing method of smart home, clothes Business device, the rights sharing system of smart home and calculating knot readable storage medium storing program for executing.
Background technology
With the continuous development of Internet of Things and smart home product, present user can be by being mounted on intelligent terminal On smart home application program (Application, APP) realize to the various smart homes such as air-conditioning, illumination, curtain, TV The remote control of equipment.
Usually all it is a primary user when possessing access control right in existing control mode, is increased by adding Add the child user for the control that can access, then either when a primary user possesses access control right, other child users Obtained when accessing primary user permission authorize after can just access control.For above-mentioned control mode, authorized user is carried out The increase of information, as long as increasing corresponding child user information, the child user being increased can access control, but due to Only reconciliation information is authorized so that in the access control of smart home, there is safety to a certain extent Problem, and for needing to carry out the control mode of primary user's mandate, it is required for obtaining the license of primary user due to accessing every time, shows It is so there is a situation where inconvenient for operation in practical application, keeps user experience not good enough.
Invention content
The main purpose of the present invention is to provide the Authority sharing method of smart home a kind of, server, smart homes Rights sharing system and calculating knot readable storage medium storing program for executing, it is intended to solve how to ensure the same of the convenience of smart home access When ensure intelligent domestic system access safety the technical issues of.
To achieve the above object, the present invention provides a kind of Authority sharing method of smart home, the power of the smart home Limit sharing method includes the following steps:
When receiving the access request of smart home of first terminal transmission, identifies and obtain the access request correspondence Account information and the corresponding identification information of the first terminal;
Judge whether the account information is mandate account information, and when the account information is to authorize account information, Based on the incidence relation between the account information and the identification information, determine whether the first terminal possesses access right Limit;
When determining that the first terminal possesses access rights, the access rights of the open smart home give described first Terminal, and send and access successful prompt message to the first terminal.
Optionally, described when receiving the access request of smart home of first terminal transmission, identify that the access is asked Further include before the step of asking corresponding account information and the first terminal corresponding identification information:
It receives each account information input by user and associated terminal mark corresponding with each account information is believed Breath, to be stored in correspondence list.
Optionally, described to judge whether the account information is mandate account information, and be to authorize in the account information When account information, based on the incidence relation between the account information and the identification information, whether the first terminal is determined The step of possessing access rights include:
It inquires and whether there is the account information in the correspondence list, whether be to award with the determination account information Weigh account information;
When the account information is to authorize account information, the account information is obtained in the correspondence list Associated terminal identification information;
The associated terminal identification information is compared with the identification information, whether is gathered around with the determination first terminal There are access rights.
Optionally, described to compare the associated terminal identification information with the identification information, with determination described The step of whether one terminal possesses access rights include:
When the associated terminal identification information is identical as the identification information, determine that the first terminal possesses access right Limit;
When the associated terminal identification information and the identification information differ, determine that the first terminal does not access Permission.
Optionally, described when the associated terminal identification information is differed with the identification information, determine described first Terminal does not have:
The account information and identification information are sent to second terminal, so that the second terminal determines whether to open Access rights give the first terminal;
When receiving the determine instruction that the second terminal is sent, the access rights of the open smart home are to described First terminal, and send and access successful prompt message to the first terminal.
Optionally, described that the account information and identification information are sent to second terminal, for the second terminal Determining whether the step of open visit permission is to the first terminal later further includes:
It is not received by when ignoring instruction of receiving that the second terminal sends or within a preset period of time described the It when the determine instruction that two terminals are sent, determines that the first terminal does not have access rights, and sends the prompt message for accessing failure To shown first terminal.
Optionally, it whether there is the account information in the inquiry correspondence list, with the determination account Whether information is the step of authorizing account information:
When the account information is not to authorize account information, determine that the first terminal does not have access rights, and send The prompt message of failure is accessed to the first terminal.
In addition, to achieve the above object, the present invention also provides a kind of servers, which is characterized in that the server includes Memory, processor and it is stored in the Authority sharing program that can be run on the memory and on the processor, the power The step of limit shared routing realizes the Authority sharing method of smart home as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of rights sharing system of smart home, the intelligence man The rights sharing system in residence includes first terminal, second terminal and server as claimed in claim 8, wherein described Two terminals are for performing the following operations:
Receive the corresponding account information of the first terminal and identification information that the server is sent;
Control instruction input by user is received, and identifies the corresponding control information of the control instruction;
Based on the control information, determine whether the first terminal possesses access rights, and the definitive result that will be obtained It is sent to the server.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Authority sharing program is stored on storage medium, the Authority sharing program realizes intelligence as described above when being executed by processor The step of Authority sharing method of energy household.
A kind of Authority sharing method for smart home that the embodiment of the present invention proposes receives first terminal hair in server When the access request of the smart home sent, received access request is identified first to obtain account used by a user Number information, and the identification information of first terminal is identified, then according to obtained account information and first terminal Identification information determines whether first terminal possesses access rights, finally when determining that first terminal possesses access rights, open intelligence The access rights of energy household send to first terminal and access successful prompt message to first terminal.It realizes and is obtained in user When taking the permission to smart home device progress remote control, permission is only not only carried out according to account information used by a user Judgement, further determines whether user possesses real control authority also according to terminal device used by a user, effective to protect The safe to use of smart home device has been demonstrate,proved, the experience of user is enhanced.
Description of the drawings
Fig. 1 is the structural schematic diagram for the server that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of one embodiment of Authority sharing method of smart home of the present invention;
Fig. 3 is the refinement flow diagram of step S20 in Fig. 2;
Fig. 4 is the circuit theory schematic diagram of the rights sharing system of smart home of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
As shown in Figure 1, the structural schematic diagram for the server that Fig. 1, which is the embodiment of the present invention, to be related to.
Fig. 1 shows the block diagram of the exemplary servers 1 suitable for being used for realizing embodiment of the present invention.The clothes that Fig. 1 is shown Business device 1 is only an example, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in Figure 1, server 1 is showed in the form of universal computing device.The component of server 1 may include but unlimited In:One or more processor or processing unit 12, system storage 11, connection different system component (including system is deposited Reservoir 11 and processing unit 12) bus 15.
Bus 15 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 1 typically comprises a variety of computer system readable media.These media can any can be serviced The usable medium that device 1 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 11 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 111 and/or cache memory 112.Server 1 may further include other removable/nonremovable , volatile/non-volatile computer system storage medium.Only as an example, storage system 113 can be used for reading and writing not removable Dynamic, non-volatile magnetic media (commonly referred to as " hard disk drive ").Although being not shown in Fig. 1, can provide for removable The disc driver of dynamic non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable anonvolatile optical disk (such as CD- ROM, DVD-ROM or other optical mediums) read-write CD drive.In these cases, each driver can pass through one A or multiple data media interfaces are connected with bus 15.Memory 11 may include at least one program product, program production There is product one group of (for example, at least one) program module, these program modules to be configured to perform the work(of various embodiments of the present invention Energy.
Program/utility 114 with one group of (at least one) program module 1141, can be stored in such as memory In 11, such program module 1141 includes but not limited to operating system, one or more application program, other program modules And program data, the realization of network environment may be included in each or certain combination in these examples.Program module 1141 usually execute function and/or method in embodiment described in the invention.
Server 1 can also be communicated with one or more external equipments 3 (such as keyboard, sensing equipment, display 2 etc.), Can also enable a user to the equipment interacted with the server 1 communication with one or more, and/or with enable the server 1 Any equipment (such as network interface card, modem etc.) communication communicated with one or more of the other computing device.It is this Communication can be carried out by input/output (I/O) interface 13.Also, server 1 can also pass through network adapter 3 and one Or multiple networks (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As schemed Show, network adapter 14 is communicated by bus 15 with other modules of server 1.It should be understood that although not shown in the drawings, can be with Other hardware and/or software module are used in conjunction with server 1, including but not limited to:Microcode, device driver, redundancy processing Unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 12 is stored in program in system storage 11 by operation, to perform various functions application and Data processing, such as realize the service configuration method that the embodiment of the present invention is provided.
As shown in Figure 1, as a kind of computer storage media, one or more computer-readable media may be used Arbitrary combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer Readable storage medium storing program for executing for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, dress It sets or device, or the arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium wraps It includes:It is electrical connection, portable computer diskette, hard disk, random access memory (RAM) with one or more conducting wires, read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CDROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable Storage medium can be any include or storage program tangible medium, the program can be commanded execution system, device or Device use or in connection.
Computer-readable signal media may include in a base band or as the data-signal that a carrier wave part is propagated, Wherein carry computer-readable program code.Diversified forms may be used in the data-signal of this propagation, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with one or more programming languages or combinations thereof for executing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Small-talk, C+ +, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute on the user computer, partly execute, executed as an independent software package on the user computer, Part executes or executes on a remote computer or server completely on the remote computer on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including LAN (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Based on above-mentioned server architecture, computer readable storage medium and communication network, service procedure of the present invention is proposed Control method and each embodiment of server.
It is the flow diagram of one embodiment of Authority sharing method of smart home of the present invention, the intelligence with reference to Fig. 2, Fig. 2 Can the Authority sharing method of household include:
Step S10 is identified when receiving the access request of smart home of first terminal transmission and is obtained the access Ask corresponding account information and the corresponding identification information of the first terminal;
In the present embodiment, when receiving the access request of intelligent domestic system of first terminal transmission, identification is received The account information corresponding to access request arrived, and identification obtain the identification information corresponding to first terminal.
Specifically, being established between first terminal and server has corresponding communication to connect, and user is logged in using first terminal Server, and then the access request of the corresponding smart home of transmission, to server, server is receiving first terminal transmission When access request, access request is identified, to obtain account information entrained in access request, while being accessed sending The identification information of the first terminal of request is identified, to obtain the unique identification information corresponding to first terminal, so that it is accurate Obtain corresponding account information and the corresponding identification information of first terminal.
Further, further include before step S10:Receive each account information input by user and with each account The corresponding associated terminal identification information of information, to be stored in correspondence list.
In the present embodiment, to authorizing the identification information of account information and corresponding terminal tube apparatus to carry out rights management When, account information input by user, and the identification information of associated terminal device corresponding with account information are received, and then preserve In correspondence list, wherein the identification information of the terminal device preserved, which is server, is receiving terminal transmission request letter The identification information that can be identified when breath.Specifically, in correspondence list, the identification information of account information and terminal device it Between there are certain correspondence, can be that the identification information of account information and terminal device corresponds, can also be multipair It answers, for example, an account information has corresponded to mostly terminal device or a terminal device corresponds to multiple account informations, in this reality It applies in example, preferably the one-to-one correspondence of account information and terminal device.
Step S20 judges whether the account information is mandate account information, and is to authorize account in the account information When information, based on the incidence relation between the account information and the identification information, determine whether the first terminal possesses Access rights;
In the present embodiment, the account information and first corresponding to the access request transmitted by first terminal is being obtained eventually After the identification information at end, first determine whether account information used by a user is to authorize account information, and then determination is made again Incidence relation between account information and the identification information of first terminal determines whether first terminal possesses access rights.
Specifically, when server receives the access request transmitted by first terminal, server in access request to taking After the account information of band and the identification information of first terminal are identified, and then judge to determine whether first terminal possesses access The identification information of permission, wherein first terminal is the unique identification information of terminal, the corresponding identification information of different terminal devices Shi Butong's.In the corresponding identification information of the account information and first terminal of acquisition, first determine whether account information whether be Account information is authorized, then determines whether first terminal is the terminal device licensed again, wherein determining that account information is When the no account information for mandate, by acquisition authority information list, then account information and authority information list are compared, Whether there is acquired account information in the information list that defines the competence, when there is no acquired account in authority information list When information, it is that account information, i.e., no access rights is authorized to be deposited when in authority information list to illustrate obtained account information not In acquired account information, will determine whether to possess really according further to the identification information corresponding to first terminal Access rights, wherein when the incidence relation of the identification information of first terminal and account information is correct, illustrate that first terminal has Access rights then need further when the incidence relation exception of the identification information of first terminal and account information to first The access of terminal is judged.
Step S30, when determining that the first terminal possesses access rights, the access rights of the open smart home are given The first terminal, and send and access successful prompt message to the first terminal.
In the present embodiment, based on the identification information corresponding to obtained account information and first terminal, when determining When one terminal conduit possesses access rights, by the access rights of open smart home to first terminal, while corresponding access is sent Successful prompt message is to first terminal.Specifically, it when determining that first terminal possesses the access rights of smart home, will send Successful prompt message is accessed to first terminal, while opening the access rights of smart home, that is, first terminal can at this time Controlled accordingly smart home.
In the present embodiment, right first when receiving the access request of smart home of first terminal transmission in server Received access request is identified to obtain account information used by a user, and to the identification information of first terminal into Row identification, then determines whether first terminal possesses access according to the identification information of obtained account information and first terminal Permission, finally when determining that first terminal possesses access rights, the access rights of open smart home are sent to first terminal Successful prompt message is accessed to first terminal.It realizes in the permission that user's acquisition controls smart home device, Permission judgement is only not only carried out according to account information used by a user, further also according to terminal device used by a user It determines whether user possesses real control authority, is effectively guaranteed the safe to use of smart home device, enhances user Experience.
Further, it is the refinement flow diagram of step S20 in Fig. 2 with reference to Fig. 3, Fig. 3.
Specifically, step S20 includes:
Step S201 is inquired and be whether there is the account information in the correspondence list, is believed with the determination account Whether breath is to authorize account information;
Step S202 obtains the account information in the corresponding pass when the account information is to authorize account information Associated terminal identification information in series of tables;
Step S203 compares the associated terminal identification information with the identification information, with determination described first Whether terminal possesses access rights.
In the present embodiment, when obtaining the identification information of account information and first terminal, arranged first from correspondence It is inquired in table, determines whether obtained account information is to authorize account information, and determining obtained account information It is the corresponding associated terminal identification information of this account information to be obtained from correspondence list, and then really when authorizing account information Whether fixed obtained associated terminal identification information is compared with the identification information of the first terminal being previously obtained, to determine the Whether one terminal possesses access rights.
When the access rights to first terminal judge, corresponded to according to obtained account information and first terminal Identification information inquired from correspondence list, and then determine whether to possess access rights, wherein correspondence list As shown in table 1 below.
Table 1
Authorize account information Account information A Account information B Account information C Account information D
Terminal identification information Terminal a Terminal b Terminal c Terminal d
By upper table 1 it is found that account information A is corresponding with terminal a, account information B is corresponding with terminal b, account information C and terminal C is corresponding and account information D is corresponding with terminal d.When obtaining first terminal and accessing smart home corresponding account information with And it when the corresponding identification information of first terminal, is primarily based on account information and is inquired from correspondence list, such as currently Used account information is account information B, then corresponding properly terminated is terminal b at this time, if the mark based on first terminal Know information and determine that first terminal is terminal e, it is determined that first terminal the case where there are access exceptions;If the mark based on first terminal Know information and determine that first terminal is terminal b, it is determined that first terminal accesses normally, i.e., first terminal possesses access rights.Also It is, there are when obtained identification information in correspondence list, when the mark of associated terminal identification information and first terminal When information is identical, determine that first terminal possesses access rights;When the identification information of associated terminal identification information and first terminal not When identical, determine that the current accessed of first terminal is abnormal.
Specifically, when determining whether the terminal device for sending access request possesses access rights, it is first determined corresponding Account information whether there is in correspondence list, then determine again account information corresponding end message whether with access terminal Whether corresponding identification information is identical, and only in account information, identification information corresponding with terminal is accessed can be associated with, and When existing in correspondence list, just determination possesses access rights.
Further, in correspondence list be not present obtained account information when, by obtained account information with And the corresponding identification information of first terminal is sent to second terminal, so that second terminal determines whether to give first terminal access right Limit sends when receiving the determine instruction of second terminal transmission and accesses successful prompt message to first terminal, and open and visit Ask permission;When receive second terminal ignore instruction or be not received by within a preset period of time second terminal send really When instructing surely, it is determined that first terminal pipe does not have access rights, in the same of the prompt message for sending access failure to first terminal When, record accesses record at this time, if being not received by the command information of second terminal within a certain period of time, is then determining the When one terminal does not have access rights, the history information for accessing failure is sent to second terminal.
It should be noted that " first terminal " and " second terminal " mentioned by the above embodiments, first eventually End can be arbitrary access terminal, and second terminal is master terminal set in intelligent domestic system, that is, first terminal It is the sub- terminal of second terminal, in brief, second terminal has the dominant right of access control right, when the access of first terminal When occurring abnormal, second terminal can be controlled accordingly.
The present invention also provides a kind of servers.
Server provided by the present invention includes:It memory, processor and is stored on the memory and can be described The Authority sharing program run on processor, the Authority sharing program are realized as described above when being executed by the processor The step of Authority sharing method of smart home.
Wherein, the Authority sharing program run on the processor is performed realized method and can refer to the present invention The each embodiment of Authority sharing method of smart home, details are not described herein.
In addition the embodiment of the present invention also provides a kind of rights sharing system of smart home.
It is the circuit theory schematic diagram of the rights sharing system of smart home of the present invention with reference to Fig. 4, Fig. 4.
The rights sharing system of smart home provided by the present invention includes first terminal, second terminal and such as above-mentioned institute The server stated.Being established wherein between server and first terminal and second terminal has communication to connect, and communicates the mode of connection It can be wired, can also be wireless, carry out communication connection preferably by wireless network in the present embodiment.
Server is used for:When receiving the access request of smart home of first terminal transmission, identify that the access is asked Ask corresponding account information and the corresponding identification information of the first terminal;It is true based on the account information and identification information Whether the fixed first terminal possesses access rights;When determining that the first terminal possesses access rights, the open intelligence The access rights of household give the first terminal, and send and access successful prompt message to the first terminal.
Second terminal is used for:Receive the corresponding account information of the first terminal and mark that the server is sent Information;Control instruction input by user is received, and identifies the corresponding control information of the control instruction;Believed based on the control Breath, determines whether the first terminal possesses access rights, and obtained definitive result is sent to the server.
User sends corresponding solicited message, server to server in the actual use process, using first terminal When receiving solicited message, the mark letter of account information entrained in solicited message and first terminal is identified and obtained Breath, and then by inquiring corresponding correspondence list to determine whether first terminal possesses access rights, it is first determined it is corresponding It whether there is obtained account information in relation list, when there are this account information, by the mark of the first terminal identified Know information and the identification information of the associated terminal device of account information is compared, if identical, it is determined that first terminal possesses visit It asks permission, if differing, the identification information of account information and first terminal is sent to second terminal, when receiving second When the determine instruction that terminal returns, illustrate that first terminal possesses access rights, when being not received by determine instruction, explanation does not have Access rights, meanwhile, when obtained account information being not present in correspondence list, directly determine that first terminal is not visited Ask permission.
In addition the embodiment of the present invention also proposes a kind of computer readable storage medium.
Authority sharing program is stored on computer readable storage medium of the present invention, the Authority sharing program is by processor The step of Authority sharing method of smart home as described above is realized when execution.
Wherein, the Authority sharing program run on the processor is performed realized method and can refer to the present invention The each embodiment of Authority sharing method of smart home, details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of Authority sharing method of smart home, which is characterized in that the Authority sharing method of the smart home include with Lower step:
When receiving the access request of smart home of first terminal transmission, identifies and obtain the corresponding account of the access request Number information and the corresponding identification information of the first terminal;
Judge whether the account information is to authorize account information, and when the account information is to authorize account information, be based on Incidence relation between the account information and the identification information, determines whether the first terminal possesses access rights;
When determining that the first terminal possesses access rights, the access rights of the open smart home are whole to described first End, and send and access successful prompt message to the first terminal.
2. the Authority sharing method of smart home as described in claim 1, which is characterized in that described to receive first terminal When the access request of the smart home of transmission, identify that the corresponding account information of the access request and the first terminal correspond to Identification information the step of before further include:
Each account information input by user and associated terminal identification information corresponding with each account information are received, with It is stored in correspondence list.
3. the Authority sharing method of smart home as claimed in claim 2, which is characterized in that described to judge the account information Whether it is to authorize account information, and when the account information is to authorize account information, be based on the account information and the mark Know the incidence relation between information, determines that the step of whether first terminal possesses access rights includes:
It inquires and whether there is the account information in the correspondence list, whether be to authorize account with the determination account information Number information;
When the account information is to authorize account information, association of the account information in the correspondence list is obtained Terminal identification information;
The associated terminal identification information is compared with the identification information, whether visit is possessed with the determination first terminal Ask permission.
4. the Authority sharing method of smart home as claimed in claim 3, which is characterized in that described by the associated terminal mark Knowing the step of information is compared with the identification information, whether possesses access rights with the determination first terminal includes:
When the associated terminal identification information is identical as the identification information, determine that the first terminal possesses access rights;
When the associated terminal identification information and the identification information differ, determine that the first terminal does not have access right Limit.
5. the Authority sharing method of smart home as claimed in claim 4, which is characterized in that described to work as the associated terminal mark When knowledge information is differed with the identification information, determine that the first terminal does not have to further include after the step of access rights:
The account information and identification information are sent to second terminal, so that the second terminal determines whether open visit Permission gives the first terminal;
When receiving the determine instruction that the second terminal is sent, the access rights of the open smart home give described first Terminal, and send and access successful prompt message to the first terminal.
6. the Authority sharing method of smart home as claimed in claim 5, which is characterized in that it is described by the account information with And identification information is sent to second terminal, so that the second terminal determines whether open visit permission to the first terminal Further include after step:
It is not received by when ignoring instruction of receiving that the second terminal sends or within a preset period of time described second eventually It when holding the determine instruction sent, determines that the first terminal does not have access rights, and sends the prompt message for accessing failure to institute Show first terminal.
7. the Authority sharing method of smart home as claimed in claim 6, which is characterized in that the inquiry correspondence It whether there is the account information in list, whether be also to be wrapped later the step of authorizing account information with the determination account information It includes:
When the account information is not to authorize account information, determine that the first terminal does not have access rights, and send access The prompt message of failure is to the first terminal.
8. a kind of server, which is characterized in that the server includes memory, processor and is stored on the memory simultaneously The Authority sharing program that can be run on the processor is realized when the Authority sharing program is executed by the processor as weighed Profit requires the step of Authority sharing method of the smart home described in any one of 1 to 7.
9. a kind of rights sharing system of smart home, which is characterized in that the rights sharing system of the smart home includes the One terminal, second terminal and server as claimed in claim 8, wherein the second terminal is for performing the following operations:
Receive the corresponding account information of the first terminal and identification information that the server is sent;
Control instruction input by user is received, and identifies the corresponding control information of the control instruction;
It based on the control information, determines whether the first terminal possesses access rights, and obtained definitive result is sent To the server.
10. a kind of computer readable storage medium, which is characterized in that storage has permission altogether on the computer readable storage medium Program is enjoyed, the smart home as described in any one of claim 1 to 7 is realized when the Authority sharing program is executed by processor Authority sharing method the step of.
CN201810506626.8A 2018-05-24 2018-05-24 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home Withdrawn CN108737424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810506626.8A CN108737424A (en) 2018-05-24 2018-05-24 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810506626.8A CN108737424A (en) 2018-05-24 2018-05-24 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home

Publications (1)

Publication Number Publication Date
CN108737424A true CN108737424A (en) 2018-11-02

Family

ID=63935100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810506626.8A Withdrawn CN108737424A (en) 2018-05-24 2018-05-24 Authority sharing method, server, system and the readable storage medium storing program for executing of smart home

Country Status (1)

Country Link
CN (1) CN108737424A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474977A (en) * 2018-11-29 2019-03-15 华普特科技(深圳)股份有限公司 A kind of monitoring method of equipment, apparatus and system
CN110140671A (en) * 2019-06-06 2019-08-20 江苏农牧科技职业学院 A kind of herding pet monitoring device and system
CN110209060A (en) * 2019-05-23 2019-09-06 无锡小天鹅电器有限公司 A kind of control method and device, equipment and computer storage medium
CN110543751A (en) * 2019-07-19 2019-12-06 西安万像电子科技有限公司 Data processing method and device and server
CN111049711A (en) * 2019-11-28 2020-04-21 苏宁智能终端有限公司 Device control right sharing method and device, computer device and storage medium
CN111191278A (en) * 2019-12-20 2020-05-22 珠海格力电器股份有限公司 Sleep report checking control method, equipment and medium
CN111277565A (en) * 2020-01-08 2020-06-12 北京松果电子有限公司 Information processing method and device, and storage medium
CN111465077A (en) * 2019-01-21 2020-07-28 珠海格力电器股份有限公司 Equipment control method and device, storage medium and terminal
CN111638968A (en) * 2019-03-01 2020-09-08 维塔科技(北京)有限公司 Shared memory access permission setting method and device, electronic equipment and storage medium
CN111781851A (en) * 2020-08-14 2020-10-16 水雯琦 Home control system and method based on big data analysis
CN112379853A (en) * 2020-11-04 2021-02-19 康佳集团股份有限公司 Internet of things terminal screen sharing method, equipment and storage medium
CN112443952A (en) * 2019-08-30 2021-03-05 广东美的制冷设备有限公司 Household appliance sharing method, sharing terminal and terminal equipment
CN112597471A (en) * 2020-12-18 2021-04-02 青岛海尔科技有限公司 Device authorization control method and device, storage medium and electronic device
CN113596593A (en) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 Multi-terminal interaction method, television and computer readable storage medium
CN113765897A (en) * 2021-08-20 2021-12-07 北京万千维度网络科技有限公司 Sharing use method and system of electronic equipment
CN113938343A (en) * 2020-06-29 2022-01-14 大众问问(北京)信息科技有限公司 Intelligent household control method, system and device and computer equipment
CN114003187A (en) * 2020-07-28 2022-02-01 惠州视维新技术有限公司 Hardware sharing method and device
CN114422236A (en) * 2021-10-27 2022-04-29 珠海奔图电子有限公司 Intelligent device access method and device and electronic device
CN115473732A (en) * 2022-09-09 2022-12-13 北京芯盾时代科技有限公司 Method, device, equipment and storage medium for sharing Web application account
CN115499248A (en) * 2022-11-17 2022-12-20 北京珞安科技有限责任公司 Equipment access control method and system

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474977A (en) * 2018-11-29 2019-03-15 华普特科技(深圳)股份有限公司 A kind of monitoring method of equipment, apparatus and system
CN111465077B (en) * 2019-01-21 2021-09-07 珠海格力电器股份有限公司 Equipment control method and device, storage medium and terminal
CN111465077A (en) * 2019-01-21 2020-07-28 珠海格力电器股份有限公司 Equipment control method and device, storage medium and terminal
CN111638968B (en) * 2019-03-01 2024-03-15 维塔科技(北京)有限公司 Shared memory access authority setting method and device, electronic equipment and storage medium
CN111638968A (en) * 2019-03-01 2020-09-08 维塔科技(北京)有限公司 Shared memory access permission setting method and device, electronic equipment and storage medium
CN110209060A (en) * 2019-05-23 2019-09-06 无锡小天鹅电器有限公司 A kind of control method and device, equipment and computer storage medium
CN110209060B (en) * 2019-05-23 2022-03-11 无锡小天鹅电器有限公司 Control method, control device, control equipment and computer storage medium
CN110140671A (en) * 2019-06-06 2019-08-20 江苏农牧科技职业学院 A kind of herding pet monitoring device and system
CN110543751A (en) * 2019-07-19 2019-12-06 西安万像电子科技有限公司 Data processing method and device and server
CN112443952A (en) * 2019-08-30 2021-03-05 广东美的制冷设备有限公司 Household appliance sharing method, sharing terminal and terminal equipment
CN111049711A (en) * 2019-11-28 2020-04-21 苏宁智能终端有限公司 Device control right sharing method and device, computer device and storage medium
CN111049711B (en) * 2019-11-28 2022-01-11 苏宁智能终端有限公司 Device control right sharing method and device, computer device and storage medium
CN111191278A (en) * 2019-12-20 2020-05-22 珠海格力电器股份有限公司 Sleep report checking control method, equipment and medium
CN111277565B (en) * 2020-01-08 2022-04-12 北京小米松果电子有限公司 Information processing method and device, and storage medium
CN111277565A (en) * 2020-01-08 2020-06-12 北京松果电子有限公司 Information processing method and device, and storage medium
US11777939B2 (en) 2020-01-08 2023-10-03 Beijing Xiaomi Pinecone Electronics Co., Ltd. Method and device for processing information, and storage medium
CN113938343A (en) * 2020-06-29 2022-01-14 大众问问(北京)信息科技有限公司 Intelligent household control method, system and device and computer equipment
CN114003187A (en) * 2020-07-28 2022-02-01 惠州视维新技术有限公司 Hardware sharing method and device
CN111781851A (en) * 2020-08-14 2020-10-16 水雯琦 Home control system and method based on big data analysis
CN111781851B (en) * 2020-08-14 2021-09-10 上海木外信息咨询服务有限公司 Home control system and method based on big data analysis
CN112379853A (en) * 2020-11-04 2021-02-19 康佳集团股份有限公司 Internet of things terminal screen sharing method, equipment and storage medium
CN112597471B (en) * 2020-12-18 2023-02-03 青岛海尔科技有限公司 Device authorization control method and device, storage medium and electronic device
CN112597471A (en) * 2020-12-18 2021-04-02 青岛海尔科技有限公司 Device authorization control method and device, storage medium and electronic device
CN113596593A (en) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 Multi-terminal interaction method, television and computer readable storage medium
CN113765897A (en) * 2021-08-20 2021-12-07 北京万千维度网络科技有限公司 Sharing use method and system of electronic equipment
CN114422236A (en) * 2021-10-27 2022-04-29 珠海奔图电子有限公司 Intelligent device access method and device and electronic device
CN114422236B (en) * 2021-10-27 2023-12-01 珠海奔图电子有限公司 Intelligent device access method and device and electronic device
CN115473732A (en) * 2022-09-09 2022-12-13 北京芯盾时代科技有限公司 Method, device, equipment and storage medium for sharing Web application account
CN115499248B (en) * 2022-11-17 2023-03-24 北京珞安科技有限责任公司 Equipment access control method and system
CN115499248A (en) * 2022-11-17 2022-12-20 北京珞安科技有限责任公司 Equipment access control method and system

Similar Documents

Publication Publication Date Title
CN108737424A (en) Authority sharing method, server, system and the readable storage medium storing program for executing of smart home
CN112738805B (en) Device control method and apparatus, storage medium, and electronic device
CN106134143B (en) Method, apparatus and system for dynamic network access-in management
US20230021634A1 (en) OTA System Software Upgrade Control Method and Terminal Device
US20220021714A1 (en) Methods and apparatus for registering a device to server
US9979752B1 (en) Selective regulation of information transmission from mobile applications to third-party privacy compliant target systems
CN111586145B (en) Vehicle diagnosis method, system, electronic equipment and storage medium
CN103098068A (en) Method and apparatus for an ephemeral trusted device
CN106534072A (en) User information authorization method, apparatus, equipment and system
CN104834602A (en) Program issuing method, device and system
CN109600384A (en) Flow switching method, system, equipment and storage medium in RPC interface upgrade
CN103686226A (en) Method and system for monitoring internet access of set top box based on cloud computation and set top box
CN108768730A (en) Method and apparatus for operating intelligent network adapter
CN108023794A (en) A kind of equipment access control method and device
CN103618967A (en) Method and device for interaction of mobile terminal and television end
CN112422372A (en) MQTT protocol industrial equipment data simulation method based on reflection mechanism
CN105792025A (en) Device information obtaining method and terminal
US20040150625A1 (en) Virtual keyboard and mouse control device
CN103428260A (en) System and method for allocating server to terminal and efficiently delivering messages to the terminal
US20120117190A1 (en) Method and apparatus for providing service using personal network
CN103067503A (en) Method, device and system for achieving application synchronism
CN113722729B (en) Authority management method, device, terminal, server and storage medium
CN109246232A (en) Data transmission method, system and device
US11212352B2 (en) Sharing system, method, and management server
CN110427749A (en) A kind of implementation method of service, equipment and computer storage medium

Legal Events

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

Application publication date: 20181102

WW01 Invention patent application withdrawn after publication