CN108809968A - Collaborative share method, apparatus and storage medium - Google Patents

Collaborative share method, apparatus and storage medium Download PDF

Info

Publication number
CN108809968A
CN108809968A CN201810524886.8A CN201810524886A CN108809968A CN 108809968 A CN108809968 A CN 108809968A CN 201810524886 A CN201810524886 A CN 201810524886A CN 108809968 A CN108809968 A CN 108809968A
Authority
CN
China
Prior art keywords
intelligent target
target equipment
terminal
user account
message
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.)
Granted
Application number
CN201810524886.8A
Other languages
Chinese (zh)
Other versions
CN108809968B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810524886.8A priority Critical patent/CN108809968B/en
Publication of CN108809968A publication Critical patent/CN108809968A/en
Application granted granted Critical
Publication of CN108809968B publication Critical patent/CN108809968B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
    • H04L41/0293Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP] for accessing web services by means of a binding identification of the management service or element
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of collaborative share method, apparatus and storage mediums, belong to the communications field.This method includes:To server sending device inquiry request.The network identity and the first user account of the wireless network that first terminal is currently accessed are carried in being asked due to equipment query, so after server receives equipment query request, the description information of Intelligent target equipment can be obtained according to network identity and the first user account, and the description information of Intelligent target equipment is sent to first terminal.When first terminal receives the description information of the Intelligent target equipment of server transmission, the first prompting message is shown, when detecting the confirmation operation to the first prompting message, sent to server and share received message.When server receives shared received message, the first user account and Intelligent target equipment are bound so that first terminal can be quickly obtained the right to use and operating rights of Intelligent target equipment, improve the efficiency of collaborative share.

Description

