CN104581615A - Service delivery method and device - Google Patents

Service delivery method and device Download PDF

Info

Publication number
CN104581615A
CN104581615A CN201410826892.0A CN201410826892A CN104581615A CN 104581615 A CN104581615 A CN 104581615A CN 201410826892 A CN201410826892 A CN 201410826892A CN 104581615 A CN104581615 A CN 104581615A
Authority
CN
China
Prior art keywords
terminal
service
providing device
service providing
described service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410826892.0A
Other languages
Chinese (zh)
Other versions
CN104581615B (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 Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410826892.0A priority Critical patent/CN104581615B/en
Publication of CN104581615A publication Critical patent/CN104581615A/en
Application granted granted Critical
Publication of CN104581615B publication Critical patent/CN104581615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Abstract

The invention relates to a service delivery method and device, and belongs to the technical field of a computer. The method comprises following steps: service information of the service delivered by service delivery equipment is broadcasted through Bluetooth; a service request, broadcasted through the Bluetooth, of a terminal is received, and the service request is used for requesting the service indicated by the service information; the distance between the terminal and the service delivery equipment is calculated according to the service request; if the distance between the terminal and the service delivery equipment is larger than a distance threshold value, the service delivery to the terminal is rejected. The service delivery method and device can solve the problem that a terminal outside a place can access the WiFi (wireless fidelity) network and occupies network resources of the WiFi network, and can have the effect of resource saving.

Description

Service providing method and device
Technical field
The disclosure relates to field of computer technology, particularly a kind of service providing method and device.
Background technology
In order to attract client, the places such as most of coffee shop, dining room can provide free WiFi (Widely Fidelity, Wireless Fidelity) network, by WiFi network for client provides services on the Internet.
A kind of service providing method that correlation technique provides comprises: terminal sends WiFi connection request to service providing device, and service providing device obtains telephone number according to WiFi connection request to terminal, sends identifying code according to this telephone number to terminal; The information to be verified inputted according to identifying code is sent to service providing device by terminal; Service providing device, after determining that information to be verified is identical with identifying code, is connected with terminal, is provided services on the Internet by WiFi network to terminal.
Open people is realizing in process of the present disclosure, finds at least there is following defect in correlation technique: the coverage of WiFi network is greater than the scope in place usually, causes the terminal be positioned at outside place also can access WiFi network, takies the Internet resources of WiFi network.
Summary of the invention
For the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, present disclose provides a kind of service providing method and device.
According to the first aspect of disclosure embodiment, provide a kind of service providing method, in service providing device, comprising:
The information on services of the service provided by service providing device described in Bluetooth broadcast;
Receiving terminal is by the service request of Bluetooth broadcast, and described service request is for asking the described service indicated by described information on services;
The distance between described terminal and described service providing device is calculated according to described service request;
If the distance between described terminal and described service providing device is greater than distance threshold, then refuse to provide described service to described terminal.
Optionally, described method, also comprises:
Detect and whether there is the terminal of asking described service;
There is not the terminal of asking described service if detect, then close described service.
Optionally, whether described detection exists the terminal of asking described service, comprising:
If described service is predetermined network, then detects whether to exist and establish with described service providing device the terminal be connected by described predetermined network;
Do not exist if detect and establish with described service providing device the terminal be connected by described predetermined network, then determine to there is not the terminal of asking described service.
Optionally, described method, also comprises:
There is at least one if detect and establish with described service providing device the terminal be connected by described predetermined network, then detect at least one terminal described whether there is the terminal of asking described service;
If detect at least one terminal described there is not the terminal of asking described service, then determine to there is not the terminal of asking described service.
Optionally, describedly calculate distance between described terminal and described service providing device according to described service request, comprising:
Obtain the signal strength signal intensity of described service request, calculate the distance between described terminal and described service providing device according to described signal strength signal intensity; Or,
Obtain the terminal positional information carried in described service request, calculate the distance between described terminal and described service providing device according to the device location information of described service providing device and described terminal positional information.
According to the second aspect of disclosure embodiment, provide a kind of service providing apparatus, in service providing device, comprising:
Information broadcasting module, is configured to the information on services of the service provided by service providing device described in Bluetooth broadcast;
Request receiving module, is configured to the service request of receiving terminal by Bluetooth broadcast, and described service request is for the described service indicated by the described information on services of asking described information broadcasting module and broadcasting;
Distance calculation module, the described service request being configured to receive according to described request receiver module calculates the distance between described terminal and described service providing device;
Service providing module, when the distance be configured between described terminal and described service providing device is greater than distance threshold, refuses to provide described service to described terminal.
Optionally, described device, also comprises:
Service detection module, is configured to detect the terminal whether existing and ask described service;
Service closing module, is configured to, when described service detection module detects the terminal not existing and ask described service, close described service.
Optionally, described service detection module, comprising:
Whether terminal detection sub-module, is configured to when described service is predetermined network, detect to exist to establish with described service providing device the terminal be connected by described predetermined network;
First determines submodule, be configured to described terminal detection sub-module detect do not exist establish with described service providing device the terminal be connected by described predetermined network time, determine to there is not the terminal of asking described service.
Optionally, described service detection module, also comprises:
Service detection submodule, be configured to, when described terminal detection sub-module detects that there is at least one establishes with described service providing device the terminal be connected by described predetermined network, to detect at least one terminal described whether there is the terminal of asking described service;
Second determines submodule, when being configured to there is not the terminal of asking described service at least one terminal described in described service detection submodule detects, determines to there is not the terminal of asking described service.
Optionally, described distance calculation module, comprising:
First calculating sub module, is configured to the signal strength signal intensity obtaining described service request, calculates the distance between described terminal and described service providing device according to described signal strength signal intensity; Or,
Second calculating sub module, is configured to obtain the terminal positional information carried in described service request, calculates the distance between described terminal and described service providing device according to the device location information of described service providing device and described terminal positional information.
According to the third aspect of disclosure embodiment, provide a kind of service providing apparatus, in service providing device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The information on services of the service provided by service providing device described in Bluetooth broadcast;
Receiving terminal is by the service request of Bluetooth broadcast, and described service request is for asking the described service indicated by described information on services;
The distance between described terminal and described service providing device is calculated according to described service request;
If the distance between described terminal and described service providing device is greater than distance threshold, then refuse to provide described service to described terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The information on services of the service provided by Bluetooth broadcast service providing device; Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information; According to the distance between service request computing terminal and service providing device; If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service, can determine whether according to the distance between terminal and service providing device to provide service, the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, reach the effect of saving resource.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form a part for present disclosure specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the flow chart of a kind of service providing method according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of service providing method according to another exemplary embodiment.
Fig. 3 is the block diagram of a kind of service providing apparatus according to an exemplary embodiment.
Fig. 4 is the block diagram of a kind of service providing apparatus according to an exemplary embodiment.
Fig. 5 is a kind of block diagram for serving the device provided according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the flow chart of a kind of service providing method according to an exemplary embodiment, and this service providing method is applied in service providing device, and as shown in Figure 1, this service providing method comprises the following steps.
In a step 101, the information on services of the service provided by Bluetooth broadcast service providing device.
In a step 102, receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information.
In step 103, according to the distance between service request computing terminal and service providing device.
At step 104, if the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service.
In sum, the service providing method that the disclosure provides, the information on services of the service provided by Bluetooth broadcast service providing device; Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information; According to the distance between service request computing terminal and service providing device; If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service, can determine whether according to the distance between terminal and service providing device to provide service, the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, reach the effect of saving resource.
Fig. 2 is the flow chart of a kind of service providing method according to another exemplary embodiment, and this service providing method is applied in service providing device, and as shown in Figure 2, this service providing method comprises the steps.
In step 201, the information on services of the service provided by Bluetooth broadcast service providing device.
Service providing device is the equipment for providing service, and this service can be service or other service of WiFi network, and the present embodiment is not construed as limiting the service that service providing device provides.
Information on services is the information for describing the service that service providing device provides, e.g., and the mark, title etc. of service.
Service providing device has Bluetooth function, makes service providing device can by bluetooth period ground outwards broadcast service information.Wherein, the bluetooth in service providing device can be low-power consumption bluetooth, as iBeacon, iBeacon technology refers to the accurate microposition technology adopting low-power consumption Bluetooth technology to carry out.
In step 202., receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information.
Receive the information on services of service providing device broadcast in terminal after, the service that can provide according to this information on services determination service providing device, if user needs to use this service, then triggering terminal can pass through Bluetooth broadcast service request, this service request is used for the service indicated by request service information.Such as, when service is the service of WiFi network, service request is used for the service of the WiFi network that request service provides equipment to provide.Wherein, terminal has Bluetooth function, and this bluetooth can be iBeacon.
In step 203, obtain the signal strength signal intensity of service request, calculate the distance between terminal and service providing device according to signal strength signal intensity; Or, obtain the terminal positional information carried in service request, according to the device location information of service providing device and the distance between terminal positional information computing terminal and service providing device.
In order to avoid service providing device is all Terminal for service, causing resource scarcity, problem that service quality is lower, can screen, to guarantee service quality using the terminal of service.Because the screening conditions arranged terminal have a variety of, the present embodiment is that distance between service providing device and terminal is less than distance threshold and is described for screening conditions, does not limit other screening conditions.
Service providing device needs to obtain the distance between service providing device and terminal, wherein, according to the distance between service request computing terminal and service providing device, comprising: the signal strength signal intensity obtaining service request, calculate the distance between terminal and service providing device according to signal strength signal intensity; Or, obtain the terminal positional information carried in service request, according to the device location information of service providing device and the distance between terminal positional information computing terminal and service providing device.
In the first implementation, because the transmission range of information is far away, the decay of signal is more serious, therefore, can the transmission range of comformed information and signal quality be negative correlativing relation, now service providing device can obtain the signal quality of the service request of terminal broadcast, then according to the distance between this signal quality computing terminal and service providing device.Wherein, signal quality can use the numeric representation of RSSI (Received Signal StrengthIndication, received signal strength indicator), and also can use other numerical identity, the present embodiment is not construed as limiting.
In the second implementation, service providing device can obtain terminal positional information and the device location information of self of terminal respectively, according to terminal positional information and the distance between device location information computing terminal and service providing device.Wherein, terminal positional information separately to service providing device transmitting terminal positional information, also can be carried in service request and be broadcast to service providing device by terminal, to save the resource that transmission consumes.
In step 204, if the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service.
Service providing device is after getting terminal and service and providing the distance between setting, this distance is also needed to compare with distance threshold, if compare this distance to be greater than distance threshold, then determine that terminal is outside the scope of distance threshold, refuses to Terminal for service; If compare this distance to be less than distance threshold, then determine that terminal is in the scope of distance threshold, to Terminal for service.Terminal, after this service of use, can stop by Bluetooth broadcast service request, to save the resource of terminal.
Such as, when service is the service of WiFi network, if service providing device refusal is to Terminal for service, then can be that service providing device refusal terminal accesses this WiFi network; If service providing device is to Terminal for service, then can be that service providing device allows terminal to access this WiFi network.
It should be noted that, when service providing device gets signal quality, signal quality can be converted to terminal and service and distance between setting is provided, then determine the size of this Distance geometry distance threshold, thus determine whether to Terminal for service; Also can directly determine whether to Terminal for service according to signal quality.
Such as, when can measure in advance from distance threshold to service providing device broadcast service request, the signal quality of the service request that service providing device receives, this signal quality is defined as reference signal quality, obtain the signal quality of the service request of some terminal broadcast again, this signal quality and reference signal quality are compared, if compare this signal quality to be less than reference signal quality, then determines that the distance between terminal and service providing device is greater than distance threshold; If compare this signal quality to be greater than reference signal quality, then determine that the distance between terminal and service providing device is less than distance threshold.
Because service providing device provides service to need to consume certain resource, if terminal does not need to use service and service providing device is still providing service, the wasting of resources can be caused, therefore, whether service providing device can also determine whether the service of closing, with saving resource at request service according to terminal.
Optionally, the service providing method that the present embodiment provides, also comprises:
1) terminal that whether there is request service is detected;
2) if detect the terminal that there is not request service, then service is closed.
Wherein, detect the terminal that whether there is request service, comprising:
1) if service is predetermined network, then detect whether to exist and establish by predetermined network and service providing device the terminal be connected;
2) do not exist if detect and establish by predetermined network and service providing device the terminal be connected, then determine the terminal that there is not request service.
Detect whether there is the terminal of request service time, service providing device can detect whether exist can the terminal of request service, can the terminal of request service if do not exist, then determine the terminal that there is not request service.Wherein, can the terminal of request service be establish by predetermined network and service providing device the terminal be connected.Such as, when predetermined network is WiFi network, can the terminal of request service be establish the terminal that WiFi is connected with service providing device.
After service providing device and terminal establish be connected by predetermined network, service providing device can count the quantity of these terminals, then when detecting, whether service providing device can detect this quantity is zero, if this quantity is zero, then determine not exist and establish by predetermined network and service providing device the terminal be connected, now close service; If this quantity is non-vanishing, then determine that existence establishes by predetermined network and service providing device the terminal be connected.
Optionally, the service providing method that the present embodiment provides, also comprises:
1) there is at least one if detect and established the terminal be connected by predetermined network and service providing device, then detect at least one terminal and whether exist just in the terminal of request service;
2) do not exist just in the terminal of request service if detect at least one terminal, then determine the terminal that there is not request service.
Can the terminal of request service if there is at least one, then whether service providing device also needs to detect in this at least one terminal and exists just in the terminal of request service, if exist just in the terminal of request service in this at least one terminal, then determines not close service; If do not exist in this at least one terminal just in the terminal of request service, then close service.
Optionally, whether service providing device also can first detect exists just in the terminal of request service, do not exist just in the terminal of request service if detect, then detect whether to exist and establish by predetermined network and service providing device the terminal be connected, do not exist if detect and establish by predetermined network and service providing device the terminal be connected, then close service.
Wherein, terminal can close service immediately when detecting the terminal that there is not request service, service is closed when also can detect the terminal that there is not request service in a period of time, can also to detecting that the number of times of the terminal that there is not request service is added up, service is closed when this statistics number is greater than frequency threshold value, the problem of the service instability caused to avoid frequent switch service, improves service quality.
After closedown service, service providing device can also detect to exist and can open service, to improve the response speed of service after the terminal of request service.
It should be noted that, due to the Terminal for service that service providing device is within the scope of distance threshold, therefore, in order to avoid between terminal and service providing device apart from too far away, service providing device refusal is to the problem of Terminal for service, terminal according to the distance between information on services determination service providing device and terminal, and can also determine whether broadcast service request according to this distance.
Optionally, the method for the distance that terminal obtains between service providing device and terminal comprises: the signal strength signal intensity obtaining information on services, calculates the distance between service providing device and terminal according to signal strength signal intensity; Or, obtain in information on services the device location information of the service providing device of carrying, provide the distance between equipment and terminal according to the terminal positional information calculation services of device location information and terminal.
Wherein, terminal calculates the method for the distance between service providing device and terminal according to the signal strength signal intensity of information on services, with, service providing device calculates terminal according to the signal strength signal intensity of service request provides the method for the distance between setting identical with service; Terminal provides the distance between equipment and terminal according to device location information and terminal positional information calculation services, with, service providing device is identical with the method for the distance between service providing device with device location information computing terminal according to terminal positional information, does not repeat herein.
In sum, the service providing method that the disclosure provides, the information on services of the service provided by Bluetooth broadcast service providing device; Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information; According to the distance between service request computing terminal and service providing device; If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service, can determine whether according to the distance between terminal and service providing device to provide service, the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, reach the effect of saving resource.
In addition, by detecting the terminal that whether there is request service; If detect the terminal that there is not request service, then close service, when not having terminal request to provide service, initiatively can close service, solving the problem providing unwanted service to cause resource loss, reaching the effect of saving resource.
For the ease of understanding, the present embodiment is the service providing device in place with Wi-Fi hotspot function with service providing device, distance threshold is the coverage in dining room is that example is illustrated, then service providing device periodically outwards broadcasts iBeacon information on services, this iBeacon information on services is used to indicate the service that service providing device can provide WiFi network, if the terminal in dining room receives this iBeacon information on services, outwards iBeacon service request can be broadcasted under the triggering of user, service providing device is after receiving iBeacon service request, distance between computing terminal and this service providing device, if determine that terminal is in place according to this distance, the service of WiFi network is then provided to terminal, if the terminal outside dining room receives this iBeacon information on services, outwards iBeacon service request can be broadcasted under the triggering of user, service providing device is after receiving iBeacon service request, distance between computing terminal and this service providing device, if determine that terminal is outside place according to this distance, then refuse the service that WiFi network is provided to terminal.
Optionally, whether service providing device can also detect in dining room and have terminal and service providing device to establish WiFi to be connected, not have terminal and service providing device to establish WiFi and be connected, then close the service of WiFi network if detect in dining room; Have terminal and service providing device to establish WiFi if detect in dining room to be connected, then detect this terminal and whether use WiFi network, if detect this terminal not in use WiFi network, then service providing device can close the service of WiFi network, to save Internet resources and electricity.
Fig. 3 is the block diagram of a kind of service providing apparatus according to an exemplary embodiment, this service providing apparatus is applied in service providing device, as shown in Figure 3, this service providing apparatus comprises: information broadcasting module 301, request receiving module 302, distance calculation module 303 and service providing module 304.
This information broadcasting module 301, is configured to the information on services of the service provided by Bluetooth broadcast service providing device;
This request receiving module 302, is configured to the service request of receiving terminal by Bluetooth broadcast, and service request is used for the service indicated by information on services that solicited message broadcast module 301 is broadcasted;
This distance calculation module 303, is configured to the distance between the service request computing terminal that receives according to request receiving module 302 and service providing device;
This service providing module 304, when the distance be configured between terminal and service providing device is greater than distance threshold, refuses to Terminal for service.
In sum, the service providing apparatus that the disclosure provides, the information on services of the service provided by Bluetooth broadcast service providing device; Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information; According to the distance between service request computing terminal and service providing device; If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service, can determine whether according to the distance between terminal and service providing device to provide service, the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, reach the effect of saving resource.
Fig. 4 is the block diagram of a kind of service providing apparatus according to an exemplary embodiment, this service providing apparatus is applied in service providing device, as shown in Figure 4, this service providing apparatus comprises: information broadcasting module 401, request receiving module 402, distance calculation module 403 and service providing module 404.
This information broadcasting module 401, is configured to the information on services of the service provided by Bluetooth broadcast service providing device;
This request receiving module 402, is configured to the service request of receiving terminal by Bluetooth broadcast, and service request is used for the service indicated by information on services that solicited message broadcast module 401 is broadcasted;
This distance calculation module 403, is configured to the distance between the service request computing terminal that receives according to request receiving module 402 and service providing device;
This service providing module 404, when the distance be configured between terminal and service providing device is greater than distance threshold, refuses to Terminal for service.
Optionally, the service providing apparatus that the present embodiment provides, also comprises: service detection module 405 and service closing module 406;
This service detection module 405, is configured to detect the terminal that whether there is request service;
This service closing module 406, is configured to when service detection module 405 detects the terminal that there is not request service, closes service.
Optionally, service detection module 405, comprising: terminal detection sub-module 4051 and first determines submodule 4052;
Whether this terminal detection sub-module 4051, is configured to when service is predetermined network, detect to exist to establish by predetermined network and service providing device the terminal be connected;
This first determines submodule 4052, is configured to detect not exist in terminal detection sub-module 4052 establish the terminal that is connected constantly by predetermined network and service providing device, determines the terminal that there is not request service.
Optionally, service detection module 405, also comprises: service detection submodule 4053 and second determines submodule 4054;
Whether this service detection submodule 4053, is configured to when terminal detection sub-module 4051 detects that at least one establishes with service providing device the terminal be connected by predetermined network, detect at least one terminal and exist just in the terminal of request service;
This second determines submodule 4054, is configured to, when service detection submodule 4053 detects at least one terminal the terminal do not existed just at request service, determine the terminal that there is not request service.
Optionally, distance calculation module 403, comprising: the first calculating sub module 4031 or the second calculating sub module 4032;
This first calculating sub module 4031, is configured to the signal strength signal intensity obtaining service request, calculates the distance between terminal and service providing device according to signal strength signal intensity; Or,
This second calculating sub module 4032, is configured to obtain the terminal positional information carried in service request, according to the device location information of service providing device and the distance between terminal positional information computing terminal and service providing device.
In sum, the service providing apparatus that the disclosure provides, the information on services of the service provided by Bluetooth broadcast service providing device; Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information; According to the distance between service request computing terminal and service providing device; If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service, can determine whether according to the distance between terminal and service providing device to provide service, the terminal solved outside place also can access WiFi network, take the problem of the Internet resources of WiFi network, reach the effect of saving resource.
In addition, by detecting the terminal that whether there is request service; If detect the terminal that there is not request service, then close service, when not having terminal request to provide service, initiatively can close service, solving the problem providing unwanted service to cause resource loss, reaching the effect of saving resource.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of service providing apparatus, can realize the service providing method that the disclosure provides, and this service providing apparatus comprises: processor, memory for storage of processor executable instruction;
Wherein, processor is configured to:
The information on services of the service provided by Bluetooth broadcast service providing device;
Receiving terminal is by the service request of Bluetooth broadcast, and this service request is used for the service indicated by request service information;
According to the distance between service request computing terminal and service providing device;
If the distance between terminal and service providing device is greater than distance threshold, then refuse to this Terminal for service.
Fig. 5 is a kind of block diagram for service providing apparatus 500 according to an exemplary embodiment.Such as, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 5, device 500 can comprise following one or more assembly: processing components 502, memory 504, power supply module 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of I/O (I/O), sensor cluster 514, and communications component 516.
The integrated operation of the usual control device 500 of processing components 502, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 502 can comprise one or more processor 518 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 502 can comprise one or more module, and what be convenient between processing components 502 and other assemblies is mutual.Such as, processing components 502 can comprise multi-media module, mutual with what facilitate between multimedia groupware 508 and processing components 502.
Memory 504 is configured to store various types of data to be supported in the operation of device 500.The example of these data comprises the instruction of any application program for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memory 504 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 506 is device 500 provide electric power.Power supply module 506 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 500 and be associated.
Multimedia groupware 508 is included in the screen providing an output interface between described device 500 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 508 comprises a front-facing camera and/or post-positioned pick-up head.When device 500 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 510 is configured to export and/or input audio signal.Such as, audio-frequency assembly 510 comprises a microphone (MIC), and when device 500 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 504 further or be sent via communications component 516.In certain embodiments, audio-frequency assembly 510 also comprises a loud speaker, for output audio signal.
I/O interface 512 is for providing interface between processing components 502 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 514 comprises one or more transducer, for providing the state estimation of various aspects for device 500.Such as, sensor cluster 514 can detect the opening/closing state of device 500, the relative positioning of assembly, such as described assembly is display and the keypad of device 500, the position of all right checkout gear 500 of sensor cluster 514 or device 500 1 assemblies changes, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500.Sensor cluster 514 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 514 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 514 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 516 is configured to the communication being convenient to wired or wireless mode between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 516 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 516 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 504 of instruction, above-mentioned instruction can perform said method by the processor 518 of device 500.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice disclosure herein, will easily expect this other embodiment.The application is intended to contain this any modification, purposes or adaptations, and these modification, purposes or adaptations are followed this general principle and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and this true scope and spirit are pointed out by claim below.
Should be understood that, be originally not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can be carried out not departing from its scope.This scope is only limited by appended claim.

Claims (11)

1. a service providing method, is characterized in that, in service providing device, comprising:
The information on services of the service provided by service providing device described in Bluetooth broadcast;
Receiving terminal is by the service request of Bluetooth broadcast, and described service request is for asking the described service indicated by described information on services;
The distance between described terminal and described service providing device is calculated according to described service request;
If the distance between described terminal and described service providing device is greater than distance threshold, then refuse to provide described service to described terminal.
2. method according to claim 1, is characterized in that, described method, also comprises:
Detect and whether there is the terminal of asking described service;
There is not the terminal of asking described service if detect, then close described service.
3. method according to claim 2, is characterized in that, whether described detection exists the terminal of asking described service, comprising:
If described service is predetermined network, then detects whether to exist and establish with described service providing device the terminal be connected by described predetermined network;
Do not exist if detect and establish with described service providing device the terminal be connected by described predetermined network, then determine to there is not the terminal of asking described service.
4. method according to claim 3, is characterized in that, described method, also comprises:
There is at least one if detect and establish with described service providing device the terminal be connected by described predetermined network, then detect at least one terminal described whether there is the terminal of asking described service;
If detect at least one terminal described there is not the terminal of asking described service, then determine to there is not the terminal of asking described service.
5. the method according to any one of Claims 1-4, is characterized in that, describedly calculates distance between described terminal and described service providing device according to described service request, comprising:
Obtain the signal strength signal intensity of described service request, calculate the distance between described terminal and described service providing device according to described signal strength signal intensity; Or,
Obtain the terminal positional information carried in described service request, calculate the distance between described terminal and described service providing device according to the device location information of described service providing device and described terminal positional information.
6. a service providing apparatus, is characterized in that, in service providing device, comprising:
Information broadcasting module, is configured to the information on services of the service provided by service providing device described in Bluetooth broadcast;
Request receiving module, is configured to the service request of receiving terminal by Bluetooth broadcast, and described service request is for the described service indicated by the described information on services of asking described information broadcasting module and broadcasting;
Distance calculation module, the described service request being configured to receive according to described request receiver module calculates the distance between described terminal and described service providing device;
Service providing module, when the distance be configured between described terminal and described service providing device is greater than distance threshold, refuses to provide described service to described terminal.
7. device according to claim 6, is characterized in that, described device, also comprises:
Service detection module, is configured to detect the terminal whether existing and ask described service;
Service closing module, is configured to, when described service detection module detects the terminal not existing and ask described service, close described service.
8. device according to claim 7, is characterized in that, described service detection module, comprising:
Whether terminal detection sub-module, is configured to when described service is predetermined network, detect to exist to establish with described service providing device the terminal be connected by described predetermined network;
First determines submodule, be configured to described terminal detection sub-module detect do not exist establish with described service providing device the terminal be connected by described predetermined network time, determine to there is not the terminal of asking described service.
9. device according to claim 8, is characterized in that, described service detection module, also comprises:
Service detection submodule, be configured to, when described terminal detection sub-module detects that there is at least one establishes with described service providing device the terminal be connected by described predetermined network, to detect at least one terminal described whether there is the terminal of asking described service;
Second determines submodule, when being configured to there is not the terminal of asking described service at least one terminal described in described service detection submodule detects, determines to there is not the terminal of asking described service.
10. the device according to any one of claim 6 to 9, is characterized in that, described distance calculation module, comprising:
First calculating sub module, is configured to the signal strength signal intensity obtaining described service request, calculates the distance between described terminal and described service providing device according to described signal strength signal intensity; Or,
Second calculating sub module, is configured to obtain the terminal positional information carried in described service request, calculates the distance between described terminal and described service providing device according to the device location information of described service providing device and described terminal positional information.
11. 1 kinds of service providing apparatus, is characterized in that, in service providing device, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The information on services of the service provided by service providing device described in Bluetooth broadcast;
Receiving terminal is by the service request of Bluetooth broadcast, and described service request is for asking the described service indicated by described information on services;
The distance between described terminal and described service providing device is calculated according to described service request;
If the distance between described terminal and described service providing device is greater than distance threshold, then refuse to provide described service to described terminal.
CN201410826892.0A 2014-12-25 2014-12-25 service providing method and device Active CN104581615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410826892.0A CN104581615B (en) 2014-12-25 2014-12-25 service providing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410826892.0A CN104581615B (en) 2014-12-25 2014-12-25 service providing method and device

Publications (2)

Publication Number Publication Date
CN104581615A true CN104581615A (en) 2015-04-29
CN104581615B CN104581615B (en) 2018-05-29

Family

ID=53096626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410826892.0A Active CN104581615B (en) 2014-12-25 2014-12-25 service providing method and device

Country Status (1)

Country Link
CN (1) CN104581615B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827583A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Method and device for access to mobile data network
CN105848154A (en) * 2016-06-07 2016-08-10 醴陵恒茂电子科技有限公司 Method for carrying out wireless identity authentication based on RSSI ranging
CN106102088A (en) * 2016-06-01 2016-11-09 上海斐讯数据通信技术有限公司 The connection control method of a kind of wireless router and wireless router
WO2018010595A1 (en) * 2016-07-14 2018-01-18 中兴通讯股份有限公司 Network access method, apparatus and system
WO2018107952A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Method and device for wireless connection
CN111770094A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Access control method of wireless network and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1361766A2 (en) * 2002-05-06 2003-11-12 Nokia Corporation Service provision
EP1794951A1 (en) * 2004-09-29 2007-06-13 Symbol Technologies, Inc. Object location based security using rfid
CN101843146A (en) * 2007-09-26 2010-09-22 符号技术有限公司 Systems and methods for controlling mobile unit access to network services based on its location
CN103188023A (en) * 2013-03-19 2013-07-03 天脉聚源(北京)传媒科技有限公司 Distance measuring method and system, and application method
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1361766A2 (en) * 2002-05-06 2003-11-12 Nokia Corporation Service provision
EP1794951A1 (en) * 2004-09-29 2007-06-13 Symbol Technologies, Inc. Object location based security using rfid
EP1794951B1 (en) * 2004-09-29 2010-07-14 Symbol Technologies, Inc. Object location based security using rfid
CN101843146A (en) * 2007-09-26 2010-09-22 符号技术有限公司 Systems and methods for controlling mobile unit access to network services based on its location
CN103188023A (en) * 2013-03-19 2013-07-03 天脉聚源(北京)传媒科技有限公司 Distance measuring method and system, and application method
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827583A (en) * 2015-09-30 2016-08-03 维沃移动通信有限公司 Method and device for access to mobile data network
CN106102088A (en) * 2016-06-01 2016-11-09 上海斐讯数据通信技术有限公司 The connection control method of a kind of wireless router and wireless router
CN105848154A (en) * 2016-06-07 2016-08-10 醴陵恒茂电子科技有限公司 Method for carrying out wireless identity authentication based on RSSI ranging
WO2018010595A1 (en) * 2016-07-14 2018-01-18 中兴通讯股份有限公司 Network access method, apparatus and system
CN107645789A (en) * 2016-07-14 2018-01-30 中兴通讯股份有限公司 The method, apparatus and system of networking
WO2018107952A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Method and device for wireless connection
CN111770094A (en) * 2020-06-29 2020-10-13 Oppo广东移动通信有限公司 Access control method of wireless network and related device

Also Published As

Publication number Publication date
CN104581615B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN104540184A (en) Equipment networking method and device
CN104581615A (en) Service delivery method and device
CN104332012A (en) Anti-theft method and device of terminal device
CN105094957A (en) Video conversation window control method and apparatus
CN105407473A (en) Wireless local area network discovery method and apparatus
CN104836924A (en) Number marking method and device
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN104902527A (en) Communication network switching method and communication network switching device
CN104580730A (en) Alarm clock prompting method and device
CN104468971A (en) Method and device for connecting playing source
CN105430185A (en) Method, apparatus and device for information reminding
CN104301308A (en) Communication control method and device
CN104601204A (en) Method and device for detecting triggering condition
CN105262512A (en) Method and device for host switching
CN105376144A (en) Information processing method and device
CN105301183A (en) Air quality detecting method and device
CN105187622A (en) Information prompt method and information prompt device
CN104159283A (en) Method and device for controlling message transmission
CN105261209A (en) Passenger flow volume determining method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105517078A (en) Network connection switching method and device
CN104918253A (en) Method and device for identifying fake base station and terminal device
CN105282867A (en) Network connection method and device
CN105101078A (en) Information prompting method, terminal and server
CN104811904A (en) Contact setting method and device

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