[go: up one dir, main page]

CN108882207A - The implementation method and device of near field Trigger Function - Google Patents

The implementation method and device of near field Trigger Function Download PDF

Info

Publication number
CN108882207A
CN108882207A CN201710317973.1A CN201710317973A CN108882207A CN 108882207 A CN108882207 A CN 108882207A CN 201710317973 A CN201710317973 A CN 201710317973A CN 108882207 A CN108882207 A CN 108882207A
Authority
CN
China
Prior art keywords
default
electronic equipment
protection scope
function
trigger
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
CN201710317973.1A
Other languages
Chinese (zh)
Other versions
CN108882207B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710317973.1A priority Critical patent/CN108882207B/en
Priority to PCT/CN2018/085018 priority patent/WO2018205860A1/en
Publication of CN108882207A publication Critical patent/CN108882207A/en
Application granted granted Critical
Publication of CN108882207B publication Critical patent/CN108882207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C1/00Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
    • G07C1/10Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides the implementation method and device of a kind of near field Trigger Function, and this method may include:Determine whether electronic equipment enters the default protection scope around beacon equipment;Within the period that the electronic equipment is continuously in the default protection scope, when the electronic equipment first enters default trigger range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.It, can be in the lower situation of ranging precision by the technical solution of the application, it is ensured that the smooth realization of near field Trigger Function, and avoid the false triggering to the near field Trigger Function.

Description

