CN105338510B - Method for discovering equipment and system under short distance scene - Google Patents

Method for discovering equipment and system under short distance scene Download PDF

Info

Publication number
CN105338510B
CN105338510B CN201510613471.4A CN201510613471A CN105338510B CN 105338510 B CN105338510 B CN 105338510B CN 201510613471 A CN201510613471 A CN 201510613471A CN 105338510 B CN105338510 B CN 105338510B
Authority
CN
China
Prior art keywords
scene
mobile terminal
server
identifier
wireless signal
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.)
Expired - Fee Related
Application number
CN201510613471.4A
Other languages
Chinese (zh)
Other versions
CN105338510A (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.)
Shenzhen Heimuyun Network Co Ltd
Original Assignee
Shenzhen Heimuyun Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Heimuyun Network Co Ltd filed Critical Shenzhen Heimuyun Network Co Ltd
Priority to CN201510613471.4A priority Critical patent/CN105338510B/en
Publication of CN105338510A publication Critical patent/CN105338510A/en
Application granted granted Critical
Publication of CN105338510B publication Critical patent/CN105338510B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to the method for discovering equipment and system under a kind of short distance scene, wherein the described method includes: finding to request to server sending device, carries the corresponding scene identity of short distance scene locating for mobile terminal in the equipment discovery request;It receives the response equipment discovery request that the server is sent and obtains the corresponding list of devices of the scene identity;Show the list of devices.The above method and system improve the accuracy of equipment discovery.

Description

