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

Collaborative share method, apparatus and storage medium Download PDF

Info

Publication number
CN108848484A
CN108848484A CN201810523514.3A CN201810523514A CN108848484A CN 108848484 A CN108848484 A CN 108848484A CN 201810523514 A CN201810523514 A CN 201810523514A CN 108848484 A CN108848484 A CN 108848484A
Authority
CN
China
Prior art keywords
terminal
intelligent
equipment
bluetooth
shared
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
CN201810523514.3A
Other languages
Chinese (zh)
Other versions
CN108848484B (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 CN201810523514.3A priority Critical patent/CN108848484B/en
Publication of CN108848484A publication Critical patent/CN108848484A/en
Application granted granted Critical
Publication of CN108848484B publication Critical patent/CN108848484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (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:When detecting the sharing operation at least two Intelligent target equipment, a shared data packet is generated according to the description information of at least two Intelligent targets equipment, the at least two Intelligent targets equipment is at least two smart machines bound with the first user account, and the first user account is the user account currently logged in.By Bluetooth broadcast shared data packet, and when receiving the Bluetooth connection request of second terminal transmission, the bluetooth connection between second terminal is established, and then by at least two Intelligent targets collaborative share to second terminal.In this way, realizing the shared of equipment by bluetooth without data network consumption, collaborative share mode is enriched, operating process is simplified, improves collaborative share efficiency, and the operating cost and understanding cost of user is reduced, and reduce the error rate of addition second user account.

Description

Collaborative share method, apparatus and storage medium
Technical field
This disclosure relates to field of communication technology more particularly to a kind of collaborative share method, apparatus and storage medium.
Background technique
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 into other users.It, can be by the owner of smart machine for the ease of subsequent explanation Other users are known as second user by referred to as the first user.
Currently, the first user can be first eventually when the smart machine of oneself is shared to second user by the first user Second user account is inputted in the collaborative share interface at end, in this way, first terminal can be sent by server to second terminal Shared notice, first terminal are the corresponding terminal of the first user, and second terminal is the corresponding terminal of second user.Work as second terminal After receiving the shared notice, it can show that the shared notice triggers in second terminal if second user receiving is shared Confirm sharing operation.At this point, second terminal can send shared received message to server.It shared is connect when server receives this When by message, second user account and the smart machine can be bound, in this way, second user is just obtained to the intelligence The right to use and operating rights of equipment.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides a kind of collaborative share method, apparatus and storage medium. 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:
When detecting the sharing operation at least two Intelligent target equipment, according at least two Intelligent target The description information of equipment generates a shared data packet;
Wherein, at least two Intelligent targets equipment is at least two smart machines bound with the first user account, First user account is the user account that the first terminal currently logs in;
Pass through shared data packet described in Bluetooth broadcast;
When receiving the Bluetooth connection request of second terminal transmission, the bluetooth established between the second terminal connects It connects, gives at least two Intelligent targets collaborative share to the second terminal.
Optionally, described when detecting the sharing operation at least two Intelligent target equipment, according to it is described at least Before the description information of two Intelligent target equipment generates a shared data packet, further include:
It shows facility information editing interface, includes being bound with first user account in the facility information editing interface Multiple smart machines description information;
When detecting to the selection operation of at least two smart machines in the multiple smart machine, the selection is grasped Make selected at least two smart machine and is determined as at least two Intelligent targets equipment.
Optionally, the method also includes:
It shows Sharing Management interface, includes the bluetooth letter of current attachable multiple terminals in the Sharing Management interface Breath;
When detecting that operation is added in the blacklist for target terminal, according to the Bluetooth information of the target terminal by institute It states target terminal to be added in blacklist, the target terminal is any terminal in the multiple terminal;
Optionally, described by shared data packet described in Bluetooth broadcast, including:
By bluetooth to shared data packet described in the terminal broadcast in addition to the blacklist.
It optionally, include the terminal and/or for not sharing at least two Intelligent targets equipment in the multiple terminal Share the terminal of at least two Intelligent targets equipment.
Optionally, the method also includes:
During establishing bluetooth connection with the second terminal, display connection prompting message, the connection prompt disappears Breath is used to indicate the second terminal and receives the shared of at least two Intelligent targets equipment, and current with described first Terminal establishes bluetooth connection.
According to the second aspect of an embodiment of the present disclosure, a kind of collaborative share method is provided, second terminal, the side are applied to Method includes:
It is scanned by bluetooth, includes at least in the shared data packet to obtain the shared data packet of first terminal broadcast The description information of two Intelligent target equipment;
Show shared prompting message, the shared prompting message for prompt whether by the second terminal to it is described extremely Few two Intelligent target equipment are controlled;
When detecting the confirmation operation to the shared prompting message, bluetooth connection is sent to the first terminal and is asked It asks, with the bluetooth connection established between the first terminal;
When the bluetooth connection between the first terminal is successfully established, information bind request, institute are sent to server The description information that at least two Intelligent targets equipment is carried in information bind request and the second user account are stated, it is described Information bind request be used to indicate the server by at least two Intelligent targets equipment and the second user account into Row binding.
Optionally, after the transmission information bind request to server, further include:
The description information of at least two Intelligent targets equipment, facility information circle are shown in facility information interface Face is used to show the description information for the smart machine that can be controlled.
Optionally, after the transmission information bind request to server, further include:
Control message is sent to the server, the second user account, described is at least carried in the control message The mark of either objective smart machine and control operation, the control message are used to indicate institute at least two Intelligent target equipment It states server and controls the either objective smart machine execution control operation;
The control success message that the server is sent is received, the control success message has become power control institute for prompting It states Intelligent target equipment and executes the control operation.
According to the third aspect of an embodiment of the present disclosure, a kind of collaborative share device is provided, first terminal, the dress are applied to Set including:
Generation module, for when detecting the sharing operation at least two Intelligent target equipment, according to it is described extremely The description information of few two Intelligent target equipment generates a shared data packet;
Wherein, at least two Intelligent targets equipment is at least two smart machines bound with the first user account, First user account is the user account that the first terminal currently logs in;
Broadcast module, for passing through shared data packet described in Bluetooth broadcast;
Connection establishment module, for establishing and described second when receiving the Bluetooth connection request of second terminal transmission Bluetooth connection between terminal gives at least two Intelligent targets collaborative share to the second terminal.
Optionally, described device further includes:
First display module includes and institute in the facility information editing interface for showing facility information editing interface State the description information of multiple smart machines of the first user account binding;
Determining module, for working as the selection operation detected at least two smart machines in the multiple smart machine When, selected at least two smart machine of the selection operation is determined as at least two Intelligent targets equipment.
Optionally, described device further includes:
Second display module includes current attachable for showing Sharing Management interface, in the Sharing Management interface The Bluetooth information of multiple terminals;
Adding module, for when detect for target terminal blacklist be added operation when, according to the target terminal Bluetooth information the target terminal is added in blacklist, the target terminal be the multiple terminal in any end End;
The broadcast module is mainly used for through bluetooth to shared data described in the terminal broadcast in addition to the blacklist Packet.
It optionally, include the terminal and/or for not sharing at least two Intelligent targets equipment in the multiple terminal Share the terminal of at least two Intelligent targets equipment.
Optionally, described device further includes:
Third display module, for during establishing bluetooth connection with the second terminal, display connection prompt to disappear Breath, the connection prompting message are used to indicate the second terminal and receive the shared of at least two Intelligent targets equipment, and Currently bluetooth connection is being established with the first terminal.
According to a fourth aspect of embodiments of the present disclosure, a kind of collaborative share device is provided, second terminal, the dress are applied to Set including:
Module is obtained, for scanning by bluetooth, to obtain the shared data packet of first terminal broadcast, the shared data It include the description information of at least two Intelligent target equipment in packet;
First display module, for showing shared prompting message, the shared prompting message is for prompting whether pass through institute Second terminal is stated to control at least two Intelligent targets equipment;
First sending module, for when detecting the confirmation operation to the shared prompting message, eventually to described first End sends Bluetooth connection request, with the bluetooth connection established between the first terminal;
Second sending module, for being sent out to server when the bluetooth connection between the first terminal is successfully established It delivers letters breath bind request, the description information of at least two Intelligent targets equipment and described is carried in the information bind request Second user account, the information bind request are used to indicate the server for at least two Intelligent targets equipment and institute Second user account is stated to be bound.
Optionally, described device further includes:
Second display module, for showing that the description of at least two Intelligent targets equipment is believed in facility information interface Breath, the facility information interface are used to show the description information for the smart machine that can be controlled.
Optionally, described device further includes:
Third sending module, at least carried for sending control message to the server, in the control message described in The mark of either objective smart machine and control operation, described in second user account, at least two Intelligent targets equipment Control message is used to indicate the server and controls the either objective smart machine execution control operation;
Receiving module, the control success message sent for receiving the server, the control success message is for mentioning Show that Intelligent target equipment described in the power control system of having become executes the control operation.
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 storage processor executable instruction;
Wherein, the processor is configured to the step of executing collaborative share method described in above-mentioned first aspect.
According to a sixth aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, it is described computer-readable It is stored with instruction on storage medium, 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 comprising instruction, when its When being run on computer, so that the step of computer executes 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 storage processor executable instruction;
Wherein, the processor is configured to the step of executing 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, 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 comprising instruction, when its When being run on computer, so that the step of computer executes collaborative share method described in above-mentioned second aspect.
The technical scheme provided by this disclosed embodiment at least can include the following benefits:When first terminal detects For at least two Intelligent target equipment sharing operation when, according to the description information of at least two Intelligent targets equipment generate One shared data packet.Since at least two Intelligent targets equipment is that at least two intelligence bound with the first user account are set Standby, the first user account is the user account that first terminal currently logs in, therefore, first terminal shared number by Bluetooth broadcast After packet, when receiving the Bluetooth connection request of second terminal transmission, the bluetooth that can establish between second terminal connects It connects, and then by at least two Intelligent targets collaborative share to second terminal.It that is to say, first terminal can be not necessarily to data network Network is shared by the batch of bluetooth realization smart machine in the case where consuming, and enriches collaborative share mode.And smart machine Owner without specifying one by one and adding second user account and achieve that collaborative share, simplify operating process, improve Collaborative share efficiency, and reduce the operating cost and understanding cost of user, and reduce addition second user account Error rate.In addition, being specified since second user account is not limited to owner, to expand the shared range of smart machine.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
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 of another collaborative share method shown according to an exemplary embodiment;
Fig. 5 is a kind of facility information editing interface schematic diagram shown according to an exemplary embodiment;
Fig. 6 is a kind of Sharing Management interface schematic diagram shown according to an exemplary embodiment;
Fig. 7 is a kind of blacklist administration interface schematic diagram shown according to an exemplary embodiment;
Fig. 8 is the prompting message display interface schematic diagram to be found such as a kind of shown according to an exemplary embodiment;
Fig. 9 is a kind of shared prompting message display interface schematic diagram shown according to an exemplary embodiment;
Figure 10 is a kind of connection prompting message display interface schematic diagram shown according to an exemplary embodiment;
Figure 11 is a kind of connection progress prompt message display interface schematic diagram shown according to an exemplary embodiment;
Figure 12 is a kind of successful connection prompting message display interface schematic diagram shown according to an exemplary embodiment;
Figure 13 is a kind of block diagram of collaborative share device shown according to an exemplary embodiment;
Figure 14 is the block diagram of another collaborative share device shown according to an exemplary embodiment;
Figure 15 is the block diagram of another collaborative share device shown according to an exemplary embodiment;
Figure 16 is the block diagram of another collaborative share device shown according to an exemplary embodiment.
Specific embodiment
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.
Firstly, being illustrated to the noun that the embodiment of the present disclosure is related to.
First terminal:For the corresponding terminal of the first user, the first user is the owner of smart machine.First terminal can be with It is mobile terminal, is also possible to fixed terminal.Mobile terminal includes but is not limited to mobile phone, personal digital assistant (Personal Digital Assistant, PDA), tablet computer, portable equipment is (for example, portable computer, pocket computer or hand-held Formula computer) etc. with installation application software and with operating display mobile device.Fixed terminal includes but is not limited to door Taboo, intelligent fixed-line telephone, console etc. have the fixed equipment of image collecting function.The embodiment of the present disclosure is not construed as limiting this.
Second terminal:For the corresponding terminal of second user, second user is other in addition to the owner of smart machine User.Second terminal can be mobile terminal, be also possible to fixed terminal.Mobile terminal includes but is not limited to mobile phone, PDA, puts down Plate computer, portable equipment (for example, portable computer, pocket computer or handheld computer) etc. have installation application soft Part and the mobile device with operating display.Fixed terminal includes but is not limited to the tool such as gate inhibition, intelligent fixed-line telephone, console There is the fixed equipment of image collecting function.The embodiment of the present disclosure is not construed as limiting this.
Secondly, being illustrated to the application scenarios that the embodiment of the present disclosure is related to.
In the modern life, people may possess multiple intelligence such as similar intelligent air condition, intelligent kettle, Intelligent air purifier Equipment, the first user can remotely control smart machine by first terminal, and the smart machine of oneself can also be shared to Two users.Currently, the first user when smart machine is shared to second user, needs at the collaborative share interface of first terminal In be manually entered second user account, later, first terminal sends shared notice, second terminal to second terminal by server The shared notice can be shown to second user after receiving shared notice, if second user receive it is shared, can be Triggering confirmation sharing operation in second terminal.At this point, second terminal can send shared received message to server.Work as server When receiving the shared received message, second user account and the smart machine can be bound, in this way, second user is just Obtain the right to use and operating rights to the smart machine.However, collaborative share mode is more single, and shares in this manner Equipment can consume a large amount of Internet resources, and at high cost and shared speed is slow.In addition, when the first user wants to set the intelligence of oneself It is standby to share to multiple second users, then need to add multiple second user accounts by several times, and send by several times to multiple second terminals Shared notice will lead to collaborative share low efficiency in this way, and operating process is complicated, at high cost, and be easy error.And due to second User account is what second user was specified, limits the shared range of smart machine in this way.
Finally, being illustrated to the implementation environment that the embodiment of the present disclosure is related to.
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 lead between first terminal 101 and second terminal 102 Bluetooth technology is crossed to be communicated, it can be by wired or wireless connection to be led between second terminal 102 and server 103 Letter.Wherein, first terminal 101, can be according to this extremely when detecting the sharing operation at least two Intelligent target equipment The description information of few two Intelligent target equipment generates a shared data packet, then passes through the Bluetooth broadcast shared data packet, And when it receives the Bluetooth connection request of the transmission of second terminal 102, the bluetooth connection between second terminal 102 is established, And then by at least two Intelligent targets collaborative share to second terminal 102.And when first terminal 101 and second terminal 102 it Between bluetooth connection when being successfully established, second terminal 102 can send information bind request to server 103, due to the information The description information and second user account of at least two Intelligent target equipment are carried in bind request, so when server 103 connects When receiving the information bind request, which can be bound with second user account, thus Realize the share for Bluetooth of smart machine.
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, when detecting the sharing operation at least two Intelligent target equipment, according to this at least two The description information of a Intelligent target equipment generates a shared data packet.
Wherein, which is at least two smart machines bound with the first user account, the One user account is the user account that first terminal currently logs in.
In step 202, pass through the Bluetooth broadcast shared data packet.
In step 203, it when receiving the Bluetooth connection request of second terminal transmission, establishes between second terminal Bluetooth connection, by at least two Intelligent targets collaborative share to second terminal.
In the embodiments of the present disclosure, when first terminal detects the sharing operation at least two Intelligent target equipment When, a shared data packet is generated according to the description information of at least two Intelligent targets equipment.Due at least two target Smart machine is at least two smart machines bound with the first user account, and the first user account is that first terminal currently logs in User account, therefore, first terminal pass through the Bluetooth broadcast shared data packet after, when receive second terminal transmission indigo plant When tooth connection request, the bluetooth connection between second terminal can establish, and then at least two Intelligent targets equipment is total to It enjoys to second terminal.It that is to say, first terminal can realize that intelligence is set by bluetooth without data network consumption Standby batch is shared, enriches collaborative share mode.And the owner of smart machine without one by one specify and add second User account achieves that collaborative share, simplifies operating process, improves collaborative share efficiency, and reduces the operation of user Cost and understanding cost, and reduce the error rate of the first user account of addition.In addition, since the first user account is not limited to Owner is specified, to expand the shared range of smart machine.
Optionally, when detecting the sharing operation at least two Intelligent target equipment, according at least two targets Before the description information of smart machine generates a shared data packet, further include:
It shows facility information editing interface, includes multiple intelligence with the binding of the first user account in facility information editing interface The description information of energy equipment;
It, will be selected by selection operation when detecting to the selection operation of at least two smart machines in multiple smart machines At least two smart machines be determined as at least two Intelligent target equipment.
Optionally, this method further includes:
It shows Sharing Management interface, includes the Bluetooth information of current attachable multiple terminals in Sharing Management interface;
It is according to the Bluetooth information of target terminal that target is whole when detecting that operation is added in the blacklist for target terminal End is added in blacklist, and target terminal is any terminal in multiple terminals;
Optionally, by Bluetooth broadcast shared data packet, including:
By bluetooth to the terminal broadcast shared data packet in addition to blacklist.
It optionally, include not sharing the terminal of at least two Intelligent target equipment and/or having shared at least in multiple terminals The terminal of two Intelligent target equipment.
Optionally, this method further includes:
During establishing bluetooth connection with second terminal, display connection prompting message, connection prompting message is for referring to Show that second terminal receives the shared of at least two Intelligent target equipment, and is currently establishing bluetooth connection with first terminal.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real It applies example and this is no longer repeated 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 the Two terminals.As shown in figure 3, this approach includes the following steps.
In step 301, it is scanned by bluetooth, to obtain the shared data packet of first terminal broadcast, in shared data packet Description information including at least two Intelligent target equipment.
In step 302, the shared prompting message of display shares prompting message for prompting whether to pass through second terminal to extremely Few two Intelligent target equipment are controlled.
In step 303, when detecting the confirmation operation to shared prompting message, bluetooth connection is sent to first terminal Request, with the bluetooth connection between foundation and first terminal.
In step 304, when the bluetooth connection between first terminal is successfully established, information binding is sent to server It requests, the description information and second user account of at least two Intelligent target equipment, information binding is carried in information bind request Request is used to indicate server and binds at least two Intelligent target equipment with second user account.
In the embodiments of the present disclosure, second terminal is scanned by bluetooth and obtains the shared data packet of first terminal broadcast. Due to including the description information of at least two Intelligent target equipment in the shared data packet, so being total to when second terminal gets this After enjoying data packet, shared prompting message can be shown.Due to this share prompting message for prompt whether pass through second terminal At least two Intelligent target equipment are controlled, so when second terminal detects the confirmation operation for sharing prompting message to this When, Bluetooth connection request can be sent to first terminal, and then establish the bluetooth connection between first terminal.Further, When the bluetooth connection between first terminal is successfully established, second terminal can send information bind request to server.By The description information and second user account of at least two Intelligent target equipment are carried in the information bind request, so when service When device receives the information bind request, which can be bound with second user account, To realize the shared of equipment.In this way, first terminal realizes intelligence by bluetooth without data network consumption The batch of equipment is shared, enriches collaborative share mode.And the owner of smart machine is without specifying one by one and add the Two user accounts achieve that collaborative share, simplify operating process, improve collaborative share efficiency, and reduce the behaviour of user Make cost and understanding cost, and reduces the error rate of the first user account of addition.In addition, since the first user account is unlimited It is specified in owner, to expand the shared range of smart machine.
Optionally, after sending information bind request to server, further include:
The description information of at least two Intelligent target equipment is shown in facility information interface, facility information interface is for showing Show the description information for the smart machine that can be controlled.
Optionally, after sending information bind request to server, further include:
Control message is sent to server, at least carries second user account, at least two Intelligent targets in control message The mark of either objective smart machine and control operation in equipment, control message are used to indicate server control either objective intelligence Equipment executive control operation;
The control success message that server is sent is received, control success message has become power control Intelligent target for prompt and sets Standby executive control operation.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real It applies example and this is no longer repeated 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, when first terminal detects the sharing operation at least two Intelligent target equipment, according to The description information of at least two Intelligent targets equipment generates a shared data packet.
It should be noted that smart machine includes but is not limited to intelligent kettle, Intelligent bed lamp, intelligent flowers and plants detector etc. Smart machine containing bluetooth module.The embodiment of the present disclosure is not construed as limiting this.
In addition, at least two Intelligent target equipment are at least two smart machines bound with the first user account, first User account is the user account that first terminal currently logs in.The description information of Intelligent target equipment is set for describing Intelligent target It is standby, and the including but not limited to information such as appliance icon, device name, device model.
Optionally, before the sharing operation that first terminal detects at least two Intelligent target equipment, can also from At least two Intelligent targets equipment is determined in the smart machine of first user account binding.Wherein it is determined that at least two mesh Mark smart machine process can be:First terminal shows facility information editing interface, includes in the facility information editing interface With the description information of multiple smart machines of the first user account binding.When first terminal detect in multiple smart machines extremely When the selection operation of few two smart machines, selected at least two smart machine of selection operation is determined as at least two mesh Mark smart machine.
Further, since at least two Intelligent target equipment are that at least two intelligence bound with the first user account are set Standby, the first user account is the user account that first terminal currently logs in, so first terminal can know above-mentioned at least two The description information of Intelligent target equipment.In this way, when first terminal detects being total to for above-mentioned at least two Intelligent targets equipment When enjoying operation, a shared data packet can be generated according to the description information of above-mentioned at least two Intelligent targets equipment.
For example, first terminal detects the sharing operation of six Intelligent target equipment, six Intelligent target equipment difference For Intelligent air purifier, intelligent ceiling lamp, Intelligent bed lamp, intelligent sweeping machine, intelligent desk lamp and intelligent bulbs.In this way, the One terminal can show facility information editing interface as shown in Figure 5, show and " pull in the facility information editing interface The prompting message of the equipment adjustment sequence of addition ", and " shared device " option.When the first user clicks " shared device " option When, it can determine that the first user needs this six Intelligent target collaborative shares to second user, at this point, first terminal can be true Regular inspection measures the sharing operation for the six Intelligent target equipment.Certainly, it can also be shown in the facility information editing interface The title and icon of this six Intelligent target equipment, and each Intelligent target equipment is additionally provided with selection option, the first user can To select a part of Intelligent target collaborative share to second user from this six Intelligent target equipment, it is assumed that selection intelligent air Clarifier, intelligent ceiling lamp and Intelligent bed lamp these three Intelligent target equipment, then click " shared device " option again.This When, first terminal can confirmly detect the sharing operation for these three Intelligent target equipment, and then can determine the first use Family only needs these three Intelligent target collaborative shares by selection to second user.In addition, the facility information editing interface may be used also It can be added in facility information editing interface with display " addition equipment " option and " sweep equipment " option, such first user Allow to share to the equipment of second user, existing equipment in the facility information editing interface can also be deleted, it is convenient Editor of first user to equipment.
It should be noted that determining that at least two Intelligent target equipment are this public affairs by above equipment information editing interface A kind of possible implementation opened in practical application, can also determine at least two Intelligent targets in other way Equipment.For example, it is determined as Intelligent target equipment for binding with the first user account but not carrying out shared smart machine, namely It is that will be determined as Intelligent target equipment with the smart machine of the newest binding of the first user account.
In step 402, first terminal passes through the Bluetooth broadcast shared data packet.
It should be noted that the form of first terminal broadcast is the broadcast of scannable non-directional, to open Bluetooth function Other terminals can scan the shared data packet that first terminal is being broadcasted.It wherein, include at least in shared data packet The description information of two Intelligent target equipment.
Optionally, blacklist can also be arranged in the embodiment of the present disclosure, store in the blacklist without the shared data packet The terminal for receiving permission, that is to say, the terminal in blacklist does not receive the shared number that first terminal passes through Bluetooth broadcast According to the permission of packet.In this way, when first terminal passes through the Bluetooth broadcast shared data packet, it is believed that first terminal passes through bluetooth To the shared data packet of the terminal broadcast in addition to blacklist.
In one possible implementation, first terminal can show Sharing Management interface, in the Sharing Management interface Bluetooth information including current attachable multiple terminals.When first terminal detects that behaviour is added in the blacklist for target terminal When making, target terminal is added in blacklist according to the Bluetooth information of target terminal, which is in multiple terminals Any terminal.In this way, current attachable terminal can be added in blacklist.However, first terminal can also will be black Terminal in list removes, and that is to say, reacquires the permission for receiving the shared data packet, and realization process can be:Display Blacklist administration interface includes the Bluetooth information of the terminal in blacklist in the blacklist administration interface, works as first terminal When detecting that the blacklist for target terminal removes operation, can according to the Bluetooth information of the target terminal by target terminal from It is removed in blacklist, to realize that target terminal reacquires the permission for receiving shared data packet.
It should be noted that including the terminal and/or for not sharing at least two Intelligent targets equipment in multiple terminals Share the terminal of at least two Intelligent targets equipment.In addition, Bluetooth information can be the Bluetooth address or bluetooth of bluetooth equipment Title.
For example, the bluetooth title for not sharing the terminal of at least two Intelligent targets equipment is respectively aa, d5x, D8:63: 75:BE:8D:D4 and E4, the bluetooth title for having shared the terminal of at least two Intelligent targets equipment is respectively mobile phone 1, mobile phone 2, mobile phone 3 and mobile phone 4.First terminal can show Sharing Management interface as shown in FIG. 6 in this way, in order to make it easy to understand, will not The terminal for sharing at least two Intelligent targets equipment is known as neighbouring bluetooth equipment, will share at least two Intelligent target Shared bluetooth equipment has referred to as been added in the terminal of equipment, in this way, showing aa, d5x, D8 in the Sharing Management interface:63: 75:BE:8D:Bluetooth equipment and mobile phone 1, mobile phone 2, mobile phone 3 and mobile phone 4 of the D4 and E4 near these these be added Shared bluetooth equipment, and the bluetooth title of each bluetooth equipment is additionally provided with " blacklist is added " option, is with bluetooth title For the bluetooth equipment of E4 and mobile phone 2, the first user can successively click corresponding " blacklist is added " option of E4 and mobile phone 2 is right " blacklist is added " option answered, is added blacklist for E4 and the corresponding bluetooth equipment of mobile phone 2, such E4 and mobile phone 2 are corresponding Bluetooth equipment will not scan the shared data packet of first terminal broadcast.
In addition, also showing the option of " shared blacklist " in the Sharing Management interface, " shared black when the first user clicks When list " option, it can be seen that the information of the bluetooth equipment in blacklist has been added, that is to say, has shown black name as shown in Figure 7 Menu manager interface.For example, when blacklist is added in aa, d5x, E4, mobile phone 2 and these bluetooth equipments of mobile phone 4 by the first user, Aa, d5x, E4, mobile phone 2 and mobile phone 4 these bluetooth equipments, and each bluetooth equipment can be shown in the blacklist administration interface Bluetooth title be additionally provided with " remove blacklist " option, be that mobile phone 2 " removes black name when the first user clicks bluetooth title When list " option, first terminal can remove the bluetooth equipment that bluetooth title is mobile phone 2 from blacklist, in this way, bluetooth title The shared data packet of first terminal broadcast can be scanned for the bluetooth equipment of mobile phone 2.
Further, during first terminal passes through Bluetooth broadcast shared data packet, in order to inform that the first user works as It is preceding whether there is or not the second terminal that can scan the shared data packet, the message notifying interfaces to be found such as first terminal can also be shown.
For example, the pet name of the first user account can be CaptainQ, in this way, first terminal can be shown as shown in Figure 8 Etc. prompting message display interface to be found, show mentioning for " waiting to be found " in the prompting message display interface to be found such as this Show the prompting message of message, " waiting in be found, Bluetooth of mobile phone please be keep to open ", and " completion " option.Wherein " wait to be found In, Bluetooth of mobile phone please be keep to open " prompting message be used to that the first user to be reminded currently to need to share to the intelligence of second user During equipment is etc. to be found, ask should not closing hand phone bluetooth, in order to avoid interrupt the broadcast of first terminal.When the first user clicks When " completion " option, that is, it can trigger broadcast halt instruction, when first terminal detects the broadcast halt instruction, it will stop logical Cross Bluetooth broadcast shared data packet, such second terminal will be scanned less than shared data packet, first terminal would not also establish with Bluetooth connection between second terminal.In addition, the prompting message display interface to be found such as this also shows the " intelligence of CaptainQ The prompting message of equipment ", the first user would know that the smart machine for currently needing to share to second user according to the prompting message The pet name what is.
In step 403, scanned when second terminal by bluetooth and get first terminal broadcast shared data packet it Afterwards, the shared prompting message of display, the shared prompting message is for prompting whether to pass through second terminal at least two targets intelligence Energy equipment is controlled.
It should be noted that since shared prompting message is for prompting whether to pass through second terminal at least two target intelligence Energy equipment is controlled, and therefore, in shared prompting message may include the description information of at least two Intelligent target equipment, in this way Know which equipment is at least two Intelligent target equipment be specifically convenient for user.
For example, Intelligent target equipment includes that Intelligent air purifier, intelligent ceiling lamp, Intelligent bed lamp this three intelligence are set It is standby, and the pet name of the first user account can be CaptainQ.In this way, second terminal can show as shown in Figure 9 shared mention Show message display interface, the shared prompt of " it was found that the smart machine shared " is shown in the prompting message display interface Message, and " connection " option.When second user clicks " connection " option, it can determine that second user needs to obtain this three The operating rights and the right to use of smart machine, at this point, second terminal can confirmly detect the confirmation operation to shared prompting message. Certainly, the title and icon that this three smart machines can also be shown in prompting message are shared, and every smart machine is also set up There is a selection option, second user can select a part to need to obtain setting for operating rights and the right to use from this three smart machines It is standby, " connection " option is then clicked again.At this point it is possible to determine that second user only needs to obtain the part in this three smart machines The operating rights and the right to use of smart machine, and second terminal can confirmly detect the confirmation operation to shared prompting message.Separately Outside, which also shows the prompting message of " smart machine of CaptainQ ", second user according to The prompting message would know that whom the owner for the smart machine shared is.
In step 404, it when second terminal detects the confirmation operation for sharing prompting message to this, is sent out to first terminal Send Bluetooth connection request.
Due to the operating rights and the right to use of all devices in the available at least two Intelligent targets equipment of second user, Also in the available at least two Intelligent targets equipment equipment component operating rights and the right to use.Therefore, a kind of possible It in implementation, can that is to say by least two Intelligent target equipment as a whole, when second terminal is detected to altogether When enjoying the confirmation operation of prompting message, show the operation for currently needing to obtain all devices at least two Intelligent target equipment Power and the right to use, at this point, can not have to carry other information in the Bluetooth connection request sent to first terminal.Another kind can Can implementation in, by least two Intelligent target equipment not as an entirety, that is to say, when second terminal detects pair When the confirmation operation of shared prompting message, the corresponding equipment of the description information carried in the confirmation operation can be determined as second The equipment that terminal currently needs to obtain operating rights and the right to use, at this point, can be in the Bluetooth connection request sent to first terminal Carry the description information for needing to obtain the equipment of operating rights and the right to use.Wherein, the description information carried in the confirmation operation can Think what second user was selected from shared prompting message.
In step 405, it when first terminal receives the Bluetooth connection request of second terminal transmission, establishes with second eventually Bluetooth connection between end.
Due to according to foregoing description it is found that in the Bluetooth connection request that second terminal is sent to first terminal can not have to take Band other information, can also carry the description information for needing to obtain the equipment of operating rights and the right to use, so a kind of possible In implementation, when first terminal receive second terminal transmission Bluetooth connection request, and determine Bluetooth connection request in do not have When having carrying other information, then it can establish the bluetooth connection between second terminal.In alternatively possible implementation, When first terminal receives the Bluetooth connection request of second terminal transmission, and carrying needs acquisition behaviour in determining Bluetooth connection request The description information for making the equipment of power and the right to use, then can be true by the corresponding equipment of the description information carried in Bluetooth connection request It is set to the equipment that second terminal currently needs to obtain operating rights and the right to use, establishes the bluetooth connection between second terminal.
Further, when first terminal receives the Bluetooth connection request of second terminal transmission, illustrate currently had Second user receives the smart machine of the first user sharing by second terminal.First terminal is establishing bluetooth with second terminal During connection, can show connection prompting message, the connection prompting message be used to indicate second terminal receive this at least two A Intelligent target equipment is shared, and is currently establishing bluetooth connection with first terminal.
For example, second user account is 7654321, the pet name of second user is slight prosperous.In this way, first terminal can be shown Show connection prompting message display interface as shown in Figure 10, in addition to showing just like Fig. 8 in the connection prompting message display interface Shown in " wait to be found " prompting message, " waiting in be found, Bluetooth of mobile phone please be keep to open " prompting message, and it is " complete At " except option, the pet name of second user account and second user, and the connection prompting message of " in connection " are also shown, User would know that this current slight prosperous second user is passing through second terminal and first terminal according to the connection prompting message Between carry out bluetooth connection.
Further, first terminal is during establishing bluetooth connection with second terminal, and second terminal is in order to inform The current connection progress of two users can show connection progress prompt message.
The citing of Fig. 9 is continued the above, second user is wanted to obtain operating rights and the Intelligent target equipment of the right to use to include intelligence It can air purifier, intelligent ceiling lamp and Intelligent bed lamp this three smart machines.When being built between second terminal and first terminal During vertical bluetooth connection, first terminal can show connection progress prompt message display interface as shown in figure 11, the company Show connection progress prompt message in degree of tapping into prompting message display interface, the connection progress prompt message include it is current " the connection of the description information of the smart machine of connection, the i.e. icon of Intelligent air purifier and title and current connection progress In, please later (1/3) ", i.e., bluetooth connection currently is being established with the First smart machine in this three smart machines.
In a step 406, it when the bluetooth connection between second terminal and first terminal is successfully established, is sent to server Information bind request carries the description information and second user account of at least two Intelligent targets equipment in the information bind request Number.
It should be noted that after the bluetooth connection between second terminal and first terminal is successfully established, second terminal At least two Intelligent targets equipment addition can be used second according to the description information of at least two Intelligent targets equipment Under the account of family, it that is to say, it, can be by at least two Intelligent targets equipment in the case that first terminal is not necessarily to consumption network data Description information be transferred to second terminal.However, second terminal adds at least two Intelligent targets equipment in second user After account, it is still unable to control at least two Intelligent targets equipment.Therefore, in order to controlling at least two targets intelligence Energy equipment, second terminal can also send information bind request to server, when server sets at least two Intelligent target After the standby binding with second user account, second terminal can control at least two Intelligent targets equipment, that is to say, second eventually End just has the operating rights and the right to use of at least two Intelligent targets equipment.
Further, when the bluetooth connection between second terminal and first terminal is successfully established, connection can also be shown Success prompting message display interface, has currently established bluetooth connection with first terminal for prompting.For example, as shown in figure 12, it should Show successful connection prompting message, " completion " option in successful connection prompting message display interface, and with first terminal at Function establishes the description information of the smart machine of bluetooth connection.
In step 407, it when server receives the information bind request of second terminal transmission, is bound according to the information The description information and second user account of at least two Intelligent target equipment carried in request, by least two Intelligent target Equipment is bound with second user account.
Due to carrying the description information and second user account of at least two Intelligent target equipment, institute in information bind request It, can be by at least two Intelligent targets equipment and the when information bind request to receive second terminal transmission when server Two user accounts are bound.In one possible implementation, server can by second user account and this at least two The corresponding storage of the description information of a Intelligent target equipment, to realize tying up for second user account and at least two Intelligent target equipment It is fixed.
For example, second user account is account 11, the description information of at least two Intelligent target equipment is respectively to describe letter Breath 1, description information 2 and description information 3, server can be by the descriptions of second user account and at least two Intelligent target equipment Corresponding relationship between information is stored into mapping table as shown in table 1 below.
Table 1
It should be noted that in the embodiment of the present disclosure, only it is illustrated for mapping table shown in the above-mentioned table 1, Above-mentioned table 1 does not constitute the embodiment of the present disclosure and limits.
It further, can after server is bound at least two Intelligent target equipment and second user account To send binding success message to second terminal.In this way, when second terminal receives the binding success message of server transmission, The description information of at least two Intelligent targets equipment can be shown in facility information interface, and can control this at least two The control option of a Intelligent target equipment, the facility information interface are used to show the description information for the smart machine that can be controlled. In this way, when second user needs to control at least two Intelligent targets equipment one can be selected from the control option of display A option can trigger the control instruction to any appliance in at least two Intelligent targets equipment.
In a step 408, second terminal sends control message to server, at least carries second user in the control message The mark of either objective smart machine and control operation in account, at least two Intelligent targets equipment.
It should be noted that the mark of either objective smart machine at least can be MAC (the Medium Access of equipment Control, media access control) address or equipment UUID (Universally Unique Identifier, it is general only One identification code), since perhaps UUID is Universally Unique Identifier so passing through the MAC Address or equipment of equipment to MAC Address UUID can uniquely determine Intelligent target equipment.Wherein, the MAC Address of equipment or the UUID of equipment can be carried first Terminal is by the shared data packet of Bluetooth broadcast, in this way, when second terminal is scanned and to get first terminal wide by bluetooth After the shared data packet broadcast, which can be parsed, so analytically after shared data packet in obtain The MAC Address of equipment or the UUID of equipment.
In addition, the control operation carried in control message is any in second terminal at least two Intelligent target equipment of control Operation performed by Intelligent target equipment, for example, control operation can be control so that Intelligent target equipment is intelligent kettle as an example Intelligent kettle carries out the heat preservation of 12h (hour), is also possible to control the heat preservation that intelligent kettle carries out 80 DEG C (degree Celsius), the disclosure Embodiment is not construed as limiting this.
In step 409, it when server receives the control message of second terminal transmission, is taken according in the control message The mark of either objective smart machine and control operation, control in the second user account of band, at least two Intelligent targets equipment The either objective smart machine executive control operation is made, and sends control success message to second terminal.
Due to carrying the mark of either objective smart machine at least two Intelligent target equipment in control message, so clothes Business device can determine that second terminal will currently be controlled when receiving the control message of second terminal transmission according to the control message Which smart machine, and then control the second terminal smart machine executive control operation currently to be controlled.
In step 410, second terminal receives the control success message that server is sent, and the control success message is for mentioning Show and has become power control Intelligent target equipment executive control operation.
Since control success message has become power control Intelligent target equipment executive control operation for prompting, so when second Terminal receives the control success message of server transmission, can show the control success message, second user is according to the control Success message can determine that having become power control Intelligent target equipment executes corresponding control operation.
In the embodiments of the present disclosure, when first terminal detects the sharing operation at least two Intelligent target equipment When, a shared data packet is generated according to the description information of at least two Intelligent targets equipment, this is shared by Bluetooth broadcast Data packet.Due to including the description information of at least two Intelligent targets equipment in the shared data packet, so working as second terminal After scanning by bluetooth and get the shared data packet, shared prompting message can be shown, and since the shared prompt disappears Whether breath controls at least two Intelligent targets equipment by second terminal for prompting, so when second terminal detects When to the confirmation operation for sharing prompting message to this, Bluetooth connection request can be sent to first terminal.When first terminal receives When to the Bluetooth connection request, the bluetooth connection between second terminal is established.Later, second terminal can be sent to server Information bind request, since the description information and second that carry at least two Intelligent targets equipment in the information bind request are used Family account, so when server receives the information bind request of second terminal transmission, it can be by at least two targets intelligence Energy equipment is bound with second user account, so that the operating rights of at least two Intelligent target equipment and the right to use be shared to Second terminal.In this way, first terminal realizes the batch of smart machine by bluetooth without data network consumption It is shared, enrich collaborative share mode.And the owner of smart machine without one by one specify and add other users account It achieves that collaborative share, simplifies operating process, improve collaborative share efficiency, and reduce the operating cost and reason of user Cost is solved, and reduces the error rate of the first user account of addition.In addition, referring to since the first user account is not limited to owner It is fixed, to expand the shared range of smart machine.
Furthermore after bindings completion, second terminal can send control message to server, since the control disappears At least carried in breath second user account, in at least two Intelligent targets equipment either objective smart machine mark and control Operation, so when server receives the control message of second terminal transmission, it can be according to the carried in the control message The mark of either objective smart machine and control operation, control this in two user accounts, at least two Intelligent targets equipment One Intelligent target equipment executive control operation, and control success message is sent to second terminal.Second terminal receives server hair The control success message sent, the control success message have become power control Intelligent target equipment executive control operation for prompting.By When second user executes the right to use and operating rights to Intelligent target equipment by second terminal, it is only necessary in second terminal Simple point selection operation is carried out on interface, thus simplifies operating process, reduces the operating cost and understanding cost of user.Separately Outside, it can be executed by second terminal since second user only needs to carry out simple point selection operation on the interface of second terminal To the right to use and operating rights of Intelligent target equipment, therefore expand the scope of application of smart machine.
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 generation module 1301, broadcast module 1302 and connection establishment module 1303.
Generation module 1301, for when detecting the sharing operation at least two Intelligent target equipment, according to this The description information of at least two Intelligent target equipment generates a shared data packet;
Wherein, which is at least two smart machines bound with the first user account, the One user account is the user account that first terminal currently logs in;
Broadcast module 1302, for passing through the Bluetooth broadcast shared data packet;
Connection establishment module 1303, for establishing and second when receiving the Bluetooth connection request of second terminal transmission Bluetooth connection between terminal, by at least two Intelligent targets collaborative share to second terminal.
Optionally, which further includes:
First display module includes using with first for showing facility information editing interface, in facility information editing interface The description information of multiple smart machines of family account binding;
Determining module, for inciting somebody to action when detecting to the selection operation of at least two smart machines in multiple smart machines Selected at least two smart machine of selection operation is determined as at least two Intelligent target equipment.
Optionally, which further includes:
Second display module includes current attachable multiple for showing Sharing Management interface, in Sharing Management interface The Bluetooth information of terminal;
Adding module, for when detect for target terminal blacklist be added operation when, according to the indigo plant of target terminal Target terminal is added in blacklist by tooth information, and target terminal is any terminal in multiple terminal;
Broadcast module is mainly used for through bluetooth to the terminal broadcast shared data packet in addition to blacklist.
It optionally, include not sharing the terminal of at least two Intelligent targets equipment and/or having shared in multiple terminal The terminal of at least two Intelligent targets equipment.
Optionally, which further includes:
Third display module, for during establishing bluetooth connection with second terminal, display connection prompting message should Connection prompting message is used to indicate second terminal and receives the shared of at least two Intelligent targets equipment, and current with first Terminal establishes bluetooth connection.
In the embodiments of the present disclosure, when first terminal detects the sharing operation at least two Intelligent target equipment When, a shared data packet is generated according to the description information of at least two Intelligent targets equipment.Due at least two target Smart machine is at least two smart machines bound with the first user account, and the first user account is that first terminal currently logs in User account, therefore, first terminal pass through the Bluetooth broadcast shared data packet after, when receive second terminal transmission indigo plant When tooth connection request, the bluetooth connection between second terminal can establish, and then at least two Intelligent targets equipment is total to It enjoys to second terminal.It that is to say, first terminal can realize that intelligence is set by bluetooth without data network consumption Standby is shared, enriches collaborative share mode.And the owner of smart machine without one by one specify and add second user Account achieves that collaborative share, simplifies operating process, improves collaborative share efficiency, and reduces the operating cost of user And understanding cost, and reduce the error rate of the first user account of addition.In addition, since the first user account is not limited to possess Person is specified, 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, no detailed explanation will be given here.
Figure 14 is a kind of block diagram of collaborative share device shown according to an exemplary embodiment.Referring to Fig.1 4, the device Including obtaining module 1401, the first display module 1402, the first sending module 1403 and the second sending module 1404.
Module 1401 is obtained, for being scanned by bluetooth, to obtain the shared data packet of first terminal broadcast, the shared number According to the description information in packet including at least two Intelligent target equipment;
First display module 1402, for showing shared prompting message, whether which passes through for prompting Second terminal controls at least two Intelligent target equipment;
First sending module 1403, for being sent out to first terminal when detecting the confirmation operation to shared prompting message Bluetooth connection request is sent, with the bluetooth connection between foundation and first terminal;
Second sending module 1404, for being sent out to server when the bluetooth connection between first terminal is successfully established It delivers letters breath bind request, the description information and second user of at least two Intelligent targets equipment is carried in the information bind request Account, the information bind request are used to indicate server and tie up at least two Intelligent targets equipment with second user account It is fixed.
Optionally, which further includes:
Second display module, for showing the description information of at least two Intelligent target equipment in facility information interface, The facility information interface is used to show the description information for the smart machine that can be controlled.
Optionally, which further includes:
Third sending module at least carries second user account in the control message for sending control message to server Number, the mark of either objective smart machine and control operation in at least two Intelligent targets equipment, the control message is for referring to Show that server controls the either objective smart machine executive control operation;
Receiving module, for receiving the control success message of server transmission, which has become for prompting The Intelligent target equipment executive control operation of power control system.
In the embodiments of the present disclosure, second terminal is scanned by bluetooth and obtains the shared data packet of first terminal broadcast. Due to including the description information of at least two Intelligent target equipment in the shared data packet, so being total to when second terminal gets this After enjoying data packet, shared prompting message can be shown.Due to this share prompting message for prompt whether pass through second terminal At least two Intelligent target equipment are controlled, so when second terminal detects the confirmation operation for sharing prompting message to this When, Bluetooth connection request can be sent to first terminal, and then establish the bluetooth connection between first terminal.Further, When the bluetooth connection between first terminal is successfully established, second terminal can send information bind request to server.By The description information and second user account of at least two Intelligent target equipment are carried in the information bind request, so when service When device receives the information bind request, which can be bound with second user account, To realize the shared of equipment.In this way, first terminal realizes intelligence by bluetooth without data network consumption The batch of equipment is shared, enriches collaborative share mode.And the owner of smart machine is without specifying one by one and add the Two user accounts achieve that collaborative share, simplify operating process, improve collaborative share efficiency, and reduce the behaviour of user Make cost and understanding cost, and reduces the error rate of the first user account of addition.In addition, since the first user account is unlimited It is specified in 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, no detailed explanation will be given here.
Figure 15 is a kind of block diagram of collaborative share device 1500 shown according to an exemplary embodiment.For example, device 1500 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 5, device 1500 may include following one or more components:Processing component 1502, memory 1504, Power supply module 1507, multimedia component 1508, audio component 1510, the interface 1512 of input/output (I/O), sensor module 1514 and communication component 1517.
The integrated operation of the usual control device 1500 of processing component 1502, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1502 may include one or more processors 1520 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1502 may include one or more moulds Block, convenient for the interaction between processing component 1502 and other assemblies.For example, processing component 1502 may include multi-media module, To facilitate the interaction between multimedia component 1508 and processing component 1502.
Memory 1504 is configured as storing various types of data to support the operation in device 1500.These data Example includes the instruction of any application or method for operating on device 1500, contact data, telephone book data, Message, picture, video etc..Memory 1504 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (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 1507 provides power supply for the various assemblies of device 1500.Power supply module 1507 may include power management System, one or more power supplys and other with for device 1500 generate, manage, and distribute the associated component of power supply.
Multimedia component 1508 includes the screen of one output interface of offer between described device 1500 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 1508 includes a front camera and/or rear camera.When device 1500 is in operation mode, as shot mould 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 1510 is configured as output and/or input audio signal.For example, audio component 1510 includes a wheat Gram wind (MIC), when device 1500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1504 or via communication Component 1517 is sent.In some embodiments, audio component 1510 further includes a loudspeaker, is used for output audio signal.
I/O interface 1512 provides interface, above-mentioned peripheral interface module between processing component 1502 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1514 includes one or more sensors, and the state for providing various aspects for device 1500 is commented Estimate.For example, sensor module 1514 can detecte the state that opens/closes of device 1500, the relative positioning of component, such as institute The display and keypad that component is device 1500 are stated, sensor module 1514 can be with detection device 1500 or device 1,500 1 The position change of a component, the existence or non-existence that user contacts with device 1500,1500 orientation of device or acceleration/deceleration and dress Set 1500 temperature change.Sensor module 1514 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1514 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 1517 is configured to facilitate the communication of wired or wireless way between device 1500 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1500,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1517 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1517 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 1500 can be by one or more 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 any reality of above-mentioned Fig. 2 to Fig. 4 The collaborative share method of example offer is provided.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1504 of instruction, above-metioned instruction can be executed by the processor 1520 of device 1500 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, 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 mobile terminal is able to carry out the collaborative share method that above-mentioned Fig. 2 is provided to Fig. 4 any embodiment.
A kind of computer program product comprising instruction, when run on a computer, so that computer execution is above-mentioned The step of collaborative share method that Fig. 2 is provided to Fig. 4 any embodiment.
Figure 16 is a kind of block diagram of collaborative share device 1600 shown according to an exemplary embodiment.For example, device 1600 may be provided as a server.Referring to Fig.1 6, device 1600 includes processor 1622, further comprises one or more A processor, and the memory resource as representated by memory 1632, can be by the finger of the execution of processor 1622 for storing It enables, such as application program.The application program stored in memory 1632 may include each one or more correspondence In the module of one group of instruction.In addition, processor 1622 is configured as executing instruction, provided with executing above-mentioned embodiment illustrated in fig. 4 Method.
Device 1600 can also include that a power supply module 1626 be configured as the power management of executive device 1600, and one Wired or wireless network interface 1650 is configured as device 1600 being connected to network and input and output (I/O) interface 1658.Device 1600 can be operated based on the operating system for being stored in memory 1632, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1632 of instruction, above-metioned instruction can be executed by the processor 1622 of device 1600 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, 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, enable the server to execute the method that above-mentioned embodiment illustrated in fig. 4 provides.
A kind of computer program product comprising instruction, when run on a computer, so that computer execution is above-mentioned The step of collaborative share method that Fig. 4 embodiment provides.
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 including 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 (20)

1. a kind of collaborative share method, which is characterized in that it is applied to first terminal, the method includes:
When detecting the sharing operation at least two Intelligent target equipment, according at least two Intelligent targets equipment Description information generate a shared data packet;
Wherein, at least two Intelligent targets equipment is at least two smart machines bound with the first user account, described First user account is the user account that the first terminal currently logs in;
Pass through shared data packet described in Bluetooth broadcast;
When receiving the Bluetooth connection request of second terminal transmission, the bluetooth connection between the second terminal is established, with Give at least two Intelligent targets collaborative share to the second terminal.
2. the method according to claim 1, wherein described ought detect at least two Intelligent target equipment Sharing operation when, according to the description information of at least two Intelligent targets equipment generate a shared data packet before, also Including:
It shows facility information editing interface, includes more with first user account binding in the facility information editing interface The description information of a smart machine;
When detecting to the selection operation of at least two smart machines in the multiple smart machine, by the selection operation institute At least two smart machine of selection is determined as at least two Intelligent targets equipment.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
It shows Sharing Management interface, includes the Bluetooth information of current attachable multiple terminals in the Sharing Management interface;
When detecting that operation is added in the blacklist for target terminal, according to the Bluetooth information of the target terminal by the mesh Mark terminal is added in blacklist, and the target terminal is any terminal in the multiple terminal;
It is described by shared data packet described in Bluetooth broadcast, including:
By bluetooth to shared data packet described in the terminal broadcast in addition to the blacklist.
4. according to the method described in claim 3, it is characterized in that, including not sharing described at least two in the multiple terminal The terminal of Intelligent target equipment and/or the terminal for having shared at least two Intelligent targets equipment.
5. the method according to claim 1, wherein the method also includes:
During establishing bluetooth connection with the second terminal, display connection prompting message, the connection prompting message is used In indicating that the second terminal receives the shared of at least two Intelligent targets equipment, and it is current with the first terminal Establish bluetooth connection.
6. a kind of collaborative share method, which is characterized in that it is applied to second terminal, the method includes:
It is scanned by bluetooth, includes at least two in the shared data packet to obtain the shared data packet of first terminal broadcast The description information of Intelligent target equipment;
Show shared prompting message, the shared prompting message for prompt whether by the second terminal to described at least two A Intelligent target equipment is controlled;
When detecting the confirmation operation to the shared prompting message, Bluetooth connection request is sent to the first terminal, with Establish the bluetooth connection between the first terminal;
When the bluetooth connection between the first terminal is successfully established, information bind request, the letter are sent to server The description information and the second user account of at least two Intelligent targets equipment, the information are carried in breath bind request Bind request is used to indicate the server and ties up at least two Intelligent targets equipment and the second user account It is fixed.
7. according to the method described in claim 6, it is characterized in that, being gone back after the transmission information bind request to server Including:
The description information of at least two Intelligent targets equipment is shown in facility information interface, the facility information interface is used In the description information for the smart machine that display can control.
8. according to the method described in claim 6, it is characterized in that, being gone back after the transmission information bind request to server Including:
Send control message to the server, at least carry in the control message second user account, it is described at least The mark of either objective smart machine and control operation, the control message are used to indicate the clothes in two Intelligent target equipment Business device controls the either objective smart machine and executes the control operation;
The control success message that the server is sent is received, the control success message has become mesh described in power control system for prompting It marks smart machine and executes the control operation.
9. a kind of collaborative share device, which is characterized in that be applied to first terminal, described device includes:
Generation module, for when detecting the sharing operation at least two Intelligent target equipment, according to described at least two The description information of a Intelligent target equipment generates a shared data packet;
Wherein, at least two Intelligent targets equipment is at least two smart machines bound with the first user account, described First user account is the user account that the first terminal currently logs in;
Broadcast module, for passing through shared data packet described in Bluetooth broadcast;
Connection establishment module, for establishing and the second terminal when receiving the Bluetooth connection request of second terminal transmission Between bluetooth connection, by at least two Intelligent targets collaborative share give the second terminal.
10. device according to claim 9, which is characterized in that described device further includes:
First display module includes and described for showing facility information editing interface, in the facility information editing interface The description information of multiple smart machines of one user account binding;
Determining module, for inciting somebody to action when detecting to the selection operation of at least two smart machines in the multiple smart machine Selected at least two smart machine of selection operation is determined as at least two Intelligent targets equipment.
11. device according to claim 9 or 10, which is characterized in that described device further includes:
Second display module includes current attachable multiple for showing Sharing Management interface, in the Sharing Management interface The Bluetooth information of terminal;
Adding module, for when detect for target terminal blacklist be added operation when, according to the indigo plant of the target terminal The target terminal is added in blacklist by tooth information, and the target terminal is any terminal in the multiple terminal;
The broadcast module is mainly used for through bluetooth to shared data packet described in the terminal broadcast in addition to the blacklist.
12. device according to claim 11, which is characterized in that include not shared described at least two in the multiple terminal The terminal of a Intelligent target equipment and/or the terminal for having shared at least two Intelligent targets equipment.
13. device according to claim 9, which is characterized in that described device further includes:
Third display module, for during establishing bluetooth connection with the second terminal, display to connect prompting message, institute State connection prompting message and be used to indicate the second terminal and receive the shared of at least two Intelligent targets equipment, and it is current just Bluetooth connection is being established with the first terminal.
14. a kind of collaborative share device, which is characterized in that be applied to second terminal, described device includes:
Module is obtained, for scanning by bluetooth, to obtain the shared data packet that first terminal is broadcasted, in the shared data packet Description information including at least two Intelligent target equipment;
First display module, for showing shared prompting message, whether the shared prompting message is for prompting by described the Two terminals control at least two Intelligent targets equipment;
First sending module, for being sent out to the first terminal when detecting the confirmation operation to the shared prompting message Bluetooth connection request is sent, with the bluetooth connection established between the first terminal;
Second sending module, for sending and believing to server when the bluetooth connection between the first terminal is successfully established Bind request is ceased, the description information and described second of at least two Intelligent targets equipment is carried in the information bind request User account, the information bind request are used to indicate the server for at least two Intelligent targets equipment and described the Two user accounts are bound.
15. device according to claim 14, which is characterized in that described device further includes:
Second display module, for showing the description information of at least two Intelligent targets equipment in facility information interface, The facility information interface is used to show the description information for the smart machine that can be controlled.
16. device according to claim 14, which is characterized in that described device further includes:
Third sending module at least carries described second in the control message for sending control message to the server The mark of either objective smart machine and control operation, the control in user account, at least two Intelligent targets equipment Message is used to indicate the server and controls the either objective smart machine execution control operation;
Receiving module, the control success message sent for receiving the server, the control success message is for prompting Success controls the Intelligent target equipment and executes the control operation.
17. a kind of collaborative share device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of perform claim requires 1-5 any described method.
18. 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.
19. a kind of collaborative share device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of perform claim requires 6-8 any described method.
20. a kind of computer readable storage medium, instruction is stored on the computer readable storage medium, which is characterized in that The step of method as claimed in claim 6 to 8 is realized when described instruction is executed by processor.
CN201810523514.3A 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium Active CN108848484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810523514.3A CN108848484B (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
CN201810523514.3A CN108848484B (en) 2018-05-28 2018-05-28 Equipment sharing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN108848484A true CN108848484A (en) 2018-11-20
CN108848484B CN108848484B (en) 2021-10-26

Family

ID=64207906

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN108848484B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464990A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Information processing method and first device
CN111862399A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Unlocking request generation method and device and electronic equipment
WO2023030169A1 (en) * 2021-08-31 2023-03-09 荣耀终端有限公司 Method and apparatus for sharing device
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735057A (en) * 2015-02-13 2015-06-24 小米科技有限责任公司 Sharing device control right method and device
US20150178553A1 (en) * 2013-12-20 2015-06-25 Samsung Electronics Co., Ltd. Terminal and method for sharing content thereof
CN106357653A (en) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 Control authority sharing method and system
CN106878120A (en) * 2017-03-14 2017-06-20 青岛海信电器股份有限公司 Device management method and device
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178553A1 (en) * 2013-12-20 2015-06-25 Samsung Electronics Co., Ltd. Terminal and method for sharing content thereof
CN104735057A (en) * 2015-02-13 2015-06-24 小米科技有限责任公司 Sharing device control right method and device
CN106357653A (en) * 2016-09-27 2017-01-25 深圳市欧瑞博电子有限公司 Control authority sharing method and system
CN106878120A (en) * 2017-03-14 2017-06-20 青岛海信电器股份有限公司 Device management method and device
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862399A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Unlocking request generation method and device and electronic equipment
CN111464990A (en) * 2020-03-31 2020-07-28 联想(北京)有限公司 Information processing method and first device
CN111464990B (en) * 2020-03-31 2021-10-22 联想(北京)有限公司 Information processing method and first device
WO2023030169A1 (en) * 2021-08-31 2023-03-09 荣耀终端有限公司 Method and apparatus for sharing device
WO2023184559A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, and device, storage medium and program product

Also Published As

Publication number Publication date
CN108848484B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN105450655B (en) Apparatus bound method and apparatus
CN105049923B (en) Wake up the method and device of electronic equipment
CN106302762B (en) Smart machine binding method and device
CN105100190B (en) The methods, devices and systems that the control planning of account and equipment is managed
CN104936304B (en) Smart machine binding method, smart machine and server
CN104460365B (en) Apparatus control method and device
CN104684048B (en) WIFI list shows method and apparatus
CN105163366B (en) Wireless network connecting method and device
KR102160166B1 (en) Device control method, apparatus, program and recording medium
CN108809968A (en) Collaborative share method, apparatus and storage medium
CN108810861A (en) Connection method, device and the storage medium of smart machine
CN107769881B (en) Information synchronization method, apparatus and system, storage medium
CN108848484A (en) Collaborative share method, apparatus and storage medium
CN105652671B (en) The setting method and device of smart machine operating mode
CN108768803A (en) Add the method, apparatus and storage medium of smart machine
CN104464238B (en) Method of controlling operation thereof and device between mobile terminal
CN106126014A (en) The generation method and device of interactive interface
CN104684106B (en) The method and device of network connection
CN106385351A (en) Control method and device of intelligent household equipment
CN107948926A (en) The method and apparatus that smart machine is shared
CN106506562B (en) Method for connecting network, device and the smart machine of smart machine
CN104639609B (en) Network share method and device
CN107426489A (en) Processing method, device and terminal during shooting image
CN107071862A (en) Account binding method and device and smart machine
CN107396027A (en) Knock at the door information processing 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