Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In modern life, people can use a plurality of intelligent devices like intelligent air conditioners, intelligent kettles, sweeping robots, remotely controllable table lamps and the like. The administrator can remotely manage the at least one intelligent device through the first terminal, and can also share the management authority of the at least one intelligent device to other users, so that the other users can manage and control the at least one intelligent device through the target terminal.
At present, when a first terminal shares an intelligent device with a target terminal, an administrator needs to select the target terminal from a list with a large number of contacts or manually input an account name of the target terminal, then the first terminal sends a sharing request to the target terminal through a server, after receiving the sharing request, the target terminal displays the sharing request to a user corresponding to the target terminal, and if the user accepts the sharing of the intelligent device, the user sends a message of accepting the sharing request to the server through the target terminal, so that the server binds the target terminal with at least one intelligent device according to the message of the sharing request, and thus, the target terminal can obtain the management authority of at least one intelligent device.
However, in this way, the server and the first and second terminals need to confirm simultaneously in both directions for smart device sharing, which consumes a lot of network resources, and is costly and inefficient in device sharing. In addition, when the administrator wants to share at least one smart device to multiple users, the administrator needs to add or search the target terminals corresponding to each of the multiple users in batches, and then needs to send sharing requests to the multiple target terminals in batches, which results in a complex operation process and is prone to errors.
In order to solve the technical problem at present, embodiments of the present invention provide an apparatus sharing method, a terminal, a router, and a server.
Before explaining the device sharing method provided by the embodiment of the present invention in detail, a system architecture and an application scenario related to the embodiment of the present invention are explained first.
First, a system architecture related to an embodiment of the present invention is shown in fig. 1, and the system architecture includes a first terminal, a second terminal, a router, a server, and at least one sharable device (e.g.,sharable device 1,sharable device 2 … … sharable device N).
The first terminal in the embodiment of the present invention is a terminal corresponding to an administrator, and the first terminal has a management right for at least one sharable device. Further, the management rights may include usage rights and operation rights of the at least one shareable device. Here, the administrator may manage and control the at least one shareable device through the first terminal.
Specifically, the first terminal according to the embodiment of the present invention may execute the device sharing method shown in fig. 2. The method may include steps 210-230, as shown below:
step 210: the first terminal sends a device sharing request to the server.
Step 220: receiving feedback information based on the equipment sharing request, wherein the feedback information comprises first equipment information of sharable equipment and identity information of a second terminal; wherein the identity information of the second terminal is provided by the router.
Step 230: the first terminal may also display first device information of the sharable device and identity information of the second terminal for user selection.
The identity information is information representing an identity of the device, and may specifically include at least one of the following: international Mobile Equipment Identity (IMEI), terminal name, terminal model.
In an example, in order to determine a target terminal and a device to be shared that a user wants to share, the method may further include step 240: a first terminal receives a first input of a first terminal user; responding to the first input, and marking the target terminal and the equipment to be shared selected by the first input; generating a sharing instruction according to the marked target terminal and the equipment to be shared; and sending a sharing instruction to the server, wherein the sharing instruction comprises second equipment information of the equipment to be shared and identity information of the target terminal.
Additionally, for account and communication security, prior to step 210, the method may further comprise: the first terminal needs to send identity verification information to the server, and the identity verification information is used for issuing feedback information under the condition that the server determines that the first terminal is the administrator identity according to the identity verification information. The purpose of the step is to enable the server to determine the administrator identity of the first terminal, so that after the server determines the target terminal and the device to be shared, the server shares the management authority of the device to be shared to the target terminal according to the administrator identity of the first terminal.
Similarly, before step 210, the method may further include: the first terminal further needs to send identity verification information to the router, and the identity verification information is used for the router to determine that the first terminal is an administrator identity according to the identity verification information, so that the router can determine a second terminal corresponding to the first terminal.
Before step 210, in the process of the first terminal interacting with the router, the method may further include: sending target associated information stored in the first terminal to the router, wherein the target associated information is used for determining a second terminal by the router according to the target associated information; the second terminal comprises a terminal used by a target member corresponding to the first terminal. The purpose of this step is to facilitate the router to determine the second terminal according to the target associated information of the first terminal.
Wherein the target association information comprises at least one of: address list information, historical equipment sharing records and instant messaging information.
Here, the second terminal includes a terminal used by a target member corresponding to the first terminal, and the second terminal of the embodiment of the present invention includes a terminal used by a family member corresponding to the administrator or a terminal used by a colleague in the same office environment as the administrator. Further, the first terminal or the second terminal may be a mobile terminal, and may be a fixed terminal. The mobile terminal includes, but is not limited to, a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, a portable device (e.g., a laptop computer, a pocket computer, or a handheld computer), etc., having a function of installing an application program, and a mobile device having a function of operating a display screen. The fixed terminal includes, but is not limited to, a smart desktop phone, a console, and the like having a function of installing an application program, a function of operating an application program, and a fixed device having a display function. It should be noted that the first terminal and the second terminal are only divided according to whether or not there is a management authority, and are not divided into specific devices.
Therefore, the router determines the second terminal and sends the identity information of the second terminal to the server, and the bidirectional operation among the original server, the first terminal and the target terminal is changed into unidirectional server initiation and unidirectional first terminal confirmation. The process does not need the determination operation of the second terminal, the sharing efficiency is greatly improved, the operation process is simple, the convenience of the operation of the user on the equipment sharing is improved, and the problems that the operation process of the equipment sharing between the terminals is complicated and time-consuming are solved. Then, when the administrator wants to share at least one sharable device to a plurality of target members, the administrator only needs to select the target members after the reduction at the same time through the first terminal, and does not need to add or search a plurality of users in batches, so that the device sharing efficiency can be improved, and the operation process is more convenient.
The router of the embodiment of the present invention may perform the device sharing method as shown in fig. 3. The method may include steps 310-330, as shown in detail below:
step 310: and under the condition that the router and the first terminal have established network connection, determining a second terminal corresponding to the first terminal.
Step 320: and the router acquires the identity information of the second terminal.
Step 330: and sending the identity information of the second terminal to the server, wherein the identity information of the second terminal is used for responding to the equipment sharing request sent by the first terminal by the server according to the identity information of the second terminal.
The second terminal comprises a terminal used by a target member corresponding to the first terminal.
Here, before step 310, the method may further include receiving identity verification information transmitted by the first terminal; and responding the identity verification information, and determining the identity of the administrator of the first terminal. So that the router determines the second terminal.
Therefore, in an example, in order to accurately determine the second terminal (or the range of the second terminal) and determine the second terminal through the router, the range of the receiving party is greatly reduced, manual screening by a user among a large number of contacts is not required, and the user experience is improved while the device sharing time is saved, so before step 310, the method may further include: acquiring target associated information in a first terminal, wherein the target associated information comprises at least one of the following: address list information, historical equipment sharing records and instant messaging information; determining a second terminal corresponding to the first terminal, comprising: and determining a terminal used by a target member corresponding to the first terminal according to the target associated information in the first terminal.
Wherein, under the condition that the target associated information includes address book information, the address book information includes at least one of the following: contact person title, number of times of conversation with the contact person, and chat content with the contact person.
Further, scenario 1: and under the condition that the target associated information is the contact title, judging whether the contact title accords with the relative title or the work title, and if so, determining that the terminal corresponding to the relative title or the work title is the terminal used by the target member.
Scene 2: and under the condition that the target associated information is the number of times of call with the contact person, judging whether the number of times of call meets a second preset number of times, and if so, determining that the terminal corresponding to the second preset number of times is the terminal used by the target member.
Scene 3: and under the condition that the target associated information is the chat content of the contact, judging whether the length of the chat content meets a preset threshold value, and if so, determining that the terminal corresponding to the preset threshold value is the terminal used by the target member.
In addition, in addition to the above, there is another way to determine that the second terminal, namely scene 4: and determining the terminal connected with the at least one sharable device as a second terminal according to the at least one sharable device connected with the router.
Besides the above method, the router can be connected with a plurality of devices by way of wired or Wireless Fidelity (WIFI) distribution network. And after the distribution network is successful, the router uploads the identity information of the plurality of devices to the server.
Therefore, the security is ensured through the encryption attribute of the router, the router determines the second terminal and sends the identity information of the second terminal to the server, and the bidirectional operation among the original server, the first terminal and the target terminal is changed into unidirectional server initiation and unidirectional first terminal confirmation. Secondly, the process of determining the second terminal through the router greatly reduces the range of a receiving party, a user does not need to manually screen a large number of contacts, and the user experience is improved while the equipment sharing time is saved.
The server according to the embodiment of the present invention may execute the device sharing method shown in fig. 4 based on the identity information of the second terminal, the device information of the at least one sharable device, and the device sharing request and the sharing instruction sent by the first terminal, which are sent by the router. The method may include steps 410-440, as shown in detail below:
step 410: the server receives a device sharing request sent by the first terminal.
Step 420: the server responds to the equipment sharing request and sends feedback information, wherein the feedback information comprises first equipment information of at least one piece of sharable equipment and identity information of at least one second terminal; wherein the identity information of the second terminal is provided by the router.
Step 430: the server receives a sharing instruction sent by the first terminal, wherein the sharing instruction comprises second equipment information of the equipment to be shared and identity information of the target terminal.
Step 440: the server shares the management authority of the device to be shared to the target terminal, wherein the device to be shared is a device in at least one sharable device, and the target terminal is a terminal in at least one second terminal.
Before step 420, the method further includes: receiving identity verification information sent by a first terminal; and according to the identity verification information, performing identity verification on the first terminal to obtain an identity verification result. Wherein, before ensuring the security of the device sharing and before the server issues the feedback information, it is further required to determine that the first terminal has the authority to manage the sharable device, and thus, before issuing the feedback information in step 420, the method may further include: and sending feedback information under the condition that the identity verification result indicates that the first terminal is the identity of the administrator.
Of course, before sending the feedback information, in addition to performing identity verification on the first terminal, third information sent by the router needs to be received, where the third information includes identity information of the first terminal, identity information of at least one second terminal, and information of at least one sharable device.
It should be noted that the second terminal referred to above includes a terminal used by a target member corresponding to the first terminal. Wherein, the terminal used by the target member comprises at least one of the following items: the terminal comprises a terminal, a terminal and a terminal, wherein the number of times of conversation with the first terminal is larger than a first preset number of times, the terminal has a resource sharing record with the first terminal, and the terminal is connected with the first terminal.
Therefore, a more efficient and safe solution idea is provided for the equipment sharing scene of a family or an office. The security is ensured through the encryption attribute of the router, the range of a sharing party is reduced on the premise of ensuring the security, a user does not need to manually screen among a large number of contacts, the first terminal can share the management authority of the equipment to be shared to the target terminal through the server, and the problem of low efficiency that the server, the first terminal and the second terminal can perform equipment sharing only through bidirectional simultaneous confirmation is effectively solved.
In addition, the at least one sharable device of the embodiment of the present invention may include at least one of the following devices: intelligence air conditioner, intelligent kettle, intelligent air purifier, intelligent desk lamp, intelligence sweep the floor intelligent equipment that possesses the bluetooth function such as robot, convenience of customers passes through first terminal and is connected with it to manage and control it.
Next, an application scenario for device sharing is provided in an embodiment of the present invention.
Based on the system architecture, the device sharing provided by the embodiment of the present invention may be applied to a family scene, and the second terminal may be represented as a terminal used by a person having a relationship with an administrator, or may represent at least one terminal used by the administrator itself except for the first terminal. Alternatively, in an office scenario, the second terminal may be a terminal used by a person who has a work relationship with the administrator. Here, the embodiment of the present invention only proposes two application scenarios, however, in any case, the first terminal and the second terminal need to establish a connection with the same router, so as to ensure that the router records the identity information of the first terminal and the identity information of the second terminal.
Then, the device sharing method provided in the embodiment of the present invention is explained based on the above implementation scenarios.
Here, in the case where the router establishes a network connection with the first terminal, the router determines a terminal of a target member corresponding to the administrator and transmits identity information of the terminal of the target member to the server. Then, the server sends the identity information of the terminal of the target member and the information of the at least one sharable device provided by the router to the first terminal, the administrator can select which target member the administrator wants to share the at least one sharable device with through the first terminal, and then the operation of sharing the management authority of the device to be shared to the target terminal can be completed through the server.
In the process, firstly, the security is ensured through the encryption attribute of the router, the second terminal is determined through the router, the identity information of the second terminal is sent to the server, and the original bidirectional operation among the server, the first terminal and the target terminal is changed into the unidirectional initiation of the server and the unidirectional confirmation of the first terminal. Secondly, the process of determining the second terminal through the router greatly reduces the range of a receiving party, a user does not need to manually screen a large number of contacts, and the user experience is improved while the equipment sharing time is saved. Then, when the administrator wants to share at least one sharable device to a plurality of target members, the administrator only needs to select the target members after the reduction at the same time through the first terminal, and does not need to add or search a plurality of users in batches, so that the device sharing efficiency can be improved, the operation process is simple, and the cost is low.
Therefore, the device sharing method provided by the embodiment of the invention mainly comprises two stages: the first phase is a preparation phase, as shown in fig. 5, that is, a terminal used by a target member corresponding to the first terminal is determined; the second phase is an equipment sharing phase, as shown in fig. 6, the server only needs to select a target terminal according to the terminal used by the target member, and select the equipment to be shared based on the sharable equipment, and then, the management authority of the equipment to be shared is shared to the target terminal.
The two stages will be described in detail below.
Fig. 5 shows an interaction diagram of a device sharing method according to an embodiment of the present invention.
The first stage is a preparation stage, as shown in fig. 5, the device sharing method includes: steps 510-540, as follows:
step 510: under the condition that the router and the first terminal have established network connection, the router acquires identity information of the first terminal and target association information in the first terminal.
Wherein the target associated information comprises at least one of the following information: address list information, historical equipment sharing records and instant messaging information.
In one possible example, step 210 may be preceded by: the multiple devices are connected with the router in a WIFI distribution network mode, and after the distribution network is successful, the router can send identity information corresponding to each device in the multiple devices to the server.
In another possible example, before the step of obtaining, by the router, the identity information of the first terminal and the target association information in the first terminal, the method may further include: the router receives identity verification information sent by the first terminal, and determines the identity of an administrator of the first terminal according to the identity verification information. The router determines the authority application of the first terminal by determining the identity of an administrator, wherein the authority application is used for acquiring at least one sharable device connected to the router, and the encrypted information of the at least one sharable device is only available for the administrator and terminals authorized by the administrator to view.
Step 520: the router determines a second terminal corresponding to the first terminal.
Specifically, the router may determine the second terminal by:
the first method is as follows: based on step 510, the terminal used by the target member corresponding to the first terminal is determined according to the target associated information in the first terminal.
If the target associated information comprises address book information, the address book information comprises at least one of the following information: contact person title, number of times of conversation with the contact person, and chat content with the contact person. Further, the router may determine whether the second terminal is the second terminal by matching the address book information, for example, obtaining a contact title and a number of times of conversation and chat from the address book information, and performing data analysis.
Further, scenario 1: and under the condition that the target associated information is the contact title, judging whether the contact title accords with the relative title (or a work title, such as 'a certain group leader' and 'a certain manager'), and if the contact title accords with the relative title (or the work title), determining that the terminal corresponding to the relative title (or the work title) is the terminal used by the target member.
Scene 2: and under the condition that the target associated information is the number of times of call with the contact person, judging whether the number of times of call meets a second preset number of times, and if so, determining that the terminal corresponding to the second preset number of times is the terminal used by the target member.
Scene 3: and under the condition that the target associated information is the chat content of the contact, judging whether the length of the chat content meets a preset threshold value, and if so, determining that the terminal corresponding to the preset threshold value is the terminal used by the target member.
In addition, if the target association information includes the history device sharing record, the router may determine whether the terminal is the second terminal according to the history device sharing record of the terminal connected to the first terminal through bluetooth or WiFi.
The second method comprises the following steps: and determining the second terminal through the shared resource sharing record. For example: the administrator uses the first terminal to share the family pictures, and judges whether the family pictures are the second terminal or not through picture resources and identity information of a receiver.
The third method comprises the following steps: and under the encryption environment, judging whether the router is the second terminal or not by the equipment which is connected to the current router. For example: when the router is connected to other terminals in addition to the first terminal, the router determines that the other terminals are the second terminals.
The method is as follows: and determining the terminal connected with the at least one shareable device with the network connection established with the router as the second terminal.
Step 530: and the router acquires the identity information of the second terminal according to the determined second terminal.
Specifically, in one example, the router acquires the identity information of the second terminal from a list stored in the router according to the second terminal.
Step 540: the router sends the identity information of the second terminal to the server.
Specifically, the identity information of the second terminal is sent to the server, and the identity information of the second terminal is used for the server to respond to the device sharing request sent by the first terminal based on the identity information of the second terminal.
Fig. 6 shows an interaction diagram of a device sharing method according to an embodiment of the present invention.
Based on the preparation phase in fig. 5, a device sharing phase is entered, as shown in fig. 6, the device sharing method includes: step 610-step 640 are specifically as follows:
step 610: the first terminal sends a device sharing request to the server.
Step 620: the server receives the device sharing request and responds.
Specifically, the server receives a request based on equipment sharing and issues feedback information, wherein the feedback information comprises first equipment information of sharable equipment and identity information of a second terminal; wherein the identity information of the second terminal is provided by the router.
In a possible example, the server further needs to confirm the identity of the administrator of the first terminal before issuing the feedback information, so before the step of issuing the feedback information, the method may further include: the server receives identity verification information sent by the first terminal, and performs identity verification on the first terminal according to the identity verification information to determine the identity of an administrator of the first terminal.
Then, the server may determine at least one sharable device corresponding to the first terminal according to the administrator identity of the first terminal; wherein the first device information of the sharable device is provided by the first terminal.
Further, before determining at least one sharable device corresponding to the first terminal, the server may further include receiving information sent by the router, where the information may include identity information of the first terminal, identity information of the second terminal, and first device information of the sharable device.
Step 630: and the first terminal receives and displays the feedback information sent by the server.
Specifically, the first terminal displays the identity information of at least one second terminal and the first device information of at least one sharable device for selection by the user.
Further, as shown in fig. 7, when the feedback information sent by the server to the first terminal includes the identity information of at least one second terminal, the first terminal may display the following: "a certain model" of Manu "," a certain model "of lie four", and "a certain model" of zhang three ", if the administrator determines to share lie four and zhang three, the options including zhang three and zhang four are marked so that the first terminal determines the target terminal.
Next, as shown in fig. 8, when the feedback information sent by the server to the first terminal includes the first device information of the at least one sharable device, the first terminal may continue to display the following: if the manager determines to share the air conditioner, the intelligent fan, the sweeping robot and the humidifier in the fourth and third directions, options including the air conditioner, the intelligent fan, the sweeping robot and the humidifier are marked, so that the first terminal determines the equipment to be shared.
Here, if different sharable devices are shared to "zhang san" and "lie si", separate operations may be performed.
It is to be understood that the above-mentioned triggering of displaying the first device information of the at least one sharable device is performed before determining that the target terminal has been selected, and in fact, in another scenario, the first terminal may also display the first device information of the at least one sharable device and the identity information of the at least one second terminal in an interface for the user to select.
Step 640: and the first terminal generates a sharing instruction according to the target terminal and the equipment to be shared selected by the administrator and sends the sharing instruction to the server.
Specifically, the first terminal receives a first input of an administrator of the first terminal; responding to the first input, and marking the target terminal and the equipment to be shared selected by the first input; and generating a sharing instruction according to the marked target terminal and the equipment to be shared.
For example, the sharing instruction may specifically include: identity information of target terminals of Zhang III and Li IV and second equipment information of equipment to be shared of air conditioner, intelligent fan, sweeping robot and humidifier.
Step 650: and the server receives the sharing instruction sent by the first terminal and shares the management authority of the device to be shared to the target terminal according to the sharing instruction.
For example: the server shares the management authority of a certain air conditioner, a certain intelligent fan, a certain sweeping robot and a certain humidifier to the terminals corresponding to Zhang III and Liquan so that the Zhang III and the Liquan operate and control the certain air conditioner, the certain intelligent fan, the certain sweeping robot and the certain humidifier.
Here, after the server device is successfully shared, the user of the target terminal opens the application program on the target terminal or logs in a service website corresponding to the server, and may operate and control at least one device to be shared in the current environment.
Therefore, the equipment sharing method provided by the embodiment of the invention provides a more efficient and safe solution for the equipment sharing scene of a family or an office. The security is ensured through the encryption attribute of the router, the range of the sharing party is reduced on the premise of ensuring the security, manual screening of users in a large number of contacts is not needed, and the user experience is improved.
Then, when the administrator shares at least one sharable device to a plurality of target members through the first terminal, the first terminal only needs to select from the reduced target members at the same time, and changes the original two-way operation among the server, the first terminal and the target terminal into one-way server initiation and one-way first terminal confirmation, so that the sharing efficiency is greatly improved, the operation process is simple, and the use experience of the user on device sharing is improved.
Fig. 9 shows a block diagram of a device sharing apparatus applied in a server according to an embodiment of the present invention.
As shown in fig. 9, theapparatus 90 may include:
atransceiver module 901, configured to receive a device sharing request sent by a first terminal.
Aprocessing module 902, configured to respond to the device sharing request and instruct the transceiver module to issue feedback information, where the feedback information includes information of a sharable device and identity information of the second terminal; wherein the identity information of the second terminal is provided by the router.
Thetransceiver module 901 is further configured to receive a sharing instruction sent by the first terminal, where the sharing instruction includes second device information of a device to be shared and identity information of the target terminal.
Thescheduling module 903 is configured to share the management authority of the device to be shared to the target terminal, where the device to be shared is at least one device in the multiple sharable devices, and the target terminal is at least one terminal in the multiple second terminals.
Further, thetransceiver module 901 of the embodiment of the present invention may also be configured to receive identity verification information sent by the first terminal; and according to the identity verification information, performing identity verification on the first terminal to obtain an identity verification result. Further, thetransceiver module 901 may be specifically configured to issue the feedback information when the identity verification result indicates that the first terminal is the administrator identity.
Thetransceiver module 901 of the embodiment of the present invention may be further configured to receive third information sent by the router, where the third information includes identity information of the first terminal, identity information of at least one second terminal, and information of at least one sharable device.
Wherein, the related second terminals comprise terminals used by target members corresponding to the first terminals; wherein, the terminal used by the target member comprises at least one of the following items: the terminal comprises a terminal, a terminal and a terminal, wherein the number of times of conversation with the first terminal is larger than a first preset number of times, the terminal has a resource sharing record with the first terminal, and the terminal is connected with the first terminal. The identity information referred to above comprises at least one of: international mobile equipment identity IMEI, terminal name, terminal model.
Therefore, the equipment sharing device provided by the embodiment of the invention provides a more efficient and safe solution for the equipment sharing scene of a family or an office. The security is ensured through the encryption attribute of the router, the range of the sharing party is reduced on the premise of ensuring the security, manual screening of users in a large number of contacts is not needed, and the user experience is improved.
Fig. 10 is a block diagram illustrating a configuration of a device sharing apparatus applied to a first terminal according to an embodiment of the present invention.
As shown in fig. 10, theapparatus 100 may include:
thetransceiver module 1001 is configured to send a device sharing request to a server.
Thetransceiving module 1001 is further configured to receive feedback information based on the device sharing request, where the feedback information includes first device information of at least one sharable device and identity information of at least one second terminal; wherein the identity information of the second terminal is provided by the router.
Adisplay module 1002, configured to display first device information of at least one sharable device and identity information of at least one second terminal.
Further, thetransceiver module 1001 according to the embodiment of the present invention may be further configured to send identity verification information to the server, where the identity verification information is used for the server to issue feedback information when the first terminal is determined to be an administrator identity according to the identity verification information.
Thetransceiver module 1001 of the embodiment of the present invention may further be configured to receive a first input of a first end user. Theapparatus 100 further includes aprocessing module 1003, configured to, in response to the first input, mark a target terminal and a device to be shared that are selected by the first input; and generating a sharing instruction according to the marked target terminal and the equipment to be shared. And sends a sharing instruction to the server through thetransceiving module 1001, where the sharing instruction includes second device information of the device to be shared and identity information of the target terminal.
Thetransceiver module 1001 of the embodiment of the present invention may further be configured to send identity verification information to the router, where the identity verification information is used for determining, by the router, a second terminal corresponding to the first terminal when the first terminal is determined to be an administrator identity according to the identity verification information. Sending target associated information stored in the first terminal to the router, wherein the target associated information is used for determining a second terminal by the router according to the target associated information; the second terminal comprises a terminal used by a target member corresponding to the first terminal.
Wherein the related target association information includes at least one of: address list information, historical equipment sharing records and instant messaging information. The identity information includes at least one of: international mobile equipment identity IMEI, terminal name, terminal model.
Therefore, according to the device sharing device provided by the embodiment of the invention, when an administrator wants to share at least one sharable device to a plurality of target members, the administrator only needs to select the reduced target members simultaneously through the first terminal, and the original two-way operation among the server, the first terminal and the target terminals is changed into one-way server initiation and one-way first terminal confirmation, so that the sharing efficiency is greatly improved, the operation process is simple, and the use experience of the user on the whole intelligent home is improved.
Fig. 11 is a block diagram illustrating a configuration of a device sharing apparatus applied to a router according to an embodiment of the present invention.
As shown in fig. 11, theapparatus 110 may include.
Theprocessing module 1101 is configured to determine a second terminal corresponding to the first terminal when the router and the first terminal have established a network connection.
An obtainingmodule 1102, configured to obtain identity information of the second terminal.
Thetransceiver module 1103 is configured to send the identity information of the second terminal to the server, where the identity information of the second terminal is used by the server to respond to the device sharing request sent by the first terminal according to the identity information of the second terminal.
The obtainingmodule 1102 of the embodiment of the present invention may be further configured to obtain target associated information in the first terminal, where the target associated information includes at least one of the following: address list information, historical equipment sharing records and instant messaging information. Theprocessing module 1101 of the embodiment of the present invention may be specifically configured to determine, according to the target association information in the first terminal, a terminal used by a target member corresponding to the first terminal.
Further, if the target association information includes address book information, the address book information includes at least one of the following: contact person title, number of times of conversation with the contact person, and chat content with the contact person. Theprocessing module 1101 of the embodiment of the present invention may be specifically configured to, in a case that the target related information is a contact title, determine whether the contact title conforms to a relative title or a work title, and if the contact title conforms to the relative title or the work title, determine that a terminal corresponding to the relative title or the work title is a terminal used by the target member; under the condition that the target associated information is the number of times of call with the contact person, judging whether the number of times of call meets a second preset number of times, and if the number of times of call meets the second preset number of times, determining a terminal corresponding to the second preset number of times as a terminal used by the target member; and under the condition that the target associated information is the chat content of the contact, judging whether the length of the chat content meets a preset threshold value, and if so, determining that the terminal corresponding to the preset threshold value is the terminal used by the target member.
Theprocessing module 1101 of the embodiment of the present invention may be specifically configured to determine, according to at least one sharable device that has already established a network connection with the router, a terminal connected to the at least one sharable device as the second terminal.
Thetransceiver module 1103 of the embodiment of the present invention may also be configured to receive identity verification information sent by the first terminal; and responding the identity verification information, and determining the identity of the administrator of the first terminal.
Wherein, the related second terminals comprise terminals used by target members corresponding to the first terminals. The identity information includes at least one of: IMEI, terminal name, terminal model.
Therefore, according to the device sharing device provided by the embodiment of the invention, when an administrator wants to share at least one sharable device to a plurality of family members, only the first terminal needs to select from the reduced family members at the same time, and the original two-way operation among the server, the first terminal and the target terminal is changed into one-way server initiation and one-way first terminal confirmation, so that the sharing efficiency is greatly improved, the operation process is simple, and the use experience of the user on device sharing is improved.
Fig. 12 is a schematic diagram of a hardware structure of a terminal for implementing an embodiment of the present invention.
The terminal 1200 includes, but is not limited to:radio frequency unit 1201,network module 1202,audio output unit 1203,input unit 1204,sensor 1205,display unit 1206,user input unit 1207,interface unit 1208,memory 1209, processor 1210, andpower source 1211. Those skilled in the art will appreciate that the terminal configuration shown in fig. 12 is not intended to be limiting, and that the terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, theradio frequency unit 1201 may be used for receiving and sending signals during a message transmission or a call, and specifically, theradio frequency unit 1201 may be used for sending a device sharing request to a server. The method can also be used for receiving feedback information sent by the server, wherein the feedback information comprises information of the sharable device and identity information of the second terminal; wherein the identity information of the second terminal is provided by the router. Typically, theradio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 1201 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user through thenetwork module 1202, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
Theaudio output unit 1203 may convert an audio resource received by theradio frequency unit 1201 or thenetwork module 1202 or stored in thememory 1209 into an audio signal and output as sound. Also, theaudio output unit 1203 may also provide audio output related to a specific function performed by the terminal 1200 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 1204 is used to receive audio or video signals. Theinput Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and amicrophone 12042, and theGraphics processor 12041 processes an image resource of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 1206. The image frames processed by thegraphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via theradio frequency unit 1201 or thenetwork module 1202. Themicrophone 12042 can receive sound and can process such sound into an audio asset. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via theradio frequency unit 1201 in case of the phone call mode.
The terminal 1200 also includes at least onesensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of thedisplay panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 12061 and/or backlight when the terminal 1200 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; thesensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
Thedisplay unit 1206 is used to display information input by the user or information provided to the user. TheDisplay unit 1206 may include aDisplay panel 12061, and theDisplay panel 12061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Specifically, in the embodiment of the present invention, thedisplay unit 1206 is configured to display the first device information of the sharable device and the identity information of the second terminal, so that the user can select the sharable device.
Theuser input unit 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, theuser input unit 1207 includes atouch panel 12071 andother input devices 12072. Thetouch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near thetouch panel 12071 using a finger, a stylus, or any suitable object or attachment). Thetouch panel 12071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1210, receives a command from the processor 1210, and executes the command. In addition, thetouch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Theuser input unit 1207 may includeother input devices 12072 in addition to thetouch panel 12071. In particular, theother input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, thetouch panel 12071 may be overlaid on thedisplay panel 12061, and when thetouch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on thedisplay panel 12061 according to the type of the touch event. Although thetouch panel 12071 and thedisplay panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the terminal, in some embodiments, thetouch panel 12071 and thedisplay panel 12061 may be integrated to implement the input and output functions of the terminal, and this is not limited herein.
Aninterface unit 1208 is an interface for connecting an external device to theterminal 1200. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Theinterface unit 1208 may be used to receive input from an external device (e.g., resource information, power, etc.) and transmit the received input to one or more elements within the terminal 1200 or may be used to transmit resources between the terminal 1200 and the external device.
Thememory 1209 may be used to store software programs and various resources. Thememory 1209 may mainly include a storage program area and a storage resource area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 1209 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1210 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions and processing resources of the terminal by running or executing software programs and/or modules stored in thememory 1209 and calling resources stored in thememory 1209, thereby performing overall monitoring of the terminal. Processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1210. Specifically, in the embodiment of the present invention, the processor 1210 is configured to generate a sharing instruction according to a target terminal and a device to be shared selected by a user.
The terminal 1200 may further include a power source 1211 (e.g., a battery) for supplying power to various components, and preferably, thepower source 1211 may be logically connected to the processor 1210 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the terminal 1200 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, which includes a processor 1210, amemory 1209, adisplay unit 1206, and a computer program that is stored in thememory 1209 and can be run on the processor 1210, and when the computer program is executed by the processor 1210, the computer program implements each process of the foregoing device sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the device sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.