Device discovery method and system in close-range scene
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for discovering equipment in a close-range scene.
Background
Mobile terminals (such as mobile phones) have become indispensable portable devices, and besides voice and short message communication, data services are occupying more and more use scenes. In data services, there is a large part of data exchange (e.g., chat, friend making, etc.) between two or more mobile terminals. In these service applications, it is a great need that mobile terminals can discover each other in the same short-distance scene, and device discovery refers to a device that needs to discover other devices in its surroundings.
The method for discovering devices in a traditional close-range scene generally uses a GPS positioning function of a mobile terminal, the mobile terminal positions the position of the mobile terminal through a GPS and reports the position of the mobile terminal to a server, and the server records the positions of a plurality of mobile terminals and considers the mobile terminals close to the positions to be in the same close-range scene through calculation. However, there is a limitation in using the position information of the GPS as a determination of whether the mobile terminal is located in the same short-distance scene, and firstly, GPS satellite signals cannot be acquired in many environments such as indoors and underground, so that the current position cannot be acquired. Secondly, the position obtained by the GPS is positioned by using longitude and latitude, and for a close-range scene with an effective range of only dozens of meters, an accurate judgment basis cannot be achieved. Thus resulting in poor accuracy of device discovery in close-range scenes.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a device discovery method and system in a short-distance scene, which can improve the device discovery accuracy.
A device discovery method under a close-range scene is applied to a mobile terminal; the method comprises the following steps:
sending an equipment discovery request to a server, wherein the equipment discovery request carries a scene identifier corresponding to a close-range scene where a mobile terminal is located;
receiving a device list which is sent by the server and corresponds to the scene identifier and is obtained by responding to the device discovery request;
and displaying the equipment list.
In one embodiment, before the step of sending the device discovery request to the server, the method further includes:
receiving a wireless signal transmitted by a wireless signal transmitter, wherein the wireless signal carries a scene identifier;
and sending the scene identification and the equipment identification corresponding to the mobile terminal to a server, so that the server adds the equipment identification to an equipment list corresponding to the scene identification.
In one embodiment, after the step of sending the scene identifier and the device identifier corresponding to the mobile terminal to the server, the method further includes:
and setting a discovery authority parameter of the equipment identifier in a server, so that the server controls whether the equipment identifier in the equipment list is hidden according to the discovery authority parameter.
In one embodiment, before the step of receiving the wireless signal transmitted by the wireless signal transmitter, the method further comprises:
the method comprises the steps of identifying behavior actions of a user on the mobile terminal, and triggering corresponding equipment scanning instructions according to the behavior actions;
scanning wireless signal transmitters contained within a scene according to the device scanning instructions.
In one embodiment, after the step of displaying the device list, the method further includes:
and establishing data communication with the equipment in the equipment list through the server.
In one embodiment, after the step of displaying the device list, the method further includes:
transmitting data to a single device in the device list in a unicast manner; or
Data is broadcast to a plurality of devices in the device list in a multicast manner.
In one embodiment, after the step of displaying the device list, the method further includes:
and sending a notice of exiting the scene to a server, so that the server removes the device identifier corresponding to the mobile terminal in the device list according to the notice.
In one embodiment, the step of sending a notification of an exit scenario to the server includes:
receiving a scene exit instruction triggered by a user through a mobile terminal, and sending a scene exit notification to a server according to the scene exit instruction; or,
and judging whether the wireless signal transmitted by the wireless signal transmitter is received again within a preset time range, and if not, sending a notice of exiting the scene to the server.
In one embodiment, the method further comprises:
sending a registration request of a wireless signal transmitter to a server, so that the server registers the mobile terminal as a wireless signal transmitter;
and receiving the scene identification returned after the server is successfully registered, and transmitting a wireless signal carrying the scene identification to a close-range scene.
A device discovery method under a close-range scene is applied to a server; the method comprises the following steps:
receiving a device discovery request sent by a mobile terminal, wherein the device discovery request carries a scene identifier;
responding the device discovery request to obtain a device list corresponding to the scene identifier;
and sending the equipment list to a mobile terminal.
In one embodiment, the method further comprises:
receiving a first registration request sent by a mobile terminal, and completing registration of the mobile terminal by storing the association relationship between a terminal identifier carried in the first registration request and user identity information;
and receiving a second registration request sent by the wireless signal transmitter, and finishing the registration of the wireless signal transmitter by storing the scene identifier carried in the second registration request.
In one embodiment, before the step of receiving the device discovery request sent by the mobile terminal, the method further includes:
receiving a scene identifier sent by a mobile terminal and a device identifier corresponding to the mobile terminal;
and adding the equipment identifier to an equipment list corresponding to the scene identifier.
In one embodiment, after the step of adding the device identifier to the device list corresponding to the scene identifier, the method further includes:
receiving a discovery permission parameter of a device identifier set by a user through a mobile terminal;
controlling whether the device identifier in the device list is hidden according to the discovery permission parameter.
In one embodiment, after the step of sending the device list to the mobile terminal, the method further includes:
receiving a notice of exiting a scene sent by a mobile terminal;
and removing the equipment identifier corresponding to the mobile terminal in the equipment list according to the notification.
In one embodiment, the method further comprises:
receiving a registration request of a wireless signal transmitter sent by a mobile terminal;
and registering the mobile terminal as a wireless signal transmitter according to the registration request, and transmitting the scene identifier to the mobile terminal, so that the mobile terminal transmits a wireless signal carrying the scene identifier to a close-range scene.
A system for device discovery in a close-range scenario, the system comprising:
the wireless signal transmitter is used for transmitting a wireless signal carrying a scene identifier to a close-range scene;
the mobile terminal is used for receiving a wireless signal transmitted by the wireless signal transmitter, and the wireless signal carries a scene identifier; sending the scene identification and the equipment identification corresponding to the mobile terminal to a server; sending a device discovery request to a server, wherein the device discovery request carries a scene identifier; receiving a device list which is sent by the server and corresponds to the scene identifier and is obtained by responding to the device discovery request; displaying the device list;
the server is used for adding the equipment identifier to an equipment list corresponding to the scene identifier; responding the device discovery request to obtain a device list corresponding to the scene identifier; and sending the equipment list to a mobile terminal.
In one embodiment, the server is further configured to receive a first registration request sent by the mobile terminal, and complete registration of the mobile terminal by storing an association relationship between a terminal identifier carried in the first registration request and user identity information;
the server is also used for receiving a second registration request sent by the wireless signal transmitter and finishing the registration of the wireless signal transmitter by storing the scene identifier carried in the second registration request.
In one embodiment, the mobile terminal is further configured to set a discovery permission parameter of a device identifier in the server; the server is further configured to control whether the device identifier in the device list is hidden according to the discovery permission parameter.
In one embodiment, the mobile terminal is further configured to send a notification of exiting the scene to the server; the server is further configured to remove the device identifier corresponding to the mobile terminal in the device list according to the notification.
In one embodiment, the mobile terminal is further configured to send a registration request of the wireless signal transmitter to a server; the server is also used for registering the mobile terminal as a wireless signal transmitter; the mobile terminal is further used for receiving the scene identification returned after the server is successfully registered, and transmitting the wireless signal carrying the scene identification to the close-range scene.
According to the device discovery method and system in the close-range scene, after the mobile terminal sends the device discovery request in the close-range scene, the device list returned to the mobile terminal by the server is obtained based on the scene identification, and the devices contained in the same close-range scene all correspond to the same scene identification, so that the devices discovered by the mobile terminal are all in the same close-range scene, and the device discovery accuracy is improved.
Drawings
FIG. 1 is a flowchart illustrating a device discovery method in a short-range scenario according to an embodiment;
FIG. 2 is a flowchart illustrating a device discovery method in a short-distance scenario according to another embodiment;
FIG. 3 is a timing diagram of a device discovery method in a short-range scenario in one embodiment;
FIG. 4 is a flowchart illustrating a device discovery method in a short-range scenario according to an embodiment;
FIG. 5 is a flowchart illustrating a device discovery method in a short-distance scenario according to another embodiment;
FIG. 6 is a block diagram of a device discovery system in a short-range scenario according to an embodiment;
fig. 7 is a diagram illustrating an application scenario of the device discovery method in a short-distance scenario in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, in one embodiment, a device discovery method in a short-distance scene is provided, and the method is applied to a mobile terminal. The device discovery method under the short-distance scene comprises the following steps:
step 103, sending a device discovery request to the server.
The device discovery request carries a scene identifier corresponding to a close-range scene where the mobile terminal is located. The short-distance scene refers to the same physical area where the user is located, and generally refers to a place with an effective range of a sight distance range from several meters to dozens of meters. For example, the close-range scene is: the same office building, the same shopping mall, the same hotel and the like. The scene identification is a unique mark as a close-range scene. In this embodiment, the mobile terminal already knows the scene identifier corresponding to the close-range scene where the mobile terminal is located, and the device discovery request refers to that the user initiates an inquiry request to the server through the mobile terminal, and the server inquires that another mobile terminal exists in the same close-range scene.
And 104, receiving a response device discovery request sent by the server to obtain a device list corresponding to the scene identifier.
In this embodiment, a mapping relationship between the scene identifier and the device list is pre-established in the server, and a specific process of the server responding to the device discovery request is as follows: and inquiring the scene identification sent by the mobile terminal in the mapping relation between the scene identification and the equipment list, and obtaining the equipment list corresponding to the scene identification according to the preset mapping relation. And returns the device list to the mobile terminal.
Step 105, displaying the device list.
After the mobile terminal sends the device discovery request to the server, the device list is displayed on the mobile terminal after a period of time of server response, and the user can clearly know which other mobile terminals exist in the close scene through the device list. The user may select to communicate data with one or more devices in the device list. For example, the user may choose to send a request to add a friend to one of the devices or send a song to the selected device for music sharing.
According to the device discovery method and system in the close-range scene, after the mobile terminal sends the device discovery request in the close-range scene, the device list returned to the mobile terminal by the server is obtained based on the scene identification, and the devices contained in the same close-range scene all correspond to the same scene identification, so that the devices discovered by the mobile terminal are all in the same close-range scene, and the device discovery accuracy is improved.
As shown in fig. 2, in one embodiment, before sending the device discovery request to the server in step 103, the method further comprises the steps of:
step 101, receiving a wireless signal transmitted by a wireless signal transmitter, wherein the wireless signal carries a scene identifier.
The wireless signal transmitter is registered in the server before transmitting the wireless signal, the wireless signal transmitter sends a registration request carrying the scene identifier to the server, and the server stores the scene identifier to complete the registration of the wireless signal transmitter. Wireless signal transmitters include, but are not limited to wifi devices and bluetooth devices. And the wireless signal transmitter in the short-distance scene continuously broadcasts the wireless signal carrying the scene identification outwards. The user carries the mobile terminal to enter the effective transmitting range of the wireless signal transmitter, the wireless signal is received, and the close-range scene where the user is located is further identified through the scene identification in the wireless signal.
And 102, sending the scene identifier and the device identifier corresponding to the mobile terminal to a server, so that the server adds the device identifier to a device list corresponding to the scene identifier.
In this embodiment, the mobile terminal reports the scene identifier of its own location and the device identifier of its own to the server. The server establishes a mapping relation between the scene identification and the device list in advance, wherein the device list is a set for recording mobile terminals contained in the same close-range scene. After receiving the device identifier and the scene identifier sent by the mobile terminal, the server queries a device list corresponding to the scene identifier, and further adds the device identifier to the device list to prepare for device discovery of the user.
In one embodiment, after the step of sending the scene identifier and the device identifier corresponding to the mobile terminal to the server in step 102, the method further includes: and setting the discovered authority parameters of the mobile terminal in the server, so that the server controls whether the equipment identifier corresponding to the mobile terminal in the equipment list is hidden according to the authority parameters.
In order to protect the privacy of the user, if the user does not want the mobile terminal carried by the user at any time to be discovered by other users around, the privacy setting can be performed on the application program of the mobile terminal. Specifically, the permission parameter discovered by the mobile terminal in the server is set by the mobile terminal, and further, the server controls whether the equipment identifier of the mobile terminal is hidden or not according to the permission parameter, so that the hidden mobile terminal is not discovered by other equipment. The permission parameters include, but are not limited to, at least one of: a time range in which the mobile terminal is discovered, a specified scene in which the mobile terminal is discovered, a specified user in which the mobile terminal is discovered, and the like. For example, the user sets the discovered right parameters of the mobile terminal as: the time range of the mobile terminal is found to be 9 to 12 pm, and the server hides the corresponding device identifier of the mobile terminal at other times except the time from 9 to 12 pm.
In one embodiment, before the step of receiving the wireless signal transmitted by the wireless signal transmitter in step 101, the method further comprises: identifying the behavior action of a user on the mobile terminal, and triggering a corresponding equipment scanning instruction according to the behavior action; wireless signal transmitters contained within a scene are scanned according to device scan instructions.
The mobile terminal is provided with an application program, and the mobile terminal scans the wireless signal transmitters existing in the surrounding environment by triggering a button used for scanning the wireless signal transmitters on the application program. In another embodiment, an acceleration sensor in the mobile terminal detects acceleration data generated by behavior actions of a user on the mobile terminal, and if the acceleration data meets a preset condition, a device scanning instruction is triggered to scan a wireless signal transmitter in a scene where the mobile terminal is located. For example, after a user enters a hotel, the user opens an application program and holds a mobile phone to shake, namely, the scanning function of a wireless signal transmitter in the hotel is automatically triggered.
In one embodiment, after the step of displaying the device list, step 105, the method further comprises: and establishing data communication with the equipment in the equipment list through the server.
In this embodiment, in order to adapt data communication to all close-range scenes, data communication is performed between the mobile terminal and the devices in the device list through the server. The server is used as a transfer station for data transmission between the mobile terminal and the equipment, and on one hand, the server forwards the data sent by the mobile terminal to the corresponding equipment, and on the other hand, the server forwards the data sent by other equipment to the mobile terminal.
For example, a wireless signal transmitter of a WIFI or bluetooth device is deployed in a coffee shop, after a user enters the coffee shop, a mobile phone of the user receives a WIFI signal or a bluetooth signal including a scene identifier of the coffee shop, the mobile phone sends the scene identifier and the mobile phone identifier of the coffee shop to a server, the server records that the user has arrived at the coffee shop, and the user can also find mobile phones of other users in the same coffee shop through the mobile phone and perform data communication (file transmission, text chat, and the like) with mobile phones of other users through the server.
In one embodiment, after displaying the device list in step 105, the method further comprises: the data is transmitted to a single device in the device list in a unicast manner or is broadcast to a plurality of devices in the device list in a multicast manner.
In this embodiment, in a short-distance scene supporting data broadcasting, data transmitted between the mobile terminal and the device does not pass through a transfer station of a server, and data communication between the device and the device can be directly performed, so that data delay caused by data transfer through the server is avoided. For example, DUP broadcast data is used in a wireless local area network environment or a bluetooth environment.
In one implementation, after displaying the device list in step 105, the method further comprises: and sending a notice of exiting the scene to the server, so that the server removes the device identifier corresponding to the mobile terminal in the device list according to the notice.
In one embodiment, the step of sending a notification of the exit scenario to the server comprises: and receiving an instruction of exiting the scene triggered by the user through the mobile terminal, and sending a notification of exiting the scene to the server according to the instruction.
In this embodiment, the user may autonomously select whether to exit the scene, and the user triggers an instruction to exit the scene by clicking a software menu button on an application program of the mobile terminal, or the user triggers an instruction to exit the scene by a certain operation action (shake-shake) on the mobile terminal. And generating a notice for exiting the scene according to the instruction, and sending the notice to the server. And finishing the work of exiting the scene of the mobile terminal by the server.
In one embodiment, the step of sending a notification of the exit scenario to the server comprises: and judging whether the wireless signal transmitted by the wireless signal transmitter is received again within a preset time range, and if not, sending a notice of exiting the scene to the server.
The number of the mobile terminals in the short-distance scene is dynamically changed, and in order to accurately record the mobile terminals included in the short-distance scene, the mobile terminals need to actively inform the server when exiting the short-distance scene, so that the server can update the device list in time. In this embodiment, if the mobile terminal does not receive the wireless signal for a preset time, it indicates that the mobile terminal has moved out of the effective range of the wireless signal transmitter in the short-distance scene, the mobile terminal sends a notification of exiting the scene to the server, and the server updates the device list.
In one embodiment, the method further comprises: sending a registration request of the wireless signal transmitter to the server, so that the server registers the mobile terminal as the wireless signal transmitter; and receiving the scene identification returned after the server successfully registers, and transmitting a wireless signal carrying the scene identification to the close-range scene.
In this embodiment, if a wireless signal transmitter is not deployed in a short-distance scene or the wireless signal transmitter cannot work normally, the mobile terminal may also serve as a temporary wireless signal transmitter. Specifically, the user sends a registration request of the wireless signal transmitter to the server through the mobile terminal, and the server completes the work of registering the mobile terminal as the wireless signal transmitter. The mobile terminal transmits a wireless signal carrying the scene identifier outwards by transmitting the wireless signal. Other mobile terminals in the same short-distance scene can also receive the wireless signals transmitted by the temporary wireless signal transmitter, and the purpose of mutual discovery among the devices is realized through the temporary wireless signal transmitter.
For example, in an outdoor commercial activity site, due to limited conditions, a WIFI device or a bluetooth device cannot be deployed, a user a turns on a bluetooth transmission function of a mobile phone of the user a, and changes the mobile phone of the user a into a bluetooth transmitter.
Fig. 3 is a timing diagram illustrating a device discovery method in a short-distance scenario according to an embodiment. In fig. 4, the mobile terminal 1, and the wireless signal transmitter are registered in the server in advance. When the user A carries the mobile terminal 1 and the user B carries the mobile terminal 2 to enter a close-range scene, the scene identification sent by the wireless signal transmitter is received. The mobile terminal 1 and the mobile terminal 2 can mutually discover each other, and can transmit data through the server, thereby facilitating communication between strange users.
As shown in fig. 4, in one embodiment, a device discovery method in a short-distance scene is provided, which is applied to a server; the method comprises the following steps:
step 403, receiving a device discovery request sent by the mobile terminal, where the device discovery request carries a scene identifier.
Step 404, responding to the device discovery request to obtain a device list corresponding to the scene identifier.
Step 405, the device list is sent to the mobile terminal.
In one embodiment, the device discovery method in the short-distance scene further includes: receiving a first registration request sent by a mobile terminal, and completing registration of the mobile terminal by storing the association relationship between a terminal identifier carried in the first registration request and user identity information; and receiving a second registration request sent by the wireless signal transmitter, and finishing the registration of the wireless signal transmitter by storing the scene identifier carried in the second registration request.
As shown in fig. 5, in an embodiment, before receiving the device discovery request sent by the mobile terminal in step 403, the method further includes:
step 401, receiving a scene identifier sent by a mobile terminal and a device identifier corresponding to the mobile terminal.
Step 402, adding the device identifier to a device list corresponding to the scene identifier.
In one embodiment, after adding the device identifier to the device list corresponding to the scene identifier in step 402, the method further includes: receiving a discovery permission parameter of a device identifier set by a user through a mobile terminal; and controlling whether the device identification in the device list is hidden or not according to the discovery authority parameter.
In one embodiment, after the device list is transmitted to the mobile terminal in step 405, the method further comprises: receiving a notice of exiting a scene sent by a mobile terminal; and removing the equipment identifier corresponding to the mobile terminal in the equipment list according to the notification.
In one embodiment, the method further comprises: receiving a registration request of a wireless signal transmitter sent by a mobile terminal; and registering the mobile terminal into a wireless signal transmitter according to the registration request, and transmitting the scene identifier to the mobile terminal, so that the mobile terminal transmits a wireless signal carrying the scene identifier to the close-range scene.
As shown in fig. 6, in one embodiment, a device discovery system in a short-distance scene is provided, which includes:
and a wireless signal transmitter 60, configured to transmit a wireless signal carrying a scene identifier to the short-distance scene, where the wireless signal carries the scene identifier.
A mobile terminal 62 for receiving the wireless signal transmitted by the wireless signal transmitter; sending the scene identification and the equipment identification corresponding to the mobile terminal to a server; sending a device discovery request to a server, wherein the device discovery request carries a scene identifier; receiving a response equipment discovery request sent by a server to obtain an equipment list corresponding to the scene identifier; and displaying the device list.
A server 64, configured to add the device identifier to the device list corresponding to the scene identifier; responding to the device discovery request to obtain a device list corresponding to the scene identifier; and sending the equipment list to the mobile terminal.
In one embodiment, the server 64 is further configured to receive a first registration request sent by the mobile terminal 62, and complete registration of the mobile terminal by storing an association relationship between the terminal identifier carried in the first registration request and the user identity information.
In one embodiment, the server 64 is further configured to receive a second registration request sent by the wireless signal transmitter 60, and complete the registration of the wireless signal transmitter by saving the scene identifier carried in the second registration request.
In one embodiment, the mobile terminal 62 is further configured to set a discovery permission parameter of the device identifier in the server 64; the server 64 is further arranged to control whether the device identifications in the device list are hidden according to the discovery right parameter.
In one embodiment, the mobile terminal 62 is further configured to send a notification of the exit scenario to the server; the server 64 is further configured to remove the device identifier corresponding to the mobile terminal in the device list according to the notification.
In one embodiment, the mobile terminal 62 is also configured to send a registration request for a wireless signal transmitter to the server 64; the server 64 is also used to register the mobile terminal as a wireless signal transmitter 60; the mobile terminal is also used for receiving the scene identification returned after the server is successfully registered and transmitting a wireless signal carrying the scene identification to the close-range scene.
As shown in fig. 7, in one embodiment, user a is entering into a close range scenario with mobile terminal 21, user B is carrying mobile terminal 22, and user C is carrying mobile terminal 23. The wireless signal transmitter 10 is configured to transmit a wireless signal carrying a scene identifier, and the mobile terminals 21, 22, and 23 respectively upload the device identifier and the scene identifier to the server 30. The users A, B and C may send device discovery requests to the server to obtain the mobile terminals that exist around themselves, respectively. And data communication can be performed between mobile terminals through the server 30 in a short-distance scene. The mobile terminals will receive the wireless signals respectively transmitted by the wireless signal transmitter 10. The mobile terminal sends the scene identifier and the corresponding device identifier to the server 30, respectively.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (18)

