CN107948926B - Intelligent device sharing method and device - Google Patents

Intelligent device sharing method and device Download PDF

Info

Publication number
CN107948926B
CN107948926B CN201711065931.XA CN201711065931A CN107948926B CN 107948926 B CN107948926 B CN 107948926B CN 201711065931 A CN201711065931 A CN 201711065931A CN 107948926 B CN107948926 B CN 107948926B
Authority
CN
China
Prior art keywords
sharing
information
terminal
target
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711065931.XA
Other languages
Chinese (zh)
Other versions
CN107948926A (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 CN201711065931.XA priority Critical patent/CN107948926B/en
Publication of CN107948926A publication Critical patent/CN107948926A/en
Application granted granted Critical
Publication of CN107948926B publication Critical patent/CN107948926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

The method and the device for sharing the intelligent equipment can be used for receiving a sharing indication message sent by a sharing terminal, wherein the sharing indication message comprises a target position acquired by the sharing terminal and identification information of the intelligent equipment to be shared, a sharing range is determined according to the target position, the target terminal in the sharing range is determined, equipment information of the intelligent equipment is acquired according to the identification information, and the equipment information is shared to the target terminal.

Description

Intelligent device sharing method and device
Technical Field
The disclosure relates to the field of smart homes, in particular to a method and a device for sharing smart devices.
Background
Traditional intelligent equipment information sharing mainly depends on a user to screen from a massive intelligent equipment list according to own hobbies and actual needs, then selectively shares a screening result with a designated friend having the same requirement with the user, but the information sharing depends on a friend relationship of a network user, and the intelligent equipment information can be shared with each other only by establishing a network friend relationship in advance, so that the intelligent equipment information sharing method has certain limitation.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for sharing an intelligent device.
According to a first aspect of the embodiments of the present disclosure, a method for sharing intelligent devices is provided, which is applied to a sharing server, and the method includes receiving a sharing indication message sent by a sharing terminal, where the sharing indication message includes a target position acquired by the sharing terminal and identification information of an intelligent device to be shared; determining a sharing range according to the target position; determining a target terminal located in the sharing range, and acquiring equipment information of the intelligent equipment according to the identification information; and sharing the equipment information to the target terminal.
Optionally, the determining the target terminal located in the sharing range includes: acquiring terminal positions of other terminals except the sharing terminal; and determining a terminal with the terminal position located in the sharing range as the target terminal from the other terminals.
Optionally, the sharing the device information with the target terminal includes: sending sharing prompt information corresponding to the equipment information to the target terminal so that the target terminal can display the sharing prompt information, and sending an information request message to the sharing server when the sharing prompt information is triggered; and receiving the information request message sent by the target terminal, and sending the equipment information to the target terminal according to the information request message so that the target terminal can display the equipment information.
Optionally, the determining the sharing range according to the target position includes: acquiring a preset distance; and determining the sharing range by taking the target position as a center according to the preset distance.
Optionally, the target location comprises: the location of the sharing terminal; or, a location of the smart device; or a preset position.
Optionally, before the obtaining the device information of the smart device according to the identification information, the method further includes: receiving the equipment information sent by the sharing terminal; the acquiring the device information of the intelligent device according to the identification information includes: and determining the intelligent equipment marked by the identification information, and acquiring equipment information corresponding to the intelligent equipment.
According to a second aspect of the embodiment of the present disclosure, a method for sharing an intelligent device is provided, which is applied to a sharing terminal, and includes acquiring a target location and identification information of the intelligent device to be shared; and sending a sharing indication message to a sharing server, wherein the sharing indication message comprises the target position and the identification information, so that the sharing server determines a sharing range according to the target position, determines a target terminal located in the sharing range, acquires the equipment information of the intelligent equipment according to the identification information, and shares the equipment information with the target terminal.
Optionally, the target location comprises: the location of the sharing terminal; or, a location of the smart device; or a preset position.
Optionally, before the obtaining the target position, the method further includes: receiving a sharing instruction; the acquiring the target position includes: and after receiving the sharing instruction, acquiring the target position.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing an intelligent device, which is applied to a sharing server, the apparatus including: the sharing method comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is configured to receive a sharing indication message sent by a sharing terminal, and the sharing indication message comprises a target position acquired by the sharing terminal and identification information of intelligent equipment to be shared; a first determination module configured to determine a sharing range according to the target position; the second determination module is configured to determine a target terminal located in the sharing range; the first acquisition module is configured to acquire the equipment information of the intelligent equipment according to the identification information; a sharing module configured to share the device information with the target terminal.
Optionally, the second determining module includes: the first obtaining submodule is configured to obtain the terminal positions of other terminals except the sharing terminal; the first determining submodule is configured to determine, from the other terminals, a terminal of which the terminal position is within the sharing range as the target terminal.
Optionally, the sharing module includes: the first sending submodule is configured to send sharing prompt information corresponding to the equipment information to the target terminal so that the target terminal can display the sharing prompt information, and send an information request message to the sharing server when the sharing prompt information is triggered; a receiving submodule configured to receive the information request message sent by the target terminal; and the second sending submodule is configured to send the device information to the target terminal according to the information request message so that the target terminal can display the device information.
Optionally, the first determining module includes: a second obtaining sub-module configured to obtain a preset distance; a second determining submodule configured to determine the sharing range with the target position as a center according to the preset distance.
Optionally, the target location comprises: the location of the sharing terminal; or, a location of the smart device; or a preset position.
Optionally, the apparatus further comprises: a second receiving module configured to receive the device information sent by the sharing terminal; the first obtaining module further comprises: a third determining submodule configured to determine the smart device indicated by the identification information; and the third obtaining submodule is configured to obtain the device information corresponding to the intelligent device.
According to a fourth aspect of the embodiments of the present disclosure, a device for sharing intelligent devices is provided, which is applied to a sharing terminal, and the device includes: a second acquisition module configured to acquire a target position; the third acquisition module is configured to acquire identification information of the intelligent device to be shared; the sending module is configured to send a sharing indication message to a sharing server, wherein the sharing indication message includes the target position and the identification information, so that the sharing server determines a sharing range according to the target position, determines a target terminal located in the sharing range, obtains the device information of the intelligent device according to the identification information, and shares the device information with the target terminal.
Optionally, the target location comprises: the location of the sharing terminal; or, a location of the smart device; or a preset position.
Optionally, the apparatus further comprises: a third receiving module configured to receive a sharing instruction; the second obtaining module is configured to obtain the target position after receiving the sharing instruction.
According to a fifth aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing an intelligent device, which is applied to a sharing server, the apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the method of the first aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
According to a seventh aspect of the embodiments of the present disclosure, there is provided an apparatus for sharing an intelligent device, which is applied to a sharing terminal, the apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the steps of the method of the second aspect.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of the second aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: receiving a sharing indication message sent by a sharing terminal, wherein the sharing indication message comprises a target position acquired by the sharing terminal and identification information of intelligent equipment to be shared; determining a sharing range according to the target position; determining a target terminal located in the sharing range, and acquiring equipment information of the intelligent equipment according to the identification information; and sharing the equipment information to the target terminal. Therefore, the intelligent equipment information is shared through the position information, so that nearby users can quickly find the intelligent equipment information meeting the needs of the users, and the method is not limited to the method that equipment information can be shared with each other only by establishing a network friend relationship.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method of intelligent device sharing in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating yet another method of intelligent device sharing in accordance with an exemplary embodiment;
FIG. 3 is a signaling interaction diagram illustrating a method of intelligent device sharing in accordance with an example embodiment;
FIG. 4 is a block diagram illustrating a first apparatus for intelligent device sharing, according to an example embodiment;
FIG. 5 is a block diagram illustrating an apparatus for a second type of intelligent device sharing in accordance with an illustrative embodiment;
FIG. 6 is a block diagram illustrating an apparatus for third intelligent device sharing in accordance with an example embodiment;
FIG. 7 is a block diagram illustrating a fourth apparatus for intelligent device sharing in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating a fifth apparatus for intelligent device sharing in accordance with an illustrative embodiment;
FIG. 9 is a block diagram illustrating an apparatus for a sixth type of intelligent device sharing in accordance with an illustrative embodiment;
FIG. 10 is a block diagram illustrating an apparatus for a seventh type of intelligent device sharing in accordance with an illustrative embodiment;
FIG. 11 is a block diagram illustrating an eighth apparatus for intelligent device sharing in accordance with an illustrative embodiment;
fig. 12 is a block diagram illustrating an apparatus for ninth intelligent device sharing according to an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
The method comprises the steps of obtaining a sharing indication message sent by a sharing terminal, obtaining a target position in the sharing indication message, determining a sharing range according to the target position, and sharing equipment information of the intelligent equipment with the target terminal in the sharing range.
The present disclosure is described in detail below with reference to the related examples.
Fig. 1 is a flowchart illustrating a method for intelligent device sharing according to an exemplary embodiment, where the method may be applied to a sharing server, as shown in fig. 1, and includes the following steps:
s101, receiving a sharing indication message sent by a sharing terminal, wherein the sharing indication message comprises a target position acquired by the sharing terminal and identification information of the intelligent device to be shared.
The intelligent equipment can be computers, mobile phones, hand rings, sweeping robots, air purifiers, refrigerators and other intelligent equipment; the sharing terminal is a terminal for sharing the device information of the intelligent device through the sharing server, and may be a mobile phone, a computer, an ipad tablet computer, or other terminals, the target position may be a position of the sharing terminal, a position of the intelligent device, or a preset position preset by a user, for example, the preset position may be a position where a home address of the user is located or a position where an office address of the user is located; the identification information may be a device name of the intelligent device to be shared, which is only an example, and is not limited thereto.
And S102, determining a sharing range according to the target position.
In this step, the sharing server may determine the sharing range by centering on the target position according to a preset distance, where the preset distance may be a preset distance on the sharing server, or may be set by a user on the sharing terminal, and the set distance is sent to the sharing server through the sharing terminal, and the sharing range may be a circular area, a square area, or an area of another shape.
For example, if the sharing range is a circular area, the preset distance may be a radius, and the sharing server obtains the circular area by using the target position as a center of a circle and using the preset distance as the radius, so as to determine that the circular area is the sharing range.
And S103, determining the target terminal located in the sharing range, and acquiring the equipment information of the intelligent equipment according to the identification information.
The target terminal may be a mobile phone, a computer, an ipad tablet computer, or other terminals, which is not limited in this disclosure.
In a possible scenario, when a user browses an interested or intentionally purchased smart device through a sharing terminal, the user can share the smart device by triggering a sharing button on the sharing terminal, at this time, the device information may include information of a device name, an appearance picture, a function introduction, device parameters, and the like of the smart device, in another possible scenario, the sharing terminal may further share device information of the smart device bound to the sharing terminal, at this time, the device information may include information of the device name, the appearance picture, the function introduction, the device parameters, and the like of the smart device, and may further include operation parameters of the smart device, for example, the smart device may be an air purifier, and then the operation parameters may include information of a purification duration of the air purifier, and detected air pollution index of a current purification area, and the like. The foregoing examples are illustrative only, and the disclosure is not limited thereto.
In this step, the sharing server first obtains the terminal positions of the other terminals except the sharing terminal, and determines, from the other terminals, that the terminal whose position information is within the sharing range is the target terminal, and the other terminals are terminals registered in the sharing server.
In addition, after determining the target terminal located in the sharing range, the sharing server acquires the device information of the intelligent device according to the identification information.
And S104, sharing the equipment information to the target terminal.
In this step, the sharing server first sends sharing prompt information corresponding to the device information to the target terminal, where the sharing prompt information may include identification information of an intelligent device to be shared, and when the sharing prompt information is triggered, the sharing server receives an information request message sent by the target terminal, where the information request message is used to request to view the intelligent device information corresponding to the identification information, and the sharing server shares the device information of the intelligent device corresponding to the identification information with the target terminal.
It should be noted that, because the operation parameters in the device information may change continuously when the intelligent device is running, in this embodiment, the sharing terminal may receive the device information sent by the intelligent device in real time, and send the device information obtained in real time to the sharing server in this step, so as to ensure that a user of the target terminal can observe the operation parameters of the intelligent device in real time when the sharing server shares the device information with the target terminal in the following step.
By adopting the method, the device information of the intelligent device is shared through the position information, so that nearby users can quickly find the intelligent device meeting the needs of the users, and the method is not limited to the situation that only network friends are established to share the device information with each other.
Fig. 2 is a flowchart illustrating a method for sharing an intelligent device according to an exemplary embodiment, where as shown in fig. 2, the method may be applied to a sharing terminal, and includes the following steps:
s201, acquiring the target position and identification information of the intelligent device to be shared.
The target position may be a position where the sharing terminal is located, a position where the smart device to be shared is located, or a preset position preset by the user, for example, the preset position may be a position where a home address of the user is located or a position where an office address of the user is located.
This smart machine can be smart machine such as computer, cell-phone, bracelet, robot of sweeping the floor, air purifier, refrigerator, and this identification information can be the equipment name of waiting to share smart machine etc. this disclosure does not limit to this.
S202, sending a sharing instruction message to the sharing server, where the sharing instruction message includes the target location and the identification information.
In this step, the sharing indication message is sent to the sharing server, so that the sharing server determines a sharing range according to the target position, determines a target terminal located in the sharing range, acquires the device information of the intelligent device according to the identification information, and shares the device information with the target terminal.
The sharing range can be a circular area, a square area or an area with other shapes; the target terminal may be a mobile phone, a computer, an ipad tablet computer, or other terminals, which is not limited in this disclosure.
In a possible scenario, when a user browses an interested or intentionally purchased smart device through a sharing terminal, the user can share the smart device by triggering a sharing button on the sharing terminal, at this time, the device information may include information of a device name, an appearance picture, a function introduction, device parameters, and the like of the smart device, in another possible scenario, the sharing terminal may further share device information of the smart device bound to the sharing terminal, at this time, the device information may include information of the device name, the appearance picture, the function introduction, the device parameters, and the like of the smart device, and may further include operation parameters of the smart device, for example, the smart device may be an air purifier, and then the operation parameters may include information of a purification duration of the air purifier, and detected air pollution index of a current purification area, and the like. The foregoing examples are illustrative only, and the disclosure is not limited thereto.
By adopting the method, the acquired position information is sent to the sharing server, so that the sharing server shares the equipment information of the intelligent equipment through the position information, and nearby users can quickly find the intelligent equipment meeting the needs of the users, and the method is not limited to the situation that the equipment information can be mutually shared only by establishing a network friend relationship.
Fig. 3 is a signaling interaction diagram illustrating a method for intelligent device sharing according to an exemplary embodiment, as shown in fig. 3, including the following steps:
s301, the sharing terminal receives a sharing instruction.
The sharing terminal can be a mobile phone, a computer, an ipad tablet computer, or other terminals, which is not limited in this disclosure.
In this step, this share instruction is used for instructing the sharing of the equipment information of carrying out smart machine, and this smart machine can be intelligent equipments such as computer, cell-phone, bracelet, robot of sweeping the floor, air purifier, refrigerator, and exemplarily, the user can send this share instruction to sharing terminal through triggering the button of sharing on the terminal of sharing.
In this embodiment, the sharing terminal may obtain the device information of the bound smart device in real time, and the device information may include information such as a device name, an appearance picture, a function introduction, and device parameters of the smart device and operation parameters of the smart device, for example, the smart device may be an air purifier, and then the operation parameters may include information such as a purification duration of the air purifier and a detected air pollution index of a current purification area. The foregoing examples are illustrative only, and the disclosure is not limited thereto.
It should be noted that, because the operation parameters may change continuously when the intelligent device is running, the sharing terminal may receive the operation parameters sent by the intelligent device in real time, and send the device information including the operation parameters to the sharing server, so as to ensure that the target terminal can receive the operation parameters in the device information of the intelligent device in real time when the sharing server shares the device information with the target terminal in the following.
S302, the sharing terminal obtains identification information of the intelligent device to be shared.
The identification information may be a device name of the intelligent device to be shared, and the like, which is not limited by the present disclosure.
And S303, the sharing terminal acquires the target position.
The target location may be a location where the sharing terminal is located, a location where the smart device to be shared is located, or a preset location preset by the user, for example, the preset location may be a location where a home address of the user is located or a location where an office address of the user is located, and the above examples are merely illustrative, and the disclosure is not limited thereto.
And S304, the sharing terminal sends a sharing indication message to the sharing server, wherein the sharing indication message comprises the target position and the identification information of the intelligent device.
And S305, after receiving the sharing indication message sent by the sharing terminal, the sharing server acquires a preset distance, and determines a sharing range by taking the target position as a center according to the preset distance.
The preset distance can be a preset distance on the sharing server, the preset distance can also be set by a user on the sharing terminal, the set distance is sent to the sharing server through the sharing terminal, and the sharing range can be a circular area, a square area or areas in other shapes.
For example, if the sharing range is a circular area, the preset distance may be a radius, and the sharing server obtains the circular area by taking the target position as a center of a circle and taking the preset distance as the radius, so as to determine that the circular area is the sharing range.
And S306, the sharing server determines the target terminal located in the sharing range, and acquires the equipment information of the intelligent equipment according to the identification information.
The target terminal may be a mobile phone, a computer, an ipad tablet computer, or other terminals, which is not limited in this disclosure.
In this step, the sharing server first obtains the terminal positions of other terminals except the sharing terminal, and determines, from the other terminals, that the terminal whose terminal position is within the sharing range is the target terminal, and the other terminals are terminals registered on the sharing server, and determines the intelligent device indicated by the identification information, and obtains device information corresponding to the intelligent device.
S307, the sharing server sends a sharing prompt corresponding to the device information to the target terminal.
Here, it is considered that the target terminal may display device information shared by a plurality of different sharing terminals, and therefore, if each device information is displayed, the target terminal cannot display too many sharing prompt messages due to too many information display contents, so that the experience of a user is affected.
And S308, the target terminal displays the sharing prompt message.
In this step, the target terminal may display the sharing prompt information through the sharing list.
Specifically, the sharing prompt information can be displayed in the following two ways:
the method comprises the steps that firstly, the number of information displayed in a current sharing list is determined; when the number of the information is smaller than the preset information display number, adding the sharing prompt information into the sharing list; and when the information quantity is equal to the preset information display quantity, determining the display time of all the information displayed in the sharing list, deleting the information with the earliest display time, and adding the sharing prompt information into the sharing list.
The preset information display quantity is the maximum number of information pieces which can be displayed in the sharing list.
For example, the preset information display number is 100, when the number of information displayed in the current sharing list is less than 100, the sharing prompt information is added to the sharing list for display, when the number of information displayed in the current sharing list is 100, the display time of all information displayed in the sharing list is obtained, then the information with the earliest time is deleted, and the sharing prompt information is added to the sharing list for display, which is only an example and is not limited thereto.
Determining the sharing time of the information displayed in the current sharing list, and adding the sharing prompt information to the sharing list when the sharing time does not exceed the preset information sharing time; and when the sharing time exceeds the preset information sharing time, deleting the information of which the sharing time exceeds the preset information sharing time, and adding the sharing prompt information into the sharing list.
The preset information sharing time is the longest sharing time of the information which can be displayed in the sharing list.
For example, the preset information sharing time is 10 days, when the information sharing time displayed in the current sharing list is less than 10 days, the sharing prompt information is added to the sharing list for displaying, and when the information sharing time displayed in the current sharing list is greater than 10 days, the earliest information in the sharing time is deleted, and the sharing prompt information is added to the sharing list for displaying.
Therefore, the user can quickly find the intelligent equipment which is interested in the user or is intentionally purchased according to the displayed sharing prompt information.
S309, when the sharing prompt is triggered, the target terminal sends an information request message to the sharing server.
The information request message is used to request to view the device information corresponding to the sharing prompt information, for example, after viewing the sharing prompt information in the sharing list, a user of the target terminal triggers the sharing prompt information corresponding to the smart device that is interested in or intentionally purchased, so that the sharing prompt information is triggered, and sends the information request message to the sharing server, where the triggering operation may be a click operation or a press operation, which is not limited to this.
And S310, the sharing server sends the equipment information to the target terminal according to the information request message.
S311, the target terminal displays the equipment information.
By adopting the method, the intelligent equipment information is shared through the position information, so that nearby users can quickly find the intelligent equipment information meeting the needs of the users, and the method is not limited to the situation that equipment information can be shared with each other only by establishing network friends.
It should be noted that the above-mentioned method embodiments are described as a series of acts or combinations for simplicity, but those skilled in the art will appreciate that the present invention is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Fig. 4 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, which may be applied to a sharing server, and as shown in fig. 4, the apparatus includes: the device comprises a first receiving module 401, a first determining module 402, a second determining module 403, a first obtaining module 404 and a sharing module 405.
The first receiving module 401 is configured to receive a sharing indication message sent by a sharing terminal, where the sharing indication message includes a target location acquired by the sharing terminal and identification information of an intelligent device to be shared;
the first determining module 402 is configured to determine a sharing range according to the target location;
the second determining module 403 is configured to determine a target terminal located in the sharing range;
the first obtaining module 404 is configured to obtain the device information of the smart device according to the identification information;
the sharing module 405 is configured to share the device information with the target terminal.
Optionally, fig. 5 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, and as shown in fig. 5, the second determining module 403 includes:
a first obtaining submodule 4031 configured to obtain terminal positions of other terminals except the sharing terminal;
the first determining submodule 4032 is configured to determine, from the other terminals, a terminal whose terminal position is within the sharing range as a target terminal.
Optionally, fig. 6 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, and as shown in fig. 6, the sharing module 405 includes:
the first sending sub-module 4051 is configured to send the sharing prompt information corresponding to the device information to the target terminal, so that the target terminal displays the sharing prompt information, and sends an information request message to the sharing server when the sharing prompt information is triggered;
a receiving sub-module 4052 configured to receive the information request message sent by the target terminal;
the second sending sub-module 4053 is configured to send the device information to the target terminal according to the information request message, so that the target terminal presents the device information.
Optionally, fig. 7 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, and as shown in fig. 7, the first determining module 402 includes:
a second obtaining sub-module 4021 configured to obtain a preset distance;
the second determining sub-module 4022 is configured to determine the sharing range centered on the target position according to the preset distance.
Optionally, fig. 8 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, where as shown in fig. 8, the apparatus further includes:
a second receiving module 406, configured to receive the device information sent by the sharing terminal;
the first obtaining module 404 further includes:
a third determining sub-module 4041 configured to determine the smart device indicated by the identification information;
the third obtaining sub-module 4042 is configured to obtain device information corresponding to the smart device.
By adopting the device, the sharing of the equipment information of the intelligent equipment is carried out through the position information, so that nearby users can quickly find the intelligent equipment meeting the needs of the users, and the sharing of the equipment information can be realized only by establishing network friends.
Fig. 9 is a block diagram of an apparatus for intelligent device sharing according to an exemplary embodiment, which may be applied to a sharing terminal, and as shown in fig. 9, the apparatus includes: a second obtaining module 901, a third obtaining module 902, and a sending module 903.
A second obtaining module 901 configured to obtain a target position;
a third obtaining module 902, configured to obtain identification information of an intelligent device to be shared;
the sending module 903 is configured to send a sharing indication message to the sharing server, where the sharing indication message includes the target location and the identification information, so that the sharing server determines a sharing range according to the target location, determines a target terminal located in the sharing range, obtains device information of the smart device according to the identification information, and shares the device information with the target terminal.
Optionally, fig. 10 is a block diagram illustrating an apparatus for intelligent device sharing according to an exemplary embodiment, where as shown in fig. 10, the apparatus further includes:
a third receiving module 904 configured to receive a sharing instruction;
the second obtaining module 901 is configured to obtain the target location after receiving the sharing instruction.
By adopting the device, the acquired position information is sent to the sharing server, so that the sharing server shares the equipment information of the intelligent equipment through the position information, and nearby users can quickly find the intelligent equipment meeting the needs of the users, and the device information can be shared with each other only by establishing network friends.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 11 is a block diagram illustrating an apparatus 1100 for intelligent device sharing in accordance with an example embodiment. For example, the apparatus 1100 may be a sharing server. Referring to fig. 11, the apparatus 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1122 is configured to execute instructions to perform the above-described method of intelligent device sharing.
The apparatus 1100 may further include a power supply component 1126 configured to perform power management of the apparatus 1100, a wired or wireless network interface 1150 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1158 the apparatus 1100 may be operable based on an operating system stored in the memory 1132, such as Windows server (tm), MacOS XTM, UnixTM, &lttttranslation = L "&gtt &/t &gttinx (tm), FreeBSDTM, or the like.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of intelligent device sharing provided by the present disclosure as shown in fig. 1.
For example, the memory 1132 may include instructions executable by the processing component 1122 of the apparatus 1100 to perform the method for intelligent device sharing described above.
Fig. 12 is a block diagram illustrating an apparatus 1200 for intelligent device sharing in accordance with an example embodiment. For example, the apparatus 1200 may be a sharing terminal, such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so on.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, and a communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the intelligent device sharing methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia component 1208 includes a screen that provides an output interface between the device 1200 and a user, in some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described method of intelligent device sharing.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method for intelligent device sharing provided by the present disclosure as shown in fig. 2.
For example, the memory 1204 includes instructions executable by the processor 1220 of the apparatus 1200 to perform the intelligent device sharing method described above. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. The intelligent device sharing method is applied to a sharing server and comprises the following steps:
receiving a sharing indication message sent by a sharing terminal, wherein the sharing indication message comprises a target position acquired by the sharing terminal and identification information of intelligent equipment to be shared;
determining a sharing range according to the target position;
determining a target terminal located in the sharing range, and acquiring equipment information of the intelligent equipment according to the identification information;
sharing the equipment information to the target terminal;
before the acquiring the device information of the intelligent device according to the identification information, the method further includes:
receiving the equipment information sent by the sharing terminal;
the acquiring the device information of the intelligent device according to the identification information includes:
and determining the intelligent equipment marked by the identification information, and acquiring equipment information corresponding to the intelligent equipment.
2. The method of claim 1, wherein the determining the target terminal located within the sharing range comprises:
acquiring terminal positions of other terminals except the sharing terminal;
and determining a terminal with the terminal position located in the sharing range as the target terminal from the other terminals.
3. The method of claim 1, wherein the sharing the device information with the target terminal comprises:
sending sharing prompt information corresponding to the equipment information to the target terminal so that the target terminal can display the sharing prompt information, and sending an information request message to the sharing server when the sharing prompt information is triggered;
and receiving the information request message sent by the target terminal, and sending the equipment information to the target terminal according to the information request message so that the target terminal can display the equipment information.
4. The method of claim 1, wherein the determining the sharing range according to the target location comprises:
acquiring a preset distance;
and determining the sharing range by taking the target position as a center according to the preset distance.
5. The method of claim 1, wherein the target location comprises:
the location of the sharing terminal; alternatively, the first and second electrodes may be,
a location of the smart device; alternatively, the first and second electrodes may be,
a preset position.
6. The method for sharing the intelligent equipment is applied to a sharing terminal and comprises the following steps:
acquiring a target position and identification information of intelligent equipment to be shared;
sending a sharing indication message to a sharing server, wherein the sharing indication message comprises the target position and the identification information, so that the sharing server determines a sharing range according to the target position, determines a target terminal located in the sharing range, acquires equipment information of the intelligent equipment according to the identification information, and shares the equipment information with the target terminal;
the method further comprises the following steps:
and sending the equipment information to the sharing server so that the sharing server receives the equipment information before acquiring the equipment information of the intelligent equipment according to the identification information, determines the intelligent equipment marked by the identification information and acquires the equipment information corresponding to the intelligent equipment.
7. The method of claim 6, wherein the target location comprises:
the location of the sharing terminal; alternatively, the first and second electrodes may be,
a location of the smart device; alternatively, the first and second electrodes may be,
a preset position.
8. The method of claim 6, wherein prior to said obtaining a target location, the method further comprises:
receiving a sharing instruction;
the acquiring the target position includes:
and after receiving the sharing instruction, acquiring the target position.
9. The utility model provides a device that intelligent equipment shared, its characterized in that is applied to sharing server, the device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 5.
10. The utility model provides a device that intelligent equipment shared, its characterized in that is applied to sharing terminal, the device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 6 to 8.
CN201711065931.XA 2017-11-02 2017-11-02 Intelligent device sharing method and device Active CN107948926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711065931.XA CN107948926B (en) 2017-11-02 2017-11-02 Intelligent device sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711065931.XA CN107948926B (en) 2017-11-02 2017-11-02 Intelligent device sharing method and device

Publications (2)

Publication Number Publication Date
CN107948926A CN107948926A (en) 2018-04-20
CN107948926B true CN107948926B (en) 2020-07-28

Family

ID=61934204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711065931.XA Active CN107948926B (en) 2017-11-02 2017-11-02 Intelligent device sharing method and device

Country Status (1)

Country Link
CN (1) CN107948926B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109323375B (en) * 2018-09-13 2021-09-21 广东美的制冷设备有限公司 Air conditioner and function sharing method and device of air conditioner
US10915650B2 (en) * 2018-10-30 2021-02-09 Citrix Systems, Inc. Securely sharing files with user devices based on location
CN109327806B (en) * 2018-11-30 2021-07-09 苏州达家迎信息技术有限公司 Method, server and client for determining position information
CN109639783B (en) * 2018-11-30 2021-08-03 苏州达家迎信息技术有限公司 Method, server and client for determining position information
CN110381441B (en) * 2019-07-19 2021-04-06 青岛海尔科技有限公司 Method and device for managing position of terminal in operating system
CN110784824B (en) * 2019-10-29 2021-03-23 维沃移动通信有限公司 Travel data sharing method and mobile terminal
CN110798522A (en) * 2019-10-31 2020-02-14 三星电子(中国)研发中心 Method and device for pushing equipment information
CN111404788A (en) * 2020-03-09 2020-07-10 维沃移动通信有限公司 Equipment sharing method and server
WO2023184560A1 (en) * 2022-04-02 2023-10-05 Oppo广东移动通信有限公司 Device sharing method and apparatus, device, storage medium, and program product

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546835B (en) * 2012-03-08 2014-07-02 腾讯科技(深圳)有限公司 Method for sharing contents, terminal, server and system
CN103037007A (en) * 2012-12-24 2013-04-10 珠海金山办公软件有限公司 Data sharing method and data sharing system based on geographic position service
US10248978B2 (en) * 2014-04-30 2019-04-02 Paypal, Inc. Systems and methods for group shopping with a shared shopping list
CN105282010B (en) * 2015-09-14 2019-04-23 小米科技有限责任公司 Processing method, device and the server that information is shared
CN106911561A (en) * 2017-02-15 2017-06-30 美的智慧家居科技有限公司 The sharing method of the control authority of home appliance, device and server
CN106921545B (en) * 2017-02-28 2021-11-09 北京小米移动软件有限公司 Electric appliance information sharing method and device and terminal

Also Published As

Publication number Publication date
CN107948926A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107948926B (en) Intelligent device sharing method and device
CN108809968B (en) Equipment sharing method, device and storage medium
RU2610679C1 (en) Method and device for instant messaging
CN105578411B (en) Positioning information prompting method and device
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
JP6464261B2 (en) Method and apparatus for displaying response extensions
CN106973082B (en) Resource identifier sharing method and device
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
JP2016530818A (en) CALL METHOD, CALL DEVICE, CALL SYSTEM, PROGRAM, AND RECORDING MEDIUM
CN105898573B (en) Multimedia file playing method and device
CN107454204B (en) User information labeling method and device
EP3211546A1 (en) Picture acquiring method and apparatus, computer program and recording medium
CN104156204A (en) Calendar event establishing method and device
US20220391446A1 (en) Method and device for data sharing
CN105101078B (en) Information prompting method, terminal and server
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN105808647A (en) Message editing processing method and device
CN109525966B (en) Intelligent device query method and device and storage medium
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105704286A (en) Communication information display method and device
CN107295167B (en) Information display method and device
CN106506808B (en) Method and device for prompting communication message
CN110121148B (en) Interphone team method and device
CN105827513B (en) Video information sharing method, device and equipment
CN110690979B (en) Group message processing method, device, server, client and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant