WO2018177054A1 - 签到方法和装置 - Google Patents

签到方法和装置 Download PDF

Info

Publication number
WO2018177054A1
WO2018177054A1 PCT/CN2018/077193 CN2018077193W WO2018177054A1 WO 2018177054 A1 WO2018177054 A1 WO 2018177054A1 CN 2018077193 W CN2018077193 W CN 2018077193W WO 2018177054 A1 WO2018177054 A1 WO 2018177054A1
Authority
WO
WIPO (PCT)
Prior art keywords
check
preset
current
time
rule
Prior art date
Application number
PCT/CN2018/077193
Other languages
English (en)
French (fr)
Inventor
冯宏伟
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018177054A1 publication Critical patent/WO2018177054A1/zh

Links

Images

Classifications

    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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

Definitions

  • the present disclosure relates to, but is not limited to, the field of attendance technology, and in particular, a check-in method and apparatus.
  • the general organizer first publishes the event and the event location, and then participates in the activity person to enter the activity page to register, the organizer reviews the registration personnel, and the approved registration personnel can display in the check-in list, the organizer of the event day Participants can be manually checked in according to the actual participants, and the event ends.
  • the present disclosure provides a check-in method and apparatus, which can implement automatic check-in by using a check-in rule engine database including location, time, and weight factors, liberating the entire check-in process, simplifying and simplifying, and implementing the whole process of the check-in process as a whole.
  • An embodiment of the present disclosure provides a check-in method, where the method includes:
  • the check-in result is generated according to the dwell time and the current preset check-in rule weight influence value.
  • the method before the step of acquiring the current time and determining whether the current time matches the preset check-in time, the method further includes:
  • the preset check-in rule weight factor includes at least two types of user identity information, data integrity, number of successful sign-offs of a preset time period, and total number of successful check-ins, according to the check-in
  • the rule engine database the step of obtaining the current preset check-in rule weight influence value corresponding to the current user to be checked includes:
  • the step of generating a check-in result according to the dwell time and the current preset check-in rule weight influence value includes:
  • the method further includes:
  • An embodiment of the present disclosure further provides a check-in device, where the device includes:
  • the time and location determining module is configured to: obtain a current time and a current location, determine whether the current time is within a preset check-in time range, and whether the current location is in a preset check-in location range, when the current time is preset Entering a dwell time calculation module when the check-in time range is within the preset check-in location range;
  • the dwell time calculation module is configured to: enter a preliminary check-in state, and call a check-in rule engine database acquired from the server to calculate a dwell time in the preliminary check-in state;
  • the current preset check-in rule weight influence value obtaining module is configured to: according to the check-in rule engine database, obtain the current preset check-in rule weight influence value corresponding to the current check-in user, and the current preset check-in rule weight influence value is based on The total weight value calculated by the current preset check-in rule weight factor;
  • the check-in result generating module is configured to: generate a check-in result according to the dwell time and the current preset check-in rule weight influence value.
  • the apparatus includes:
  • the check-in information obtaining module is configured to: initiate a registration request to the server; receive registration response information returned by the server; and obtain a corresponding preset check-in time range and a preset check-in location range according to the registration response information.
  • the preset check-in rule weight factor includes at least two types of user identity information, data integrity, number of successful sign-offs of a preset time period, and total number of successful check-ins, and the current preset check-in
  • the rule weight impact value acquisition module includes:
  • the current preset check-in rule weight factor obtaining unit is configured to: obtain, from the check-in rule engine database, the user identity information, the data integrity degree, the number of successful check-in times of the preset time period, and the total number of successful check-ins. At least two, get the current preset check-in rule weight factor;
  • the current preset check-in rule weight influence value obtaining unit is configured to: obtain the current preset sign-in rule weight value corresponding to the current preset sign-in rule weight factor, and according to the current preset sign-in rule weight factor and the corresponding current The preset check-in rule weight value is calculated to obtain the current preset check-in rule weight influence value.
  • the check-in result generating module includes:
  • the first determining unit is configured to: determine whether the dwell time reaches a first preset time threshold, and when the dwell time reaches a first preset time interval, enter a check-in result generating unit, when the dwell time does not reach the first Entering a second determining unit at a preset time interval;
  • the second determining unit is configured to: determine whether the dwell time reaches a second preset time interval, where the first preset time interval is greater than the second preset time interval, when the dwell time does not reach the second pre-time When the time interval is set, confirming that the sign-in result is a sign-in failure, entering the time and position judging module, when the dwell time reaches the second preset time interval, entering the third judging unit;
  • the third determining unit is configured to: determine whether the current preset sign-in rule weight influence value reaches a preset weight affecting threshold, and when the current preset sign-in rule weight influence value reaches a preset weight affecting threshold, enter the sign-in result generation a unit, when the current preset check-in rule weight influence value does not reach the preset weight influence threshold, confirming that the check-in result is a check-in failure, and entering the first determining unit;
  • the check-in result generation unit is set to: confirm that the check-in result is successful for check-in.
  • the apparatus further includes:
  • a data returning module configured to: obtain the check-in data corresponding to the check-in result, and return the check-in data to the server, so that the server can update the corresponding check-in in the server according to the check-in data Rule database.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the check-in method described above.
  • the above-mentioned check-in method and the check-in device determine whether the current time is within the preset check-in time range and whether the current position is in the preset check-in location range by acquiring the current time and the current location, if the current time is within the preset check-in time range and The current location is in the preset check-in location range, and then enters the pre-check-in state, and the check-in rule engine database acquired from the server is used to calculate the dwell time in the preliminary check-in state, and according to the check-in rule engine database, the current pre-correspondence corresponding to the user to be checked is obtained. Set the weight of the check-in rule weight.
  • the weight of the current preset check-in rule is the total weight calculated according to the current preset check-in rule weight factor.
  • the check-in result is generated according to the dwell time and the current preset check-in rule weight influence value.
  • the location and the preset check-in rule weight factors are combined to construct a powerful preset check-in rule engine database, which turns the manual operation into an automatic operation based on the preset check-in rule engine database, thereby realizing automatic sign-in and liberating the entire traditional check-in. flow
  • the process is simplified and simplified, which improves the intelligence of the entire check-in process.
  • FIG. 1 is an application environment diagram of a sign-in method in an embodiment
  • FIG. 2 is a flow chart of a check-in method in an embodiment
  • FIG. 3 is a flow chart of a check-in method in an embodiment
  • FIG. 4 is a flowchart of a method for obtaining a current preset check-in rule weight influence value in an embodiment
  • FIG. 5 is a flow chart of a method for generating a check-in result in an embodiment
  • FIG. 6 is a flow chart of a check-in method in an embodiment
  • FIG. 7 is a structural block diagram of a sign-in device in an embodiment
  • Figure 8 is a block diagram showing the structure of a sign-in device in an embodiment
  • FIG. 9 is a structural block diagram of a current preset check-in rule weight influence value acquisition module in an embodiment
  • FIG. 10 is a structural block diagram of a check-in result generation module in an embodiment
  • Figure 11 is a block diagram showing the structure of a check-in device in an embodiment.
  • the application environment of the above-mentioned check-in method is as shown in FIG. 1 , and may include a terminal 110 and a server 120.
  • the terminal 110 and the server 120 communicate through a network, and the terminal 110 may include, but is not limited to, a mobile phone, a tablet, and a smart wearable device.
  • the services provided by the server 120 may include pre-services, application services, business services, and data services.
  • the server 120 includes a server and a database, wherein the server and the database are separately deployed, and the structure is beneficial to improve processing efficiency and architecture layering.
  • a check-in method is provided, which can be applied to the above application environment, and includes the following steps:
  • Step S210 Obtain a current time and a current location, determine whether the current time is within a preset check-in time range, and whether the current location is in a preset check-in location range, when the current time is within a preset check-in time range and the current location is located.
  • the preset location range is preset
  • the process proceeds to step S220; when the current time is not within the preset check-in time range or the current location is within the preset check-in location range, the process returns to step S210.
  • the terminal may obtain the current time and the preset check-in time, and then obtain the current location and the preset check-in location, or obtain the current location and the preset check-in location, and then obtain the current time and the preset check-in time. Then, the terminal may determine whether the current time is within the preset check-in time range and whether the current location is in the preset check-in location range. When the current time is within the preset check-in time range and the current location is in the preset check-in location range, the step is entered. S220.
  • the terminal acquires an operation instruction for opening the corresponding active application (Application, APP), and sends a request for obtaining the current time and the preset check-in time range to the server, receiving the current time returned by the server, and the preset check-in.
  • the server When the current time is within the preset check-in time range, the server sends a request for obtaining the preset check-in location range, receives the preset check-in location range returned by the server, and determines whether the current location is in the preset check-in location range, when the current location When there is no preset check-in location range, the request for obtaining the current location is continuously sent to the server for determination.
  • the process proceeds to step S220.
  • the terminal locates the current location of the terminal through a Global Positioning System (GPS) or a BeiDou Navigation Satellite System (BDS) positioning function to obtain the current location.
  • GPS Global Positioning System
  • BDS BeiDou Navigation Satellite System
  • the preset check-in location and the current location may be in the form of a house number or latitude and longitude.
  • Step S220 entering the preliminary check-in state, and calling the check-in rule engine database acquired from the server to calculate the dwell time in the preliminary check-in state.
  • the terminal when the terminal obtains the corresponding current time in the preset check-in time range and the current location is in the preset check-in location range, the terminal starts to enter the preliminary check-in state, and the terminal invokes the check-in rule engine database acquired from the server to calculate the preliminary check-in.
  • the duration of the state that is, the dwell time in the pre-checked state.
  • the check-in rule engine database may be downloaded to the terminal in advance before entering the preliminary check-in state, or may be acquired from the server in real time after entering the preliminary check-in state.
  • the activity start time is 9:00 am
  • the activity preset check-in time is 8:30 am.
  • the current time is acquired, and the check-in rule engine database acquired from the server is invoked. Calculate the difference between the check-in time and the active preset check-in time of 8:30, that is, the dwell time in the standby state.
  • Step S230 Acquire, according to the check-in rule engine database, the current preset check-in rule weight influence value corresponding to the current check-in user, and the current preset check-in rule weight influence value is a total weight value calculated according to the current preset check-in rule weight factor.
  • the check-in rule engine database includes at least one check-in rule weight factor preset by the background server and a weight value corresponding to each preset check-in rule weight factor of the at least one preset check-in rule weight factor, and the terminal obtains
  • the current preset sign-in rule weight factor corresponding to the sign-in rule weighting factor can calculate the corresponding total weight value, that is, the current preset sign-in rule weight influence value.
  • the preset check-in rule weight factor may include at least two of user identity information, data integrity, the number of successful check-in times in the preset time period, and the total number of successful check-ins.
  • the check-in rule database reflects the historical check-in information of the current user to be signed, and can support the back-end server system administrator to preset rules.
  • the fine-tuning can be performed according to the previous check-in information and the actual check-in rules, that is, the daily check-in use process is continuously improved and optimized.
  • Step S240 Generate a check-in result according to the dwell time and the current preset check-in rule weight influence value.
  • a comprehensive judgment may be made on whether the current check-in user is checked in, and the check-in result is obtained.
  • the dwell time can be used as a basis for judging whether the current to-be-checked user has previously checked in, or can be determined by combining the current dwell time of the user to be checked and the current preset check-in rule weight influence value.
  • the foregoing check-in method obtains the current time and the current location, determines whether the current time is within the preset check-in time range, and whether the current location is in the preset check-in location range, and if yes, enters the preliminary check-in state, and invokes the check-in rule obtained from the server.
  • the engine database calculates the dwell time in the pre-check-in state, and obtains the current preset check-in rule weight influence value corresponding to the current check-in rule according to the check-in rule engine database.
  • the current preset check-in rule weight influence value is based on the current preset check-in rule weight factor.
  • the method further includes:
  • Step S250 the registration request is initiated to the server, and the registration response information returned by the server is received, and the corresponding preset check-in time range and the preset check-in location range are obtained according to the registration response information.
  • the current user to be checked in uses the terminal to initiate a registration request to the server, and receives the registration response information returned by the server, and the current pending sign-on user logs in through the registration response information, and then obtains a corresponding preset check-in time range and a preset check-in location range. .
  • the registration response information includes the current account and the password information of the user to be checked in.
  • the currently to be signed user logs in to the server through the user account and the password information, signs up to participate in the corresponding activity, and then obtains the start time, activity location, and preset check-in time of the corresponding activity. Range and preset check-in location range.
  • the preset check-in rule weight factor includes at least two types of user identity information, data integrity, number of successful sign-offs in the preset time period, and total number of successful check-ins, as shown in FIG. S230 includes:
  • Step S232 Obtain at least two types of the user identity information, the data integrity degree, the number of successful check-in times of the preset time period, and the total number of successful check-ups, respectively, from the check-in rule engine database, and obtain the current preset check-in rule weight factor. .
  • the terminal receives the check-in rule engine database sent by the server, and then obtains a corresponding preset check-in rule weight factor, and the obtained preset check-in rule weight factor may include user identity information, data integrity, and a preset time period successfully checked in. At least two of the number of times and the total number of successful check-ins, the number of types of preset check-in rule weight factors can be increased or decreased according to the situation, and the adjustment is flexibly adjusted to better reflect the current check-in situation of the user to be signed.
  • the user identity information includes the user's level.
  • the number of successful sign-offs in the preset time period can usually be set according to the situation, such as the number of successful check-ins and the number of weekly check-ins.
  • the total number of successful check-ins refers to the history of the user. The total number of check-ins.
  • the user data integrity indicates that the user data is more complete, indicating that the user is more interested in the sign-in.
  • the willingness and possibility of the next check-in will be larger, and the success rate of the sign-in can be higher.
  • the number of successful check-in times indicates that the total number of successful check-ins is more, indicating that the more users participate in the sign-on, the richer the experience, the stronger the willingness. It is an active and mature user, which can give the sign-on success rate (ie, the sign-on success rate can be higher).
  • the above-mentioned preset sign-in rule weighting factor can be increased or decreased according to needs, so as to better reflect the sign-in situation of the user activity.
  • Step S234 Acquire a current preset sign-in rule weight value corresponding to the current preset sign-in rule weight factor, and calculate a current preset sign-in rule weight influence value according to the current preset sign-in rule weight factor and the corresponding preset check-in rule weight value.
  • the weights corresponding to each of the preset check-in rule weight factors may be set, usually set by using a percent weight, and the current preset check-in rule weight value is obtained, and then according to the current preset check-in rule weight factor and corresponding The current preset check-in rule weight value is calculated to obtain the current preset check-in rule weight influence value.
  • step S240 includes:
  • step S242 it is determined whether the dwell time reaches the first preset time interval. When the dwell time reaches the first preset time interval, the check result is confirmed as the sign-on success. When the dwell time does not reach the first preset time interval, the process proceeds to step S244. .
  • step S244 when the user to use the terminal to enter the preliminary check-in state, determine whether the stay time exceeds the set first preset time interval, and when the stay time exceeds the first preset time interval, confirm that the check-in result is a check-in. Succeeded, when the above residence time does not exceed the first preset time interval, the process proceeds to step S244.
  • the first preset time interval may be set according to actual conditions.
  • the activity start time is set to 9:00 am
  • the active preset check-in time is 8:30 am
  • the first pre- The time interval can be set to 28 minutes.
  • the dwell time is calculated. If the dwell time exceeds 28 minutes, the current check-in user has been checked in. If the dwell time does not exceed 28 minutes, the process proceeds to the step. S244.
  • step S244 it is determined whether the dwell time reaches a second preset time interval, and the first preset time interval is greater than the second preset time interval.
  • the process proceeds to step S246; when the dwell time does not reach At the second preset time interval, it is confirmed that the sign-in result is a sign-in failure, and the process returns to step S210.
  • step S246 when the dwell time does not reach the second preset time interval, it is confirmed that the sign-in result is a sign-in failure, and the process proceeds to step S210.
  • the activity start time is set to 9:00 am
  • the active preset check-in time is 8:30 am
  • the first preset time interval can be set to 28 minutes
  • the second preset time interval Set to 25 minutes, when the terminal enters the preliminary check-in state, calculate the stay time. If the stay time does not exceed 28 minutes, continue to judge whether the stay time reaches 25 minutes. If it reaches 25 minutes, proceed to step S246, if not After 25 minutes, it is confirmed that the sign-in result is a sign-in failure, and the process proceeds to step S210.
  • step S246 it is determined whether the current preset check-in rule weight influence value reaches the preset weight influence threshold.
  • the process proceeds to step S248; when the current preset check-in rule weight is When the influence value does not reach the preset weight influence threshold, the process proceeds to step S242.
  • the current preset check-in rule weight influence value corresponding to the current user to be checked may be considered. For example, whether the current preset check-in rule weight influence value exceeds the preset weight may be determined. If the current preset check-in rule weight influence value exceeds the preset weight influence threshold, the check-in result may be determined as the check-in success; when the current preset check-in rule weight influence value does not exceed the preset weight influence threshold, the entry is entered. Step S242.
  • the identity information, the data integrity degree, the number of successful check-in times of the preset time period, and the current check-in rule weight value of the total successful check-in times are set according to the situation, for example, respectively, set to 20%. And 30%, 30%, and 20%, and then calculate the corresponding current preset check-in rule weight influence value. If the current preset check-in rule weight influence value is greater than the preset weight influence threshold, proceed to step S248, if the current preset is checked in, If the rule weight influence value is not greater than the preset weight influence threshold, the check result is confirmed to be a check-in failure, and the process proceeds to step S242.
  • the foregoing process combines the current waiting time of the user to be checked with the impact value of the current preset check-in rule weight to determine the sign-in situation of the user to be signed, and embodies the intelligent feature of the check-in rule engine database.
  • step S248 it is confirmed that the sign-in result is a sign-in success.
  • the foregoing method further includes:
  • Step S260 Acquire the check-in data corresponding to the check-in result, and return the check-in data to the server, so that the server can update the corresponding check-in rule database in the server according to the check-in data.
  • the terminal starts from obtaining the current time and the current location until the check-in result is generated, and the corresponding check-in data is generated in the whole process
  • the check-in data may further include the check-in rule engine configuration data, that is, the background server manages the user to be checked in. Adjusting the configuration file generated by the check-in rule, by sending the above-mentioned check-in data to the server, enables the background server to analyze whether the check-in rule is appropriate according to the check-in data, thereby continuously adjusting and updating the check-in rule database, obtaining the check-in rule engine database, and improving the corresponding The degree of intelligence.
  • the embodiment of the present disclosure further provides a check-in device, where the device includes:
  • the time and location determining module 310 is configured to: obtain the current time and the current location, determine whether the current time is within the preset check-in time range, and whether the current location is in the preset check-in location range, when the current time is in the preset check-in time range. Entering a dwell time calculation module when the current location is within a preset check-in location range;
  • the dwell time calculation module 320 is configured to: enter a preliminary check-in state, and call a check-in rule engine database acquired from the server to calculate a dwell time in a preliminary check-in state;
  • the current preset check-in rule weight influence value obtaining module 330 is configured to: according to the check-in rule engine database, obtain the current preset check-in rule weight influence value corresponding to the current check-in user, and the current preset check-in rule weight influence value is based on the current preset. The total weight value calculated by the check-in rule weight factor;
  • the check-in result generating module 340 is configured to: generate a check-in result according to the dwell time and the current preset check-in rule weight influence value.
  • the foregoing apparatus further includes:
  • the check-in information obtaining module 350 is configured to: initiate a registration request to the server; receive registration response information returned by the server; and obtain a corresponding preset check-in time range and a preset check-in location range according to the registration response information.
  • the preset check-in rule weight factor includes at least two types of user identity information, data integrity, number of successful sign-offs in the preset time period, and total number of successful check-ins, as shown in FIG.
  • the preset check-in rule weight influence value obtaining module 330 includes:
  • the current preset check-in rule weight factor obtaining unit 332 is configured to: obtain, from the check-in rule engine database, at least the user identity information, the data integrity degree, the number of successful check-in times of the preset time period, and the total number of successful check-ins. Two, get the current preset check-in rule weight factor;
  • the current preset check-in rule weight influence value obtaining unit 334 is configured to: obtain the current preset sign-in rule weight value corresponding to the current preset sign-in rule weight factor, and according to the current preset sign-in rule weight factor and the corresponding current preset sign-in rule weight The value calculation calculates the current preset check-in rule weight influence value.
  • the sign-in result generating module 340 includes:
  • the first determining unit 342 is configured to: determine whether the dwell time reaches the first preset time threshold, and when the dwell time reaches the first preset time interval, enter the check-in result generating unit 348, when the dwell time does not reach the first preset At the time interval, entering the second determining unit 344;
  • the second determining unit 344 is configured to: determine whether the dwell time reaches a second preset time interval, where the first preset time interval is greater than the second preset time interval, and when the dwell time does not reach the second preset time interval, confirming the check-in The result is a check-in failure, entering the time and position judging module, when the dwell time reaches the second preset time interval, entering the third judging unit 346;
  • the third determining unit 346 is configured to: determine whether the current preset check-in rule weight influence value reaches the preset weight influence threshold, and enter the check-in result generating unit 348 when the current preset check-in rule weight influence value reaches the preset weight influence threshold.
  • the current preset check-in rule weight influence value does not reach the preset weight influence threshold, it is confirmed that the check-in result is a check-in failure, and the first judgment unit 342 is entered.
  • the check-in result generating unit 348 is configured to confirm that the check-in result is successful for sign-in.
  • the foregoing apparatus further includes:
  • the data returning module 360 is configured to: obtain the check-in data corresponding to the check-in result, and return the check-in result and the check-in data to the server, so that the server can update the corresponding check-in rule database in the server according to the check-in result and the check-in data.
  • Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the check-in method described above.
  • the program can be stored in a computer readable storage medium, such as the present disclosure.
  • the program can be stored in a storage medium of the computer system and executed by at least one processor in the computer system to implement a process comprising an embodiment of the method described above.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • Computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media include, but are not limited to, random access memory, read only memory, electrically erasable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (Compact Disc Read- Only Memory (CD-ROM), digital versatile disc (DVD) or other disc storage, magnetic box, magnetic tape, disk storage or other magnetic storage device, or any other device that can be used to store desired information and be accessible by a computer. medium.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the above-mentioned check-in method and the check-in device determine whether the current time is within the preset check-in time range and whether the current position is in the preset check-in location range by acquiring the current time and the current location, if the current time is within the preset check-in time range and The current location is in the preset check-in location range, and then enters the pre-check-in state, and the check-in rule engine database acquired from the server is used to calculate the dwell time in the preliminary check-in state, and according to the check-in rule engine database, the current pre-correspondence corresponding to the user to be checked is obtained. Set the weight of the check-in rule weight.
  • the weight of the current preset check-in rule is the total weight calculated according to the current preset check-in rule weight factor.
  • the check-in result is generated according to the dwell time and the current preset check-in rule weight influence value.
  • the location and the preset check-in rule weight factors are combined to construct a powerful preset check-in rule engine database, which turns the manual operation into an automatic operation based on the preset check-in rule engine database, thereby realizing automatic sign-in and liberating the entire traditional check-in. flow , Simplify and improve the intelligence of the whole attendance process.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Telephonic Communication Services (AREA)

Abstract

一种签到方法包括获取当前时间与当前位置,判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间,根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值,根据停留时间和当前预设签到规则权重影响值,生成签到结果。

Description

签到方法和装置 技术领域
本公开涉及但不限于考勤技术领域,尤其是一种签到方法和装置。
背景技术
传统活动报名流程中,一般组织者首先发布活动及活动地点,然后参加活动者进入活动页面进行报名,组织者对报名人员进行审核,审核通过的报名人员可以在签到列表中展示,活动当天组织者可以根据实际参加人员的情况对参与者进行手动签到,活动结束。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
活动现场签到过程,依靠传统的手工方式,签到活动都集中在组织者一人身上,在参加活动到场人数众多的情况下,同时增大了签到实施者的工作量,整个签到方式过程相当繁琐,智能化程度较低。
本公开提供一种签到方法和装置,能够利用包含位置、时间以及权重因子的签到规则引擎数据库实现自动签到,解放了整个签到流程,化繁为简,从整体上实现签到过程的全程自动化。
本公开实施例提供一种签到方法,所述方法包括:
获取当前时间与当前位置,判断所述当前时间是否在预设签到时间范围内且所述当前位置是否位于预设签到位置范围;
当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于所述预备签到状态的停留时间;
根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,所述当前预设签到规则权重影响值为根据当前预设签到 规则权重因子计算得到的总权重值;
根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果。
在一种示例性实施方式中,所述获取当前时间,并判断所述当前时间是否与预设签到时间相符的步骤之前,还包括:
向服务器发起注册请求;
接收服务器返回的注册响应信息;
根据所述注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
在一种示例性实施方式中,所述预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,所述根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值的步骤包括:
从所述签到规则引擎数据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权重因子;
获取所述当前预设签到规则权重因子对应的当前预设签到规则权重值,根据所述当前预设签到规则权重因子以及对应的所述当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
在一种示例性实施方式中,所述根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果的步骤包括:
判断所述停留时间是否达到第一预设时间间隔;
当所述停留时间达到第一预设时间间隔时,确认签到结果为签到成功;
当所述停留时间没有达到第一预设时间间隔时,判断所述停留时间是否达到第二预设时间间隔,所述第一预设时间间隔大于所述第二预设时间间隔,当所述停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入所述获取当前时间与当前位置的步骤;
当所述停留时间达到第二预设时间间隔时,判断所述当前预设签到规则权重影响值是否达到预设权重影响阈值,当所述当前预设签到规则权重影响 值达到预设权重影响阈值时,确认签到结果为签到成功;当所述当前预设签到规则权重影响值没有达到预设权重影响阈值时,确认签到结果为签到失败,进入所述判断停留时间是否超过第一预设时间间隔的步骤。
在一种示例性实施方式中,所述方法还包括:
获取与所述签到结果相对应的签到数据,并将所述签到数据返回至所述服务器,以使所述服务器能够根据所述签到数据更新所述服务器中对应的签到规则数据库。
本公开实施例还提供一种签到装置,所述装置包括:
时间与位置判断模块,设置为:获取当前时间与当前位置,判断所述当前时间是否在预设签到时间范围内且所述当前位置是否位于预设签到位置范围,当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入停留时间计算模块;
停留时间计算模块,设置为:进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于所述预备签到状态的停留时间;
当前预设签到规则权重影响值获取模块,设置为:根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,所述当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值;
签到结果生成模块,设置为:根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果。
在一种示例性实施方式中,所述装置包括:
签到信息获取模块,设置为:向服务器发起注册请求;接收服务器返回的注册响应信息;根据所述注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
在一种示例性实施方式中,所述预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,所述当前预设签到规则权重影响值获取模块包括:
当前预设签到规则权重因子获取单元,设置为:从所述签到规则引擎数 据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权重因子;
当前预设签到规则权重影响值获取单元,设置为:获取所述当前预设签到规则权重因子对应的当前预设签到规则权重值,根据所述当前预设签到规则权重因子以及对应的所述当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
在一种示例性实施方式中,所述签到结果生成模块包括:
第一判断单元,设置为:判断所述停留时间是否达到第一预设时间阈值,当所述停留时间达到第一预设时间间隔时,进入签到结果生成单元,当所述停留时间没有达到第一预设时间间隔时,进入第二判断单元;
第二判断单元,设置为:判断所述停留时间是否达到第二预设时间间隔,所述第一预设时间间隔大于所述第二预设时间间隔,当所述停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入所述时间与位置判断模块,当所述停留时间达到第二预设时间间隔时,进入第三判断单元;
第三判断单元,设置为:判断所述当前预设签到规则权重影响值是否达到预设权重影响阈值,当所述当前预设签到规则权重影响值达到预设权重影响阈值时,进入签到结果生成单元,当所述当前预设签到规则权重影响值没有达到预设权重影响阈值时,确认签到结果为签到失败,进入所述第一判断单元;
签到结果生成单元,设置为:确认签到结果为签到成功。
在一种示例性实施方式中,所述装置还包括:
数据返回模块,设置为:获取与所述签到结果相对应的签到数据,并将所述签到数据返回至所述服务器,以使所述服务器能够根据所述签到数据更新所述服务器中对应的签到规则数据库。
本公开实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述签到方法。
上述签到方法和签到装置,通过获取当前时间与当前位置,判断当前时 间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,如果所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围,则进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间,根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值,根据停留时间和当前预设签到规则权重影响值,生成签到结果,将时间、位置以及预设签到规则权重因子结合在一起,构造了强大的预设签到规则引擎数据库,将手动操作变为基于预设签到规则引擎数据库的自动操作,从而实现自动签到,解放整个传统的签到流程,化繁为简,提高了整个签到过程的智能化程度。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为一个实施例中签到方法的应用环境图;
图2为一个实施例中签到方法的流程图;
图3为一个实施例中签到方法的流程图;
图4为一个实施例中得到当前预设签到规则权重影响值方法的流程图;
图5为一个实施例中生成签到结果方法的流程图;
图6为一个实施例中签到方法的流程图;
图7为一个实施例中签到装置的结构框图;
图8为一个实施例中签到装置的结构框图;
图9为一个实施例中当前预设签到规则权重影响值获取模块的结构框图;
图10为一个实施例中签到结果生成模块的结构框图;
图11为一个实施例中签到装置结构框图。
本公开的较佳实施方式
下面结合附图对本公开的实施方式进行描述。
在一个实施例中,上述签到方法的应用环境如图1所示,可包括终端110以及服务器120,终端110和服务器120通过网络进行通信,终端110可包括但不限于手机、平板以及智能穿戴设备等,服务器120提供的服务可包括前置服务、应用服务、业务服务以及数据服务等。
在一个可选的实施例中,服务器120中包括服务端和数据库,其中服务端和数据库分别进行独立部署,这样的结构有利于提升处理效率及架构分层。
在一个实施例中,如图2所示,提供了一种签到方法,可应用于上述应用环境,包括以下步骤:
步骤S210,获取当前时间与当前位置,判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入步骤S220;当所述当前时间不在预设签到时间范围内或所述当前位置位于预设签到位置范围时,返回步骤S210。
可选地,终端既可以先获取当前时间以及预设签到时间,然后获取当前位置和预设签到位置,也可以先获取当前位置和预设签到位置,然后获取当前时间以及预设签到时间。然后,终端可以判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,当该当前时间在预设签到时间范围内且当前位置位于预设签到位置范围时,进入步骤S220。
在一个可选的实施例中,终端获取打开对应的活动应用(Application,APP)的操作指令,向服务器发送获取当前时间以及预设签到时间范围的请求,接收服务器返回的当前时间以及预设签到时间范围,并将当前时间与预设签到时间范围进行比较,判断当前时间是否位于预设签到时间范围内,当该当前时间没有位于预设签到时间范围内时,继续获取当前时间判断是否在预设签到时间范围内;
当该当前时间位于预设签到时间范围内时,向服务器发送获取预设签到位置范围的请求,接收服务器返回的预设签到位置范围,判断当前位置是否位于预设签到位置范围,当该当前位置没有位于预设签到位置范围时,继续向服务器发送获取当前位置的请求以进行判断,当该当前位置位于预设签到 位置范围时,进入步骤S220。
在一个可选的实施例中,终端通过全球定位系统(Global Positioning System,GPS)或者中国北斗卫星导航系统(BeiDou Navigation Satellite System,BDS)定位功能对终端当前位置进行定位,获取当前位置。
在一个可选的实施例中,预设签到位置以及当前位置可以是门牌号或者经纬度的形式。
步骤S220,进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间。
可选地,当终端获取对应的当前时间位于预设签到时间范围且当前位置位于预设签到位置范围时,开始进入预备签到状态,终端此时调用从服务器获取的签到规则引擎数据库计算上述预备签到状态的持续时间,即处于预备签到状态的停留时间。
其中,签到规则引擎数据库既可以在进入预备签到状态之前提前下载至终端,也可以在进入预备签到状态之后实时地从服务器获取。
在一个可选的实施例中,活动开始时间为上午9:00,活动预设签到时间为上午8:30,当终端进入预备签到状态之后,获取当前时间,调用从服务器获取的签到规则引擎数据库计算与活动预设签到时间8:30之间的差值,即处于预备状态的停留时间。
步骤S230,根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值。
可选地,签到规则引擎数据库包含了后台服务器预设的至少一种签到规则权重因子以及至少一种预设签到规则权重因子中每一种预设签到规则权重因子对应的权重值,终端通过获取上述签到规则权重因子对应的当前预设签到规则权重因子,可计算得到对应的总权重值,即当前预设签到规则权重影响值。可选地,预设签到规则权重因子可以包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种。
签到规则数据库反映了当前待签到用户的历史签到信息,可以支持后台 服务器系统管理者预置规则,可以根据前期的签到信息和实际签到规则进行微调,即通过日积月累的签到使用过程不断进行完善,优化签到规则引擎数据库,达到较好的使用效果,最终形成当前预设签到规则权重影响值。
步骤S240,根据停留时间和当前预设签到规则权重影响值,生成签到结果。
可选地,根据停留时间和当前预设签到规则权重影响值,可以对当前待签到用户是否签到做出综合判断,得到签到结果。
其中,可以将停留时间作为判断当前待签到用户是否前签到的依据,也可将当前待签到用户停留时间和当前预设签到规则权重影响值结合起来进行判断的。
上述签到方法,通过获取当前时间与当前位置,判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,如果是,则进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间,根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值,根据停留时间和当前预设签到规则权重影响值,生成签到结果,将时间、位置以及预设签到规则权重因子结合在一起,构造了强大的预设签到规则引擎数据库,将手动操作变为基于预设签到规则引擎数据库的自动操作,从而实现自动签到,解放整个传统的签到流程,化繁为简,提高了整个签到过程的智能化程度。
在其中一个可选的实施例中,如图3所示,步骤210之前还包括:
步骤S250,向服务器发起注册请求,接收服务器返回的注册响应信息,根据注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
可选地,当前待签到用户使用终端向服务器发起注册请求,接收服务器返回的注册响应信息,当前待签到用户通过上述注册响应信息登录,然后获取对应的预设签到时间范围和预设签到位置范围。
其中,注册响应信息包括当前待签到用户的账号以及密码信息,当前待签到用户通过用户账号以及密码信息登录服务器,报名参加对应的活动,然 后获取对应活动的开始时间、活动位置、预设签到时间范围和预设签到位置范围。
在其中一个可选的实施例中,预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,如图4所示,步骤S230包括:
步骤S232,从签到规则引擎数据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权重因子。
可选地,终端接收服务器发送的签到规则引擎数据库,然后获取对应的预设签到规则权重因子,所获取的预设签到规则权重因子可以包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,预设签到规则权重因子的种类数目可以根据情况进行增减,灵活进行调整,更好地反映当前待签到用户的签到情况。
在一个可选的实施例中,用户身份信息包括用户的等级,预设时间段成功签到次数通常可根据情况设置,如月成功签到次数以及周签到次数等,总成功签到次数是指该用户的历史总签到次数。
其中,用户的签到等级越高,表明用户的黏性越大,签到参与度也越高,签到成功率也可以越高;用户资料完整度表明用户资料越完善,表明用户对于此次签到越看中,对待签到也越认真,签到成功率也可以越高;单月签到成功次数:一段时间内(此处定义为1个月),成功参与签到次数越多,表明用户为活跃用户,成功参与下次签到的意愿和可能也越大,相应地签到成功率也可以越高;历史签到成功次数等因素表明总签到成功次数越多,表明用户参与签到越多,经验多丰富,意愿越强烈,是活跃和成熟的用户,可以给予签到成功率的加成(即签到成功率可以越高)。
当然上述预设签到规则权重因子可以根据需要进行增减,以便能更好地反映用户活动的签到情况。
步骤S234,获取当前预设签到规则权重因子对应的当前预设签到规则权重值,根据当前预设签到规则权重因子以及对应的当前预设签到规则权重值 计算得到当前预设签到规则权重影响值。
可选地,每一种预设签到规则权重因子对应的权重均可以进行设置,通常采用百分权重进行设置,得到当前预设签到规则权重值,然后根据当前预设签到规则权重因子以及对应的当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
在其中一个可选的实施例中,如图5所示,步骤S240包括:
步骤S242,判断停留时间是否达到第一预设时间间隔,当停留时间达到第一预设时间间隔时,确认签到结果为签到成功,当停留时间没有达到第一预设时间间隔时,进入步骤S244。
可选地,当待签到用户使用终端进入预备签到状态时,判断上述停留时间是否超过设定的第一预设时间间隔,当上述停留时间超过第一预设时间间隔时,确认签到结果为签到成功,当上述停留时间没有超过第一预设时间间隔时,进入步骤S244。
其中,第一预设时间间隔可根据实际情况进行设定,在一个可选的实施例中,活动开始时间设定为上午9:00,活动预设签到时间为上午8:30,第一预设时间间隔可以设定为28分钟,当终端获进入预备签到状态之后,计算停留时间,如果停留时间超过28分钟,则认为当前待签到用户已经签到,如果停留时间不超过28分钟,则进入步骤S244。
步骤S244,判断停留时间是否达到第二预设时间间隔,第一预设时间间隔大于第二预设时间间隔,当停留时间达到第二预设时间间隔时,进入步骤S246;当停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,返回步骤S210。
可选地,当停留时间没有达到第一预设时间间隔时,判断停留时间是否达到第二预设时间间隔,其中第一预设时间间隔大于第二预设时间间隔,当停留时间达到第二预设时间间隔时,进入步骤S246;当停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入步骤S210。
在一个可选的实施例中,活动开始时间设定为上午9:00,活动预设签到时间为上午8:30,第一预设时间间隔可以设定为28分钟,第二预设时间间 隔设定为25分钟,当终端获进入预备签到状态之后,计算停留时间,如果停留时间没有超过28分钟,则继续判断停留时间是否达到25分钟,如果达到25分钟,则进入步骤S246,如果没有达到25分钟,则确认签到结果为签到失败,进入步骤S210。
步骤S246,判断当前预设签到规则权重影响值是否达到预设权重影响阈值,当该当前预设签到规则权重影响值达到预设权重影响阈值时,进入步骤S248;当该当前预设签到规则权重影响值没有达到预设权重影响阈值时,进入步骤S242。
可选地,当停留时间超过第二预设时间间隔时,可以考虑当前待签到用户对应的当前预设签到规则权重影响值,例如,可以判断当前预设签到规则权重影响值是否超过预设权重影响阈值,当该当前预设签到规则权重影响值超过预设权重影响阈值时,可以确定签到结果为签到成功;当该当前预设签到规则权重影响值不超过预设权重影响阈值时,则进入步骤S242。
在一个可选的实施例中,待签到用户对应的身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数的当前签到规则权重值按情况进行设置,例如分别设置为20%、30%、30%以及20%,然后计算出对应的当前预设签到规则权重影响值,若当前预设签到规则权重影响值大于预设权重影响阈值,则进入步骤S248,如果当前预设签到规则权重影响值不大于预设权重影响阈值,则确认签到结果为签到失败,进入步骤S242。
其中,上述处理过程将当前待签到用户停留时间和当前预设签到规则权重影响值结合起来进行判断待签到用户的签到情况,体现了签到规则引擎数据库的智能化特点。
步骤S248,确认签到结果为签到成功。
在其中一个可选的实施例中,如图6所示,上述方法还包括:
步骤S260,获取与签到结果相对应的签到数据,并将签到数据返回至服务器,以使服务器能够根据签到数据更新服务器中对应的签到规则数据库。
可选地,终端从获取当前时间与当前位置开始,直至生成签到结果,整个过程中均生成有对应的签到数据,签到数据还可包括签到规则引擎配置数 据,即后台服务器在管理待签到用户时调整签到规则所产生的配置文件,通过将上述签到数据发送至服务器,能够使后台服务器根据签到数据分析签到规则是否合适,从而不断地调整和更新签到规则数据库,得到签到规则引擎数据库,提高对应的智能化程度。
此外,如图7所示,本公开实施例还提供了一种签到装置,上述装置包括:
时间与位置判断模块310,设置为:获取当前时间与当前位置,判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入停留时间计算模块;
停留时间计算模块320,设置为:进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间;
当前预设签到规则权重影响值获取模块330,设置为:根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值;
签到结果生成模块340,设置为:根据停留时间和当前预设签到规则权重影响值,生成签到结果。
在其中一个可选的实施例中,如图8所示,上述装置还包括:
签到信息获取模块350,设置为:向服务器发起注册请求;接收服务器返回的注册响应信息;根据注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
在其中一个可选的实施例中,预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,如图9所示,当前预设签到规则权重影响值获取模块330包括:
当前预设签到规则权重因子获取单元332,设置为:从签到规则引擎数据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权 重因子;
当前预设签到规则权重影响值获取单元334,设置为:获取当前预设签到规则权重因子对应的当前预设签到规则权重值,根据当前预设签到规则权重因子以及对应的当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
在其中一个可选的实施例中,如图10所示,上述签到结果生成模块340包括:
第一判断单元342,设置为:判断停留时间是否达到第一预设时间阈值,当停留时间达到第一预设时间间隔时,可进入签到结果生成单元348,当停留时间没有达到第一预设时间间隔时,进入第二判断单元344;
第二判断单元344,设置为:判断停留时间是否达到第二预设时间间隔,第一预设时间间隔大于第二预设时间间隔,当停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入时间与位置判断模块,当停留时间达到第二预设时间间隔时,进入第三判断单元346;
第三判断单元346,设置为:判断当前预设签到规则权重影响值是否达到预设权重影响阈值,当该当前预设签到规则权重影响值达到预设权重影响阈值时,进入签到结果生成单元348;当该当前预设签到规则权重影响值没有达到预设权重影响阈值时,确认签到结果为签到失败,进入第一判断单元342。
签到结果生成单元348,设置为:确认签到结果为签到成功。
在其中一个可选的实施例中,如图11所示,上述装置还包括:
数据返回模块360,设置为:获取与签到结果相对应的签到数据,并将签到结果与签到数据返回至服务器,以使服务器能够根据签到结果与签到数据更新服务器中对应的签到规则数据库。
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述签到方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程,是可以通过计算机程序来指令相关的硬件来完成,所述程序可存储于一计算机可读取存储介质中,如本公开实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储器(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,RAM)等。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器、只读存储器、电可擦除只读存储器(Electrically Erasable Programmable Read-only Memory,EEPROM)、闪存或其他存储器技术、光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本领域的普通技术人员可以理解,可以对本公开的技术方案进行修改或者等同替换,而不脱离本公开技术方案的精神和范围,均应涵盖在本公开的权利要求范围当中。
工业实用性
上述签到方法和签到装置,通过获取当前时间与当前位置,判断当前时间是否在预设签到时间范围内且当前位置是否位于预设签到位置范围,如果所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围,则进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于预备签到状态的停留时间,根据签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值,根据停留时间和当前预设签到规则权重影响值,生成签到结果,将时间、位置以及预设签到规则权重因子结合在一起,构造了强大的预设签到规则引擎数据库,将手动操作变为基于预设签到规则引擎数据库的自动操作,从而实现自动签到,解放整个传统的签到流程,化繁为简,提高了整个签到过程的智能化程度。

Claims (10)

  1. 一种签到方法,所述方法包括:
    获取当前时间与当前位置,判断所述当前时间是否在预设签到时间范围内且所述当前位置是否位于预设签到位置范围;
    当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于所述预备签到状态的停留时间;
    根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,所述当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的总权重值;
    根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果。
  2. 根据权利要求1所述的方法,所述获取当前时间,并判断所述当前时间是否与预设签到时间相符的步骤之前,还包括:
    向服务器发起注册请求;
    接收服务器返回的注册响应信息;
    根据所述注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
  3. 根据权利要求1所述的方法,其中,所述预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,所述根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值的步骤包括:
    从所述签到规则引擎数据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权重因子;
    获取所述当前预设签到规则权重因子对应的当前预设签到规则权重值,根据所述当前预设签到规则权重因子以及对应的所述当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
  4. 根据权利要求1所述的方法,其中,所述根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果的步骤包括:
    判断所述停留时间是否达到第一预设时间间隔;
    当所述停留时间达到第一预设时间间隔时,确认签到结果为签到成功;
    当所述停留时间没有达到第一预设时间间隔时,判断所述停留时间是否达到第二预设时间间隔,所述第一预设时间间隔大于所述第二预设时间间隔,当所述停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入所述获取当前时间与当前位置的步骤;
    当所述停留时间达到第二预设时间间隔时,判断所述当前预设签到规则权重影响值是否达到预设权重影响阈值,当所述当前预设签到规则权重影响值达到预设权重影响阈值时,确认签到结果为签到成功;当所述当前预设签到规则权重影响值没有达到预设权重影响阈值时,确认签到结果为签到失败,进入所述判断停留时间是否超过第一预设时间间隔的步骤。
  5. 根据权利要求1所述的方法,所述方法还包括:
    获取与所述签到结果相对应的签到数据,并将所述签到数据返回至所述服务器,以使所述服务器能够根据所述签到数据更新所述服务器中对应的签到规则数据库。
  6. 一种签到装置,所述装置包括:
    时间与位置判断模块,设置为:获取当前时间与当前位置,判断所述当前时间是否在预设签到时间范围内且所述当前位置是否位于预设签到位置范围,当所述当前时间在预设签到时间范围内且所述当前位置位于预设签到位置范围时,进入停留时间计算模块;
    停留时间计算模块,设置为:进入预备签到状态,调用从服务器获取的签到规则引擎数据库计算处于所述预备签到状态的停留时间;
    当前预设签到规则权重影响值获取模块,设置为:根据所述签到规则引擎数据库,获取当前待签到用户对应的当前预设签到规则权重影响值,所述当前预设签到规则权重影响值为根据当前预设签到规则权重因子计算得到的 总权重值;
    签到结果生成模块,设置为:根据所述停留时间和所述当前预设签到规则权重影响值,生成签到结果。
  7. 根据权利要求6所述的装置,所述装置还包括:
    签到信息获取模块,设置为:向服务器发起注册请求;接收服务器返回的注册响应信息;根据所述注册响应信息,获取对应的预设签到时间范围和预设签到位置范围。
  8. 根据权利要求6所述的装置,其中,所述预设签到规则权重因子包括用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,所述当前预设签到规则权重影响值获取模块包括:
    当前预设签到规则权重因子获取单元,设置为:从所述签到规则引擎数据库中获取当前待签到用户对应的用户身份信息、资料完整度、预设时间段成功签到次数以及总成功签到次数中的至少两种,得到当前预设签到规则权重因子;
    当前预设签到规则权重影响值获取单元,设置为:获取所述当前预设签到规则权重因子对应的当前预设签到规则权重值,根据所述当前预设签到规则权重因子以及对应的所述当前预设签到规则权重值计算得到当前预设签到规则权重影响值。
  9. 根据权利要求6所述的装置,其中,所述签到结果生成模块包括:
    第一判断单元,设置为:判断所述停留时间是否达到第一预设时间阈值,当所述停留时间达到第一预设时间间隔时,进入签到结果生成单元,当所述停留时间没有达到第一预设时间间隔时,进入第二判断单元;
    第二判断单元,设置为:判断所述停留时间是否达到第二预设时间间隔,所述第一预设时间间隔大于所述第二预设时间间隔,当所述停留时间没有达到第二预设时间间隔时,确认签到结果为签到失败,进入所述时间与位置判断模块,当所述停留时间达到第二预设时间间隔时,进入第三判断单元;
    第三判断单元,设置为:判断所述当前预设签到规则权重影响值是否达到预设权重影响阈值,当所述当前预设签到规则权重影响值达到预设权重影 响阈值时,确认签到结果为签到成功;当所述当前预设签到规则权重影响值没有达到预设权重影响阈值时,确认签到结果为签到失败,进入所述第一判断单元;
    签到结果生成单元,设置为:确认签到结果为签到成功。
  10. 根据权利要求6所述的装置,所述装置还包括:
    数据返回模块,设置为:获取与所述签到结果相对应的签到数据,并将所述签到数据返回至所述服务器,以使所述服务器能够根据所述签到数据更新所述服务器中对应的签到规则数据库。
PCT/CN2018/077193 2017-03-29 2018-02-26 签到方法和装置 WO2018177054A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710197838.8A CN108665571B (zh) 2017-03-29 2017-03-29 签到方法和装置
CN201710197838.8 2017-03-29

Publications (1)

Publication Number Publication Date
WO2018177054A1 true WO2018177054A1 (zh) 2018-10-04

Family

ID=63675194

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077193 WO2018177054A1 (zh) 2017-03-29 2018-02-26 签到方法和装置

Country Status (2)

Country Link
CN (1) CN108665571B (zh)
WO (1) WO2018177054A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110538457A (zh) * 2019-09-03 2019-12-06 网易(杭州)网络有限公司 游戏中虚拟物品的发放控制方法、装置和电子设备
CN111898994A (zh) * 2020-08-09 2020-11-06 苏州征之魂专利技术服务有限公司 一种快递员考勤方法
CN113516794B (zh) * 2021-03-01 2023-03-17 广东工业大学 一种基于层次分析法的多因素融合签到方法
CN114639182A (zh) * 2022-04-08 2022-06-17 枣庄学院 一种企业管理用考勤设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332086A (zh) * 2011-06-15 2012-01-25 夏东 一种基于双阈值局部二进制模式的人脸识别方法
US20120161971A1 (en) * 2010-12-22 2012-06-28 Verizon Patent And Licensing, Inc. Automated attendance tracking and event notification
WO2012149212A1 (en) * 2011-04-26 2012-11-01 Cora Software Llc Methods, apparatuses and systems for verifying time and attendance by workers at remote worksites
CN103167106A (zh) * 2011-12-16 2013-06-19 北京创和世纪通讯技术有限公司 基于环境信息的移动终端控制装置及方法
CN105513153A (zh) * 2016-02-15 2016-04-20 广东欧珀移动通信有限公司 一种会议考勤方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081761A (zh) * 2010-11-20 2011-06-01 许穗生 一种考勤计算方法
US10049591B2 (en) * 2013-03-15 2018-08-14 Northcanal Group Llc Classroom management application and system
CN103533504A (zh) * 2013-10-25 2014-01-22 上海华勤通讯技术有限公司 移动终端自动签到的方法及移动终端
CN103986782A (zh) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 一种位置服务器和签到处理方法
CN104036360B (zh) * 2014-06-19 2017-02-15 中国科学院软件研究所 一种基于磁卡考勤行为的用户数据处理系统及处理方法
CN104504767A (zh) * 2014-11-26 2015-04-08 广东安居宝数码科技股份有限公司 签到信息的验证方法和系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120161971A1 (en) * 2010-12-22 2012-06-28 Verizon Patent And Licensing, Inc. Automated attendance tracking and event notification
WO2012149212A1 (en) * 2011-04-26 2012-11-01 Cora Software Llc Methods, apparatuses and systems for verifying time and attendance by workers at remote worksites
CN102332086A (zh) * 2011-06-15 2012-01-25 夏东 一种基于双阈值局部二进制模式的人脸识别方法
CN103167106A (zh) * 2011-12-16 2013-06-19 北京创和世纪通讯技术有限公司 基于环境信息的移动终端控制装置及方法
CN105513153A (zh) * 2016-02-15 2016-04-20 广东欧珀移动通信有限公司 一种会议考勤方法及装置

Also Published As

Publication number Publication date
CN108665571B (zh) 2021-04-02
CN108665571A (zh) 2018-10-16

Similar Documents

Publication Publication Date Title
WO2018177054A1 (zh) 签到方法和装置
US11553301B2 (en) Systems and methods for deploying dynamic geofences based on content consumption levels in a geographic location
US10097420B2 (en) Method and apparatus for determining area in which IP address is located
CN107404500B (zh) 群组通信方法、装置及移动终端
US9860700B2 (en) Location and time specific mobile participation platform
US20110117879A1 (en) Methods And Apparatus For Facilitating The Determination Of GPS Location Information For A Mobile Station Without Disrupting Communications Of Voice Call
US8812029B1 (en) Automated user check-in utilizing mobile computing devices
KR20060131894A (ko) 매칭 시스템 및 방법
CN104835209B (zh) 一种移动考勤的方法
CA2968656C (en) Identity and phone number verification
US20200143340A1 (en) Fund flow report generation method and device
RU2641246C2 (ru) Способ и устройство оценки безопасности
CN110109737B (zh) 应用程序的启动方法、装置、计算机设备及存储介质
JPWO2017168651A1 (ja) 人口推定装置、プログラム及び人口推定方法
PH12019000107A1 (en) Charger management method, server and chargers
CN104601624A (zh) 一种数据交互方法和装置
US8380219B1 (en) Controlling an amount of information disclosed by a position-determining system
CN110288485B (zh) 基于位置的审核成员筛选方法以及装置
CN110460471B (zh) 一种超级节点竞选方法、装置及存储介质
US20180324275A1 (en) Selective information sharing between users of a social network
CN108460854A (zh) 基于无线网络的移动终端的考勤打卡方法及系统
CN110139222A (zh) 实时获取目标位置的方法、装置
CN113010781A (zh) 推送方法、装置、服务器及存储介质
US20200160475A1 (en) System and Method for Arranging Communication Among Parties
CN107484115B (zh) 一种考勤方法、装置及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18775290

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18775290

Country of ref document: EP

Kind code of ref document: A1