1. A device discovery method under a close-range scene is applied to a mobile terminal; the method comprises the following steps:
receiving a wireless signal transmitted by a wireless signal transmitter, wherein the wireless signal carries a scene identifier;
sending the scene identification and the equipment identification corresponding to the mobile terminal to a server, so that the server adds the equipment identification to an equipment list corresponding to the scene identification;
sending an equipment discovery request to a server, wherein the equipment discovery request carries a scene identifier corresponding to a close-range scene where a mobile terminal is located;
receiving a device list which is sent by the server and corresponds to the scene identifier and is obtained by responding to the device discovery request;
and displaying the equipment list.
2. The method according to claim 1, wherein after the step of sending the scene identifier and the device identifier corresponding to the mobile terminal to the server, the method further comprises:
and setting a discovery authority parameter of the equipment identifier in a server, so that the server controls whether the equipment identifier in the equipment list is hidden according to the discovery authority parameter.
3. The method of claim 1, further comprising, prior to the step of receiving the wireless signal transmitted by the wireless signal transmitter:
the method comprises the steps of identifying behavior actions of a user on the mobile terminal, and triggering corresponding equipment scanning instructions according to the behavior actions;
scanning wireless signal transmitters contained within a scene according to the device scanning instructions.
4. The method of claim 1, wherein after the step of displaying the device list, further comprising:
and establishing data communication with the equipment in the equipment list through the server.
5. The method of claim 1, further comprising, after the step of displaying the device list:
transmitting data to a single device in the device list in a unicast manner; or
Data is broadcast to a plurality of devices in the device list in a multicast manner.
6. The method of claim 1, further comprising, after the step of displaying the device list:
and sending a notice of exiting the scene to a server, so that the server removes the device identifier corresponding to the mobile terminal in the device list according to the notice.
7. The method of claim 6, wherein the step of sending a notification of the exit scenario to the server comprises:
receiving a scene exit instruction triggered by a user through a mobile terminal, and sending a scene exit notification to a server according to the scene exit instruction; or,
and judging whether the wireless signal transmitted by the wireless signal transmitter is received again within a preset time range, and if not, sending a notice of exiting the scene to the server.
8. The method of claim 1, further comprising:
sending a registration request of a wireless signal transmitter to a server, so that the server registers the mobile terminal as a wireless signal transmitter;
and receiving the scene identification returned after the server is successfully registered, and transmitting a wireless signal carrying the scene identification to a close-range scene.
9. A device discovery method under a close-range scene is applied to a server; the method comprises the following steps:
receiving a scene identifier sent by a mobile terminal and a device identifier corresponding to the mobile terminal;
adding the equipment identifier to an equipment list corresponding to the scene identifier;
receiving a device discovery request sent by a mobile terminal, wherein the device discovery request carries a scene identifier;
responding the device discovery request to obtain a device list corresponding to the scene identifier;
and sending the equipment list to a mobile terminal.
10. The method of claim 9, further comprising:
receiving a first registration request sent by a mobile terminal, and completing registration of the mobile terminal by storing the association relationship between a terminal identifier carried in the first registration request and user identity information;
and receiving a second registration request sent by the wireless signal transmitter, and finishing the registration of the wireless signal transmitter by storing the scene identifier carried in the second registration request.
11. The method according to claim 9, wherein after the step of adding the device identifier to the device list corresponding to the scene identifier, the method further comprises:
receiving a discovery permission parameter of a device identifier set by a user through a mobile terminal;
controlling whether the device identifier in the device list is hidden according to the discovery permission parameter.
12. The method of claim 9, wherein after the step of sending the device list to the mobile terminal, further comprising:
receiving a notice of exiting a scene sent by a mobile terminal;
and removing the equipment identifier corresponding to the mobile terminal in the equipment list according to the notification.
13. The method of claim 9, further comprising:
receiving a registration request of a wireless signal transmitter sent by a mobile terminal;
and registering the mobile terminal as a wireless signal transmitter according to the registration request, and transmitting the scene identifier to the mobile terminal, so that the mobile terminal transmits a wireless signal carrying the scene identifier to a close-range scene.
14. A system for device discovery in a close-range scenario, the system comprising:
the wireless signal transmitter is used for transmitting a wireless signal carrying a scene identifier to a close-range scene;
the mobile terminal is used for receiving a wireless signal transmitted by the wireless signal transmitter, and the wireless signal carries a scene identifier; sending the scene identification and the equipment identification corresponding to the mobile terminal to a server; sending a device discovery request to a server, wherein the device discovery request carries a scene identifier; receiving a device list which is sent by the server and corresponds to the scene identifier and is obtained by responding to the device discovery request; displaying the device list;
the server is used for adding the equipment identifier to an equipment list corresponding to the scene identifier; responding the device discovery request to obtain a device list corresponding to the scene identifier; and sending the equipment list to a mobile terminal.
15. The system according to claim 14, wherein the server is further configured to receive a first registration request sent by the mobile terminal, and complete registration of the mobile terminal by storing an association relationship between a terminal identifier carried in the first registration request and the user identity information;
the server is also used for receiving a second registration request sent by the wireless signal transmitter and finishing the registration of the wireless signal transmitter by storing the scene identifier carried in the second registration request.
16. The system according to claim 14, wherein the mobile terminal is further configured to set a discovery right parameter of the device identifier in the server; the server is further configured to control whether the device identifier in the device list is hidden according to the discovery permission parameter.
17. The system of claim 14, wherein the mobile terminal is further configured to send a notification of exiting the scene to the server; the server is further configured to remove the device identifier corresponding to the mobile terminal in the device list according to the notification.
18. The system of claim 14, wherein the mobile terminal is further configured to send a registration request of the wireless signal transmitter to a server; the server is also used for registering the mobile terminal as a wireless signal transmitter; the mobile terminal is further used for receiving the scene identification returned after the server is successfully registered, and transmitting the wireless signal carrying the scene identification to the close-range scene.
CN201510613471.4A 2015-09-23 2015-09-23 Method for discovering equipment and system under short distance scene Expired - Fee Related CN105338510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510613471.4A CN105338510B (en) 2015-09-23 2015-09-23 Method for discovering equipment and system under short distance scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510613471.4A CN105338510B (en) 2015-09-23 2015-09-23 Method for discovering equipment and system under short distance scene