The implementation method and device of near field Trigger Function
Technical field
This application involves near field communication technology field more particularly to a kind of implementation methods and device of near field Trigger Function.
Background technique
In the related art, it with the continuous development and application of the near field communication technologies such as bluetooth, ZigBee, is greatly promoted The convenience of people's daily life.For example, for traditional Time Attendance Device, administrative staff need in Time Attendance Device On be configured operation, such as by the data input Time Attendance Device etc. of member of community, but the interaction side that Time Attendance Device is supported Formula is very single, operating function is limited, causes setting up procedure extremely cumbersome and very long, and mistake easily occurs.
For this purpose, being added to blue tooth communication function in the related technology for Time Attendance Device, Time Attendance Device is launched outward Bluetooth signal near field range, and administrative staff by using electronic equipments such as mobile phone, plates receive the Bluetooth signal, are based on Bluetooth signal intensity determines the distance between the electronic equipment and Time Attendance Device, and is less than default triggering distance in the distance When, active ejector pin allows administrative staff high on an electronic device the setting page of Time Attendance Device on an electronic device Realize that the setting to Time Attendance Device operates in effect ground.
But there is also certain defects for the near field communication technologies such as above-mentioned bluetooth.For example, Time Attendance Device is launching outward indigo plant When tooth signal, the boundary of Bluetooth signal is easy to produce fluctuation, and distinct electronic apparatuses are for the induction sensitivity of Bluetooth signal There is also differents, cause the electronic equipment of administrative staff that can not precisely, steadily identify above-mentioned distance.Especially It is, when the distance that electronic equipment is measured fluctuates near above-mentioned default triggering distance repeatedly, even if administrative staff are practical It is upper to be located near Time Attendance Device, it is also possible to cause electronic equipment be mistaken for the administrative staff it is repeatedly close, far from Time Attendance Device, make It obtains electronic equipment and pops up the above-mentioned setting page repeatedly, influence the setting operation of administrative staff, the efficiency drop for causing setting to operate Low or setting mistake.
Summary of the invention
In view of this, the application provides the implementation method and device of a kind of near field Trigger Function, it can be in ranging precision In lower situation, it is ensured that the smooth realization of near field Trigger Function, and avoid the false triggering to the near field Trigger Function.
To achieve the above object, it is as follows to provide technical solution by the application:
According to a first aspect of the present application, a kind of implementation method of near field Trigger Function is proposed, including:
Determine whether electronic equipment enters the default protection scope around beacon equipment;
Within the period that the electronic equipment is continuously in the default protection scope, when the electronic equipment for the first time into When entering default trigger range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
According to a second aspect of the present application, a kind of realization device of near field Trigger Function is proposed, including:
Determination unit, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit, within the period that the electronic equipment is continuously in the default protection scope, when the electronics When equipment first enters default trigger range, preset function is triggered, wherein the default protection scope is greater than the default triggering Range.
According to the third aspect of the application, a kind of implementation method of near field Trigger Function is proposed, including:
Determine whether electronic equipment enters the default protection scope around beacon equipment;
It is in the default protection scope in the electronic equipment and when the electronic equipment first enters default touching When sending out range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
According to the fourth aspect of the application, a kind of realization device of near field Trigger Function is proposed, including:
Determination unit, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit, the electronic equipment be in the default protection scope and when the electronic equipment for the first time into When entering default trigger range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
According to the 5th of the application the aspect, a kind of implementation method of near field Trigger Function is proposed, including:
Determine whether electronic equipment enters the default protection scope around Time Attendance Device;
It is in the default protection scope in the electronic equipment and when the electronic equipment first enters default touching When sending out range, the function set interface for the Time Attendance Device is shown on the electronic equipment, wherein the default guarantor It protects range and is greater than the default trigger range.
According to the 6th of the application the aspect, a kind of realization device of near field Trigger Function is proposed, including:
Determination unit, determines whether electronic equipment enters the default protection scope around Time Attendance Device;
Display unit, the electronic equipment be in the default protection scope and when the electronic equipment for the first time into When entering default trigger range, the function set interface for the Time Attendance Device is shown on the electronic equipment, wherein institute Default protection scope is stated greater than the default trigger range.
By above technical scheme as it can be seen that the application around beacon equipment by the way that default protection scope is arranged simultaneously and presets Trigger range, and only within the period that electronic equipment is continuously in default protection scope, first enter default triggering model Preset function is triggered when enclosing, even if can also reduce or eliminate when so that numerical fluctuations occurring for the distance that electronic equipment detects The erroneous judgement of electronic equipment avoids triggering preset function relevant to beacon equipment repeatedly.
Detailed description of the invention
Fig. 1 is a kind of configuration diagram for near-field communications system that one exemplary embodiment of the application provides.
Fig. 2 is the configuration diagram for another near-field communications system that one exemplary embodiment of the application provides.
Fig. 3 is a kind of flow chart of the implementation method near field Trigger Function that one exemplary embodiment of the application provides.
Fig. 4 is the flow chart that a kind of pair of Time Attendance Device that one exemplary embodiment of the application provides is configured.
Fig. 5 is a kind of schematic diagram for Time Attendance Device that one exemplary embodiment of the application provides.
Fig. 6 is that the relative position between a kind of mobile phone and Time Attendance Device that one of one exemplary embodiment of the application provides is closed The schematic diagram of system.
Fig. 7 is the relative position between another mobile phone and Time Attendance Device that one of one exemplary embodiment of the application provides The schematic diagram of relationship.
Fig. 8 is the relative position between another mobile phone and Time Attendance Device that one of one exemplary embodiment of the application provides The schematic diagram of relationship.
Fig. 9 is a kind of schematic diagram of the display interface for user client that one exemplary embodiment of the application provides.
Figure 10 is the relative position between a kind of the two of one exemplary embodiment of the application mobile phone and Time Attendance Device provided The schematic diagram of relationship.
Figure 11 is the schematic diagram of the display interface for another user client that one exemplary embodiment of the application provides.
Figure 12 is the flow chart of the implementation method for another near field Trigger Function that one exemplary embodiment of the application provides.
Figure 13 is the flow chart of the implementation method for another near field Trigger Function that one exemplary embodiment of the application provides.
Figure 14 is the structural schematic diagram for a kind of electronic equipment that one exemplary embodiment of the application provides.
Figure 15 is a kind of block diagram of the realization device near field Trigger Function that one exemplary embodiment of the application provides.
Figure 16 is the block diagram of the realization device for another near field Trigger Function that one exemplary embodiment of the application provides.
Figure 17 is the block diagram of the realization device for another near field Trigger Function that one exemplary embodiment of the application provides.
Specific embodiment
Fig. 1 is a kind of configuration diagram for near-field communications system that one exemplary embodiment of the application provides.Such as Fig. 1 institute Show, which may include the electronic equipments such as the beacon equipments such as Time Attendance Device 11 and mobile phone 12.
Time Attendance Device 11 is based near field communication technology and launches outward near-field signals.For example, when using Bluetooth technology, near field letter Number be Bluetooth signal;Certainly, other near field communication technologies such as ZigBee, WIFI, RFID can be applied equally to this Shen Please, the application limits not to this.It may include the equipment identification information of Time Attendance Device 11 in near-field signals, it is close to show The sender of field signal is the Time Attendance Device 11.Beacon equipment is by emitting the electronics such as above-mentioned near-field signals, instruction mobile phone 12 Equipment triggers preset function relevant to the beacon equipment after receiving the near-field signals, such as related to Time Attendance Device 11 Preset function may include attendance checking function, Time Attendance Device setting function etc.;And Time Attendance Device 11 is only can be used one The beacon equipment of seed type, such as beacon equipment can also be access control equipment, then preset function relevant to the access control equipment can To include the setting function etc. of gate inhibition's open function, access control equipment, certain the application is not to the device type of the beacon equipment It is limited.Beacon equipment can run the program of the beacon equipment side of a certain application, to realize the related service function of the application Can, for example when the program of beacon equipment operation mobile group office platform, can be implemented as mobile group office The beacon equipment client of platform allows the beacon equipment 11 to emit near field letter under the control of the beacon equipment client Number.
Mobile phone 12 is a type of electronic equipment that user can be used.In fact, user obviously can also use The electronic equipment of such as following types:Tablet device, laptop, palm PC (PDAs, Personal Digital Assistants), wearable device (such as smart glasses, smart watches) etc., the application limits not to this.It is running In the process, which can run the program of the client-side of a certain application, to realize the related service function of the application, For example when the program of electronic equipment operation mobile group office platform, it can be implemented as the mobile group office platform User client so that electric equipment can detecte the distance between beacon equipment, triggering it is relevant with beacon equipment preset Function etc..
Meanwhile it being also based near field communication technology between beacon equipment and electronic equipment and establishes wireless telecommunications connection, electricity Sub- equipment can be communicated wirelessly based on the wireless telecommunications connection with beacon equipment.For example, when relevant to Time Attendance Device 11 When preset function is attendance checking function, mobile phone 12 can be by the wireless telecommunications between Time Attendance Device 11, so that Time Attendance Device 11 It can recorde lower corresponding attendance successful information;Alternatively, when preset function relevant to Time Attendance Device 11 is setting function, hand Setting result can be sent to Time Attendance Device 11 by machine 12, so that Time Attendance Device 11 is matched according to setting result to function itself is carried out It sets.
Wherein, (beacon on beacon equipment is equally applicable to by taking the user client of mobile enterprise office platform as an example Other clients such as device clients), the application program of the user client can be pre- installed appropriately the electronics such as mobile phone 12 and set It is standby upper, allow the user client to be activated and run on the mobile phone 12;Certainly, when using such as HTML5 technology Online when " client ", without installing corresponding application program on mobile phone 12, can be obtained and running the user client.
Fig. 2 is the configuration diagram for another near-field communications system that one exemplary embodiment of the application provides.Such as Fig. 2 institute Show, which may include the beacon equipments such as the electronic equipments such as server 21, network 22, mobile phone 23, Time Attendance Device 24.
Server 21 can be able to be mainframe cluster for the physical server comprising a unique host or the server 21 The virtual server of carrying or the server 21 can be Cloud Server.In the process of running, server 21 can run certain The program of the server side of one application, to realize the related service function of the application, such as when the server 21 runs mobile When the program of group's office platform, the server-side of the mobile group office platform can be implemented as.
Network 22 may include a plurality of types of wired or wireless networks.In one embodiment, which may include Public Switched Telephone Network (Public Switched Telephone Network, PSTN) and internet.The electronics such as mobile phone 23 The beacon equipments such as equipment, Time Attendance Device 24 can carry out communication interaction by the network 22 and server 21 respectively.
Therefore, the electronic equipments such as mobile phone 23 not necessarily must establish wireless telecommunications with the equal beacon equipments of Time Attendance Device 24 and connect, It only needs to launch outward near-field signals by beacon equipment, electronic equipment receives the near-field signals.By taking Time Attendance Device 24 as an example, When preset function relevant to Time Attendance Device 24 is setting function, mobile phone 23 can be uploaded to by network 22 by result is arranged Server 21, and result or configuration-direct based on the setting result will be arranged by server 21, attendance is pushed to by network 22 Equipment 24, to carry out functional configuration to itself according to the setting result or configuration-direct by Time Attendance Device 24.
It is to be noted that:Mobile enterprise office platform in the application is a kind of comprehensive platform, not only can be real Existing communication function is also used as the integrated function platform of many other functions, for example examination & approval event (is such as asked for leave, done The application of public property product, finance etc. examine event), the processing of attendance event, task events, the enterprises event such as log event, then For example the processing for the enterprise externals event such as make a reservation, purchase, the application limit not to this.For example, above-mentioned Time Attendance Device 11 or Time Attendance Device 24 on the beacon equipment client of mobile enterprise office platform that runs attendance checking function may be implemented, that is, locate Manage above-mentioned attendance event.
More specifically, mobile enterprise office platform can be carried on instant messaging application in the related technology, such as Enterprise instant communication (Enterprise Instant Messaging, EIM) application, such as Skype For Deng.Certainly, instant communication function is only that the office of mobile enterprise is flat One of the communication function that platform is supported, enterprise's office platform can also realize more such as above-mentioned other functions, herein no longer It repeats.
It is main during implementing the technical solution of the application based on above-mentioned near-field communications system shown in fig. 1 or fig. 2 It is related to after beacon equipment launches near-field signals, reception and treatment process of the electronic equipment to the near-field signals, below It is described in conjunction with processing logic of the Fig. 3 to the electronic equipment.
Fig. 3 is a kind of flow chart of the implementation method near field Trigger Function that one exemplary embodiment of the application provides.Such as Shown in Fig. 3, this method is applied on electronic equipment, may comprise steps of:
Step 302, determine whether electronic equipment enters the default protection scope around beacon equipment.
In the present embodiment, electronic equipment can receive the near-field signals of the beacon equipment transmitting, and according to described close The signal strength of field signal determines the distance between the electronic equipment and the beacon equipment, and the distance and the letter Number intensity is negatively correlated;Then, according to the distance and the corresponding guard space of the default protection scope, the default touching The corresponding triggering distance of range is sent out, determines whether the electronic equipment enters the default protection scope or the default triggering model It encloses.Wherein, signal strength can be RSSI (the Received Signal Strength that electronic equipment measurement obtains Indication, the instruction of received signal intensity) value, and according to the reduction formula between predefined RSSI value and distance, meter Calculation obtains the distance between electronic equipment and beacon equipment.
In the present embodiment, since default protection scope is greater than default trigger range, default protection scope is equivalent to pre- If the periphery of trigger range forms a circle " safe range ", even if then the distance that electronic equipment detects fluctuates, as long as The fluctuation would not impact actual process without departing from default protection scope, for example electronic equipment will not touch repeatedly Send out preset function relevant to beacon equipment.
Wherein, when user (such as administrative staff) needs to trigger preset function relevant to beacon equipment really, necessarily will Electronic equipment is placed in default trigger range, thus may insure the phase gap between default protection scope and default trigger range From not less than the maximum fluctuation distance for the distance that electronic equipment detects, that is, can ensure that the numerical fluctuations of the distance completely will not The erroneous judgement of electronic equipment is caused, electronic equipment is avoided to trigger preset function relevant to beacon equipment repeatedly completely.Such as, it is assumed that It is the border circular areas of radius that default protection scope, which is by the center of circle, r1 of the installation site of beacon equipment, preset trigger range be with The border circular areas that the installation site of beacon equipment is the center of circle, r2 is radius, when the issuable maximum fluctuation distance of electronic equipment When for k, it is only necessary to ensure r1-r2 >=k, that is, can ensure that electronic equipment is practical and will not be fluctuated when not yet entering default protection scope to In default trigger range, default protection scope will not be fluctuated out when being physically located in default trigger range, prevent electronic equipment from judging by accident The preset function for causing repeated trigger above-mentioned to reenter default protection scope.
It is to be noted that:In a practical situation, induction sensitivity of the electronic equipment of each model for near-field signals There is some difference, and making it for the measurement result of the distance between itself and beacon equipment, there is also certain deviations.So, it is The electronic equipment of all models is adapted to, only needs rationally to be arranged above-mentioned default protection scope in the technical solution of the application With default trigger range, such as ensure above-mentioned difference distance not less than the issuable maximum fluctuation of all electronic equipments away from From,
Step 304, within the period that the electronic equipment is continuously in the default protection scope, when the electronics is set For when first entering default trigger range, preset function is triggered.
In the present embodiment, can be judged by following manner the electronic equipment during the period of time whether for the first time into Enter the default trigger range:When the electronic equipment is externally entering the default protection scope, by function triggering state It is set as triggerable;When the electronic equipment enter the default trigger range when, if the function triggering state be it is triggerable, Then determine that the electronic equipment first enters the default trigger range during the period of time, and by the function triggering state Being switched to not can trigger, so that it is guaranteed that electronic equipment is continuously in the period in default protection scope every time, electronic equipment Preset function relevant to beacon equipment all can be only triggered when first entering default trigger range, avoid the preset function Repeated trigger.
In the present embodiment, preset function can be triggered by electronic equipment, it can also be default by what is run on electronic equipment The application triggers preset function;For example, the default application program can be the client of above-mentioned mobile enterprise office platform Hold program.
In the present embodiment, preset function may include function relevant to beacon equipment, and certain the application is not to this It is limited;For example, associated function can be not present in beacon equipment, and it is only used for triggering above-mentioned preset function.It is touching When sending out the preset function, electronic equipment can show the function triggering interface for the beacon equipment, such as when the beacon When equipment is Time Attendance Device, which, which triggers interface, can trigger interface for attendance, in order to which user is by triggering attendance touching It sends out interface and completes attendance operation.Alternatively, electronic equipment can show the function set interface for beacon equipment, to this Beacon equipment carries out function setting, for example when the beacon equipment is Time Attendance Device, which can be used for inputting Need the information of the personnel of attendance.
In the present embodiment, it when the electronic equipment is in the default protection scope, can be set in the electronics The standby upper entrance option for showing preset function relevant to the beacon equipment;Wherein, when detecting for the entrance option User's trigger action when, can be between starting state and abort state to the default function relevant with the beacon equipment It can be carried out switching control.So, even if (for example user misoperation, electronic equipment are fluctuated to default triggering model due to some It is automatically closed except enclosing) and preset function relevant to the beacon equipment or its operation interface is caused to be closed, user It, to realize to the quick calling of the preset function or its operation interface, can also be helped by being triggered to the entrance option In the operating efficiency for promoting user.
By above technical scheme as it can be seen that the application around beacon equipment by the way that default protection scope is arranged simultaneously and presets Trigger range, and only within the period that electronic equipment is continuously in default protection scope, first enter default triggering model Preset function is triggered when enclosing, even if can also reduce or eliminate when so that numerical fluctuations occurring for the distance that electronic equipment detects The erroneous judgement of electronic equipment avoids triggering preset function relevant to beacon equipment repeatedly.
In order to make it easy to understand, being answered below with reference to the Technical Architecture of near-field communications system shown in Fig. 2 with enterprise instant communication For " wechat enterprise ", the technical solution of the application is illustrated.It is assumed that operation has the user of wechat enterprise on mobile phone 23 Operation has that the beacon equipment client of wechat enterprise, operation has wechat enterprise on server 21 in client, Time Attendance Device 24 Server-side, wherein the user client on mobile phone 23 is logged in the register account number of different users respectively, such as steps on mobile phone 23 Record has the register account number of administrative staff, so that mobile phone 23 is configured as the corresponding management equipment of administrative staff.Based on the application's Technical solution, administrative staff can carry out the operation such as function setting to Time Attendance Device 24 by mobile phone 23, below with reference to Fig. 4 to this Detailed process is described in detail.
Fig. 4 is the flow chart that a kind of pair of Time Attendance Device that one exemplary embodiment of the application provides is configured.Such as Fig. 4 institute Show, which may comprise steps of:
Step 402, Time Attendance Device 24 sends activation code acquisition request to server 21.
Step 404, server 21 distributes activation code to Time Attendance Device 24.
In the present embodiment, it after Time Attendance Device 24 is switched on, can check in memory space with the presence or absence of activation code;If deposited It can be directly transferred to step 406B, otherwise activation code acquisition request can be being sent to server 21, so that server 21 is to examining Diligent equipment 24 distributes unique corresponding activation code.Due to uniquely corresponding between activation code and Time Attendance Device 24, thus can should Identification information of the activation code as the Time Attendance Device 24.
In the present embodiment, after Time Attendance Device 24 receives the activation code that server 21 distributes, which can be protected It deposits into memory space, and applies the activation code ever since.Alternatively, Time Attendance Device 24 can be actively old according to predetermined period Change the activation code obtained, and re-request new activation code to server 21, then the new activation can be used in server 21 Code replaces old activation code (activation code being aging), for example updates between following activation code and the Time Attendance Device 24 Corresponding relationship.
Step 406A, server 21 store the corresponding relationship between Time Attendance Device 24 and activation code.
In the present embodiment, in the activation code acquisition request that Time Attendance Device 24 is sent, it may include the Time Attendance Device MAC Address etc., using the id information as the Time Attendance Device, allow server 21 the id information and the activation code of distribution it Between establish corresponding relationship.
Certainly, in the case where not needing more new change for activation code, activation code can also be written to attendance in advance and set Inside standby 24, and the corresponding relationship between the activation code and the Time Attendance Device 24 is stored in server 21, then attendance Equipment 24 can be read directly and apply the activation code, without through the above steps to 21 request activation code of server.
Step 406B, Time Attendance Device 24 show activation code.
In the present embodiment, activation code can be two dimensional code 240 (or graphic code of other forms) shown in fig. 5, and examine Diligent equipment 24 can directly display out the two dimensional code 240.Alternatively, activation code can be the non-figure of one group of character string or other forms Shape information can also convert the character string, and show then Time Attendance Device 24 can directly display out the character string Two dimensional code shown in fig. 5 240 being converted to etc..Certainly, activation code can also use other forms, and Time Attendance Device 24 The application limits not to this to be shown to the activation code by more multimode.
Step 408, mobile phone 23 reads activation code from Time Attendance Device 24.
In the present embodiment, the user client of wechat enterprise is installed, which can pass through on mobile phone 23 The identification information that Time Attendance Device 24 is shown is obtained, the activation code on Time Attendance Device 24 is read, and has been stored on server 21 Corresponding relationship between the identification information and the Time Attendance Device 24.
In one embodiment, when the activation code on Time Attendance Device 24 is graphic code form, user client can be passed through " barcode scanning " function of providing, the CCD camera assembly started on mobile phone 23 are acquired the graphic code, then pass through content recognition And read the content of activation code;For example, can identify the two dimensional code after by being read out to two dimensional code 240 shown in fig. 5 240 corresponding activation codes are " gfd1s5g451f24sg54sg241fd1 ".
In another embodiment, when the activation code on Time Attendance Device 24 is character string forms, user visitor can be passed through The correlation function that family end provides, the CCD camera assembly started on mobile phone 23 are acquired the character string, then pass through such as OCR Modes such as (Optical Character Recognition, optical character identifications) identify the character string.Certainly, user client End can also show input frame, and the character string shown on Time Attendance Device 24 is manually entered into mobile phone 23 by user, Mobile phone 23 is helped to complete the read operation to the character string.
Step 410, server 21 receives the bind request of the transmission of mobile phone 23, includes activation code in the bind request.
Step 412, server 21 establishes binding relationship between mobile phone 23 and Time Attendance Device 24.
In the present embodiment, mobile phone 23 can send the bind request for being directed to identification information, and server to server 21 21 extract the identification information for including in the bind request, and determine that the mark is believed according to the corresponding relationship stored in step 406A Corresponding Time Attendance Device 24 is ceased, then establishes binding relationship between the Time Attendance Device 24 and the mobile phone 23.
" mobile phone 23 " herein can be narrowly considered the user equipment of certain physics, for example pass through the user equipment MAC Address etc. it is identified, or should " mobile phone 23 " can also be broadly considered and be logged in corresponding registration account Number any electronic equipment.In order to make it easy to understand, being said so that Time Attendance Device 24 is bound with register account number as an example below It is bright.
Step 414, after binding success, mobile phone 23 can the notice frame parameter to Time Attendance Device 24 set, and by Server 21 configures the notice frame parameter of Time Attendance Device 24 according to setting result.
Step 416, Time Attendance Device 24 launches outward notice frame message according to the notice frame parameter of configuration.
In this embodiment it is assumed that Time Attendance Device 24 uses the ibeacon agreement based on BLE technology, the Time Attendance Device 24 The near-field signals launched outward can be announcement frame (Advertising) message.
Noticing frame parameter may include:The equipment identification information and message emission parameter of Time Attendance Device 24.Wherein, equipment mark When knowing information for so that mobile phone 23 etc. receives notice frame message, determine therefrom that the sender of the notice frame message is to examine Diligent equipment 24;For example, the equipment identification information can be by UUID (the Universally Unique that includes in notice frame message Identifier, Universally Unique Identifier), Major (principal parameter), Minor (second parameter) etc. it is characterized.And message transmitting ginseng Number is used to indicate Time Attendance Device 24 and how to emit the notice frame message, for example, the message emission parameter may include transmission power, Transmit cycle etc., transmission power can control the coverage area of the notice frame message, transmit cycle can control the announcement frame and disappear The tranmitting frequency of breath.
In the present embodiment, administrative staff can notice during activating Time Attendance Device 24, to Time Attendance Device 24 Frame parameter is configured;Certainly, administrative staff can also configure the notice frame parameter at other moment.Furthermore, it is possible to It is configured by notice frame parameter of the other users to the Time Attendance Device 24.Even if in fact, directlying adopt Time Attendance Device 24 Factory default configuration, does not still influence the use of the Time Attendance Device 24.
Step 418, when administrative staff carry mobile phone 23 to Time Attendance Device 24, mobile phone 23 can receive attendance The notice frame message that equipment 24 emits.
Step 420, mobile phone 23 identifies the sender of notice frame message.
In the present embodiment, the user client of the wechat enterprise run on mobile phone 23 can receive mobile phone 23 Notice frame message is parsed.So, user client can be according to UUID, Major, the Minor for including in notice frame message Etc. parameters numerical value, identify the notice frame message sender be Time Attendance Device 24.Wherein, the local of user client can be with It is stored with the corresponding equipment identification information of all Time Attendance Devices that administrative staff have administration authority, so that the user client can Locally to identify the sender of notice frame message as Time Attendance Device 24;Alternatively, user client can will notice frame message In equipment identification information be sent to server 21, and receive server 21 return recognition result.
Step 422, mobile phone 23 determines the distance between itself and Time Attendance Device 24.
In the present embodiment, mobile phone 23 can detecte out the notice frame message when receiving above-mentioned notice frame message RSSI value;Meanwhile the user client run on mobile phone 23 is pre-stored with the reduction formula between RSSI value and distance, such as The conversion mode can be d=10^ ((abs (RSSI)-A)/(10*n)), wherein:D is between mobile phone 23 and Time Attendance Device 24 Distance, RSSI are the RSSI value that detects of mobile phone 23, A is the transmitting terminal for noticing frame message and receiving end when distance is 1 meter RSSI value, n are the environmental attenuation factor.In brief, distance should be negatively correlated with RSSI value.
Step 424, mobile phone 23 determines whether to meet predefined conditions, and automatic spring is directed to Time Attendance Device 24 when meeting Setting window.
In the present embodiment, multiple ranges can be formed around Time Attendance Device 24;As shown in fig. 6, including:With Time Attendance Device 24 installation site is the center of circle, the default protection scope 61 that default guard space r1 is radius, with the installation position of Time Attendance Device 24 It is set to the center of circle, the default trigger range 62 that default triggering distance r2 is radius, wherein r1 > r2, that is, preset covering for protection scope 61 Lid range is greater than default trigger range 62.So, for Time Attendance Device 24, the transmission power for noticing frame message should make it For the coverage area of itself at least more than default protection scope 61, mobile phone 23 can be based on above-mentioned default protection scope 61, pre- If trigger range 62 etc., it is determined whether meet predefined conditions.
As shown in fig. 6, a certain position of the mobile phone 23 except default protection scope 61 receives notice frame message, it is assumed that this Actual range between Shi Shouji 23 and Time Attendance Device 24 is d1.But due to the indigo plant on the stability of near-field signals, mobile phone 23 The reasons such as the sensitivity of tooth module, leading to 23 calculated distance of mobile phone, there may be certain deviation a, so that mobile phone 23 is counted The self-position of calculating is likely to be at the fluctuation range shown in fig. 6 using the physical location of mobile phone 23 as the center of circle, deviation a for radius In 63, corresponding detecting distance belongs to section [d1-a, d1+a].
When mobile phone 23 is mobile further towards Time Attendance Device 24, it is assumed that mobile phone 23 is moved to position shown in Fig. 7, i.e. hand Machine 23 is physically located in default protection scope 61, but the fluctuation range 63 of mobile phone 23 is not fully located at the default protection model Enclose in 61, there are partial regions to be located at except default protection scope 61 so that the distance that mobile phone 23 detects may cause it is following Two kinds of results:(1) it is located at except default protection scope 61, (2) are located in default protection scope 61, are located at default trigger range 62 Except, and may be toggled between above two result, seemingly mobile phone 23 constantly enters and leaves default protection scope 61。
It is assumed that above-mentioned predefined conditions are:Mobile phone 23 is in the period every time continuously in the default protection scope 61 It is interior, first enter default trigger range 62.So, for embodiment shown in Fig. 7, when mobile phone 23 detects at the T1 moment When switching to result (2) by above-mentioned result (1), show that mobile phone 23 enters default protection scope 61, then until the mobile phone 23 Until the T2 moment switches back into result (1) by result (2), i.e., in the period between the T1 moment and T2 moment, if hand Machine 23 has first entered default trigger range 62, determines that mobile phone 23 meets above-mentioned predefined conditions, and if at this Between do not enter default trigger range 62 in section or non-first enter default trigger range 62, it is determined that it is pre- that mobile phone 23 does not meet this Definition condition.
Therefore, for embodiment shown in Fig. 7, either result (1) or result (2), mobile phone 23 has not been able to always Into default trigger range 62, to not meet above-mentioned predefined conditions, setting window will not be triggered.And work as mobile phone 23 into one When walking close to Time Attendance Device 24, than as shown in Figure 8, it is assumed that at least part of the fluctuation range 63 of mobile phone 23 enters default triggering Range 62, and mobile phone 23 itself comes into default trigger range 62 according to the range estimation detected, then:If this is Mobile phone 23 first enters default trigger range 62 within the same period, can determine that mobile phone 23 meets above-mentioned predefined item Part, window 92 is arranged in automatic spring on the display interface 91 for the user client for allowing mobile phone 23 shown in Fig. 9, by pipe Reason personnel are configured Time Attendance Device 24.
In fact, in the embodiment shown in fig. 8, it is similar with embodiment illustrated in fig. 7, due to the one of fluctuation range 63 Part is located in default trigger range 62, another part is located at except default trigger range 62 so that mobile phone 23 detect away from From may cause following two kinds of results:(2) it is located in default protection scope 61, is located at except default trigger range 62, (3) is located at In default trigger range 62.So, mobile phone 23, can be above-mentioned with automatic spring after determining itself to be in result (3) for the first time Window 92 is set;And mobile phone 23 may toggle between above-mentioned result (3) and result (2), seemingly mobile phone 23 is continuous Default trigger range 62 is entered and left, but since above-mentioned predefined conditions are " first entering default trigger range 62 ", So mobile phone 23 is other than determining itself to be in result (3) for the first time, the case where other switch to result (3) by result (2), is equal It is judged as being unsatisfactory for above-mentioned predefined conditions, so that setting window 92 will not be caused frequently to be popped up, avoids influencing to manage Personnel operate the setting of Time Attendance Device 24.
It, should be according to the fluctuation range 63 of the mobile phone 23, just in order to avoid the frequently pop-up setting window 92 of mobile phone 23 completely Locality sets default protection scope 61 and default trigger range 62.As shown in Figure 10, it for fluctuation range 63, may cause Maximum fluctuation distance be k=2a, then when differing distance r1-r2 between default guard space r1 and default triggering distance r2 When < k, it will lead to mobile phone 23 and be likely to occur situation shown in Fig. 10:A part of fluctuation range 63 is located at default trigger range 62 Interior (being necessarily located in default protection scope 61 at this time), a part are located at except default protection scope 61, cause mobile phone 23 may It is mistaken for itself and default protection scope 61 and default trigger range 62 is constantly entered, by presetting trigger range 62 and presetting by outside Protection scope 61 is moved to outside, causes mobile phone 23 to be mistaken for autoreduplication and meets above-mentioned predefined conditions, so that mobile phone 23 On repeatedly pop-up setting window 92.Therefore, it is similar to Fig. 7 and situation shown in Fig. 8, by setting r1-r2 >=k, it can be ensured that Fluctuation range 63 will not be located at simultaneously in default trigger range 62 and except default protection scope 61, and mobile phone 23 is avoided frequently to pop up Window 92 is set.
In addition, administrative staff by mobile phone 23 Time Attendance Device 24 is configured during, may be due to some originals Because causing it to close setting window 92, so that administrative staff may need that mobile phone 23 is artificially moved to default protection scope Except 61, default trigger range 62 is reentered then to pop up the setting window 92.There are also under some cases, administrative staff can It can not or can be not easy to for mobile phone 23 being moved in default protection scope 61.In short, above situation may cause administrative staff It is inconvenient.Therefore, when electronic equipment is in default protection scope 61, as shown in figure 11, mobile phone 23 can be in user visitor The entrance option 1102 for the setting window 92 is shown on the display interface 1101 at family end, so that administrative staff pass through triggering The entrance option 1102 can resurrect setting window 92 or close the setting window 92 resurrected, in order to the behaviour of administrative staff Make.And after mobile phone 23 removes default protection scope 61, mobile phone 23 can hide entrance option 1102, to avoid administrative staff's mistake Operation.
Step 426, mobile phone 23 is operated according to the user setting detected, and the user setting generated for Time Attendance Device 24 refers to It enables, and is sent to server 21.
Step 428, server 21 is instructed according to user setting, is configured to Time Attendance Device.
In conclusion the application is by being arranged default protection scope 61 and default trigger range 62, and with the two models Relevant predefined conditions are enclosed, can accurately determine that the operation of administrative staff is intended to, to can not accurately detect in mobile phone 23 In the case where the distance between itself and Time Attendance Device 24, it still is able to ensure 23 active ejector pin of mobile phone to Time Attendance Device 24 Window 92 is set, and the setting window 92 is avoided to be popped up repeatedly, preventing, which influences administrative staff, grasps the setting of Time Attendance Device 24 Make.
Figure 12 is the flow chart of the implementation method for another near field Trigger Function that one exemplary embodiment of the application provides. As shown in figure 12, this method is applied on electronic equipment, may comprise steps of:
Step 1202, determine whether electronic equipment enters the default protection scope around beacon equipment.
In the present embodiment, step 1202 can be with reference to the step 302 in embodiment illustrated in fig. 3, and details are not described herein again.
Step 1204, the electronic equipment be in the default protection scope and when the electronic equipment for the first time into When entering default trigger range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
In the present embodiment, for the numerical relation between default protection scope and default trigger range, and for pre- It, can be with reference to the description in the above-described embodiments such as Fig. 3 or Fig. 4, herein if the setting of protection scope and default trigger range It repeats no more.
In the present embodiment, when electronic equipment is in default protection scope, show user's tool of the electronic equipment There is greater probability to wish to trigger preset function;And when the user enters default trigger range, it can determine that the user is true It is real to wish to trigger the preset function, thus by triggering the preset function when user first enters the default trigger range, On the one hand it can satisfy the user for the triggering wish of the preset function, it on the other hand can be to avoid to the preset function It triggers repeatedly.
Figure 13 is the flow chart of the implementation method for another near field Trigger Function that one exemplary embodiment of the application provides. As shown in figure 13, this method is applied on electronic equipment, may comprise steps of:
Step 1302, determine whether electronic equipment enters the default protection scope around Time Attendance Device.
In the present embodiment, step 1302 can be with reference to the step 302 in embodiment illustrated in fig. 3, only will be in step 302 Beacon equipment replaces with the Time Attendance Device in step 1302, but the principle used is identical, and details are not described herein again.
Step 1304, the electronic equipment be in the default protection scope and when the electronic equipment for the first time into When entering default trigger range, the function set interface for the Time Attendance Device is shown on the electronic equipment, wherein institute Default protection scope is stated greater than the default trigger range.
In the present embodiment, for the numerical relation between default protection scope and default trigger range, and for pre- It, can be with reference to the description in the above-described embodiments such as Fig. 3 or Fig. 4, herein if the setting of protection scope and default trigger range It repeats no more.
In the present embodiment, when electronic equipment is in default protection scope, show user's tool of the electronic equipment There is greater probability to wish to be configured Time Attendance Device;And when the user enters default trigger range, it can determine that this makes User does want to be configured Time Attendance Device, to pass through the pop-up pair when user first enters the default trigger range The function set interface of Time Attendance Device is simultaneously showed on electronic equipment, on the one hand can satisfy the user for Time Attendance Device Wish is set, on the other hand can be to avoid the pop-up repeatedly to function set interface, avoiding, which influences user, is arranged the function The normal operating at interface.
Figure 14 shows the schematic configuration diagram of the electronic equipment of the exemplary embodiment according to the application.Please refer to figure 14, in hardware view, the electronic equipment include processor 1402, internal bus 1404, network interface 1406, memory 1408 and Nonvolatile memory 1410 is also possible that hardware required for other business certainly.Processor 1402 is deposited from non-volatile Corresponding computer program is read in reservoir 1410 then to run into memory 1408, is formed near field on logic level and is triggered function The realization device of energy.Certainly, other than software realization mode, other implementations, such as logic device is not precluded in the application Part or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each logic list Member is also possible to hardware or logical device.
Figure 15 is please referred to, in Software Implementation, the realization device of the near field Trigger Function may include:
Determination unit 1501, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit 1502, within the period that the electronic equipment is continuously in the default protection scope, when described When electronic equipment first enters default trigger range, preset function is triggered, wherein the default protection scope is greater than described preset Trigger range.
Optionally, the determination unit 1501 determines whether the electronic equipment enters the default guarantor by following manner Protect range or the default trigger range:
Receive the near-field signals of the beacon equipment transmitting;
According to the signal strength of the near-field signals, the distance between the electronic equipment and the beacon equipment are determined, Wherein the distance and the signal strength are negatively correlated;
It is corresponding according to the distance and the corresponding guard space of the default protection scope, the default trigger range Distance is triggered, determines whether the electronic equipment enters the default protection scope or the default trigger range.
Optionally, the trigger unit 1502 by following manner judge the electronic equipment during the period of time whether First enter the default trigger range:
When the electronic equipment is externally entering the default protection scope, function triggering state is set as to touch Hair;
When the electronic equipment enter the default trigger range when, if the function triggering state be it is triggerable, really The fixed electronic equipment first enters the default trigger range during the period of time, and the function triggering state is switched Not can trigger.
Optionally, differ distance between the default protection scope and the default trigger range, not less than it is described away from From maximum fluctuation with a distance from.
Optionally, the trigger unit 1502 is specifically used for:
The function of being shown on the electronic equipment for the beacon equipment triggers interface or function set interface.
Optionally, further include:
Display unit 1503, when the electronic equipment is in the default protection scope, on the electronic equipment Show the entrance option of preset function relevant to the beacon equipment;
Switch unit 1504, when detecting user's trigger action for the entrance option, in starting state in Control only is switched over to the preset function relevant to the beacon equipment between state.
Optionally, the trigger unit 1502 is specifically used for:
The preset function is triggered by the electronic equipment;
Alternatively, the preset function as described in the default application triggers run on the electronic equipment.
Optionally, the preset function includes:Function relevant to the beacon equipment.
Figure 16 is please referred to, in Software Implementation, the realization device of the near field Trigger Function may include:
Determination unit 1601, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit 1602 is in the default protection scope and when the electronic equipment is first in the electronic equipment It is secondary to trigger preset function into when presetting trigger range, wherein the default protection scope is greater than the default trigger range.
Optionally, the determination unit 1601 determines whether the electronic equipment enters the default guarantor by following manner Protect range or the default trigger range:
Receive the near-field signals of the beacon equipment transmitting;
According to the signal strength of the near-field signals, the distance between the electronic equipment and the beacon equipment are determined, Wherein the distance and the signal strength are negatively correlated;
It is corresponding according to the distance and the corresponding guard space of the default protection scope, the default trigger range Distance is triggered, determines whether the electronic equipment enters the default protection scope or the default trigger range.
Optionally, the trigger unit 1602 judges the electronic equipment in the default protection scope by following manner Whether the default trigger range is first entered when interior:
When the electronic equipment is externally entering the default protection scope, function triggering state is set as to touch Hair;
When the electronic equipment enter the default trigger range when, if the function triggering state be it is triggerable, really The default trigger range is first entered when the fixed electronic equipment is in the default protection scope, and the function is triggered State, which is switched to, not can trigger.
Optionally, differ distance between the default protection scope and the default trigger range, not less than it is described away from From maximum fluctuation with a distance from.
Optionally, the trigger unit 1602 is specifically used for:
The function of being shown on the electronic equipment for the beacon equipment triggers interface or function set interface.
Optionally, further include:
Display unit 1603, when the electronic equipment is in the default protection scope, on the electronic equipment Show the entrance option of preset function relevant to the beacon equipment;
Switch unit 1604, when detecting user's trigger action for the entrance option, in starting state in Control only is switched over to the preset function relevant to the beacon equipment between state.
Optionally, the trigger unit 1602 is specifically used for:
The preset function is triggered by the electronic equipment;
Alternatively, the preset function as described in the default application triggers run on the electronic equipment.
Optionally, the preset function includes:Function relevant to the beacon equipment.
Figure 17 is please referred to, in Software Implementation, the realization device of the near field Trigger Function may include:
Determination unit 1701, determines whether electronic equipment enters the default protection scope around Time Attendance Device;
Display unit 1702 is in the default protection scope and when the electronic equipment is first in the electronic equipment It is secondary that the function set interface for the Time Attendance Device is shown on the electronic equipment into when presetting trigger range, Described in preset protection scope be greater than the default trigger range.
Optionally, the determination unit 1701 determines whether the electronic equipment enters the default guarantor by following manner Protect range or the default trigger range:
Receive the near-field signals of the Time Attendance Device transmitting;
According to the signal strength of the near-field signals, the distance between the electronic equipment and the Time Attendance Device are determined, Wherein the distance and the signal strength are negatively correlated;
It is corresponding according to the distance and the corresponding guard space of the default protection scope, the default trigger range Distance is triggered, determines whether the electronic equipment enters the default protection scope or the default trigger range.
Optionally, the display unit 1702 judges the electronic equipment in the default protection scope by following manner Whether the default trigger range is first entered when interior:
When the electronic equipment is externally entering the default protection scope, by the triggering shape of the function set interface State is set as triggerable;
When the electronic equipment enters the default trigger range, if the triggering state is triggerable, it is determined that institute The default trigger range is first entered when stating electronic equipment in the default protection scope, and the triggering state is switched Not can trigger.
Optionally, differ distance between the default protection scope and the default trigger range, not less than it is described away from From maximum fluctuation with a distance from.
Optionally,
The display unit 1702 is also used to:When the electronic equipment is in the default protection scope, described The entrance option of the function set interface is shown on electronic equipment;
Described device further includes:Switch unit 1703, when detecting user's trigger action for the entrance option, Control is switched over to the function set interface between display state and hidden state.
Optionally, the display unit 1702 is specifically used for:
The displaying of the function set interface is triggered by the electronic equipment;
Alternatively, the displaying of the function set interface as described in the default application triggers run on the electronic equipment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
In a typical configuration, computer includes one or more processors (CPU), input/output interface, network Interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is showing for computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (20)