Collaborative share method, apparatus and storage medium
Technical field
This disclosure relates to the communications field more particularly to a kind of collaborative share method, apparatus and storage medium.
Background technology
With the development of science and technology, the smart machines such as intelligent air condition, intelligent kettle, Intelligent air purifier gradually appear In the visual field of people.In practical application, the owner of smart machine can by the terminal remote controls smart machine such as mobile phone, The smart machine of oneself can also be shared to other users.For the ease of subsequently illustrating, other users can be known as first The owner of smart machine is known as second user by user.
Currently, when the smart machine of oneself is shared to the first user by second user, second user can be second eventually The first user account is inputted in the collaborative share interface at end, in this way, second terminal can be sent by server to first terminal Shared notice, second terminal are the corresponding terminal of second user, and first terminal is the corresponding terminal of the first user.Work as first terminal After receiving the shared notice, it can show that the shared notice triggers if the first user receiving is shared on first terminal Confirm sharing operation.At this point, first terminal can be sent to server shares received message.It shared is connect when server receives this When by message, the first user account and the smart machine can be bound, in this way, the first user just obtains to the intelligence The right to use and operating rights of equipment.
Invention content
In order to solve the problems in the relevant technologies, the embodiment of the present disclosure provides a kind of collaborative share method, apparatus and deposits Storage media.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of collaborative share method is provided, first terminal, the side are applied to Method includes:
To server sending device inquiry request, carry what the first terminal was currently accessed in the equipment query request The network identity of wireless network and the first user account, first user account are the account that the first terminal currently logs in Number, the equipment query request is used to indicate the description information that the server obtains and returns to Intelligent target equipment, the mesh Mark smart machine is unbound with first user account and allows shared smart machine;
When receiving the description information for the Intelligent target equipment that the server is sent, the first prompt of display disappears Whether breath, first prompting message control the Intelligent target equipment by the first terminal for prompting;
When detecting the confirmation operation to first prompting message, is sent to the server and shares received message, The shared received message is used to indicate the server and ties up first user account and the Intelligent target equipment It is fixed.
Optionally, the description information of the Intelligent target equipment includes the mark of the Intelligent target equipment;
After the shared received message to server transmission, further include:
Control message is sent to the server, first user account, described is at least carried in the control message The mark and control operation, the control message of Intelligent target equipment are used to indicate Intelligent target described in the server controls and set It is standby to execute the control operation;
The control success message or lack of competence operation indicating message, described control for receiving the server transmission successfully disappear Breath is used for prompting to have become the control operation of Intelligent target equipment execution described in power control system, the lack of competence operation indicating message In the permission for prompting the first terminal not control the Intelligent target equipment, and the lack of competence operation indicating message is institute Server is stated to send when determining that the binding relationship between first user account and the Intelligent target equipment has released.
Optionally, the network identity for the wireless network that the first terminal is currently accessed also is carried in the control message.
Optionally, the network identity carried in the control message and the network identity carried in equipment query request It is different.
Optionally, after the shared received message to server transmission, further include:
The shared releasing notification message that the server is sent is received, the shared releasing notification message is described for notifying First terminal and the binding relationship of the Intelligent target equipment have released.
According to the second aspect of the embodiment of the present disclosure, a kind of collaborative share method is provided, is applied to server, the method Including:
The equipment query request that first terminal is sent is received, it is current to carry the first terminal in the equipment query request The network identity of the wireless network of access and the first user account, first user account are that the first terminal currently logs in Account;
The network identity and first user account carried in being asked according to the equipment query obtains Intelligent target and sets Standby description information, the Intelligent target equipment are unbound with first user account and allow shared smart machine;
The description information of the Intelligent target equipment is sent to the first terminal;
When receiving the shared received message that the first terminal is sent, by first user account and the target Smart machine is bound.
Optionally, the network identity and first user account carried in the request according to the equipment query, is obtained The description information of Intelligent target equipment is taken, including:
The description information of at least one smart machine, the shared equipment letter are obtained from the shared facility information table of storage Breath table is used to store network identity, the description information of the wireless network for allowing shared each smart machine to access, and possesses The network identity of the account of person, the wireless network of at least one smart machine access is carried with equipment query request Network identity it is identical;
By the smart machine different from first user account of the account of owner at least one smart machine It is determined as the Intelligent target equipment;
The description information of the Intelligent target equipment is obtained from the shared facility information table.
Optionally, obtained in the shared facility information table from storage at least one smart machine description information it Before, further include:
The collaborative share request that second terminal is sent is received, second user account, institute are carried in the collaborative share request State the network identity of the description information of Intelligent target equipment and the wireless network of Intelligent target equipment access, described the Two user accounts are the account of the owner of the Intelligent target equipment;
The second user account, the description information of the Intelligent target equipment and the Intelligent target equipment are connect The network identity of the wireless network entered is stored into the shared facility information table.
Optionally, the description information of the Intelligent target equipment includes the mark of the Intelligent target equipment;
It is described first user account and the Intelligent target equipment are bound after, further include:
The control message that the first terminal is sent is received, the first user account is at least carried in the control message Number, the mark of the Intelligent target equipment and control operation;
When the mark according to first user account and the Intelligent target equipment, determine first user account with There are when binding relationship, controlling the Intelligent target equipment and execute the control to operate between the Intelligent target equipment, and to The first terminal sends control success message, and the control success message is used to indicate Intelligent target described in the power control system of having become and sets It is standby to execute the control operation;
When the mark according to first user account and the Intelligent target equipment, determine first user account with When binding relationship between the Intelligent target equipment has released, lack of competence operation indicating message is sent to the first terminal, The permission that the lack of competence operation indicating message is used to that the first terminal to be prompted not control the Intelligent target equipment.
Optionally, the network identity for the wireless network that the first terminal is currently accessed also is carried in the control message;
Before the control Intelligent target equipment executes the control operation, further include:
The sharing mode of the Intelligent target equipment is obtained, the sharing mode includes that the first sharing mode or second are shared Mode, first sharing mode refer under same wireless network share the Intelligent target equipment mode, described second Sharing mode refers to the mode shared the network of the Intelligent target equipment and be not limited;
When the sharing mode of the Intelligent target equipment is first sharing mode, and carried in the control message When network identity is identical as the network identity of wireless network that the Intelligent target equipment accesses, executes and control the Intelligent target Equipment executes the step of control operation;
When the sharing mode of the Intelligent target equipment is second sharing mode, directly executes and control the target Smart machine executes the step of control operation.
Optionally, it is described first user account and the Intelligent target equipment are bound after, further include:
The removal instruction that second terminal is sent is received, second user account, the target intelligence are carried in the removal instruction The mark of energy equipment and first user account;
According to the mark of the second user account and the Intelligent target equipment, first user account and institute are released State the binding relationship between Intelligent target equipment;
To the first terminal send it is shared release notification message, shared the releasings notification message is used to notify described the The binding relationship of one terminal and the Intelligent target equipment has released.
According to the third aspect of the embodiment of the present disclosure, a kind of collaborative share device is provided, is applied to first terminal, the dress Set including:
First sending module, described in server sending device inquiry request, being carried in the equipment query request The network identity for the wireless network that first terminal is currently accessed and the first user account, first user account are described first The account that terminal currently logs in, the equipment query request are used to indicate the server and obtain and return to Intelligent target equipment Description information, the Intelligent target equipment are unbound with first user account and allow shared smart machine;
Display module, for when receiving the description information for the Intelligent target equipment that the server is sent, showing Show the first prompting message, first prompting message for prompt whether by the first terminal to the Intelligent target equipment It is controlled;
Second sending module, for when detecting the confirmation operation to first prompting message, to the server It sends and shares received message, the shared received message is used to indicate the server by first user account and the mesh Mark smart machine is bound.
Optionally, the description information of the Intelligent target equipment includes the mark of the Intelligent target equipment;
Described device further includes:
Third sending module, at least carried for sending control message to the server, in the control message described in First user account, the mark of the Intelligent target equipment and control operation, the control message are used to indicate the server It controls the Intelligent target equipment and executes the control operation;
First receiving module, control success message or lack of competence operation indicating for receiving the server transmission disappear Breath, the control success message is for prompting to have become the control operation of Intelligent target equipment execution described in power control system, the nothing Limiting operation prompting message is used to that the first terminal to be prompted not control the permission of the Intelligent target equipment, and described haves no right Limit operation indicating message is that the server is determining the binding between first user account and the Intelligent target equipment It is sent when relationship has released.
Optionally, the network identity for the wireless network that the first terminal is currently accessed also is carried in the control message.
Optionally, the network identity carried in the control message and the network identity carried in equipment query request It is different.
Optionally, described device further includes:
Second receiving module, the shared releasing notification message sent for receiving the server, shared release are led to Know message for notifying the first terminal and the binding relationship of the Intelligent target equipment to release.
According to the fourth aspect of the embodiment of the present disclosure, a kind of collaborative share device is provided, is applied to server, described device Including:
First receiving module, the equipment query request for receiving first terminal transmission are taken in the equipment query request Network identity and the first user account with the wireless network that the first terminal is currently accessed, first user account is institute State the account that first terminal currently logs in;
First acquisition module, the network identity for being carried in being asked according to the equipment query and the first user account Number, the description information of Intelligent target equipment is obtained, the Intelligent target equipment is unbound and fair with first user account Perhaps shared smart machine;
First sending module, the description information for sending the Intelligent target equipment to the first terminal;
Binding module, for when receiving the shared received message that the first terminal is sent, by first user Account is bound with the Intelligent target equipment.
Optionally, first acquisition module includes:
First acquisition submodule, the description for obtaining at least one smart machine from the shared facility information table of storage Information, the shared facility information table are used to store the network mark for the wireless network for allowing shared each smart machine to access The account of knowledge, description information and owner, the network identity of the wireless network of at least one smart machine access and institute It is identical to state the network identity carried in equipment query request;
Determination sub-module is used for the account of owner at least one smart machine and first user account Different smart machines is determined as the Intelligent target equipment;
Second acquisition submodule, the description for obtaining the Intelligent target equipment from the shared facility information table are believed Breath.
Optionally, first acquisition module further includes:
Receiving submodule, the collaborative share request for receiving second terminal transmission carry in the collaborative share request The wireless network of second user account, the description information of the Intelligent target equipment and Intelligent target equipment access Network identity, the second user account are the account of the owner of the Intelligent target equipment;
Sub-module stored, for by the second user account, the description information of the Intelligent target equipment and described The network identity of the wireless network of Intelligent target equipment access, stores into the shared facility information table.
Optionally, the description information of the Intelligent target equipment includes the mark of the Intelligent target equipment;
Described device further includes:
Second receiving module, the control message sent for receiving the first terminal are at least taken in the control message With first user account, the mark of the Intelligent target equipment and control operation;
Control module, described in when the mark according to first user account and the Intelligent target equipment, determining There are when binding relationship, control described in the Intelligent target equipment execution between first user account and the Intelligent target equipment Control operation, and control success message is sent to the first terminal, the control success message is used to indicate the power control system of having become The Intelligent target equipment executes the control operation;
Second sending module, for when the mark according to first user account and the Intelligent target equipment, determining When binding relationship between first user account and the Intelligent target equipment has released, nothing is sent to the first terminal Limiting operation prompting message, the lack of competence operation indicating message is for prompting the first terminal not control the target intelligence The permission of energy equipment.
Optionally, the network identity for the wireless network that the first terminal is currently accessed also is carried in the control message;
Described device further includes:
Second acquisition module, the sharing mode for obtaining the Intelligent target equipment, the sharing mode include first Sharing mode or the second sharing mode, first sharing mode refer to sharing the Intelligent target under same wireless network to set Standby mode, second sharing mode refer to the mode shared the network of the Intelligent target equipment and be not limited;
First trigger module, for working as the sharing mode of the Intelligent target equipment for first sharing mode, and institute State the network identity carried in control message it is identical as the network identity of wireless network that the Intelligent target equipment accesses when, touch It sends out control module described and controls the Intelligent target equipment and execute the control and operate;
Second trigger module is used for when the sharing mode of the Intelligent target equipment is second sharing mode, directly Contact, which send out described control module and controls the Intelligent target equipment, to be executed the control and operates.
Optionally, described device further includes:
Third receiving module, the removal instruction for receiving second terminal transmission carry second in the removal instruction and use Family account, the mark of the Intelligent target equipment and first user account;
Module is released, for according to the mark of the second user account and the Intelligent target equipment, releasing described the Binding relationship between one user account and the Intelligent target equipment;
Third sending module, for sending shared releasing notification message, the shared releasing notice to the first terminal Message is for notifying the first terminal and the binding relationship of the Intelligent target equipment to release.
According to a fifth aspect of the embodiments of the present disclosure, a kind of collaborative share device is provided, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as executing the step of collaborative share method described in above-mentioned first aspect.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, it is described computer-readable It is stored with instruction on storage medium, the collaborative share method described in above-mentioned first aspect is realized when described instruction is executed by processor The step of.
According to the 7th of embodiment of the present disclosure aspect, provide a kind of computer program product including instruction, when its When being run on computer so that computer executes the step of collaborative share method described in above-mentioned first aspect.
According to the eighth aspect of the embodiment of the present disclosure, a kind of collaborative share device is provided, described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as executing the step of collaborative share method described in above-mentioned second aspect.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of computer readable storage medium is provided, it is described computer-readable It is stored with instruction on storage medium, the collaborative share method described in above-mentioned second aspect is realized when described instruction is executed by processor The step of.
According to the tenth of embodiment of the present disclosure aspect, provide a kind of computer program product including instruction, when its When being run on computer so that computer executes the step of collaborative share method described in above-mentioned second aspect.
The technical scheme provided by this disclosed embodiment at least can include the following benefits:First terminal is to server Sending device inquiry request.The network identity for the wireless network that first terminal is currently accessed is carried in being asked due to the equipment query With the first user account, so server receive the equipment query request after, can according to the network identity and first use Family account obtains the description information of Intelligent target equipment, and the description information of Intelligent target equipment is sent to first terminal.When When first terminal receives the description information of the Intelligent target equipment of server transmission, the first prompting message can be shown, when the When one terminal detects the confirmation operation to first prompting message, it can be sent to server and share received message.Work as service When device receives shared received message, the first user account and Intelligent target equipment can be bound, to realize equipment It is shared.In this way so that all first terminals for meeting condition can be quickly obtained the right to use and the operation of Intelligent target equipment Power, improves the efficiency of collaborative share.In addition, owner does not have to specify one by one and add other users account to achieve that equipment It is shared, operating process is simplified, cost is saved, and reduces the error rate of the first user account of addition, and due to the first use Family account is not limited to owner and specifies, to expand the shared range of smart machine.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of implementation environment schematic diagram for collaborative share that the embodiment of the present disclosure provides;
Fig. 2 is a kind of flow chart of collaborative share method shown according to an exemplary embodiment;
Fig. 3 is the flow chart of another collaborative share method shown according to an exemplary embodiment;
Fig. 4 is the flow chart according to another collaborative share method shown in an exemplary embodiment;
Fig. 5 is a kind of collaborative share setting interface schematic diagram shown according to an exemplary embodiment;
Fig. 6 is a kind of prompting message display interface schematic diagram shown according to an exemplary embodiment;
Fig. 7 is a kind of binding progress prompt interface schematic diagram shown according to an exemplary embodiment;
Fig. 8 is a kind of binding success message display interface schematic diagram shown according to an exemplary embodiment;
Fig. 9 is a kind of collaborative share prompting message display interface schematic diagram shown according to an exemplary embodiment;
Figure 10 is a kind of setting of sharing mode and user's removal interface schematic diagram shown according to an exemplary embodiment;
Figure 11 is to release notification message display interface schematic diagram according to one kind shown in an exemplary embodiment is shared;
Figure 12 is a kind of block diagram of collaborative share device shown according to an exemplary embodiment;
Figure 13 is the block diagram of another collaborative share device shown according to an exemplary embodiment;
Figure 14 is the block diagram according to another collaborative share device shown in an exemplary embodiment;
Figure 15 is the block diagram according to another collaborative share device shown in an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Before the method provided the embodiment of the present disclosure carries out detailed explanation, first the embodiment of the present disclosure is related to Noun, application scenarios and implementation environment be introduced.
First, the noun that the embodiment of the present disclosure is related to is illustrated.
First terminal:For the corresponding terminal of the first user, the first user is other in addition to the owner of smart machine User.First terminal can be mobile terminal, can also be fixed terminal.Mobile terminal includes but not limited to mobile phone, a number Word assistant (Personal Digital Assistant, PDA), tablet computer, portable equipment are (for example, portable computer, sleeve Precious formula computer or handheld computer) etc. with installation application software and with the mobile device of operating display.It is fixed whole End includes but not limited to the fixed equipment with image collecting function such as gate inhibition, intelligent fixed-line telephone, console.The disclosure is implemented Example is not construed as limiting this.
Second terminal:For the corresponding terminal of second user, second user is the owner of smart machine.Second terminal can be with It is mobile terminal, can also be fixed terminal.Mobile terminal includes but not limited to mobile phone, PDA, tablet computer, portable equipment (example Such as, portable computer, pocket computer or handheld computer) etc. with installation application software and with operating display Mobile device.Fixed terminal, which includes but not limited to gate inhibition, intelligent fixed-line telephone, console etc., has consolidating for image collecting function Locking equipment.The embodiment of the present disclosure is not construed as limiting this.
Secondly, the application scenarios that the embodiment of the present disclosure is related to are illustrated.
In the modern life, people may possess multiple intelligence such as similar intelligent air condition, intelligent kettle, Intelligent air purifier The smart machine of oneself can also be shared to by equipment, second user by second terminal remote control smart machine One user.Currently, second user when smart machine is shared to the first user, needs at the collaborative share interface of second terminal In be manually entered the first user account, later, second terminal sends shared notice, first terminal by server to first terminal The shared notice can be shown to the first user after receiving shared notice, if the first user receive it is shared, can be Triggering confirms sharing operation on first terminal.At this point, first terminal can be sent to server shares received message.Work as server When receiving the shared received message, the first user account and the smart machine can be bound, in this way, the first user is just Obtain the right to use and operating rights to the smart machine.However, when second user is wanted to share to the smart machine of oneself Multiple first users then need to add multiple first user accounts by several times, and send shared notice to multiple first terminals by several times, It is low to may result in collaborative share efficiency in this way, operating process is complicated, of high cost, and is easy error.In addition, due to first user's account Number for second user specify, limit the shared range of smart machine in this way.
Finally, the implementation environment that the embodiment of the present disclosure is related to is illustrated.
Fig. 1 is a kind of implementation environment schematic diagram for collaborative share that the embodiment of the present disclosure provides.Referring to Fig. 1, the implementation ring Border includes:First terminal 101, second terminal 102 and server 103, can pass through between first terminal 101 and server 103 It is wired to be either wirelessly connected so that communicated between second terminal 102 and server 103 be by wired or wirelessly connect It connects to be communicated.Wherein, second terminal 102 can be incited somebody to action to 103 sending device sharing request of server, server 103 In information storage to shared facility information table in collaborative share request.First terminal 101 can send to server 103 and set Standby inquiry request, can be carried in the equipment query request wireless network that first terminal 101 is currently accessed network identity and First user account.Server 103 can be obtained and be returned in the equipment query request for receiving the transmission of first terminal 101 The description information of Intelligent target equipment.When first terminal 101 receives the description letter of the Intelligent target equipment of the transmission of server 103 When breath, the first prompting message can be shown, in this way, can be triggered on first terminal 101 when the first user receives shared really Recognize sharing operation.At this point, first terminal 101 can be sent to server 103 shares received message.When server 103 receives When the shared received message, the first user account and Intelligent target equipment can be bound, to realize smart machine It is shared.
Next the collaborative share method provided the embodiment of the present disclosure is explained.
Fig. 2 is a kind of flow chart of collaborative share method shown according to an exemplary embodiment, and this method is applied to the One terminal.As shown in Fig. 2, this approach includes the following steps.
In step 201, to server sending device inquiry request, in equipment query request first terminal is carried currently to connect The network identity of the wireless network entered and the first user account, the first user account are the account that first terminal currently logs in, if Standby inquiry request is used to indicate the description information that server obtains and returns to Intelligent target equipment, and Intelligent target equipment is and first User account is unbound and allows shared smart machine.
In step 202, when receiving the description information of Intelligent target equipment of server transmission, the first prompt of display Whether message, the first prompting message control Intelligent target equipment by first terminal for prompting.
In step 203, it when detecting the confirmation operation to the first prompting message, sends shared receiving to server and disappears Breath, shared received message are used to indicate server and bind the first user account and Intelligent target equipment.
In the embodiments of the present disclosure, first terminal is to server sending device inquiry request.Since the equipment query is asked The middle network identity and the first user account for carrying the wireless network that first terminal is currently accessed, so server is receiving this After equipment query request, the description information of Intelligent target equipment can be obtained according to the network identity and the first user account, and The description information of Intelligent target equipment is sent to first terminal.When the Intelligent target that first terminal receives server transmission is set When standby description information, the first prompting message can be shown, when first terminal detects that the confirmation to first prompting message is grasped When making, it can be sent to server and share received message.It, can be by the first user when server receives shared received message Account is bound with Intelligent target equipment, to realize the shared of equipment.In this way so that all first terminals for meeting condition It can be quickly obtained the right to use and operating rights of Intelligent target equipment, improve the efficiency of collaborative share.In addition, owner does not have to It specifies one by one and adds other users account and achieve that collaborative share, simplify operating process, save cost, and reduce The error rate of the first user account is added, and is specified since the first user account is not limited to owner, is set to expand intelligence Standby shared range.
Optionally, the description information of Intelligent target equipment includes the mark of Intelligent target equipment;
It is sent to server after sharing received message, further includes:
Send control message to server, at least carry in control message the first user account, Intelligent target equipment mark Know and control operation, control message are used to indicate server controls Intelligent target equipment executive control operation;
The control success message or lack of competence operation indicating message that server is sent are received, control success message is for carrying Show and have become power control Intelligent target equipment executive control operation, lack of competence operation indicating message is for prompting first terminal not control The permission of Intelligent target equipment processed, and lack of competence operation indicating message is that server is determining the first user account and Intelligent target Binding relationship between equipment is sent when having released.
Optionally, the network identity for the wireless network that first terminal is currently accessed also is carried in control message.
Optionally, the network identity that the network identity carried in control message carries in being asked from equipment query is different.
Optionally, it is sent to server after sharing received message, further includes:
The shared releasing notification message that server is sent is received, it is shared to release notification message for notifying first terminal and mesh The binding relationship of mark smart machine has released.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real Example is applied no longer to repeat this one by one.
Fig. 3 is a kind of flow chart of collaborative share method shown according to an exemplary embodiment, and this method is applied to clothes Business device.As shown in figure 3, this approach includes the following steps.
In step 301, the equipment query request that first terminal is sent is received, first terminal is carried in equipment query request The network identity for the wireless network being currently accessed and the first user account, the first user account are the account that first terminal currently logs in Number;
In step 302, the network identity and the first user account carried in being asked according to equipment query obtains target intelligence The description information of energy equipment, Intelligent target equipment are unbound with the first user account and allow shared smart machine;
In step 303, the description information of Intelligent target equipment is sent to first terminal;
In step 304, when receiving the shared received message of first terminal transmission, by the first user account and target Smart machine is bound.
In the embodiments of the present disclosure, server receives the equipment query request that first terminal is sent, due to the equipment query The network identity and the first user account that the wireless network that first terminal is currently accessed is carried in request, so server can root The description information of Intelligent target equipment is obtained according to the network identity and the first user account, and the description of Intelligent target equipment is believed Breath is sent to first terminal.First terminal is when receiving the description information of Intelligent target equipment of server transmission, Ke Yixian Show the first prompting message, obtains and sent to server and share received message.It, can when server receives shared received message To bind the first user account and Intelligent target equipment, to realize the shared of equipment.In this way so that all meet item The first terminal of part can be quickly obtained the right to use and operating rights of Intelligent target equipment, improve the efficiency of collaborative share.Separately Outside, owner does not have to specify one by one and add other users account to achieve that collaborative share, simplifies operating process, saves Cost, and the error rate of the first user account of addition is reduced, and specified since the first user account is not limited to owner, to Expand the shared range of smart machine.
Optionally, the network identity and the first user account carried in being asked according to equipment query obtains Intelligent target and sets Standby description information, including:
The description information of at least one smart machine is obtained from the shared facility information table of storage, shares facility information table For storing the network identity of the wireless network for allowing shared each smart machine to access, description information and owner Account, the network identity of the wireless network of at least one smart machine access and the network identity phase carried in equipment query request Together;
The smart machine different from the first user account of the account of owner at least one smart machine is determined as mesh Mark smart machine;
The description information of Intelligent target equipment is obtained from shared facility information table.
Optionally, before the description information for obtaining at least one smart machine in the shared facility information table of storage, also Including:
The collaborative share request that second terminal is sent is received, second user account, target intelligence are carried in collaborative share request The network identity of the description information of energy equipment and the wireless network of Intelligent target equipment access, second user account are target The account of the owner of smart machine;
The wireless network that second user account, the description information of Intelligent target equipment and Intelligent target equipment are accessed Network identity, store into shared facility information table.
Optionally, the description information of Intelligent target equipment includes the mark of Intelligent target equipment;
After first user account and Intelligent target equipment are bound, further include:
The control message that first terminal is sent is received, at least carries the first user account in control message, Intelligent target is set Standby mark and control operation;
When the mark according to the first user account and Intelligent target equipment, the first user account and Intelligent target equipment are determined Between there are when binding relationship, control targe smart machine executive control operation, and control success message is sent to first terminal, Control success message, which is used to indicate, has become power control Intelligent target equipment executive control operation;
When the mark according to the first user account and Intelligent target equipment, the first user account and Intelligent target equipment are determined Between binding relationship when having released, send lack of competence operation indicating message to first terminal, lack of competence operation indicating message is used There is no the permission of control targe smart machine in prompt first terminal.
Optionally, the network identity for the wireless network that first terminal is currently accessed also is carried in control message;
Before control targe smart machine executive control operation, further include:
The sharing mode of Intelligent target equipment is obtained, sharing mode includes the first sharing mode or the second sharing mode, the One sharing mode refers to the mode that Intelligent target equipment is shared under same wireless network, and the second sharing mode refers to shared target The mode that the network of smart machine is not limited;
When the sharing mode of Intelligent target equipment is the first sharing mode, and the network identity and mesh carried in control message When the network identity of the wireless network of mark smart machine access is identical, the step of control targe smart machine executive control operation is executed Suddenly;
When the sharing mode of Intelligent target equipment is the second sharing mode, directly executes control targe smart machine and execute The step of control operation.
Optionally, after the first user account and Intelligent target equipment being bound, further include:
It receives the removal instruction that second terminal is sent, removes and carry second user account, Intelligent target equipment in instruction Mark and the first user account;
According to the mark of second user account and Intelligent target equipment, release the first user account and Intelligent target equipment it Between binding relationship;
Shared releasing notification message is sent to first terminal, the shared notification message that releases is for notifying first terminal and target The binding relationship of smart machine has released.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real Example is applied no longer to repeat this one by one.
Fig. 4 is a kind of flow chart of collaborative share method shown according to an exemplary embodiment.The interaction master of this method Body is first terminal, second terminal and server, as shown in figure 4, this approach includes the following steps.
In step 401, first terminal carries first to server sending device inquiry request in equipment query request The network identity for the wireless network that terminal is currently accessed and the first user account, the first user account are that first terminal currently logs in Account.
In the embodiments of the present disclosure, since first terminal is the corresponding terminal of the first user, second terminal is second user Corresponding terminal, and the owner that second user is smart machine, the first user are the intelligence wanted shared second user and possessed The user of equipment therefore, can when first terminal is wanted to obtain the operating rights and the right to use for the smart machine that second user possesses With to server sending device inquiry request.In one possible implementation, when first terminal is successfully accessed wireless network When, it can be to server sending device inquiry request.Certainly, first terminal can also be on other opportunitys to server sending device Inquiry request, sends when for example, detecting equipment query instruction, not limits this embodiment of the present disclosure.
It should be noted that the network identity for the wireless network that first terminal is currently accessed can be the name of the wireless network Claim.In addition, the embodiment of the present disclosure is mainly used in smart home field, it that is to say, the server that the embodiment of the present disclosure is related to Can be smart home server and smart home device with smart machine.In this way, the account that first terminal currently logs in is intelligence The account logged in energy domestic applications, that is to say, the first user account is the account logged in smart home application.Certainly, originally Open embodiment can also be applied in other field, not be limited this embodiment of the present disclosure.
In step 402, when server receives the equipment query request of first terminal transmission, according to the equipment query The network identity and the first user account carried in request, obtains the description information of Intelligent target equipment, and Intelligent target equipment is It is unbound with the first user account and allow shared smart machine.
It should be noted that the description information of Intelligent target equipment may include the title of smart machine, model, color, Icon etc..In addition, since Intelligent target equipment is unbound and allow shared smart machine with the first user account, and with the One user account is unbound and allows shared smart machine that can be one, can also be it is multiple, therefore, Intelligent target equipment It can be an equipment, can also be multiple equipment.
Wherein, the network identity and the first user account carried in being asked according to equipment query obtains Intelligent target equipment The realization process of description information can be:The description of at least one smart machine is obtained from the shared facility information table of storage Information, the shared facility information table be used to store the wireless network for allowing shared each smart machine to access network identity, The network identity of description information and the account of owner, the wireless network of at least one smart machine access is looked into equipment It is identical to ask the network identity carried in request.Not by the account of owner at least one smart machine and the first user account Same smart machine is determined as Intelligent target equipment, and the description letter of Intelligent target equipment is obtained from shared facility information table Breath.
In addition, in the embodiments of the present disclosure, the smart machine of same wireless network can will be currently accessed with first terminal As the smart machine that first terminal can be shared, and since the first user account is user's account that first terminal currently logs in Number, and first terminal is currently in order to obtain the operating rights and the right to use of the smart machine that second user possesses, so server When determining Intelligent target equipment, it can first determine that the wireless network of access is identical as the wireless network that first terminal is currently accessed Smart machine, that is to say, at least one smart machine mentioned above.Later, server can by the account of owner with The different smart machine of first user account is determined as Intelligent target equipment.In this manner it is ensured that server will not be by owner The description information of smart machine be sent to owner, so as to save server resource.
Wherein, server obtained from the shared facility information table of storage at least one smart machine description information it Before, second user account, the description information of Intelligent target equipment and target intelligence can also be stored in shared facility information table The network identity of the wireless network of energy equipment access.Its realization process can be:Second terminal is shared to server sending device Request carries second user account, the description information of Intelligent target equipment and Intelligent target equipment in collaborative share request The network identity of the wireless network of access, second user account are the account of the owner of Intelligent target equipment.When server connects When receiving the collaborative share request of second terminal transmission, by second user account, the description information of Intelligent target equipment and mesh The network identity for marking the wireless network of smart machine access, stores into shared facility information table.
It that is to say, it, can be to server when second terminal determination is needed Intelligent target collaborative share to other users Sending device sharing request, in order to which server stores the device-dependent information of Intelligent target in shared facility information table.This Sample, when server receive first terminal transmission equipment query request when, can obtain it is unbound with the first user account and Allow shared smart machine, that is to say Intelligent target equipment.
Wherein, the embodiment of the present disclosure is by taking Intelligent target equipment as an example, when sharing equipment to second terminal in the manner described above, The realization process that the relevant information of equipment is stored to shared facility information table is illustrated, other equipment can also be joined According to aforesaid way, the embodiment of the present disclosure no longer elaborates this.
For example, network identity, the mesh of the wireless network that server can access second user account, Intelligent target equipment The correspondence marked between the description information of smart machine is stored into shared facility information table as shown in table 1 below.
Table 1
It should be noted that in the embodiment of the present disclosure, only said for sharing facility information table shown in above-mentioned table 1 Bright, above-mentioned table 1 does not constitute the embodiment of the present disclosure and limits.
Optionally, when server retouching at least one smart machine is not got from the shared facility information table of storage , can be to first terminal transmission inquiry failure prompting message when stating information, inquiry failure prompting message is for prompting currently not The description information of Intelligent target equipment is inquired, in this way, when first terminal receives inquiry failure prompting message, it can be true It is fixed currently without shared smart machine can be carried out.
Further, when the collaborative share request that server is sent according to second terminal, by second user account, target intelligence The network identity of the description information of energy equipment and the wireless network of Intelligent target equipment access is stored to shared facility information table In after, the cancellation sharing request of second terminal transmission can also be received, second user can be carried in the cancellation sharing request The description information of account and Intelligent target equipment.It that is to say, second terminal can not only share target intelligence in the manner described above Energy equipment can also be cancelled and being shared to Intelligent target equipment after shared Intelligent target equipment.In this way, server can be with According to the description information of second user account and Intelligent target equipment, by corresponding record deletion in shared facility information table.
For example, the smart machine of display and the binding of second user account in interface can be arranged in second terminal in collaborative share Description information, " allow to be found and add " option, shared user list, and " removing device " option.As shown in Figure 5 Collaborative share is arranged in interface, and Intelligent air purifier and its icon are the smart machine bound with second user account It is the user for sharing the Intelligent air purifier that description information, little Xi and king, which roll up volume,.In " allow to be found and add " option In the case of not selected, when " allowing to be found and add " option when the user clicks, second terminal can determine the Intelligent air Gas purifier is to allow shared smart machine.At this point, second terminal can be to server sending device sharing request, the equipment Second user account, the description information of the Intelligent air purifier and the Intelligent air purifier is carried in sharing request to connect The network identity of the wireless network entered, and then by server by second user account, the description information of the Intelligent air purifier, And the network identity of the wireless network of Intelligent air purifier access, it stores into shared facility information table.
However, in the case where " allow to be found and add " option is selected, " allows to be found and add when the user clicks Add " option when, second terminal, which can determine, current to be needed to cancel the shared of the Intelligent air purifier.At this point, second terminal can Cancel sharing request to be sent to server, second user account can be carried in the cancellation sharing request and the intelligent air is net Change the description information of device, and then will be total to according to the description information of second user account and the Intelligent air purifier by server Enjoy corresponding record deletion in facility information table.
In step 403, server sends the description information of Intelligent target equipment to first terminal.
In step 404, when first terminal receives the description information of the Intelligent target equipment of server transmission, display Whether the first prompting message, the first prompting message control Intelligent target equipment by first terminal for prompting.
It should be noted that due to the first prompting message for prompt whether by first terminal to Intelligent target equipment into Row control, therefore, in the first prompting message may include the description information of Intelligent target equipment, in this way, can be obtained in order to user Know which equipment is Intelligent target equipment be.
By the description of above-mentioned steps 402 it is found that Intelligent target equipment can be an equipment, or multiple equipment. When Intelligent target equipment is multiple equipment, it can also be directed to each equipment setting options in the first prompting message, that is to say, also The equipment for currently needing to obtain operating rights and the right to use can be selected from multiple equipment by the first prompting message.
For example, Intelligent target equipment includes Intelligent air purifier, intelligent ceiling lamp, Intelligent bed lamp and intelligent sweeping This four smart machines, and the pet name of second user account can be CaptainQ.In this way, first terminal can be shown such as Fig. 6 Shown in prompting message display interface, shown in the prompting message display interface " it was found that 4 of CaptainQ shared set It is standby, and can control or use these equipment after connecting " the first prompting message, and " starting to connect " option.As the first user When clicking " starting to connect " option, it may be determined that the first user needs to obtain the operating rights and the right to use of this 4 smart machines, this When, first terminal can confirmly detect the confirmation operation to the first prompting message.Certainly, it can also be shown in the first prompting message Show the title and icon of this four smart machines, and every smart machine is additionally provided with selection option, the first user can be from this It selects a part to need the equipment for obtaining operating rights and the right to use in four smart machines, then clicks " starting to connect " choosing again ?.At this point it is possible to determine that the first user only needs to obtain the operating rights of the part smart machine in this four smart machines and make With power, and first terminal can confirmly detect the confirmation operation to the first prompting message.
In step 405, it when first terminal detects the confirmation operation to the first prompting message, is sent altogether to server Enjoy received message.
Since Intelligent target equipment can be an equipment, or multiple equipment.In a kind of possible realization method In, no matter Intelligent target equipment is an equipment or multiple equipment, can by Intelligent target equipment as a whole, namely It is, when first terminal detects the confirmation operation to the first prompting message, to show currently to need to obtain in Intelligent target equipment All devices operating rights and the right to use, at this point, to server send shared received message in can not have to carry other Information.In alternatively possible realization method, when Intelligent target equipment is that multiple equipment and first terminal are detected to first When the confirmation operation of prompting message, the corresponding equipment of the description information carried in the confirmation operation can be determined as first terminal The current equipment for needing to obtain operating rights and the right to use, at this point, can be carried in the shared received message sent to server needs Obtain the description information of the equipment of operating rights and the right to use.Wherein, the description information carried in the confirmation operation can be the What one user selected from the first prompting message.
Optionally, when first terminal detects the refusal operation to the first prompting message, it may be determined that do not need currently Intelligent target equipment is controlled by first terminal, shares refuse information at this point it is possible to be sent to server.Work as server When receiving the shared refuse information, any operation can not be executed.In addition, when first terminal is detected to the first prompting message Refusal operation when, in order to save memory, the description information of the Intelligent target equipment received in step 404 can be deleted.
In a step 406, when server receives the shared received message of first terminal transmission, by the first user account It is bound with Intelligent target equipment.
Seen from the above description, Intelligent target equipment can be an equipment, or multiple equipment works as Intelligent target When equipment is multiple equipment, the first user can from multiple equipment selected section equipment, and determine that current need to obtain should The operating rights and the right to use of equipment component.But whether be an equipment or multiple equipment, subsequent operation be all it is identical, Therefore, the following embodiment of the present disclosure does not distinguish this, is directly illustrated by taking Intelligent target equipment as an example.
It, can be by the first user account and target intelligence when server receives the shared received message of first terminal transmission Energy equipment is bound.It in one possible implementation, can be by the description of the first user account and Intelligent target equipment Information corresponds to storage, to realize the binding of the first user account and Intelligent target equipment.
Further, in server by the first user account and during Intelligent target apparatus bound, in order to inform the The current binding progress of one user, server can also send binding progress prompt message to first terminal.In this way, first terminal It can show the binding progress prompt message.In addition, when server binds the first user account and Intelligent target equipment Later, binding success message can be sent to first terminal, in this way, first terminal can be believed with the description of display target smart machine Breath, and it is capable of the control option of control targe smart machine.Meanwhile server can also be shared to second terminal sending device Prompting message, in this way, second terminal can show which user of current shared Intelligent target equipment has.
The citing continued the above, Intelligent target equipment include Intelligent air purifier, intelligent ceiling lamp, Intelligent bed lamp and This four smart machines of intelligent sweeping.When the process that server binds this four smart machines with the first user account respectively In, binding progress prompt message can be sent to first terminal.It, can when first terminal receives the binding progress prompt message To show binding progress prompt interface as shown in Figure 7, binding progress prompt message is shown in the binding progress prompt interface, The binding progress prompt message includes the description information of the current smart machine bound, the i.e. icon of Intelligent air purifier And title and current binding progress " connecting (1/4) ", i.e., current first bound in this four smart machines Platform smart machine.It further, can also be to after server is by the first user account and the success of Intelligent target apparatus bound First terminal sends binding success message, at this point, first terminal can show binding success message as shown in Figure 8.Also, it takes Being engaged in device can also be to the shared prompting message of second terminal sending device, it is assumed that the pet name of the first user account is small west, in this way, working as When second terminal receives the collaborative share prompting message, collaborative share prompting message as shown in Figure 9 can be shown.
Further, after server is bound the first user account and Intelligent target equipment, second user The user that partial sharing Intelligent target equipment can be removed, that is to say, by taking the first user as an example, second terminal can release first Binding relationship between user account and Intelligent target equipment, to remove the operating rights that the first user is directed to Intelligent target equipment And the right to use.Its realization process can be:Second terminal is sent to server removes instruction, and carrying second in removal instruction uses Family account, the mark of Intelligent target equipment and the first user account.When server receives the removal instruction of second terminal transmission When, according to the mark of second user account and Intelligent target equipment, release between the first user account and Intelligent target equipment Binding relationship, and shared releasing notification message is sent to first terminal, when first terminal receives the shared solution of server transmission When except notification message, it may be determined that first terminal and the binding relationship of Intelligent target equipment have released, and show the shared releasing Notification message.In one possible implementation, it when server receives the removal instruction of second terminal transmission, can will deposit First user account of storage and the correspondence of the description information of Intelligent target equipment are deleted, to realize first terminal and target The releasing of the binding relationship of smart machine.
For example, please continue to refer to Fig. 5, when user's collaborative share shown in Fig. 5 is arranged in the shared user list at interface When clicking " small west ", interface as shown in Figure 10 can be shown, which includes " removing user " option.When second user point When hitting " removing user " option, it may be determined that second user currently needs to remove the first user " small west " for intelligent air purifying The operating rights and the right to use of device.At this point, second terminal can be sent to server removes instruction, second is carried in removal instruction User account, the mark of Intelligent air purifier and the first user account.When server receives the removal of second terminal transmission When instruction, according to the mark of second user account and Intelligent air purifier, the first user account and intelligent air purifying are released Binding relationship between device, and send shared releasing notification message to first terminal.When first terminal receives the shared releasing When notification message, the shared releasing notification message can be shown in interface as shown in figure 11.
After through the above steps 401 to step 406 are bound the first user account and Intelligent target equipment, the One terminal just obtains the right to use and operating rights of the Intelligent target equipment, and then the first user can be by first terminal to this Intelligent target equipment is controlled.Wherein, being controlled Intelligent target equipment by first terminal can be as follows 407 realize to step 409, or as follows 410 and step 411 realize.
In step 407, first terminal sends control message to server, and the first user is at least carried in the control message Account, the mark of Intelligent target equipment and control operation.
It should be noted that may include the mark of Intelligent target equipment in the description information of Intelligent target equipment.In this way, When first terminal control targe smart machine, the mark of Intelligent target equipment can be carried in the control message sent to server Know.In this way, server can determine first terminal currently needs which smart machine controlled according to the control message.The control The control operation carried in message is the operation performed by first terminal control targe smart machine, for example, being with smart machine For intelligent kettle, control operation can be the heat preservation for controlling intelligent kettle and carrying out 12h (hour), can also be control intelligent water Pot carries out the heat preservation of 80 DEG C (degree Celsius), and the embodiment of the present disclosure is not construed as limiting this.
In addition, through the above steps 406 it is found that server by after the first user account and Intelligent target apparatus bound, Can also to first terminal send binding success message, such first terminal can with the description information of display target smart machine, And it is capable of the control option of control targe smart machine.It therefore, can be with when the first user needs control targe smart machine An option is selected from the control option of display, and sends control message, the control carried in the control message to server The corresponding operation of option of behaviour alternatively.
In a step 408, when server receives the control message of first terminal transmission, and according to the first user account and The mark of Intelligent target equipment determines between the first user account and Intelligent target equipment there are when binding relationship, control targe Smart machine executive control operation, and send control success message to first terminal.
Since server is when receiving the shared received message of first terminal transmission, by the first user account and target intelligence The description information of energy equipment has carried out corresponding storage, to realize the binding of the first user account and Intelligent target equipment, Er Qieyou In the description information of Intelligent target equipment include the mark of Intelligent target equipment, so server receiving first terminal hair When the control message sent, it can search whether to be stored with the first use according to the mark of the first user account and Intelligent target equipment Correspondence between family account and the description information of Intelligent target equipment, if there is, it is determined that the first user account and target It is on the contrary then determine that there is no bindings to close between the first user account and Intelligent target equipment there are binding relationship between smart machine System.
When determining that server can directly control there are when binding relationship between the first user account and Intelligent target equipment Intelligent target equipment executive control operation.However, in another optional realization method, when second terminal is sent to server When collaborative share is asked, the sharing mode of Intelligent target equipment can also be carried in collaborative share request.The sharing mode packet The first sharing mode or the second sharing mode are included, the first sharing mode refers to that Intelligent target equipment is shared under same wireless network Mode, the second sharing mode refers to the mode that the network of shared Intelligent target equipment is not limited.In this case, work as clothes It is engaged in before device control targe smart machine executive control operation, the sharing mode of Intelligent target equipment can also be obtained, work as target The sharing mode of smart machine is the first sharing mode, and the network identity carried in control message is accessed with Intelligent target equipment Wireless network network identity it is identical when, then control targe smart machine executive control operation.When being total to for Intelligent target equipment Enjoy mode be the second sharing mode when, Intelligent target equipment executive control operation can be directly controlled.
Optionally, it is only a kind of example that second terminal carries the sharing mode of Intelligent target equipment in collaborative share request Property realization method can not also be total in the embodiments of the present disclosure with Intelligent target equipment is carried in collaborative share request Mode is enjoyed, in this way, when first terminal is needed through server controls Intelligent target equipment, server can be ask to second terminal Ask the sharing mode of Intelligent target equipment.That is to say, server can to second terminal send sharing mode inquiry request, second When terminal receives sharing mode inquiry request, it can show that interface is arranged in sharing mode, in this way, second terminal can be by second User is arranged the sharing mode that interface is arranged by the sharing mode and is sent to server.
Above-mentioned realization process is that a general sharing mode is arranged for Intelligent target equipment, be that is to say, for every The sharing mode of a first user, Intelligent target equipment are identical.However, in alternatively possible realization method, the Two terminals can not also use the sharing mode that Intelligent target equipment is arranged in the manner described above, that is to say, in the first user account After Intelligent target apparatus bound, second user can be directed to the different sharing mode of each first user setting.For example, such as In interface shown in Fig. 10, it can be directed to the sharing mode that Intelligent air purifier is arranged in the first user " small west ", at the interface Include " with being used under WLAN " option and " unlimited use condition " option.When user clicks the option " with being used under WLAN ", It is total can to determine that second user needs the sharing mode that the first user " small west " is directed to Intelligent air purifier to be set as first Enjoy mode.When user clicks " unlimited use condition " option, it may be determined that second user is needed the first user " small west " needle Second sharing mode is set as to the sharing mode of Intelligent air purifier.
Since the first sharing mode refers to the mode for sharing Intelligent target equipment under same wireless network, when by When being shared to Intelligent target equipment according to the first sharing mode, the network for the wireless network for accessing Intelligent target equipment is needed The network identity for identifying the wireless network being currently accessed with first terminal is compared.In one possible implementation, The network identity for the wireless network that first terminal is currently accessed can be carried in the control message that one terminal to server is sent.This Sample, before server controls Intelligent target equipment executive control operation, the network identity that can will be carried in the control message It is compared with the network identity of the wireless network of Intelligent target equipment access, if two network identities are identical, can control Intelligent target equipment executive control operation;If two network identity differences, control targe smart machine does not execute control behaviour Make.In alternatively possible realization method, server can inquire the wireless network that first terminal is currently accessed to first terminal The network identity of network.It that is to say, server sends network challenge request to first terminal, is ask when first terminal receives the network When asking request, the network identity for the wireless network that itself is currently accessed can be sent to server.In this way, working as server controls Before Intelligent target equipment executive control operation, the network identity and Intelligent target of the wireless network that first terminal can be sent The network identity of the wireless network of equipment access is compared, if two network identities are identical, controllable Intelligent target is set Standby executive control operation;If two network identity differences, not control targe smart machine executive control operation.
It should be noted that in order to save the signaling overheads between first terminal and server, no matter Intelligent target equipment Sharing mode be the first sharing mode or the second sharing mode, all carry what first terminal was currently accessed in the control message The network identity of wireless network.In this case, when the sharing mode of Intelligent target equipment is the second sharing mode, the control The network identity carried in message processed may be different from the network identity of wireless network that Intelligent target equipment accesses, and that is to say, The network identity that the network identity carried in the control message carries in may being asked from equipment query is different.
In step 409, first terminal receives the control success message that server is sent.
It should be noted that control success message is used to indicate and has become power control Intelligent target equipment executive control operation. Therefore, when first terminal receives the control success message of server transmission, it may be determined that have become power control Intelligent target and set It is standby to execute corresponding control operation.
In step 410, when server receives the control message of first terminal transmission, and according to the first user account and The mark of Intelligent target equipment, when determining that the binding relationship between the first user account and Intelligent target equipment has released, to One terminal sends lack of competence operation indicating message, and the lack of competence operation indicating message is for prompting first terminal not have control targe The permission of smart machine.
When server receives the control message of first terminal transmission, and according to the first user account and Intelligent target equipment Mark, when determining that the binding relationship between the first user account and Intelligent target equipment has released, show that first terminal is current The permission for not having control targe smart machine, that is to say, first terminal does not have the operating rights and the right to use of Intelligent target equipment, this When, server can send lack of competence operation indicating message to first terminal.
In step 411, first terminal receives the lack of competence operation indicating message that server is sent, and shows the lack of competence Operation indicating message.
In the embodiments of the present disclosure, first terminal is to server sending device inquiry request, since the equipment query is asked The middle network identity and the first user account for carrying the wireless network that first terminal is currently accessed, so server is receiving this After equipment query request, the description information of Intelligent target equipment can be obtained according to the network identity and the first user account, and The description information of Intelligent target equipment is sent to first terminal.When the Intelligent target that first terminal receives server transmission is set When standby description information, the first prompting message can be shown, when first terminal detects that the confirmation to first prompting message is grasped When making, it can be sent to server and share received message.It, can be by the first user when server receives shared received message Account is bound with Intelligent target equipment, to realize the shared of equipment.In this way so that first terminal can be quickly obtained target The right to use and operating rights of smart machine, improve the efficiency of collaborative share.In addition, owner does not have to specify one by one and adds it He achieves that collaborative share by user account, simplifies operating process, saves cost, and reduces the first user account of addition Error rate, and since to be not limited to owner specified for the first user account, to expand the shared range of smart machine.
Furthermore after bindings completion, first terminal can send control message to server, in the control message At least carry the first user account, the mark of Intelligent target equipment and control operation.It is sent when server receives first terminal Control message, and according to the mark of the first user account and Intelligent target equipment, determine the first user account and Intelligent target There are when binding relationship between equipment, control targe smart machine executive control operation, and controlled successfully to first terminal transmission Message.When the mark according to the first user account and Intelligent target equipment, determine the first user account and Intelligent target equipment it Between binding relationship when having released, send lack of competence operation indicating message to first terminal, which uses There is no the permission of control targe smart machine in prompt first terminal.Since the first user is executed by first terminal to target intelligence When the right to use and operating rights of energy equipment, it is only necessary to carry out simple point selection operation on the interface of first terminal, thus simplify Operating process, reduces the operating cost and understanding cost of user.In addition, since the first user only needs in first terminal The right to use and operating rights that simple point selection operation can be by first terminal execution to Intelligent target equipment are carried out on interface, because This expands the scope of application of smart machine.
Figure 12 is a kind of block diagram of collaborative share device shown according to an exemplary embodiment.Referring to Fig.1 2, the device Including the first sending module 1201, display module 1202 and the second sending module 1203.
First sending module 1201, for server sending device inquiry request, first to be carried in equipment query request The network identity for the wireless network that terminal is currently accessed and the first user account, the first user account are that first terminal currently logs in Account, equipment query request be used to indicate the description information that server obtains and returns to Intelligent target equipment, Intelligent target is set It is standby to be unbound with the first user account and allow shared smart machine;
Display module 1202, for when receiving the description information of Intelligent target equipment of server transmission, display the Whether one prompting message, the first prompting message control Intelligent target equipment by first terminal for prompting;
Second sending module 1203, for when detecting the confirmation operation to the first prompting message, being sent to server Shared received message, shared received message are used to indicate server and bind the first user account and Intelligent target equipment.
Optionally, the description information of Intelligent target equipment includes the mark of Intelligent target equipment;
The device further includes:
Third sending module, for sending control message to server, at least carry in control message the first user account, The mark of Intelligent target equipment and control operation, control message are used to indicate server controls Intelligent target equipment and execute control behaviour Make;
First receiving module, control success message or lack of competence operation indicating message for receiving server transmission, Control success message has become power control Intelligent target equipment executive control operation for prompting, and lack of competence operation indicating message is used for Prompt first terminal does not have the permission of control targe smart machine, and lack of competence operation indicating message is that server is determining first Binding relationship between user account and Intelligent target equipment is sent when having released.
Optionally, the network identity for the wireless network that first terminal is currently accessed also is carried in control message.
Optionally, the network identity that the network identity carried in control message carries in being asked from equipment query is different.
Optionally, which further includes:
Second receiving module, the shared releasing notification message for receiving server transmission are shared and release notification message use It has been released in notice first terminal and the binding relationship of Intelligent target equipment.
In the embodiments of the present disclosure, first terminal is to server sending device inquiry request.Since the equipment query is asked The middle network identity and the first user account for carrying the wireless network that first terminal is currently accessed, so server is receiving this After equipment query request, the description information of Intelligent target equipment can be obtained according to the network identity and the first user account, and The description information of Intelligent target equipment is sent to first terminal.When the Intelligent target that first terminal receives server transmission is set When standby description information, the first prompting message can be shown, when first terminal detects that the confirmation to first prompting message is grasped When making, it can be sent to server and share received message.It, can be by the first user when server receives shared received message Account is bound with Intelligent target equipment, to realize the shared of equipment.In this way so that all first terminals for meeting condition It can be quickly obtained the right to use and operating rights of Intelligent target equipment, improve the efficiency of collaborative share.In addition, owner does not have to It specifies one by one and adds other users account and achieve that collaborative share, simplify operating process, save cost, and reduce The error rate of the first user account is added, and is specified since the first user account is not limited to owner, is set to expand intelligence Standby shared range.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 13 is a kind of block diagram of collaborative share device shown according to an exemplary embodiment.Referring to Fig.1 3, the device Including the first receiving module 1301, the first acquisition module 1302, the first sending module 1303 and binding module 1304.
First receiving module 1301, the equipment query request for receiving first terminal transmission, takes in equipment query request Network identity and the first user account with the wireless network that first terminal is currently accessed, the first user account are worked as first terminal The account of preceding login;
First acquisition module 1302, the network identity for being carried in being asked according to equipment query and the first user account, The description information of Intelligent target equipment is obtained, Intelligent target equipment is unbound with the first user account and allows shared intelligence Equipment;
First sending module 1303, the description information for sending Intelligent target equipment to first terminal;
Binding module 1304, for when receive first terminal transmission shared received message when, by the first user account It is bound with Intelligent target equipment.
Optionally, the first acquisition module 1302 includes:
First acquisition submodule, the description for obtaining at least one smart machine from the shared facility information table of storage Information, shared facility information table are used to store the network identity for the wireless network for allowing shared each smart machine to access, retouch Information and the account of owner are stated, the network identity of the wireless network of at least one smart machine access is asked with equipment query Ask the network identity of middle carrying identical;
Determination sub-module is used for the intelligence different from the first user account of the account of owner at least one smart machine Energy equipment is determined as Intelligent target equipment;
Second acquisition submodule, the description information for obtaining Intelligent target equipment from shared facility information table.
Optionally, the first acquisition module 1302 further includes:
Receiving submodule, the collaborative share request for receiving second terminal transmission, second is carried in collaborative share request The network identity of the wireless network of user account, the description information of Intelligent target equipment and the access of Intelligent target equipment, second User account is the account of the owner of Intelligent target equipment;
Sub-module stored is used for second user account, the description information of Intelligent target equipment and Intelligent target equipment The network identity of the wireless network of access is stored into shared facility information table.
Optionally, the description information of Intelligent target equipment includes the mark of Intelligent target equipment;
The device further includes:
Second receiving module, the control message for receiving first terminal transmission at least carry the first use in control message Family account, the mark of Intelligent target equipment and control operation;
Control module, for when the mark according to the first user account and Intelligent target equipment, determining the first user account There are when binding relationship between Intelligent target equipment, control targe smart machine executive control operation, and sent out to first terminal Control success message is sent, control success message, which is used to indicate, has become power control Intelligent target equipment executive control operation;
Second sending module, for when the mark according to the first user account and Intelligent target equipment, determining the first user When binding relationship between account and Intelligent target equipment has released, lack of competence operation indicating message, nothing are sent to first terminal Limiting operation prompting message is for prompting first terminal not have the permission of control targe smart machine.
Optionally, the network identity for the wireless network that first terminal is currently accessed also is carried in control message;
The device further includes:
Second acquisition module, the sharing mode for obtaining Intelligent target equipment, sharing mode include the first sharing mode Or second sharing mode, the first sharing mode refer to the mode that Intelligent target equipment is shared under same wireless network, second is total The mode of enjoying refers to the mode that the network of shared Intelligent target equipment is not limited;
First trigger module is the first sharing mode for the sharing mode when Intelligent target equipment, and in control message When the network identity of carrying is identical as the network identity for the wireless network that Intelligent target equipment accesses, trigger control module executes control The step of Intelligent target equipment executive control operation processed;
Second trigger module, for when the sharing mode of Intelligent target equipment is the second sharing mode, directly triggering to be controlled The step of molding block control targe smart machine executive control operation.
Optionally, which further includes:
Third receiving module, the removal instruction for receiving second terminal transmission, removes and carries second user account in instruction Number, the mark of Intelligent target equipment and the first user account;
Release module, for according to the mark of second user account and Intelligent target equipment, release the first user account with Binding relationship between Intelligent target equipment;
Third sending module, for sending shared releasing notification message to first terminal, the shared notification message that releases is used for Notice first terminal and the binding relationship of Intelligent target equipment have released.
In the embodiments of the present disclosure, server receives the equipment query request that first terminal is sent, due to the equipment query The network identity and the first user account that the wireless network that first terminal is currently accessed is carried in request, so server can root The description information of Intelligent target equipment is obtained according to the network identity and the first user account, and the description of Intelligent target equipment is believed Breath is sent to first terminal.First terminal is when receiving the description information of Intelligent target equipment of server transmission, Ke Yixian Show the first prompting message, obtains and sent to server and share received message.It, can when server receives shared received message To bind the first user account and Intelligent target equipment, to realize the shared of equipment.In this way so that all meet item The first terminal of part can be quickly obtained the right to use and operating rights of Intelligent target equipment, improve the efficiency of collaborative share.Separately Outside, owner does not have to specify one by one and add other users account to achieve that collaborative share, simplifies operating process, saves Cost, and the error rate of the first user account of addition is reduced, and specified since the first user account is not limited to owner, to Expand the shared range of smart machine.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 14 is a kind of block diagram of collaborative share device 1400 shown according to an exemplary embodiment.For example, device 1400 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 4, device 1400 may include following one or more components:Processing component 1402, memory 1404, Power supply module 1407, multimedia component 1408, audio component 1410, the interface 1412 of input/output (I/O), sensor module 1414 and communication component 1417.
The integrated operation of 1402 usual control device 1400 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing component 1402 may include one or more processors 1420 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1402 may include one or more moulds Block, convenient for the interaction between processing component 1402 and other assemblies.For example, processing component 1402 may include multi-media module, To facilitate the interaction between multimedia component 1408 and processing component 1402.
Memory 1404 is configured as storing various types of data to support the operation in device 1400.These data Example includes the instruction for any application program or method that are operated on device 1400, contact data, telephone book data, Message, picture, video etc..Memory 1404 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1407 provides power supply for the various assemblies of device 1400.Power supply module 1407 may include power management System, one or more power supplys and other generated with for device 1400, management and the associated component of distribution power supply.
Multimedia component 1408 is included in the screen of one output interface of offer between described device 1400 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1408 includes a front camera and/or rear camera.When device 1400 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1410 is configured as output and/or input audio signal.For example, audio component 1410 includes a wheat Gram wind (MIC), when device 1400 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1404 or via communication Component 1417 is sent.In some embodiments, audio component 1410 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 1412 provide interface, above-mentioned peripheral interface module between processing component 1402 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1414 includes one or more sensors, and the state for providing various aspects for device 1400 is commented Estimate.For example, sensor module 1414 can detect the state that opens/closes of device 1400, the relative positioning of component, such as institute The display and keypad that component is device 1400 are stated, sensor module 1414 can be with detection device 1400 or device 1,400 1 The position change of a component, the existence or non-existence that user contacts with device 1400,1400 orientation of device or acceleration/deceleration and dress Set 1400 temperature change.Sensor module 1414 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1414 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1417 is configured to facilitate the communication of wired or wireless way between device 1400 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1400,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1417 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1417 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1400 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned Fig. 2 or Fig. 4 embodiments The collaborative share method of offer.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1404 of instruction, above-metioned instruction can be executed by the processor 1420 of device 1400 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes so that the collaborative share method that mobile terminal is able to carry out above-mentioned Fig. 2 or 4 embodiments provide.
A kind of computer program product including instruction, when run on a computer so that computer executes above-mentioned The step of collaborative share method that Fig. 2 or 4 embodiments provide.
Figure 15 is a kind of block diagram of collaborative share device 1500 shown according to an exemplary embodiment.For example, device 1500 may be provided as a server.Referring to Fig.1 5, device 1500 includes processor 1522, further comprises one or more A processor, and by the memory resource representated by memory 1532, it can be by the finger of the execution of processor 1522 for storing It enables, such as application program.The application program stored in memory 1532 may include each one or more correspondence In the module of one group of instruction.In addition, processor 1522 is configured as executing instruction, to execute above-mentioned Fig. 3 or embodiment illustrated in fig. 4 The method of offer.
Device 1500 can also include that a power supply module 1526 be configured as the power management of executive device 1500, one Wired or wireless network interface 1550 is configured as device 1500 being connected to network and input and output (I/O) interface 1558.Device 1500 can be operated based on the operating system for being stored in memory 1532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 1532 of instruction, above-metioned instruction can be executed by the processor 1522 of device 1500 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of server When execution so that the method that server is able to carry out above-mentioned Fig. 3 or embodiment illustrated in fig. 4 provides.
A kind of computer program product including instruction, when run on a computer so that computer executes above-mentioned The step of collaborative share method that Fig. 3 or 4 embodiments provide.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (26)

1. a kind of collaborative share method, which is characterized in that it is applied to first terminal, the method includes:
To server sending device inquiry request, carried in the equipment query request first terminal be currently accessed it is wireless The network identity of network and the first user account, first user account are the account that the first terminal currently logs in, institute It states equipment query request and is used to indicate the description information that the server obtains and returns to Intelligent target equipment, the Intelligent target Equipment is unbound with first user account and allows shared smart machine;
When receiving the description information for the Intelligent target equipment that the server is sent, the first prompting message, institute are shown State the first prompting message for prompt whether the Intelligent target equipment is controlled by the first terminal;
When detecting the confirmation operation to first prompting message, is sent to the server and share received message, it is described Shared received message is used to indicate the server and binds first user account and the Intelligent target equipment.
2. according to the method described in claim 1, it is characterized in that, the description information of the Intelligent target equipment includes described The mark of Intelligent target equipment;
After the shared received message to server transmission, further include:
Control message is sent to the server, first user account, the target are at least carried in the control message The mark and control operation, the control message of smart machine are used to indicate Intelligent target equipment described in the server controls and hold The row control operation;
The control success message or lack of competence operation indicating message that the server is sent are received, the control success message is used Intelligent target equipment described in power control system is had become in prompt and executes the control operation, and the lack of competence operation indicating message is for carrying Show that the first terminal does not control the permission of the Intelligent target equipment, and the lack of competence operation indicating message is the clothes Business device is sent when determining that the binding relationship between first user account and the Intelligent target equipment has released.
3. according to the method described in claim 2, it is characterized in that, also to carry the first terminal in the control message current The network identity of the wireless network of access.
4. according to the method described in claim 3, it is characterized in that, the network identity carried in the control message is set with described The network identity carried in standby inquiry request is different.
5. according to the method described in claim 1, it is characterized in that, it is described to the server send share received message it Afterwards, further include:
The shared releasing notification message that the server is sent is received, the shared releasing notification message is for notifying described first The binding relationship of terminal and the Intelligent target equipment has released.
6. a kind of collaborative share method, which is characterized in that it is applied to server, the method includes:
The equipment query request that first terminal is sent is received, carrying the first terminal in the equipment query request is currently accessed Wireless network network identity and the first user account, first user account is the account that currently logs in of the first terminal Number;
The network identity and first user account carried in being asked according to the equipment query, obtains Intelligent target equipment Description information, the Intelligent target equipment are unbound with first user account and allow shared smart machine;
The description information of the Intelligent target equipment is sent to the first terminal;
When receiving the shared received message that the first terminal is sent, by first user account and the Intelligent target Equipment is bound.
7. according to the method described in claim 6, it is characterized in that, the network carried in the request according to the equipment query Mark and first user account obtain the description information of Intelligent target equipment, including:
The description information of at least one smart machine, the shared facility information table are obtained from the shared facility information table of storage For storing the network identity of the wireless network for allowing shared each smart machine to access, description information and owner Account, the network identity of the wireless network of at least one smart machine access and the net carried in equipment query request Network mark is identical;
The smart machine different from first user account of the account of owner at least one smart machine is determined For the Intelligent target equipment;
The description information of the Intelligent target equipment is obtained from the shared facility information table.
8. the method according to the description of claim 7 is characterized in that being obtained at least in the shared facility information table from storage Before the description information of one smart machine, further include:
The collaborative share request that second terminal is sent is received, second user account, the mesh are carried in the collaborative share request The network identity of the description information of smart machine and the wireless network of Intelligent target equipment access is marked, described second uses Family account is the account of the owner of the Intelligent target equipment;
By the access of the second user account, the description information of the Intelligent target equipment and the Intelligent target equipment The network identity of wireless network is stored into the shared facility information table.
9. according to the method described in claim 6, it is characterized in that, the description information of the Intelligent target equipment includes described The mark of Intelligent target equipment;
It is described first user account and the Intelligent target equipment are bound after, further include:
The control message that the first terminal is sent is received, first user account, institute are at least carried in the control message State mark and the control operation of Intelligent target equipment;
When the mark according to first user account and the Intelligent target equipment, determine first user account with it is described There are when binding relationship, controlling the Intelligent target equipment and execute the control to operate between Intelligent target equipment, and to described First terminal sends control success message, and the control success message is used to indicate Intelligent target equipment described in the power control system of having become and holds The row control operation;
When the mark according to first user account and the Intelligent target equipment, determine first user account with it is described When binding relationship between Intelligent target equipment has released, lack of competence operation indicating message is sent to the first terminal, it is described The permission that lack of competence operation indicating message is used to that the first terminal to be prompted not control the Intelligent target equipment.
10. according to the method described in claim 9, working as it is characterized in that, also carrying the first terminal in the control message The network identity of the wireless network of preceding access;
Before the control Intelligent target equipment executes the control operation, further include:
The sharing mode of the Intelligent target equipment is obtained, the sharing mode includes the first sharing mode or the second shared side Formula, first sharing mode refer to the mode that the Intelligent target equipment is shared under same wireless network, and described second is total The mode of enjoying refers to the mode shared the network of the Intelligent target equipment and be not limited;
When the sharing mode of the Intelligent target equipment is first sharing mode, and the network carried in the control message When mark is identical as the network identity of wireless network that the Intelligent target equipment accesses, executes and control the Intelligent target equipment The step of executing the control operation;
When the sharing mode of the Intelligent target equipment is second sharing mode, directly executes and control the Intelligent target Equipment executes the step of control operation.
11. according to the method described in claim 6, it is characterized in that, described by first user account and the target intelligence After energy equipment is bound, further include:
The removal instruction that second terminal is sent is received, carries second user account in the removal instruction, the Intelligent target is set Standby mark and first user account;
According to the mark of the second user account and the Intelligent target equipment, first user account and the mesh are released Mark the binding relationship between smart machine;
Shared releasing notification message is sent to the first terminal, the shared releasing notification message is for notifying that described first is whole The binding relationship with the Intelligent target equipment is held to release.
12. a kind of collaborative share device, which is characterized in that be applied to first terminal, described device includes:
First sending module, for server sending device inquiry request, described first to be carried in the equipment query request The network identity for the wireless network that terminal is currently accessed and the first user account, first user account are the first terminal The account currently logged in, the equipment query request are used to indicate the description that the server obtains and returns to Intelligent target equipment Information, the Intelligent target equipment are unbound with first user account and allow shared smart machine;
Display module, for when receiving the description information for the Intelligent target equipment that the server is sent, display the Whether one prompting message, first prompting message carry out the Intelligent target equipment by the first terminal for prompting Control;
Second sending module, for when detecting the confirmation operation to first prompting message, being sent to the server Shared received message, the shared received message are used to indicate the server by first user account and the target intelligence Energy equipment is bound.
13. device according to claim 12, which is characterized in that the description information of the Intelligent target equipment includes institute State the mark of Intelligent target equipment;
Described device further includes:
Third sending module at least carries described first for sending control message to the server in the control message User account, the mark of the Intelligent target equipment and control operation, the control message are used to indicate the server controls The Intelligent target equipment executes the control operation;
First receiving module, for receiving the control success message or lack of competence operation indicating message that the server is sent, The control success message is for prompting to have become the control operation of Intelligent target equipment execution described in power control system, the lack of competence The permission that operation indicating message is used to that the first terminal to be prompted not control the Intelligent target equipment, and the lack of competence is grasped It is that the server is determining the binding relationship between first user account and the Intelligent target equipment to make prompting message It is sent when having released.
14. device according to claim 13, which is characterized in that also carry the first terminal in the control message and work as The network identity of the wireless network of preceding access.
15. device according to claim 14, which is characterized in that the network identity carried in the control message with it is described The network identity carried in equipment query request is different.
16. device according to claim 12, which is characterized in that described device further includes:
Second receiving module, the shared releasing notification message sent for receiving the server, the shared releasing notice disappear Breath is for notifying the first terminal and the binding relationship of the Intelligent target equipment to release.
17. a kind of collaborative share device, which is characterized in that be applied to server, described device includes:
First receiving module, the equipment query request for receiving first terminal transmission carry institute in the equipment query request State the network identity and the first user account of the wireless network that first terminal is currently accessed, first user account is described the The account that one terminal currently logs in;
First acquisition module, the network identity for being carried in being asked according to the equipment query and first user account, The description information of Intelligent target equipment is obtained, the Intelligent target equipment is unbound with first user account and allows altogether The smart machine enjoyed;
First sending module, the description information for sending the Intelligent target equipment to the first terminal;
Binding module, for when receiving the shared received message that the first terminal is sent, by first user account It is bound with the Intelligent target equipment.
18. device according to claim 17, which is characterized in that first acquisition module includes:
First acquisition submodule, the description for obtaining at least one smart machine from the shared facility information table of storage are believed Breath, the shared facility information table be used for store the wireless network for allowing shared each smart machine to access network identity, Description information and the account of owner, the network identity of the wireless network of at least one smart machine access with it is described The network identity carried in equipment query request is identical;
Determination sub-module, for the account of owner at least one smart machine is different from first user account Smart machine be determined as the Intelligent target equipment;
Second acquisition submodule, the description information for obtaining the Intelligent target equipment from the shared facility information table.
19. device according to claim 18, which is characterized in that first acquisition module further includes:
Receiving submodule, the collaborative share request for receiving second terminal transmission carry second in the collaborative share request The network of the wireless network of user account, the description information of the Intelligent target equipment and Intelligent target equipment access Mark, the second user account are the account of the owner of the Intelligent target equipment;
Sub-module stored is used for the second user account, the description information of the Intelligent target equipment and the target The network identity of the wireless network of smart machine access, stores into the shared facility information table.
20. device according to claim 17, which is characterized in that the description information of the Intelligent target equipment includes institute State the mark of Intelligent target equipment;
Described device further includes:
Second receiving module, the control message sent for receiving the first terminal at least carry institute in the control message State the first user account, the mark of the Intelligent target equipment and control operation;
Control module, for when the mark according to first user account and the Intelligent target equipment, determining described first There are when binding relationship, control the Intelligent target equipment to execute the control between user account and the Intelligent target equipment Operation, and control success message is sent to the first terminal, the control success message is used to indicate described in the power control system of having become Intelligent target equipment executes the control operation;
Second sending module, described in when the mark according to first user account and the Intelligent target equipment, determining When binding relationship between first user account and the Intelligent target equipment has released, lack of competence is sent to the first terminal Operation indicating message, the lack of competence operation indicating message are set for prompting the first terminal not control the Intelligent target Standby permission.
21. device according to claim 20, which is characterized in that also carry the first terminal in the control message and work as The network identity of the wireless network of preceding access;
Described device further includes:
Second acquisition module, the sharing mode for obtaining the Intelligent target equipment, the sharing mode include first shared Mode or the second sharing mode, first sharing mode refer to that the Intelligent target equipment is shared under same wireless network Mode, second sharing mode refer to the mode shared the network of the Intelligent target equipment and be not limited;
First trigger module, for working as the sharing mode of the Intelligent target equipment for first sharing mode, and the control When the network identity carried in message processed is identical as the network identity of wireless network that the Intelligent target equipment accesses, institute is triggered It states control module and controls the Intelligent target equipment execution control operation;
Second trigger module, for when the sharing mode of the Intelligent target equipment is second sharing mode, directly touching It sends out control module described and controls the Intelligent target equipment and execute the control and operate.
22. device according to claim 17, which is characterized in that described device further includes:
Third receiving module, the removal instruction for receiving second terminal transmission carry second user account in the removal instruction Number, the mark of the Intelligent target equipment and first user account;
Module is released, for the mark according to the second user account and the Intelligent target equipment, described first is released and uses Binding relationship between family account and the Intelligent target equipment;
Third sending module, for sending shared releasing notification message, the shared releasing notification message to the first terminal For notifying the first terminal and the binding relationship of the Intelligent target equipment to release.
23. a kind of collaborative share device, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as the step of perform claim requires 1-5 any described methods.
24. a kind of computer readable storage medium, instruction is stored on the computer readable storage medium, which is characterized in that The step of claim 1-5 any described method is realized when described instruction is executed by processor.
25. a kind of collaborative share device, which is characterized in that described device includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as the step of perform claim requires 6-11 any described methods.
26. a kind of computer readable storage medium, instruction is stored on the computer readable storage medium, which is characterized in that The step of claim 6-11 any described method is realized when described instruction is executed by processor.
CN201810524886.8A 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium Active CN108809968B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810524886.8A CN108809968B (en) 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810524886.8A CN108809968B (en) 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108809968A true CN108809968A (en) 2018-11-13
CN108809968B CN108809968B (en) 2021-05-04