Publications (2)

Publication Number Publication Date
CN105338510A CN105338510A (en) 2016-02-17
CN105338510B true CN105338510B (en) 2019-01-18

Family

ID=55288717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510613471.4A Expired - Fee Related CN105338510B (en) 2015-09-23 2015-09-23 Method for discovering equipment and system under short distance scene

Country Status (1)

Country Link
CN (1) CN105338510B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967161A (en) * 2017-11-17 2018-04-27 国云科技股份有限公司 A kind of method of automatic hiding desktop cloud USB device
CN115834202A (en) * 2020-05-27 2023-03-21 Oppo广东移动通信有限公司 Information processing method and device, equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141151A (en) * 2006-09-08 2008-03-12 三星电子株式会社 Member notification method for mobile terminals using short-range wireless communication
CN102332940A (en) * 2011-07-29 2012-01-25 上海合合信息科技发展有限公司 Data transmission method and system making use of Bluetooth wireless technology
CN102833855A (en) * 2012-09-23 2012-12-19 友泰讯科(北京)科技有限公司 Indoor positioning method and system
CN102868593A (en) * 2012-09-12 2013-01-09 北京百纳威尔科技有限公司 Method and terminal for information acquisition
CN104205989A (en) * 2013-03-14 2014-12-10 华为技术有限公司 Device discovering method, user equipment, server, and system
CN104902434A (en) * 2014-09-29 2015-09-09 腾讯科技(深圳)有限公司 Information processing method, information processing device and information processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013091145A1 (en) * 2011-12-22 2013-06-27 Intel Corporation Mechanism for employing and facilitating proximity and context-based deduction of global positioning of computing devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141151A (en) * 2006-09-08 2008-03-12 三星电子株式会社 Member notification method for mobile terminals using short-range wireless communication
CN102332940A (en) * 2011-07-29 2012-01-25 上海合合信息科技发展有限公司 Data transmission method and system making use of Bluetooth wireless technology
CN102868593A (en) * 2012-09-12 2013-01-09 北京百纳威尔科技有限公司 Method and terminal for information acquisition
CN102833855A (en) * 2012-09-23 2012-12-19 友泰讯科(北京)科技有限公司 Indoor positioning method and system
CN104205989A (en) * 2013-03-14 2014-12-10 华为技术有限公司 Device discovering method, user equipment, server, and system
CN104902434A (en) * 2014-09-29 2015-09-09 腾讯科技(深圳)有限公司 Information processing method, information processing device and information processing system