1. a kind of implementation method of near field Trigger Function, which is characterized in that including:
Determine whether electronic equipment enters the default protection scope around beacon equipment;
Within the period that the electronic equipment is continuously in the default protection scope, when the electronic equipment first enter it is pre- If when trigger range, triggering preset function, wherein the default protection scope is greater than the default trigger range.
2. the method according to claim 1, wherein determining whether the electronic equipment enters by following manner The default protection scope or the default trigger range, including:
Receive the near-field signals of the beacon equipment transmitting;
According to the signal strength of the near-field signals, the distance between the electronic equipment and the beacon equipment are determined, wherein The distance and the signal strength are negatively correlated;
According to the distance and the corresponding guard space of the default protection scope, the corresponding triggering of the default trigger range Distance, determines whether the electronic equipment enters the default protection scope or the default trigger range.
3. the method according to claim 1, wherein judging the electronic equipment when described by following manner Between whether first enter the default trigger range in section:
When the electronic equipment is externally entering the default protection scope, set triggerable for function triggering state;
When the electronic equipment enters the default trigger range, if the function triggering state is triggerable, it is determined that institute It states electronic equipment and first enters the default trigger range during the period of time, and the function triggering state is switched to not It can trigger.
4. the method according to claim 1, wherein the default protection scope and the default trigger range it Between difference distance, not less than the maximum fluctuation distance of the distance.
5. the method according to claim 1, wherein the triggering preset function, including:
The function of being shown on the electronic equipment for the beacon equipment triggers interface or function set interface.
6. the method according to claim 1, wherein further including:
When the electronic equipment is in the default protection scope, shown and the beacon equipment on the electronic equipment The entrance option of relevant preset function;
When detecting user's trigger action for the entrance option, between starting state and abort state to it is described with The relevant preset function of the beacon equipment switches over control.
7. the method according to claim 1, wherein the triggering preset function, including:
The preset function is triggered by the electronic equipment;
Alternatively, the preset function as described in the default application triggers run on the electronic equipment.
8. the method according to claim 1, wherein the preset function includes:It is related to the beacon equipment Function.
9. a kind of realization device of near field Trigger Function, which is characterized in that including:
Determination unit, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit, within the period that the electronic equipment is continuously in the default protection scope, when the electronic equipment When first entering default trigger range, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
10. device according to claim 9, which is characterized in that the determination unit determines the electricity by following manner Whether sub- equipment enters the default protection scope or the default trigger range:
Receive the near-field signals of the beacon equipment transmitting;
According to the signal strength of the near-field signals, the distance between the electronic equipment and the beacon equipment are determined, wherein The distance and the signal strength are negatively correlated;
According to the distance and the corresponding guard space of the default protection scope, the corresponding triggering of the default trigger range Distance, determines whether the electronic equipment enters the default protection scope or the default trigger range.
11. device according to claim 9, which is characterized in that the trigger unit judges the electricity by following manner Whether sub- equipment first enters the default trigger range during the period of time:
When the electronic equipment is externally entering the default protection scope, set triggerable for function triggering state;
When the electronic equipment enters the default trigger range, if the function triggering state is triggerable, it is determined that institute It states electronic equipment and first enters the default trigger range during the period of time, and the function triggering state is switched to not It can trigger.
12. device according to claim 9, which is characterized in that the default protection scope and the default trigger range Between difference distance, not less than the maximum fluctuation distance of the distance.
13. device according to claim 9, which is characterized in that the trigger unit is specifically used for:
The function of being shown on the electronic equipment for the beacon equipment triggers interface or function set interface.
14. device according to claim 9, which is characterized in that further include:
Display unit, when the electronic equipment is in the default protection scope, displaying and institute on the electronic equipment State the entrance option of the relevant preset function of beacon equipment;
Switch unit, when detecting user's trigger action for the entrance option, starting state and abort state it Between control is switched over to the preset function relevant to the beacon equipment.
15. device according to claim 9, which is characterized in that the trigger unit is specifically used for:
The preset function is triggered by the electronic equipment;
Alternatively, the preset function as described in the default application triggers run on the electronic equipment.
16. device according to claim 9, which is characterized in that the preset function includes:It is related to the beacon equipment Function.
17. a kind of implementation method of near field Trigger Function, which is characterized in that including:
Determine whether electronic equipment enters the default protection scope around beacon equipment;
It is in the default protection scope in the electronic equipment and when the electronic equipment first enters default triggering model When enclosing, preset function is triggered, wherein the default protection scope is greater than the default trigger range.
18. a kind of realization device of near field Trigger Function, which is characterized in that including:
Determination unit, determines whether electronic equipment enters the default protection scope around beacon equipment;
Trigger unit, the electronic equipment be in the default protection scope and when the electronic equipment first enter it is pre- If when trigger range, triggering preset function, wherein the default protection scope is greater than the default trigger range.
19. a kind of implementation method of near field Trigger Function, which is characterized in that including:
Determine whether electronic equipment enters the default protection scope around Time Attendance Device;
It is in the default protection scope in the electronic equipment and when the electronic equipment first enters default triggering model When enclosing, the function set interface for the Time Attendance Device is shown on the electronic equipment, wherein the default protection model It encloses and is greater than the default trigger range.
20. a kind of realization device of near field Trigger Function, which is characterized in that including:
Determination unit, determines whether electronic equipment enters the default protection scope around Time Attendance Device;
Display unit, the electronic equipment be in the default protection scope and when the electronic equipment first enter it is pre- If when trigger range, the function set interface for the Time Attendance Device is shown on the electronic equipment, wherein described pre- If protection scope is greater than the default trigger range.
CN201710317973.1A 2017-05-08 2017-05-08 Method and device for realizing near-field trigger function Active CN108882207B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710317973.1A CN108882207B (en) 2017-05-08 2017-05-08 Method and device for realizing near-field trigger function
PCT/CN2018/085018 WO2018205860A1 (en) 2017-05-08 2018-04-28 Method and device for implementing near field triggering function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710317973.1A CN108882207B (en) 2017-05-08 2017-05-08 Method and device for realizing near-field trigger function

