CN107195007B - Bluetooth sign-in method and system based on scene - Google Patents
Bluetooth sign-in method and system based on scene Download PDFInfo
- Publication number
- CN107195007B CN107195007B CN201710363964.6A CN201710363964A CN107195007B CN 107195007 B CN107195007 B CN 107195007B CN 201710363964 A CN201710363964 A CN 201710363964A CN 107195007 B CN107195007 B CN 107195007B
- Authority
- CN
- China
- Prior art keywords
- check
- bluetooth
- sign
- result
- legal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a Bluetooth sign-in method and a system based on scenes, and the method comprises the following steps: each person to be checked in sets a Bluetooth name according to a preset legal rule, a plurality of legal Bluetooth names are correspondingly obtained, each person to be checked in obtains a Bluetooth equipment list through first search, and legal Bluetooth names are obtained through judgment; when the number of the legal Bluetooth names reaches a threshold value, judging that the sign-in is successful; according to the legal Bluetooth name which is successfully signed in, changing the corresponding sign-in state into the signed-in state, searching the Bluetooth device list for preset times again, generating a sign-in result, finishing the first sign-in judgment, and sending the sign-in result to the server; and carrying out second check-in judgment by a scene-based method to obtain a final check-in result. The invention adopts a scene-based Bluetooth sign-in mode, does not need additional hardware equipment, saves the fund, operates in parallel, saves the sign-in time, does not need all people to be networked, better accords with the actual use condition and avoids the occurrence of cheating.
Description
Technical Field
The invention relates to the technical field of computer information, in particular to a Bluetooth sign-in method and a Bluetooth sign-in system based on scenes.
Background
The check-in modes in the prior art include the following modes: and shaking the check-in. By using the ibeacon technology, the mobile phones around the ibeacon device turn on the bluetooth, and the same ibeacon device can be found to be present after being searched. The disadvantages are as follows: hardware devices are required and payment for additional hardware devices is required to use this check-in. Interference may also occur with ibeacon devices belonging to two activities if the two different activities are spread out in close proximity.
And the second method comprises the following steps: and the two-dimensional code is signed in. And scanning the code on a large screen or a mobile phone, and the code can be considered to arrive after being scanned. The disadvantages are as follows: if a large screen is used, a projector needs to be turned on, and preparation work on other software is complex, and the two-dimensional code is easy to copy and fake. And lifting the mobile phone is relatively troublesome to scan the code. If one mobile phone is used for displaying the two-dimensional code, serial operation is performed, and the efficiency is low. The tissue sign-in person feels boring and tasteless.
And the third is that: the scanner signs in. And each user generates a two-dimensional code, and the code is scanned to sign in. The disadvantages are as follows: additional hardware costs are required. And are not described in detail.
And fourthly: the APP scans the code and signs in. The disadvantages are as follows: code scanning is needed when software is installed, and efficiency is low.
And a fifth mode: the GPS signs in. The most widely used check-in method. The disadvantages are as follows: the precision is low, and the simulator is easy to cheat.
Therefore, the drawbacks of the prior art are: additional hardware equipment is needed during the check-in, the serial check-in efficiency is low, and the phenomenon of cheating is easy to occur.
Disclosure of Invention
Aiming at the technical problems, the invention provides a scene-based Bluetooth sign-in method and a scene-based Bluetooth sign-in system, which adopt a scene-based Bluetooth sign-in mode, do not need additional hardware equipment, save money, operate in parallel, save sign-in time, do not need all people to be networked, better accord with the actual use condition and avoid cheating.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
in a first aspect, the present invention provides a bluetooth check-in method based on a scene, including:
step S1, the server acquires the sign-in initiating instruction of the sign-in initiator and starts to receive the sign-in;
step S2, each person waiting to check in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person waiting to check in corresponds to one legal Bluetooth name;
step S3, each person waiting for attendance obtains a Bluetooth device list through first search, and legal Bluetooth names are obtained in the Bluetooth device list through judgment;
step S4, accumulating the number of the legal Bluetooth names, and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value;
step S5, according to the legal Bluetooth name, the corresponding sign-in state is changed to the sign-in state by the equipment which successfully signs in, and the change of the first sign-in state is completed;
step S6, Bluetooth device list search is carried out again for preset times, the check-in state is updated for the preset times correspondingly in each search, check-in results are generated, first check-in judgment is completed, the searched Bluetooth device list is sent to the server through all networked Bluetooth devices of people to be checked-in, and the check-in results comprise check-in success results and check-in failure results;
and step S7, carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result.
The invention provides a scene-based Bluetooth sign-in method, which adopts the technical scheme that: the server acquires a sign-in initiating instruction of a sign-in initiator and starts to receive the sign-in; each person to be checked in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person to be checked in corresponds to one legal Bluetooth name; each person to be checked in obtains a Bluetooth device list through first search, and legal Bluetooth names are obtained through judgment in the Bluetooth device list; accumulating the number of the legal Bluetooth names, and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value; according to the legal Bluetooth name of the person who successfully signs in, the equipment which successfully signs in changes the corresponding sign-in state into the signed-in state, completes the change of the first sign-in state, updates the preset times of the sign-in state correspondingly every time of searching, re-searches the Bluetooth equipment list for the preset times to generate a sign-in result, completes the first sign-in judgment, and sends the searched Bluetooth equipment list to the server through all the networked Bluetooth equipment of the person to be signed in, wherein the sign-in result comprises a sign-in successful result and a sign-in unsuccessful result; and carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final result.
The scene-based Bluetooth sign-in method provided by the invention adopts a scene-based Bluetooth sign-in mode, does not need additional hardware equipment, saves fund, operates in parallel, saves sign-in time, does not need all people to be networked, better accords with the actual use condition, and avoids cheating. Is particularly suitable for classroom check-in and other large-scale conference check-in.
Further, in step S7, specifically, the method includes:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked in;
and screening the check-in success result according to the coincidence condition among the sets:
if any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the plurality of sets, judging as a result of successful false sign-in;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
Further, the step S7 further includes:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
Further, in step S3, specifically, the method includes:
each person to be checked in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with standard legal Bluetooth names to obtain legal Bluetooth names.
Further, in step S6, the bluetooth device list search is performed again for preset times, and each search updates the check-in state for the preset times correspondingly to generate a check-in result, which specifically includes:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
In a second aspect, the present invention provides a bluetooth check-in system based on a scene, including:
the system comprises a check-in initiating module, a check-in initiating module and a check-in initiating module, wherein the check-in initiating module is used for acquiring a check-in initiating instruction of a check-in initiator by a server and starting to receive check-in;
the Bluetooth naming module is used for setting a Bluetooth name for each person to be signed according to a preset legal rule and correspondingly obtaining a plurality of legal Bluetooth names, wherein each person to be signed corresponds to one legal Bluetooth name;
the Bluetooth name searching module is used for obtaining a Bluetooth equipment list by searching each person to be checked in for the first time, and judging to obtain a legal Bluetooth name in the Bluetooth equipment list;
the sign-in module is used for accumulating the number of the legal Bluetooth names and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value;
the sign-in state changing module is used for changing the corresponding sign-in state into the signed-in state by the equipment which successfully signs in according to the legal Bluetooth name which successfully signs in, and finishing the change of the first sign-in state;
the system comprises a re-searching module, a check-in module and a check-in module, wherein the re-searching module is used for re-searching a Bluetooth device list for preset times, updating the preset times of the check-in state corresponding to each search, generating a check-in result, finishing first check-in judgment, and sending the searched Bluetooth device list to the server through all networked Bluetooth devices of people to be checked in, wherein the check-in result comprises a check-in success result and a check-in failure result;
and the check-in completion module is used for carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result.
The invention provides a scene-based Bluetooth sign-in system, which adopts the technical scheme that: through the sign-in initiating module, the server acquires a sign-in initiating instruction of a sign-in initiator and starts to receive the sign-in; through a Bluetooth naming module, each person to be signed in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person to be signed in corresponds to one legal Bluetooth name; through a Bluetooth name searching module, each person to be checked in obtains a Bluetooth equipment list through first searching, and a legal Bluetooth name is obtained through judgment in the Bluetooth equipment list; accumulating the number of the legal Bluetooth names through a check-in module, and judging that the check-in is successful when the number of the legal Bluetooth names reaches a threshold value; through the sign-in state changing module, according to the legal Bluetooth name which is successfully signed in, the equipment which is successfully signed in changes the corresponding sign-in state into the signed-in state, and the change of the first sign-in state is completed; the method comprises the steps that through a re-searching module, searching of a Bluetooth device list for preset times is carried out again, updating of the preset times is carried out on a check-in state correspondingly to each time of searching, a check-in result is generated, first check-in judgment is completed, the searched Bluetooth device list is sent to a server through all networked Bluetooth devices of people to be checked in, and the check-in result comprises a check-in success result and a check-in failure result; and performing second check-in judgment on the check-in success result through a scene-based method through a check-in completion module to obtain a final check-in result.
The scene-based Bluetooth sign-in system provided by the invention adopts a scene-based Bluetooth sign-in mode, does not need additional hardware equipment, saves fund, operates in parallel, saves sign-in time, does not need all people to be networked, better accords with the actual use condition, and avoids cheating. Is particularly suitable for classroom check-in and other large-scale conference check-in.
Further, the check-in completion module is specifically configured to:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked in;
and screening the check-in success result according to the coincidence condition among the sets:
if any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the plurality of sets, judging as a result of successful false sign-in;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
Further, the check-in completion module is specifically configured to:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
Further, the bluetooth name searching module is specifically configured to:
each person to be checked in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with standard legal Bluetooth names to obtain legal Bluetooth names.
Further, the re-search module is specifically configured to:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
The invention has the beneficial effects that:
1. and extra hardware equipment is not needed, so that the cost is saved.
2. It is not necessary that all devices be fully networked. And at the first time, the teacher end (networked) can acquire the check-in information, and the actual scene is met.
3. The check-in is based on the classroom scene, and the check-in cannot be realized when the check-in is not in the scene, so that various simulated countersignatures are effectively prevented.
4. The check-in accuracy is high, the speed is high, and precious time is saved.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below.
FIG. 1 is a flowchart illustrating a method for a context-based Bluetooth check-in according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a first principle of scene check-in of a scene-based Bluetooth check-in method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a second principle of scene check-in of a scene-based Bluetooth check-in method according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a scenario-based Bluetooth check-in system according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a check-in process of a bluetooth check-in method and system based on a scene according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Example one
FIG. 1 is a flowchart illustrating a method for a context-based Bluetooth check-in according to an embodiment of the present invention; as shown in fig. 1, a first embodiment provides a bluetooth check-in method based on a scene, including:
step S1, the server acquires the sign-in initiating instruction of the sign-in initiator and starts to receive the sign-in;
step S2, each person waiting to check in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person waiting to check in corresponds to one legal Bluetooth name;
step S3, each person waiting for attendance obtains a Bluetooth device list through first search, and legal Bluetooth names are obtained in the Bluetooth device list through judgment;
step S4, accumulating the number of legal Bluetooth names, when the number of legal Bluetooth names reaches the threshold, judging the sign-in is successful, wherein the judgment of the sign-in is successful through the local Bluetooth equipment;
step S5, the server changes the corresponding sign-in state into the sign-in state according to the legal Bluetooth name of the sign-in success, and completes the change of the first sign-in state;
step S6, the Bluetooth device list search of the preset times is carried out again, the check-in state is updated for the preset times correspondingly in each search, a check-in result is generated, the first check-in judgment is completed, the check-in result is sent to a server through all the networked Bluetooth devices of the persons to be checked in, and the check-in result comprises a check-in success result and a check-in failure result;
and step S7, carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result.
The invention provides a scene-based Bluetooth sign-in method, which adopts the technical scheme that: the server acquires a sign-in initiating instruction of a sign-in initiator and starts to receive the sign-in; each person to be checked in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person to be checked in corresponds to one legal Bluetooth name; each person to be checked in obtains a Bluetooth device list through first search, and legal Bluetooth names are obtained through judgment in the Bluetooth device list; accumulating the number of the legal Bluetooth names, and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value; according to the legal Bluetooth name which is successfully signed in, the equipment which is successfully signed in changes the corresponding sign-in state into the signed-in state, and completes the change of the first sign-in state; the Bluetooth device list search of the preset times is carried out again, the check-in state is updated for the preset times correspondingly in each search, a check-in result is generated, the first check-in judgment is completed, the check-in result is sent to a server through all the networked Bluetooth devices of the people to be checked in, and the check-in result comprises a check-in success result and a check-in failure result; and carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result.
The scene-based Bluetooth sign-in method provided by the invention adopts a scene-based Bluetooth sign-in mode, does not need additional hardware equipment, saves fund, operates in parallel, saves sign-in time, does not need all people to be networked, better accords with the actual use condition, and avoids cheating. Is particularly suitable for classroom check-in and other large-scale conference check-in.
The sign-in platform established based on the method of the invention can establish a corresponding database in a background server according to a specific scene in advance, if the sign-in is in class in a school, the name of each class and the corresponding school number of all students are correspondingly stored in advance, thus different courses can realize corresponding sign-in.
In addition, the check-in is carried out by the check-in method, the check-in can be realized only by the check-in person through the own Bluetooth equipment, no other additional operation is needed, the server background can automatically search the legal Bluetooth name which accords with the rule, the automatic check-in is realized, and the check-in person can judge whether the check-in is successful or not through the Bluetooth name on the Bluetooth equipment. The Bluetooth equipment of each person who signs in is not required to be in a networking state, because the own Bluetooth equipment can be searched on other Bluetooth equipment, the person can sign in through other networking Bluetooth equipment, the requirement of the actual situation is met, the person signs in through the sign-in method provided by the invention, and the sign-in time can reach about 20S after verification, so that the sign-in time is greatly reduced.
In step S6, the bluetooth device list search is performed again for the preset number of times, each search correspondingly updates the preset number of times of the check-in state, and generates a check-in result, specifically:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
The preset times are 5 times, so that the situation that some people who start the Bluetooth equipment and delay can not sign in is avoided.
Preferably, in step S7, specifically, the method includes:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked-in; wherein the successful check-in result is a successful check-in result uploaded by each networked Bluetooth device.
And screening the check-in success results according to the coincidence condition among the sets: wherein, a plurality of sets are obtained after the plurality of searches.
If any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the multiple sets, judging that the false sign-in is successful;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
In the invention, a scene-based method is adopted, the background carries out secondary judgment on the sign-in result, and screens some cheating sign-in persons, and legal Bluetooth names in the same scene form a set. And legal Bluetooth names under the scene that other cheaters are in form a set, and the two sets do not have a superposition part, so that various simulated countersignatures are effectively prevented on the basis of the principle.
The specific implementation process can be seen in fig. 2, each networking bluetooth device uploads a plurality of legal bluetooth names meeting rules to the background, and bluetooth device lists uploaded by other devices in the scene, such as device a, device B, device C, and device D, form a set a, where the bluetooth device lists uploaded by device a, device B, device C, and device D, include not only the legal bluetooth name of the person, but also legal bluetooth names corresponding to other searched devices, for example, the legal bluetooth name uploaded in device a includes the legal bluetooth name of the person and the legal bluetooth names of devices, such as device B, device C, and device D. The Bluetooth device lists uploaded by the device a and the device B outside the scene form a set B, the Bluetooth device lists uploaded by the device C, the device d and the device e outside the scene form a set C, and the set A and the set B and the set C are not overlapped. Based on this, the background carries out secondary judgment to judge which people actually do not arrive at the scene.
Preferably, step S7 further includes:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
When a person who simulates the signing of the attendance records, the own Bluetooth name is changed into the Bluetooth name without the person who arrives at the attendance records, the simulated signing is carried out, the times of the same legal Bluetooth name in all the sets with coincidence are accumulated and counted while a legal Bluetooth name list is uploaded through the networking Bluetooth equipment, the times of the legal Bluetooth name corresponding to the person who does not arrive at the attendance records do not reach the average value of the times of the legal Bluetooth name corresponding to the person who really arrives at the attendance records, and the person is judged to be the person who does not arrive at the attendance. In this way, someone attempting to check in by tampering with the bluetooth name is further effectively prevented.
The specific process is shown in fig. 3, wherein the set A is formed after people who arrive at the field sign in, the set B is formed after people who do not arrive at the field sign in, m is a person who simulates sign in and appears in the set A, but the number of times of appearance of the legal Bluetooth name in the coincident set is counted, so that the number of times of appearance of the legal Bluetooth name corresponding to m is calculated to be different from the number of times of appearance of other legal Bluetooth names, and by means of the method, people who sign in the fake name can be found out, and people who try to sign in by tampering the Bluetooth name are further effectively prevented.
Preferably, in step S3, specifically, the method includes:
each person to be signed in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with the standard legal Bluetooth names to obtain the legal Bluetooth names.
The standard legal Bluetooth name can be customized according to different scenes, so that the requirement of signing in different scenes is met, for example, in the scene of signing in class, the Bluetooth name can be named by the networking state of the Bluetooth equipment, the study number and the course name.
Referring to fig. 4, in a second aspect, the present invention provides a bluetooth check-in system 10 based on a scene, comprising:
the system comprises a sign-in initiating module 101, a sign-in initiating module and a sign-in initiating module, wherein the sign-in initiating module is used for acquiring a sign-in initiating instruction of a sign-in initiator by a server and starting to receive the sign-in;
the Bluetooth naming module 102 is used for setting a Bluetooth name for each person to be signed according to a preset legal rule, and correspondingly obtaining a plurality of legal Bluetooth names, wherein each person to be signed corresponds to one legal Bluetooth name;
the Bluetooth name searching module 103 is used for obtaining a Bluetooth device list by each person to be checked in through first searching, and judging to obtain a legal Bluetooth name in the Bluetooth device list;
the sign-in module 104 is used for accumulating the number of the legal Bluetooth names, and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value;
the sign-in state changing module 105 is used for changing the corresponding sign-in state into the signed-in state by the equipment which successfully signs in according to the legal Bluetooth name which successfully signs in, and finishing the change of the first sign-in state;
the re-searching module 106 is used for re-searching the Bluetooth device list for preset times, updating the preset times of the check-in state correspondingly to each search, generating a check-in result, finishing the first check-in judgment, and sending the check-in result to the server through the networked Bluetooth devices of all the people to be checked in, wherein the check-in result comprises a check-in success result and a check-in failure result;
and the sign-in completion module 107 is configured to perform a second sign-in determination on the sign-in success result through a scene-based method to obtain a final sign-in result.
The invention provides a Bluetooth check-in system 10 based on scene, the technical scheme is as follows: through the sign-in initiating module 101, the server acquires a sign-in initiating instruction of a sign-in initiator and starts to receive the sign-in; through the Bluetooth naming module 102, each person to be signed in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person to be signed in corresponds to one legal Bluetooth name; through the Bluetooth name searching module 103, each person to be checked in obtains a Bluetooth device list through first searching, and a legal Bluetooth name is obtained through judgment in the Bluetooth device list; the number of the legal Bluetooth names is accumulated through the sign-in module 104, and when the number of the legal Bluetooth names reaches a threshold value, the sign-in is judged to be successful; through the check-in state changing module 105, according to the legal Bluetooth name of the check-in success, the equipment which is checked-in successfully changes the corresponding check-in state into the checked-in state, and completes the change of the first check-in state; the Bluetooth device list search of preset times is carried out again through the re-search module 106, the check-in state is updated for the preset times correspondingly in each search, a check-in result is generated, the first check-in judgment is completed, the searched Bluetooth device list is sent to the server through all the networked Bluetooth devices of the people to be checked in, and the check-in result comprises a check-in success result and a check-in failure result; and through the check-in completion module 107, performing second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result.
The scene-based Bluetooth sign-in system 10 provided by the invention adopts a scene-based Bluetooth sign-in mode, does not need additional hardware equipment, saves money, operates in parallel, saves sign-in time, does not need all people to be networked, better accords with the actual use condition, and avoids cheating. Is particularly suitable for classroom check-in and other large-scale conference check-in.
Preferably, the check-in completion module 107 is specifically configured to:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked-in;
and screening the check-in success results according to the coincidence condition among the sets:
if any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the multiple sets, judging that the false sign-in is successful;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
Preferably, the check-in completion module 107 is specifically configured to:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
Preferably, the bluetooth name searching module 103 is specifically configured to:
each person to be signed in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with the standard legal Bluetooth names to obtain the legal Bluetooth names.
Preferably, the re-search module 106 is specifically configured to:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
Example two
Referring to fig. 5, based on the scene-based bluetooth check-in method and system in the first embodiment, the check-in scene is used as a school class check-in for specific check-in description:
starting Bluetooth;
setting a Bluetooth name: according to the sign-in state, the course ID and the school number of the Bluetooth device, character string compression processing is carried out to obtain legal Bluetooth names which accord with rules, when the Bluetooth names are named in the initial state, the named Bluetooth names all use B as the last bit of the names to represent the state which is not reached, and after the sign-in is successful, the named Bluetooth names are changed from B to A to represent the state which is reached. For example: the bluetooth name ab234fA indicates the reached state, and the bluetooth name ab234fB indicates the not-reached state.
All people who arrive at the scene search the bluetooth equipment, screen legal bluetooth equipment, namely set up the apparatus of the bluetooth name according to the above-mentioned predetermined rule;
according to the number of the searched legal Bluetooth names, when the number reaches a threshold value, judging that the sign-in is successful, otherwise, judging that the sign-in is failed; changing the sign-in state, wherein the non-sign-in state is changed into the sign-in state (the last bit B of the legal Bluetooth name is changed into A); searching the Bluetooth equipment list again, repeatedly judging according to the mode (when the number of the searched legal Bluetooth names reaches a threshold value), continuously changing the sign-in state, and stopping searching after repeating searching for preset times to obtain sign-in results (including a result of successful sign-in and a result of failed sign-in);
uploading the result of successful sign-in to a background server through the networked equipment, uploading the result through other networked equipment without networking, wherein the uploaded result comprises the result and all searched legal Bluetooth names, and if the person signs in successfully, the uploaded Bluetooth names are also regarded as class;
and uploading the result of the sign-in failure to a background server through the networked equipment, wherein the result which is not networked can be uploaded through other networked equipment, the uploading result comprises the self and all searched legal Bluetooth names, and if the self sign-in failure, the uploaded Bluetooth names are all regarded as that the class does not arrive.
The server records and analyzes the uploaded result, further judges the successful check-in result, removes the people who have not checked-in successfully, and if the uploader of the user does not check-in successfully, the user does not. And finally, counting the final results of successful check-in and failure check-in, and feeding back to the initiator of check-in. The people who fail to check in include people who have not arrived at the scene, people who have not opened the Bluetooth device at the scene and people who have impersonated and pseudosigned in.
Through the scene-based Bluetooth sign-in mode, extra hardware equipment is not needed, the fund is saved, the parallel operation is realized, the sign-in time is saved, all people are not required to be networked, the practical use condition is better met, and the cheating phenomenon is avoided. Is particularly suitable for classroom check-in and other large-scale conference check-in.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.
Claims (8)
1. A Bluetooth check-in method based on scenes is characterized by comprising the following steps:
step S1, the server acquires the sign-in initiating instruction of the sign-in initiator and starts to receive the sign-in;
step S2, each person waiting to check in sets a Bluetooth name according to a preset legal rule, and a plurality of legal Bluetooth names are correspondingly obtained, wherein each person waiting to check in corresponds to one legal Bluetooth name;
step S3, each person waiting for attendance obtains a Bluetooth device list through first search, and legal Bluetooth names are obtained in the Bluetooth device list through judgment;
step S4, accumulating the number of the legal Bluetooth names, and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value;
step S5, according to the legal Bluetooth name, the corresponding sign-in state is changed to the sign-in state by the equipment which successfully signs in, and the change of the first sign-in state is completed;
step S6, Bluetooth device list search is carried out again for preset times, the check-in state is updated for the preset times correspondingly in each search, check-in results are generated, first check-in judgment is completed, the searched Bluetooth device list is sent to the server through all networked Bluetooth devices of people to be checked-in, and the check-in results comprise check-in success results and check-in failure results;
step S7, carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result;
the step S7 specifically includes:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked in;
and screening the check-in success result according to the coincidence condition among the sets:
if any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the plurality of sets, judging as a result of successful false sign-in;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
2. The scene-based Bluetooth check-in method of claim 1,
the step S7 further includes:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
3. The scene-based Bluetooth check-in method of claim 1,
the step S3 specifically includes:
each person to be checked in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with standard legal Bluetooth names to obtain the legal Bluetooth names in the Bluetooth equipment list.
4. The scene-based Bluetooth check-in method of claim 1,
in step S6, the bluetooth device list search is performed again for the preset number of times, and each search updates the preset number of times corresponding to the sign-in state to generate a sign-in result, which specifically includes:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
5. A Bluetooth check-in system based on scene, comprising:
the system comprises a check-in initiating module, a check-in initiating module and a check-in initiating module, wherein the check-in initiating module is used for acquiring a check-in initiating instruction of a check-in initiator by a server and starting to receive check-in;
the Bluetooth naming module is used for setting a Bluetooth name for each person to be signed according to a preset legal rule and correspondingly obtaining a plurality of legal Bluetooth names, wherein each person to be signed corresponds to one legal Bluetooth name;
the Bluetooth name searching module is used for searching each person to be checked in to obtain a Bluetooth equipment list, and judging to obtain a legal Bluetooth name in the Bluetooth equipment list;
the sign-in module is used for accumulating the number of the legal Bluetooth names and judging that the sign-in is successful when the number of the legal Bluetooth names reaches a threshold value;
the sign-in state changing module is used for changing the corresponding sign-in state into the signed-in state by the equipment which successfully signs in according to the legal Bluetooth name which successfully signs in, and finishing the change of the first sign-in state;
the system comprises a re-searching module, a check-in module and a check-in module, wherein the re-searching module is used for re-searching a Bluetooth device list for preset times, updating the preset times of the check-in state corresponding to each search, generating a check-in result, finishing first check-in judgment, and sending the searched Bluetooth device list to the server through all networked Bluetooth devices of people to be checked in, wherein the check-in result comprises a check-in success result and a check-in failure result;
the check-in completion module is used for carrying out second check-in judgment on the check-in success result through a scene-based method to obtain a final check-in result;
the sign-in completion module is specifically configured to:
obtaining a plurality of sets in the check-in success results, wherein each set comprises a check-in result subset uploaded by each person to be checked in;
and screening the check-in success result according to the coincidence condition among the sets:
if any two sets in the plurality of sets are overlapped, judging that the check-in is a correct successful result;
if no coincidence exists between any two sets in the plurality of sets, judging as a result of successful false sign-in;
and updating the successful check-in result according to the successful correct check-in result and the successful wrong check-in result to obtain final check-in and non-check-in results.
6. The scene-based Bluetooth check-in system of claim 5,
the sign-in completion module is specifically configured to:
counting the times of the same legal Bluetooth name in all the sets with coincidence;
and comparing the occurrence times of each legal Bluetooth name, and judging that the result is a false sign-in success result if the conditions are not met.
7. The scene-based Bluetooth check-in system of claim 5,
the bluetooth name searching module is specifically configured to:
each person to be checked in obtains a Bluetooth device list through first search;
and comparing all Bluetooth names in the Bluetooth equipment list with standard legal Bluetooth names to obtain the legal Bluetooth names in the Bluetooth equipment list.
8. The scene-based Bluetooth check-in system of claim 5,
the re-search module is specifically configured to:
after the first check-in state is changed, searching the Bluetooth device list for the second time, wherein the check-in state of the device which successfully checks in corresponds to the second change;
after repeatedly searching the Bluetooth device list for preset times, updating the preset times of the sign-in state correspondingly to each search, and generating a sign-in result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710363964.6A CN107195007B (en) | 2017-05-22 | 2017-05-22 | Bluetooth sign-in method and system based on scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710363964.6A CN107195007B (en) | 2017-05-22 | 2017-05-22 | Bluetooth sign-in method and system based on scene |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107195007A CN107195007A (en) | 2017-09-22 |
CN107195007B true CN107195007B (en) | 2019-12-24 |
Family
ID=59875406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710363964.6A Expired - Fee Related CN107195007B (en) | 2017-05-22 | 2017-05-22 | Bluetooth sign-in method and system based on scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107195007B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109151797B (en) * | 2018-08-27 | 2021-08-10 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal Bluetooth device search processing method, mobile terminal and storage medium |
CN109756840B (en) * | 2019-01-14 | 2021-04-09 | 北京纷扬科技有限责任公司 | Mobile terminal sign-in anti-cheating method, device, system, equipment and storage medium |
CN113129466B (en) * | 2020-01-10 | 2023-06-27 | 阿里巴巴集团控股有限公司 | Check-in verification method, check-in verification device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617656A (en) * | 2013-11-25 | 2014-03-05 | 河海大学常州校区 | Intelligent terminal field roll calling system and intelligent terminal field roll calling method based on wireless network environment |
KR20150088196A (en) * | 2014-01-23 | 2015-07-31 | 주식회사씨드시스템 | Smart attendance check system and smart attendance check method |
CN105873238A (en) * | 2015-11-11 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Method and device for user detection at close range |
-
2017
- 2017-05-22 CN CN201710363964.6A patent/CN107195007B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617656A (en) * | 2013-11-25 | 2014-03-05 | 河海大学常州校区 | Intelligent terminal field roll calling system and intelligent terminal field roll calling method based on wireless network environment |
KR20150088196A (en) * | 2014-01-23 | 2015-07-31 | 주식회사씨드시스템 | Smart attendance check system and smart attendance check method |
CN105873238A (en) * | 2015-11-11 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Method and device for user detection at close range |
Also Published As
Publication number | Publication date |
---|---|
CN107195007A (en) | 2017-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107195007B (en) | Bluetooth sign-in method and system based on scene | |
CN106127872B (en) | Work attendance method, client and equipment based on mobile terminal | |
CN109089172B (en) | Bullet screen display method and device and electronic equipment | |
CN101938466A (en) | Open knowledge bases method and equipment for user authentication | |
CN107846289B (en) | Method, electronic equipment and system for supporting artificial participation block chain decision | |
WO2014042962A1 (en) | Determining additional information associated with geographic location information | |
CN103220207A (en) | Instant message communication method and instant message communication equipment based on locations | |
CN105183819A (en) | Method and device for providing reminding message and generating reminding setting item | |
CN109215437A (en) | A kind of drills to improve one's handwriting system and method | |
CN111582405B (en) | Data labeling method and device | |
CN105338154A (en) | Method, device and terminal for contact person ordering | |
CN110163603A (en) | Information Authentication method, apparatus, equipment and readable storage medium storing program for executing | |
CN111079499B (en) | Writing content identification method and system in learning environment | |
CN103942271A (en) | User information finding system and method | |
US20210337040A1 (en) | Method and device for pushing information | |
CN110912978A (en) | Sign-in information generation method and system | |
CN116601661A (en) | Generating an evaluation mask for multi-factor authentication | |
CN109918053A (en) | Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing | |
US20160093229A1 (en) | Display control method, display control apparatus, and computer-readable recording medium | |
CN117809084A (en) | Image recognition model training method, interaction method and device based on image recognition | |
US9692918B2 (en) | Device control system and device control method for managing remote conference | |
CN110443122B (en) | Information processing method and related product | |
CN111815134A (en) | Comprehensive scoring method, device, medium and electronic equipment | |
CN111260512A (en) | Background course autonomous distribution method and device | |
CN106899829B (en) | A kind of method for processing video frequency and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191224 Termination date: 20200522 |
|
CF01 | Termination of patent right due to non-payment of annual fee |