Also Published As

Publication number Publication date
CN105338510A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
US9408176B2 (en) Location and state information providing/inquiring system using WLAN/WPAN communication, log information providing/inquiring system and method, service server and customer terminal, location and state providing/inquiring method
US9602962B2 (en) Methods and systems for providing location based services in a venue using femtocells
CN102724630B (en) Location-based information is provided in local wireless zones
US9277524B2 (en) Cooperative localization of portable electronic devices
CN103458354B (en) A kind of location-based group's generation method, apparatus and system
JP4620054B2 (en) Portable terminal and wireless quality display method, program and system using the same
US20070184845A1 (en) Providing geographic context for applications and services on a wide area network
US8099100B2 (en) Communication control system
CN104160760A (en) Method for determining wireless device location based on proximate sensor devices
WO2002021873A1 (en) Location information providing apparatus, communication terminal, mobile communication terminal and location information providing method
CN116847279A (en) Distributed location determination in wireless networks
US20090124267A1 (en) Method and system for locating a lost and/or stolen phone based on supl network initiated, triggered by reverse-billed sms
WO2016057573A1 (en) Methods, systems, and computer readable media for using bluetooth beacon information to obtain and publish fine grained user location information
CN113132908B (en) Service management method and device
US10433101B2 (en) Location services in an obfuscated wireless network
JP2015521400A (en) Creating and sharing a private location database
US20130143584A1 (en) System and method for user control of location determination
JP2015231226A (en) Terminal for positional information service, wireless signal detector and server
CN105338510B (en) Method for discovering equipment and system under short distance scene
CN101147407A (en) Terminal, system and method for providing location information service by interworking between wlan and mobile communication network
JP5980721B2 (en) Information distribution system and information distribution method
KR101405452B1 (en) Method and apparatus for network connection by human interaction
KR101810670B1 (en) System for location based messaging service using environmental information and location based messaging service method using the same
EP4055923B1 (en) Distributed location determination in wireless networks
TWI851899B (en) A geo-fencing controller, a fence-pole device and a method for performing geo-fencing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190118

Termination date: 20200923