Publications (2)

Publication Number Publication Date
CN108882207A true CN108882207A (en) 2018-11-23
CN108882207B CN108882207B (en) 2022-04-22

Family

ID=64105216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710317973.1A Active CN108882207B (en) 2017-05-08 2017-05-08 Method and device for realizing near-field trigger function

Country Status (2)

Country Link
CN (1) CN108882207B (en)
WO (1) WO2018205860A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636936A (en) * 2018-12-12 2019-04-16 泰康保险集团股份有限公司 A kind of attendance checking system, method, medium and electronic equipment
CN111429595A (en) * 2020-03-20 2020-07-17 Oppo广东移动通信有限公司 A kind of attendance management method, device and computer readable storage medium
CN114481534A (en) * 2020-11-12 2022-05-13 青岛海尔洗衣机有限公司 Washing control method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636934A (en) * 2018-11-30 2019-04-16 歌尔股份有限公司 A kind of Work attendance method, device and wearable device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215051A (en) * 2010-04-02 2011-10-12 国民技术股份有限公司 Method for determining distance threshold in process of starting transaction by virtue of radio frequency SIM (subscriber identity model) card based on low-frequency magnetic communication
WO2013056145A1 (en) * 2011-10-13 2013-04-18 Microsoft Corporation Power-aware tiered geofencing and beacon watchlists
WO2013089779A1 (en) * 2011-12-16 2013-06-20 Intel Corporation Connection and synchronization with a device in a non-active state based on near field communication
US20140364100A1 (en) * 2013-06-06 2014-12-11 Apple Inc. Category-based fence
US20150018011A1 (en) * 2005-05-09 2015-01-15 Ehud Mendelson System and method for providing infrastructure to enable indoor navigation and special local base services applications indoor malls inside stores shopping centers resort cruise ships and buildings utilize RF beacons, wifi or bluetooth
CN104299279A (en) * 2013-07-20 2015-01-21 郑州学生宝电子科技有限公司 Radiofrequency technology-based special electronic attendance checking system for students
CN104376340A (en) * 2014-08-29 2015-02-25 腾讯科技(深圳)有限公司 Clock punching method and device
CN104574555A (en) * 2015-01-14 2015-04-29 四川大学 Remote checking-in method adopting face classification algorithm based on sparse representation
CN105228093A (en) * 2015-10-14 2016-01-06 郑州大学 Based on the intelligent mobile terminal managing and control system of low-power consumption bluetooth
CN105279808A (en) * 2014-05-26 2016-01-27 中兴通讯股份有限公司 Sign-in method, device and sign-in server
CN105578418A (en) * 2016-02-25 2016-05-11 成都比善科技开发有限公司 Wireless electronic fence system for industrial fields
CN105957169A (en) * 2016-04-19 2016-09-21 唐山新质点科技有限公司 Detection method, apparatus and system based on iBeacon technology

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204393B2 (en) * 2012-10-25 2015-12-01 Blackberry Limited System and method of rejecting a low power state based on a cover detection by a mobile wireless communication device
US9294922B2 (en) * 2013-06-07 2016-03-22 Blackberry Limited Mobile wireless communications device performing device unlock based upon near field communication (NFC) and related methods
US20150103016A1 (en) * 2013-10-11 2015-04-16 Mediatek, Inc. Electronic devices and method for near field communication between two electronic devices
CN104834880B (en) * 2015-05-07 2017-09-05 惠州Tcl移动通信有限公司 A kind of card test method and system based on NFC mobile terminal
CN106303926A (en) * 2016-08-23 2017-01-04 Tcl移动通信科技(宁波)有限公司 A kind of proximity transducer data processing method based on mobile terminal and system
CN106331376A (en) * 2016-09-30 2017-01-11 维沃移动通信有限公司 A power saving method and mobile terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150018011A1 (en) * 2005-05-09 2015-01-15 Ehud Mendelson System and method for providing infrastructure to enable indoor navigation and special local base services applications indoor malls inside stores shopping centers resort cruise ships and buildings utilize RF beacons, wifi or bluetooth
CN102215051A (en) * 2010-04-02 2011-10-12 国民技术股份有限公司 Method for determining distance threshold in process of starting transaction by virtue of radio frequency SIM (subscriber identity model) card based on low-frequency magnetic communication
WO2013056145A1 (en) * 2011-10-13 2013-04-18 Microsoft Corporation Power-aware tiered geofencing and beacon watchlists
WO2013089779A1 (en) * 2011-12-16 2013-06-20 Intel Corporation Connection and synchronization with a device in a non-active state based on near field communication
US20140364100A1 (en) * 2013-06-06 2014-12-11 Apple Inc. Category-based fence
CN104299279A (en) * 2013-07-20 2015-01-21 郑州学生宝电子科技有限公司 Radiofrequency technology-based special electronic attendance checking system for students
CN105279808A (en) * 2014-05-26 2016-01-27 中兴通讯股份有限公司 Sign-in method, device and sign-in server
CN104376340A (en) * 2014-08-29 2015-02-25 腾讯科技(深圳)有限公司 Clock punching method and device
CN104574555A (en) * 2015-01-14 2015-04-29 四川大学 Remote checking-in method adopting face classification algorithm based on sparse representation
CN105228093A (en) * 2015-10-14 2016-01-06 郑州大学 Based on the intelligent mobile terminal managing and control system of low-power consumption bluetooth
CN105578418A (en) * 2016-02-25 2016-05-11 成都比善科技开发有限公司 Wireless electronic fence system for industrial fields
CN105957169A (en) * 2016-04-19 2016-09-21 唐山新质点科技有限公司 Detection method, apparatus and system based on iBeacon technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李娟等: "基于固定周转时延协议的UWB无线测距方法研究", 《传感技术学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636936A (en) * 2018-12-12 2019-04-16 泰康保险集团股份有限公司 A kind of attendance checking system, method, medium and electronic equipment
CN111429595A (en) * 2020-03-20 2020-07-17 Oppo广东移动通信有限公司 A kind of attendance management method, device and computer readable storage medium
CN111429595B (en) * 2020-03-20 2022-06-07 Oppo广东移动通信有限公司 A kind of attendance management method, device and computer readable storage medium
CN114481534A (en) * 2020-11-12 2022-05-13 青岛海尔洗衣机有限公司 Washing control method and device