Family

ID=64090624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810524886.8A Active CN108809968B (en) 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN108809968B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011884A (en) * 2019-04-01 2019-07-12 宁波奥克斯电气股份有限公司 A kind of distribution progress display methods, device and air conditioner
CN110012455A (en) * 2019-01-25 2019-07-12 阿里巴巴集团控股有限公司 A kind of management method of account information, device and electronic equipment
CN110062341A (en) * 2019-04-25 2019-07-26 深圳市融智联科技有限公司 A kind of method, apparatus and system that device data is shared
CN110166439A (en) * 2019-04-23 2019-08-23 维沃移动通信有限公司 Collaborative share method, terminal, router and server
CN110535738A (en) * 2019-09-27 2019-12-03 四川长虹电器股份有限公司 Intelligent housing permission sharing method
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN110703621A (en) * 2019-10-31 2020-01-17 宁波奥克斯电气股份有限公司 Household appliance control method, household appliance control device, server and computer readable storage medium
CN110768992A (en) * 2019-10-30 2020-02-07 广东美的制冷设备有限公司 Shared device operation monitoring method, device, server and storage medium
CN111181903A (en) * 2019-06-04 2020-05-19 腾讯科技(深圳)有限公司 Information acquisition method and apparatus, storage medium, and electronic apparatus
CN111353141A (en) * 2018-12-20 2020-06-30 美的集团股份有限公司 Intelligent device authority control method, server, user side device and electronic device
CN112419026A (en) * 2020-11-25 2021-02-26 山东浪潮商用系统有限公司 Method for realizing interaction with tax terminal equipment based on mobile intelligent terminal
CN112689274A (en) * 2020-12-22 2021-04-20 未来穿戴技术有限公司 Short-distance wireless communication connection prompting method and device and massage equipment
CN113011943A (en) * 2021-03-11 2021-06-22 北京骑胜科技有限公司 Interaction method, interaction system, storage medium and electronic device
WO2021121305A1 (en) * 2019-12-19 2021-06-24 华为技术有限公司 Method for managing smart device, mobile terminal, and communication system
WO2021179944A1 (en) * 2020-03-09 2021-09-16 维沃移动通信有限公司 Device sharing method and server
CN113723126A (en) * 2021-08-31 2021-11-30 北京市商汤科技开发有限公司 Data acquisition method and device, electronic equipment and storage medium
CN113839991A (en) * 2021-08-30 2021-12-24 青岛海尔科技有限公司 Method and device for confirming equipment information, storage medium and electronic device
CN114726664A (en) * 2022-03-23 2022-07-08 青岛海信智慧生活科技股份有限公司 Household equipment binding method and equipment
CN114785913A (en) * 2022-03-14 2022-07-22 海信视像科技股份有限公司 Display device and device information processing method
CN115129194A (en) * 2022-05-24 2022-09-30 武汉擎朗智能科技有限公司 Cleaning robot sharing method, device, equipment and storage medium
CN115442170A (en) * 2019-03-22 2022-12-06 华为技术有限公司 Communication method, device and system
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product
CN111885594B (en) * 2020-06-30 2024-03-22 海尔优家智能科技(北京)有限公司 Equipment binding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141360A (en) * 2007-09-14 2008-03-12 四川长虹电器股份有限公司 Equipment management and control method of family network
US20150077231A1 (en) * 2013-05-17 2015-03-19 Huawei Technologies Co., Ltd. Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN105353625A (en) * 2015-10-12 2016-02-24 珠海格力电器股份有限公司 Method, device and system for binding intelligent equipment
CN105592454A (en) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 Method and system for realizing WLAN sharing and WLAN sharing register server
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141360A (en) * 2007-09-14 2008-03-12 四川长虹电器股份有限公司 Equipment management and control method of family network
US20150077231A1 (en) * 2013-05-17 2015-03-19 Huawei Technologies Co., Ltd. Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN105592454A (en) * 2014-10-21 2016-05-18 中兴通讯股份有限公司 Method and system for realizing WLAN sharing and WLAN sharing register server
CN105353625A (en) * 2015-10-12 2016-02-24 珠海格力电器股份有限公司 Method, device and system for binding intelligent equipment
CN106100891A (en) * 2016-06-30 2016-11-09 北京小米移动软件有限公司 The method and device that intelligent scene is quickly shared

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353141A (en) * 2018-12-20 2020-06-30 美的集团股份有限公司 Intelligent device authority control method, server, user side device and electronic device
CN111353141B (en) * 2018-12-20 2022-05-24 美的集团股份有限公司 Intelligent device authority control method, server, user side device and electronic device
CN110012455A (en) * 2019-01-25 2019-07-12 阿里巴巴集团控股有限公司 A kind of management method of account information, device and electronic equipment
CN110012455B (en) * 2019-01-25 2021-10-22 创新先进技术有限公司 Account information management method and device and electronic equipment
CN115442170A (en) * 2019-03-22 2022-12-06 华为技术有限公司 Communication method, device and system
CN110011884A (en) * 2019-04-01 2019-07-12 宁波奥克斯电气股份有限公司 A kind of distribution progress display methods, device and air conditioner
CN110011884B (en) * 2019-04-01 2022-01-11 宁波奥克斯电气股份有限公司 Distribution network progress display method and device and air conditioner
CN110166439A (en) * 2019-04-23 2019-08-23 维沃移动通信有限公司 Collaborative share method, terminal, router and server
CN110062341A (en) * 2019-04-25 2019-07-26 深圳市融智联科技有限公司 A kind of method, apparatus and system that device data is shared
CN111181903A (en) * 2019-06-04 2020-05-19 腾讯科技(深圳)有限公司 Information acquisition method and apparatus, storage medium, and electronic apparatus
CN110602216B (en) * 2019-09-16 2022-06-07 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
CN110535738A (en) * 2019-09-27 2019-12-03 四川长虹电器股份有限公司 Intelligent housing permission sharing method
CN110768992A (en) * 2019-10-30 2020-02-07 广东美的制冷设备有限公司 Shared device operation monitoring method, device, server and storage medium
CN110703621A (en) * 2019-10-31 2020-01-17 宁波奥克斯电气股份有限公司 Household appliance control method, household appliance control device, server and computer readable storage medium
WO2021121305A1 (en) * 2019-12-19 2021-06-24 华为技术有限公司 Method for managing smart device, mobile terminal, and communication system
WO2021179944A1 (en) * 2020-03-09 2021-09-16 维沃移动通信有限公司 Device sharing method and server
CN111885594B (en) * 2020-06-30 2024-03-22 海尔优家智能科技(北京)有限公司 Equipment binding method and device
CN112419026A (en) * 2020-11-25 2021-02-26 山东浪潮商用系统有限公司 Method for realizing interaction with tax terminal equipment based on mobile intelligent terminal
CN112689274B (en) * 2020-12-22 2023-10-24 未来穿戴技术有限公司 Prompting method and device for short-distance wireless communication connection and massaging equipment
CN112689274A (en) * 2020-12-22 2021-04-20 未来穿戴技术有限公司 Short-distance wireless communication connection prompting method and device and massage equipment
CN113011943A (en) * 2021-03-11 2021-06-22 北京骑胜科技有限公司 Interaction method, interaction system, storage medium and electronic device
CN113839991A (en) * 2021-08-30 2021-12-24 青岛海尔科技有限公司 Method and device for confirming equipment information, storage medium and electronic device
CN113723126A (en) * 2021-08-31 2021-11-30 北京市商汤科技开发有限公司 Data acquisition method and device, electronic equipment and storage medium
CN114785913A (en) * 2022-03-14 2022-07-22 海信视像科技股份有限公司 Display device and device information processing method
CN114785913B (en) * 2022-03-14 2024-04-19 海信视像科技股份有限公司 Display device and device information processing method
CN114726664A (en) * 2022-03-23 2022-07-08 青岛海信智慧生活科技股份有限公司 Household equipment binding method and equipment
CN114726664B (en) * 2022-03-23 2023-10-27 青岛海信智慧生活科技股份有限公司 Binding method and binding equipment for household equipment
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product
CN115129194A (en) * 2022-05-24 2022-09-30 武汉擎朗智能科技有限公司 Cleaning robot sharing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108809968B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
CN108809968A (en) Collaborative share method, apparatus and storage medium
CN104468837B (en) The binding method and device of smart machine
CN105100190B (en) The methods, devices and systems that the control planning of account and equipment is managed
CN104684048B (en) WIFI list shows method and apparatus
CN104936304B (en) Smart machine binding method, smart machine and server
CN105450655B (en) Apparatus bound method and apparatus
CN105204742B (en) Control method, device and the terminal of electronic equipment
CN106487622B (en) Equipment control sharing method and device
CN108768803A (en) Add the method, apparatus and storage medium of smart machine
CN108810861A (en) Connection method, device and the storage medium of smart machine
CN105162668B (en) Connect method and device for removing
CN105652671B (en) The setting method and device of smart machine operating mode
CN105204356B (en) Display methods, device and the terminal of application
CN104464238B (en) Method of controlling operation thereof and device between mobile terminal
CN105099841B (en) Sending method, device, terminal and the router of message
CN105389113B (en) Application control method, apparatus based on gesture and terminal
CN105207994B (en) account binding method and device
CN104918223B (en) Information interaction method, device based on intelligent wearable device and equipment
CN105208176B (en) Contact person record processing method and processing device
CN106506562A (en) The method for connecting network of smart machine, device and smart machine
CN109922098A (en) A kind of content share method, device and the device for content share
CN104539786B (en) Terminal dialing method, device and equipment
CN108848484A (en) Collaborative share method, apparatus and storage medium
CN105263099B (en) The method and apparatus for sending location information
CN105554087B (en) information setting method and device

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