Also Published As

Publication number Publication date
CN108882207B (en) 2022-04-22
WO2018205860A1 (en) 2018-11-15

Similar Documents

Publication Publication Date Title
US12309245B2 (en) Universal protocol translator
US20200287991A1 (en) Monitoring a computing device to automatically obtain data in response to detecting background activity
US9900355B2 (en) Method, terminal device, server and system for sharing information
WO2015035895A1 (en) Methods, devices, and systems for account login
CN105205388B (en) A kind of right management method and system of application program
CN108882207A (en) The implementation method and device of near field Trigger Function
CN105281906A (en) Safety authentication method and device
US9245255B2 (en) Method and a system for monitoring an activity or lack of activity of a subject
US20140089417A1 (en) Complex handling of conditional messages
CN107360179B (en) Risk information sharing method, terminal and computer readable storage medium
US20150099508A1 (en) Initiating a communication using a wireless security key device
KR20130085047A (en) Method and apparatus for resource utilization management in a communication device
US20160162985A1 (en) Occupancy monitoring for a remote short term housing rental
CN106503023A (en) The method and device of prompting nearby friends
CN108400926A (en) A kind of method of information processing, relevant device and system
WO2017111962A1 (en) System and method for securing electronic device during low power and following hardware change
CN101794465B (en) Method and device for sending attendance data
CN107222633A (en) A kind of sales statistics method of testing, device, terminal
KR20170077334A (en) Apparatus and method for controlling terminal device using notification message
US20240364684A1 (en) Authenticating users during and after suspicious voice calls and browsing
CN105992211B (en) A kind of steal-number detection method, device and system
US20140310364A1 (en) Instant message system and instant message managing method
KR101445302B1 (en) Terminal device, server and personal information protecting method thereof
CN104182677A (en) Information processing method and electronic equipment
CN119323844B (en) Method, device, computer equipment and medium for setting password sequence of smart lock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40000212

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant