CN116320141B - Method for recommending card punching, electronic equipment and computer readable storage medium - Google Patents
Method for recommending card punching, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN116320141B CN116320141B CN202310588506.8A CN202310588506A CN116320141B CN 116320141 B CN116320141 B CN 116320141B CN 202310588506 A CN202310588506 A CN 202310588506A CN 116320141 B CN116320141 B CN 116320141B
- Authority
- CN
- China
- Prior art keywords
- time
- card
- punching
- period
- card punching
- 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.)
- Active
Links
- 238000004080 punching Methods 0.000 title claims abstract description 361
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000013145 classification model Methods 0.000 claims description 22
- 238000012549 training Methods 0.000 claims description 21
- 230000003190 augmentative effect Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 15
- 230000006870 function Effects 0.000 description 22
- 238000007726 management method Methods 0.000 description 21
- 239000010410 layer Substances 0.000 description 19
- 230000001976 improved effect Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 10
- 230000003416 augmentation Effects 0.000 description 9
- 230000033001 locomotion Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013434 data augmentation Methods 0.000 description 3
- 238000007667 floating Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000007635 classification algorithm Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000035622 drinking Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000007477 logistic regression Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9538—Presentation of query results
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method for recommending card punching, electronic equipment and a computer readable storage medium. The method for recommending the card punching comprises the following steps: determining the card punching probability of each time period in a preset time range according to the current scene and historical data, wherein the historical data comprises time and scene of detecting card punching of a user in the historical time period, the scene comprises date information and position information, and the date information comprises any one or more of information of whether the date is a working day, ordering information in the working day and month information. And displaying the card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be positioned in a preset position range and the card punching probability of the current period is larger than a first threshold value. According to the method, the device and the system, the card punching habit of the user is counted from multiple dimensions according to scenes, the card punching probability under each scene can be accurately identified, the time period of going to work and the time period of going from work are not required to be designated, the card punching of the user can be recommended in the time period meeting the condition of recommending card punching, and the personalized requirements of the user are met.
Description
Technical Field
The present application relates to the field of mobile terminal applications, and in particular, to a method for recommending card punching, an electronic device, and a computer readable storage medium.
Background
The card punching software is common at present, and the electronic equipment prompts the user to punch cards at the time of going to work and going to work of the user, so that the user can be helped to punch cards in time, and inconvenience caused by missing the card punching is avoided.
The existing method for prompting the card punching of the electronic equipment generally needs to manually designate the time of working and the time of working, and prompts the user to punch the card when the time of working or the time of working is confirmed. However, the working rules of the users are different every day, the users are prompted to punch cards at the appointed time, the reminding delay or the situation that the reminding is invalid can be caused, and the personalized requirements of the users can not be met.
Disclosure of Invention
The application provides a method for recommending card punching, electronic equipment and a computer readable storage medium, which solve the problem that the conventional method for prompting card punching cannot meet the personalized requirements of users.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, a method for recommending card punching is provided, and the method is applied to an electronic device and includes:
determining the card punching probability of each time period in a preset time range according to a current scene and historical data, wherein the historical data comprises time and scene of detecting card punching of a user in the historical time period, the scene comprises date information and position information, and the date information comprises any one or more of information of whether the date is a workday, ordering information in the workday and month information;
And displaying the card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be positioned in a preset position range and the card punching probability of the current period is larger than a first threshold value.
In the above embodiment, the probability of punching a card in each period in the preset time range is determined according to the current scene and the historical data, and the display interface of the electronic device displays the information of the recommendation of punching a card when the electronic device is detected to be located in the preset position range and the probability of punching a card in the current period is greater than the first threshold. Therefore, the card punching can be recommended under the condition that the card punching probability is met, and the user does not need to specify the on-duty period and the off-duty period. Meanwhile, the historical data comprises time and scenes when the user is detected to punch cards in the historical time period, and the scenes comprise position information, information about whether the user is working days, ordering information in the working days and month information, so that the card punching habit of the user can be counted from multiple dimensions, the card punching probability of the user in each scene can be more accurately identified, the user is recommended to punch cards in a proper time period, and personalized requirements of the user are met.
In an embodiment, the determining the probability of punching a card for each period in the preset time range according to the current scene and the historical data includes: and inputting the current scene into a prediction model to obtain the probability of punching cards of each period in a preset time range output by the prediction model, wherein the prediction model is trained by the historical data. The accuracy of the obtained card punching probability can be improved by determining the card punching probability of each time period in the preset time range through the prediction model.
In an embodiment, before said inputting the current scene into the predictive model, the method further comprises: generating data samples according to the historical data, wherein each data sample comprises a label and a scene corresponding to each time interval in a day, and the value of the label is determined according to the time of each day of card punching of the user; and training the classification model according to the data sample to obtain a prediction model.
In the above embodiment, the sample is constructed by dividing the time of day into a plurality of equidistant time intervals, and the model is trained, and then the probability of punching the card corresponding to each time period is output according to the scene of the day, so that the card punching recommendation can be performed under the condition that the first threshold is met and the position requirement is met, that is, the card punching recommendation is performed only in some time periods in the day. Because the recommendation is only performed in the time period when the probability of punching the card is larger than the first threshold value, and the card punching recommendation information can be always displayed in the time period, the problem that the card punching recommendation information disappears rapidly or a screen is overturned for a long time can be avoided, and the user experience is improved.
In an embodiment, the data samples include an original data sample and an augmented data sample, the original data sample is determined according to the time of the user punch card, the augmented data sample is determined according to an offset punch card time, and an interval between the offset punch card time and the time of the user punch card is a preset offset duration. The model training is carried out by carrying out data augmentation on the original data, so that the stability of a prediction model can be improved, the probability of punching cards according with the rules of the users going to work and going from work is output, and the service of punching cards is recommended for the users better.
In an embodiment, the time of the user card punching is in a time period of card punching on duty or a time period of card punching off duty, and the preset offset time period corresponding to the time period of card punching on duty is different from the preset offset time period corresponding to the time period of card punching off duty. Because the number of times that the user goes to work in advance is greater than the number of times that the user goes to work in delay, the time length of the leftward deviation of the time period of going to work is longer, and the situation that the user does not recommend the card punching under the condition that the user goes to work in advance can be avoided. The number of times that the user postpones the work is greater than the number of times that the user backs off the work, so the time length of rightward deviation in the work-off period is longer, and the situation that the user is not recommended to punch a card under the condition that the user overtakes the work can be avoided.
In an embodiment, before the generating of the data samples from the historical data, the method further comprises: and determining the preset offset duration according to the historical data. And determining the augmentation data samples according to the preset offset duration, so that the augmentation data samples can be matched with the card punching rule of the user, and the stability of the prediction model obtained by training is improved.
In an embodiment, before the determining the probability of punching a card for each period in the preset time range according to the current scene and the historical data, the method further includes: and determining the first threshold according to the card punching probability of each time period in the preset time range. The first threshold is a dynamic threshold, and by setting the dynamic threshold, a proper threshold can be determined according to the time distribution of the card punching of the user during the working hours and the working hours, so that the card punching rule of different users under different scenes is adapted, personalized card punching recommendation service is provided for the users, and the user experience is improved.
In an embodiment, when it is detected that the electronic device is located in a preset position range and the probability of punching a card in the current period is greater than a first threshold, displaying punching recommendation information on a display interface of the electronic device includes: and if the electronic equipment is detected to be positioned in the preset position range and the card punching probability of the current time period is larger than a first threshold value, if the card punching information is not detected in the first time period before the current time period, displaying the card punching recommendation information on a display interface of the electronic equipment, so that the situation that the service is recommended for the user repeatedly under the condition that the user finishes card punching can be avoided.
In an embodiment, after the electronic device is detected to be located in the preset location range and the probability of punching a card in the current period is greater than the first threshold, the method further includes: if the card punching information is not detected within the second duration, and the card punching probability of the next time period is larger than the first threshold value, and the electronic equipment is located in the preset position range, card punching recommendation information is displayed on a display interface of the electronic equipment, so that the frequency of recommending card punching is improved after the user does not use the recommendation service, and further the situation that the user forgets to punch cards under the overtime condition is avoided.
In an embodiment, the determining the probability of punching a card for each period in the preset time range according to the current scene and the historical data includes: when a preset condition is met, determining the probability of punching a card of each time period in a preset time range according to a current scene and historical data, wherein the preset condition comprises any one or more of the electronic equipment being in a screen-off state, the electronic equipment being in a charging state, the current time being preset time, and the electronic equipment being in a preset area. The condition that the preset condition is met is the idle time of the electronic equipment, and the card punching probability of each period is determined in the idle time, so that the situation that the computing process occupies the resources of the electronic equipment in the process that a user uses the mobile phone can be avoided, and the response speed of the electronic equipment is prevented from being influenced by the computing process.
In a second aspect, an apparatus for recommending card punching is provided, and the apparatus is applied to an electronic device, and includes:
the processing module is used for determining the card punching probability of each time period in a preset time range according to the current scene and historical data, wherein the historical data comprises time and scene of detecting card punching of a user in the historical time period, the scene comprises date information and position information, and the date information comprises any one or more of information of whether the date information is a workday, ordering information in the workday and month information;
And the recommending module is used for displaying the card punching recommending information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be positioned in a preset position range and the card punching probability of the current period is larger than a first threshold value.
In one embodiment, the processing module is specifically configured to:
and inputting the current scene into a prediction model to obtain the probability of punching cards of each period in a preset time range output by the prediction model, wherein the prediction model is trained by the historical data.
In an embodiment, the processing module is further configured to:
generating data samples according to the historical data, wherein each data sample comprises a label and a scene corresponding to each time interval in a day, and the value of the label is determined according to the time of each day of card punching of the user;
and training the classification model according to the data sample to obtain a prediction model.
In an embodiment, the data samples include an original data sample and an augmented data sample, the original data sample is determined according to the time of the user punch card, the augmented data sample is determined according to an offset punch card time, and an interval between the offset punch card time and the time of the user punch card is a preset offset duration.
In an embodiment, the time of the user card punching is in a time period of card punching on duty or a time period of card punching off duty, and the preset offset time period corresponding to the time period of card punching on duty is different from the preset offset time period corresponding to the time period of card punching off duty.
In an embodiment, the processing module is further configured to:
and determining the preset offset duration according to the historical data.
In an embodiment, the processing module is further configured to:
and determining the first threshold according to the card punching probability of each time period in the preset time range.
In one embodiment, the recommendation module is specifically configured to:
and if the electronic equipment is detected to be positioned in the preset position range and the card punching probability in the current period is larger than a first threshold value, if the card punching information is not detected in the first time period before the current period, displaying card punching recommendation information on a display interface of the electronic equipment.
In an embodiment, the recommendation module is further configured to:
if the card punching information is not detected within the second time period, and the card punching probability of the next time period is larger than the first threshold value, and the electronic equipment is located in the preset position range, card punching recommended information is displayed on a display interface of the electronic equipment.
In one embodiment, the processing module is specifically configured to:
when a preset condition is met, determining the probability of punching a card of each time period in a preset time range according to a current scene and historical data, wherein the preset condition comprises any one or more of the electronic equipment being in a screen-off state, the electronic equipment being in a charging state, the current time being preset time, and the electronic equipment being in a preset area.
In a third aspect, there is provided an electronic device comprising a processor for executing a computer program stored in a memory to implement the method as described in the first aspect above.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, which when executed by a processor, implements a method as described in the first aspect above.
In a fifth aspect, there is provided a chip comprising a processor coupled to a memory, the processor executing a computer program or instructions stored in the memory to implement a method as described in the first aspect above.
In a sixth aspect, there is provided a computer program product for causing an electronic device to perform the method as described in the first aspect above when the computer program product is run on the electronic device.
It will be appreciated that the advantages of the second to sixth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
Fig. 1 is a schematic diagram of a card punching scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for recommending a punch card according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating time interval division according to an embodiment of the present application;
fig. 4 is a probability distribution diagram of a punch time period in working according to an embodiment of the present application;
fig. 5 is a probability distribution diagram of a punch time period of a next punch according to an embodiment of the present application;
FIG. 6 is a graph showing a probability of punching a card for each period according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a recommended punch according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for recommending punching a card according to an embodiment of the present application;
FIG. 9 is a scene graph of a recommended punch provided by another embodiment of the application;
FIG. 10 is a flowchart of a method for recommending punch cards according to another embodiment of the present application;
FIG. 11 is a schematic diagram of a function of initiating a recommended punch according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 13 is a software architecture diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
The method for recording the attendance information of the user by adopting software with a card punching function (such as nailing, enterprise WeLink and the like) is a common attendance method at present. For example, as shown in (a) of fig. 1, the electronic device opens the attendance punch software upon detecting an operation of opening the "attendance punch" software by the user. If the electronic device detects a card punching instruction of a user under the condition that the attendance card punching software is operated on the electronic device, opening a card punching page shown in (b) in fig. 1. When the electronic equipment detects that a user clicks a card punching operation on a card punching page, recording card punching time, and taking the card punching time as the time of the user to work or the time of the user to work.
And in the working and working time, the electronic equipment reminds the user of punching cards in the form of displaying the card punching recommendation information on the display interface, so that the user can be prevented from missing card punching.
The prior method for recommending the card punching generally needs to manually divide the time period of the work-in period and the time period of the work-out period, the electronic equipment or the server respectively counts the card punching time of the time period of the work-in period and the time period of the work-out period, and recommends the user to punch the card when the card punching time is reached. Because statistics is carried out based on time rules, the obtained card punching interval is relatively fixed, and the personalized card punching requirements of different users on duty and off duty can not be met. For example, a user may be off duty earlier on the friday, and off duty later on other hours, or on the weekend of the industry where the user is located, a fixed punch interval may not recommend that the user punch a card during the appropriate time period. Meanwhile, statistics is carried out based on the card punching time of the on-duty period and the off-duty period, a very wide or very narrow time interval is usually obtained, the card punching probability in the interval is considered to be the same, and if card punching recommended information is displayed on the electronic equipment, the problem that the card punching recommended information is blocked for a long time or disappears quickly is caused, so that user experience is affected.
To this end, the present application provides a method of recommending a punch card, in which a punch card probability for each time period within a preset time range is determined according to a current scene and historical data, the historical data includes a time and a scene in which a punch card of a user is detected in the historical time period, the scene includes date information including any one or more of information of whether it is a workday, ordering information in the workday, month information, and location information. And displaying the card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be positioned in the preset position range and the card punching probability of the current period is larger than a first threshold value. Therefore, the card punching can be recommended under the condition that the card punching probability is met, and the user does not need to specify the on-duty period and the off-duty period. Meanwhile, as the historical data comprehensively considers a plurality of scene characteristics, the card punching habit of the user can be counted from a plurality of dimensions, so that the card punching probability of the user in each scene can be more accurately identified, the card punching of the user is recommended in a proper period, and the personalized requirements of the user are met.
The method for recommending and punching cards provided by the application is exemplified below.
The method for recommending and punching cards provided by the embodiment of the application is applied to electronic equipment, wherein the electronic equipment can be mobile phones, tablet computers, handheld computers, personal digital assistants (personal digital assistant, PDA), augmented reality (augmented reality, AR) \virtual reality (VR) equipment, media players, wearable equipment and other equipment which can be held/operated by one hand, and the embodiment of the application does not limit the specific form/type of the electronic equipment. The electronic device includes, but is not limited to, a device on which iOS, android, microsoft, hong and mony systems (Harmony OS) or other operating systems are mounted.
Referring to fig. 2, a method for recommending and punching cards according to an embodiment of the present application includes:
s201: determining the card punching probability of each time period in a preset time range according to a current scene and historical data, wherein the historical data comprises time and scene when a user is detected to punch cards in the historical time period, the scene comprises date information and position information, and the date information comprises any one or more of information of whether the date is a workday, ordering information in the workday and month information.
Specifically, the history period may be one month or one year in the past, or may be a period from when the user downloads the punching software to the current time. The time of the user to punch the card in the historical period can be obtained by the electronic equipment from the card punching software or the log information stored on the electronic equipment, the scene of the user to punch the card in the historical period can be obtained by the electronic equipment from other three-party software, can be obtained by the electronic equipment from a server, and can be determined according to the setting information of the user.
Illustratively, each day of the history period may be a holiday, including for example, saturday, sunday, and other holidays, or a weekday, including for example, monday through Friday. Whether each day of the history period is a working day may be obtained from a calendar application of the electronic device, or may be obtained by the electronic device through an access server, or may be set by a user, or may be determined by the electronic device according to a card punching record of the user. For example, the recommended-to-punch function is provided by a "smart space" (a function module for providing a recommended service) on the electronic device, and when the electronic device detects that the user activates the recommended-to-punch function of the "smart space", the electronic device outputs prompt information for determining the working day, and if the user selects the default working day, the electronic device determines from the calendar application program or by accessing the server whether the time of the user to punch the card is the working day. If the operation of selecting the user-defined working day is detected, the electronic equipment determines whether the time of punching the card by the user is the working day according to the working day set by the user.
The ranking information in the workday includes any one or more of day of week, day of month, day of week in the year. Month information refers to the month in which the day was located.
The location information includes the city in which the electronic device is currently located and the particular location (e.g., an x cell or an x building) in which the electronic device is currently located. The location information may be determined according to location information of the electronic device, or may be determined according to WIFI information or base station information to which the electronic device is connected.
In an embodiment, the scene further comprises motion information of the electronic device, the motion information of the electronic device reflecting motion information of the user. For example, the movement information of the electronic device may include a speed of the electronic device, which may reflect a vehicle in which the user is riding on duty. The movement information of the electronic device may include a displacement of the electronic device from which it may be determined that the user is away from home or near the work site.
In an embodiment, the time and the scene of each time of the card punching of the user are determined according to the historical data, the time period of each time of the card punching of the user and the corresponding scene are further determined, and the probability of each time period of the card punching in each scene is determined through statistics. Wherein the respective time periods may be time periods of a day, each time period may be 15 minutes, 30 minutes or 60 minutes. After the probability of punching the card in each time period in each scene is determined, the probability of punching the card in each time period in a preset time range in the current scene can be determined.
The preset time range may be one day, three days or one week.
In an embodiment, training samples are generated in advance according to historical data, the classification model is trained to optimize parameters of the classification model, and the optimized classification model is used as a prediction model. And then, inputting the current scene into a prediction model to obtain the probability of punching the card in each time period in a preset time range output by the prediction model, and predicting the probability of punching the card by the model to improve the accuracy of the obtained probability of punching the card.
The following describes a construction flow of a prediction model according to an embodiment of the present application.
The electronic equipment divides a day into a first number of time intervals, wherein one time interval is a period, and the labels corresponding to the time intervals in each day are determined according to the time of the user card punching detected in the historical period. The time intervals may also be referred to as slots, and the duration of each time interval may be 15 minutes, 30 minutes, 60 minutes, or the like. For example 24 hours a day, each time interval being 60 minutes long, divided into 24 time intervals each day, each time interval being 30 minutes long, divided into 48 time intervals each day. The label corresponds to whether a corresponding time interval has a punch record, for example, for one of the days, if the punch record is determined to exist in the time interval according to the punch time of the user on the same day, the label of the time interval is yes, if the punch record does not exist in the time interval, the label is no, for example, if the punch record exists in the time interval, the label is 1, and if the punch record does not exist in the time interval, the label is 0.
Illustratively, as in FIG. 3, a day is divided into 48 time intervals at 30 minute intervals, in order of 00:00-00:30, 00:30-01:00, 01:00-01:30,..23:00-23:30, 23:30-00:00. For any day, if there is a card punching record in a time interval, that is, the card punching time is in the time interval, the label of the time interval is 1, and if there is no card punching record in the time interval, the label of the corresponding time interval is 0. For example, if the time of the user for punching the card is 08:30-09:00 and 18:00-18:30, respectively, then the labels of the two time intervals 08:30-09:00 and 18:00-18:30 are 1, and the labels of the remaining time intervals are 0.
In an embodiment, the preset intervals in different time periods may be different, so that a day is divided into time intervals of different lengths, for example, two time periods of 0:00-06:00 and 11:00-15:00 are divided according to intervals of 60 minutes, and other time periods are divided according to intervals of 30 minutes, so that the number of negative samples (i.e. samples where no punch record exists) may be reduced.
And taking the labels corresponding to the time intervals in one day and the scene of the same day as one data sample, and obtaining a plurality of data samples according to the historical data.
In an embodiment, the data sample determined according to the time of the historical period of time when the user is swiped is an original data sample, and the electronic device further generates an augmented data sample according to the time of the historical period of time when the user is swiped and the corresponding scene. Specifically, the time of punching the card for the user is respectively shifted leftwards or rightwards according to the preset shifting duration, or is shifted leftwards and rightwards at the same time, so that the shifting time of punching the card is obtained, the shifting time of punching the card is also used as the time of punching the card, and the labels and the scenes corresponding to each time interval in the day are determined according to the shifting time of punching the card, so that the augmented data sample is obtained. The number of the samples can be increased by the augmented data samples, the labels of the time intervals corresponding to the original data samples and the corresponding augmented data samples are different, and the scenes are the same.
For example, if the time of punching the card on one day in the history data is 09:00, the preset offset time period includes a leftward offset time period and a rightward offset time period, both the leftward offset time period and the rightward offset time period are 20 minutes, and the time of punching the card after the offset is 08:40 and 09:20 respectively. And determining labels corresponding to the time intervals of the day according to the time of punching the card of 9:00, and generating an original sample according to the labels corresponding to the time intervals of the day and the scene of the day. And determining labels corresponding to the time intervals of the day according to the time of punching the card of 08:40, and generating an augmentation data sample according to the labels corresponding to the time intervals of the day and the scene of the day. And determining labels corresponding to the time intervals of the day according to the time of punching the card of 09:20, and generating another augmentation data sample according to the labels corresponding to the time intervals of the day and the scene of the day.
For another example, if the time of day of the time of flight in the historical data is 9:00 and 18:00, the time of flight left and the time of flight right corresponding to each time of flight are 20 minutes, the time of flight after the offset corresponding to 09:00 is 08:40 and 09:20, respectively, the time of flight after the offset corresponding to 18:00 is 17:40 and 18:20, respectively, the time of flight corresponding to the original data sample is 9:00 and 18:00, the time of flight corresponding to each augmented data sample is 08:40 and 17:40, 08:40 and 18:00, 08:40 and 18:20, 09:00 and 17:40, 9:00 and 18:20, 09:20 and 17:00, 09:20 and 18:00, 09:20 and 18:20, respectively, the labels of each time interval corresponding to the original data sample can be obtained according to the time of flight corresponding to the augmented data sample, and the labels of each time interval corresponding to the augmented data sample can be obtained according to the time of flight corresponding to the augmented data sample.
By shifting the time of punching the card, the time interval close to the actual time of punching the card of the user is also used as the time of punching the card, and an augmentation data sample is generated to participate in model training, so that the accuracy of a prediction model obtained by training can be improved. According to the prediction model, the user can be recommended to punch cards before or after the time of actually punching cards of the user in the same scene, and the user can still be recommended to punch cards under the condition that the user goes to work in advance or goes off work in a delayed manner, so that the user can be prevented from missing the card punching, and the user experience is improved.
In an embodiment, the time of the user's punch is in a punch-in period or a punch-out period, for example, a period before the set time is a punch-in period, and a period after the set time is a punch-out period. The preset offset time length corresponding to the on-duty card punching time period is different from the preset offset time length corresponding to the off-duty card punching time period.
For example, the time of the punch-out for the punch-out period of each week is counted to obtain the probability distribution map shown in fig. 4, and the time of the punch-out for the punch-out period of each week is counted to obtain the probability distribution map shown in fig. 5. It can be seen that the on-duty punch-out time presents a narrow distribution of left (i.e., the preceding time) and right (i.e., the following time), and the off-duty punch-out time presents a narrow distribution of left and right. Namely, the probability of the user to punch the card before the on-duty time in the on-duty card punching period is higher, and the probability of the user to punch the card after the off-duty card punching period is higher. Therefore, for the card punching record detected in the card punching period of the work, the time for detecting the card punching is shifted to the left for 20 minutes and to the right for 10 minutes, so as to obtain the shifted card punching time, and then an augmented data sample is generated according to the shifted card punching time, for the card punching record detected in the card punching period of the work, the time for detecting the card punching is shifted to the left for 5 minutes and to the right for 10 minutes, so as to obtain the shifted card punching time, and then the augmented data sample is generated according to the shifted card punching time.
Because the number of times that the user goes to work in advance is greater than the number of times that the user goes to work in delay, the time length of the leftward deviation of the time period of going to work is longer, and the situation that the user does not recommend the card punching under the condition that the user goes to work in advance can be avoided. The number of times that the user postpones the work is greater than the number of times that the user backs off the work, so the time length of rightward deviation in the work-off period is longer, and the situation that the user is not recommended to punch a card under the condition that the user overtakes the work can be avoided.
In another embodiment, the user's punching habit may also be determined according to the historical data, and the preset offset duration may be determined according to the user's punching habit. For example, the time to shift is 9:00, the time to shift is 18:00, the time to shift is detected according to the historical time period, the time to shift is generally 8:50-9:00 and 18:00-19:00, the time to shift left for 20 minutes and shift right for 5 minutes for the time to shift left for the time to shift right for the time to shift 120 minutes for the time to shift right for the time to shift left. The preset offset time length is determined according to the historical data, so that the card punching probability of each period counted later is consistent with the habit of the user, and the user experience is improved.
In another embodiment, the time of punching the card by the user may be shifted to the left or right according to the time of punching the card by the user and the preset shift time length, or shifted to the left and right at the same time, to obtain a punching time period, and then the label corresponding to each time interval is determined according to the punching time period. That is, all time intervals overlapping with the time interval of the punching are time intervals with the punching record, the corresponding label is 1, the time interval not overlapping with the time interval of the punching is time interval without the punching record, and the corresponding label is 0.
For example, if the time of punching the card is 09:00, the preset offset time length includes a left offset time length and a right offset time length, the left offset time length and the right offset time length are both 20 minutes, the time period of punching the card is 08:40-09:20, if the time interval is 30 minutes, two time intervals of 08:30-9:00 and 9:00-9:30 are time intervals with punching records, and the labels are 1.
The time of the user for punching the card is translated through the preset offset time length, the time of punching the card is increased, the corresponding label is added, the formed sample is an amplified data sample, the number of positive samples (i.e. the samples with the card punching records) can be increased, and the stability of the calculated prediction model is improved.
After the data sample is obtained, training the classification model according to the training sample to obtain the prediction model.
Wherein the classification model may be a model based on a lightweight gradient lifting algorithm (Light gradient boosting machine, LGBM) which may exhibit better non-linear characteristics as the feature dimensions of the sample increase. The classification model can also be a linear classification model, the linear classification model carries out model training after carrying out linear summation on each characteristic of each data sample, and the linear classification model can reduce the calculated amount. Wherein the linear classification model may be a logistic regression model.
In the samples used for training the classification model, the difference between the positive sample and the negative sample is larger, namely the number of time intervals in which the punch record exists is smaller than the number of time intervals in which the punch record does not exist. For example, if the number of time intervals is 48 in any day, and there are two punch records, the ratio of positive samples to negative samples is 2:46, so that the samples for training the classification model have the problem of unbalanced samples, which affects the robustness of the prediction model obtained after training, and further affects the accuracy of the punch probability of the subsequent prediction. Therefore, in the embodiment of the application, in the process of training the classification model, for the calculation step of solving the inverse gradient, the weight of the positive sample is set to be 0.7, and the weight of the negative sample is set to be 0.3, so that the optimization process of parameters of the classification model can be improved, and a prediction model with higher accuracy can be obtained.
In other embodiments, the electronic device may also upload the historical data to a server, and the server trains the classification model according to the historical data to obtain a prediction model, and sends the prediction model to the electronic device.
After the electronic equipment obtains the prediction model, the current scene is input into the prediction model, and the probability of punching cards of each period in a preset time range output by the prediction model is obtained. The electronic device inputs the current scene into the prediction model to obtain the probability of punching cards of each time period of the day output by the prediction model when the electronic device determines that the preset probability calculation time is reached every day.
For example, according to the scenario of the day, the obtained probability of punching a card in each time slot of the day is shown in fig. 6, wherein the abscissa in fig. 6 represents the sequence number of the time slot after the time slot is sequenced from 00:00-00:30, and the ordinate represents the probability of punching a card in each time slot (i.e. time slot).
In an embodiment, when the preset condition is met, the electronic device determines a probability of punching a card for each period in a preset time range according to the current scene and the historical data. The preset conditions comprise any one or more of the electronic equipment being in a screen-off state, the electronic equipment being in a charging state, the current time being preset time, and the electronic equipment being located in a preset area. The preset time can be 2:00-5:00 a.m. or a sleep period of the user determined according to the sleep data of the user. The preset area may be a city in which the user works or an area in which the user's home is determined according to the user trajectory. The condition that the preset condition is met is the idle time of the electronic equipment, and the card punching probability of each period is determined in the idle time, so that the situation that the computing process occupies the resources of the electronic equipment in the process that a user uses the mobile phone can be avoided, and the response speed of the electronic equipment is prevented from being influenced by the computing process.
S202: and displaying the card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be positioned in a preset position range and the card punching probability of the current period is larger than a first threshold value.
Specifically, as shown in fig. 6, after the probability of punching a card in each period is obtained, a period corresponding to the probability of punching a card greater than the first threshold is a period in which a user may need to punch a card, and when the corresponding period is reached, if the electronic device is detected to be located in a preset position range, punching recommendation information is displayed on a display interface of the electronic device.
The preset position range may be a position range set by the user, or may be determined by the electronic device according to a position where the user is located when the user is detected to punch a card. For example, if it is determined that the place where the user clicks a card is an xx building based on the history data, an area within a range of 50 meters from the xx building is determined as a preset position range. And the electronic equipment determines whether the electronic equipment is positioned in a preset position range according to the positioning information of the electronic equipment, the base station information connected with the electronic equipment or the WIFI information connected with the electronic equipment.
In an embodiment, the electronic device determines the first threshold according to a probability of punching a card for each period within a preset time range. For example, the preset time range is one day, the electronic device determines the probability of punching a card at each time interval in the day according to the historical data, and determines the first threshold according to each probability of punching a card. The first threshold corresponding to the shift-in period and the first threshold corresponding to the shift-out period may be the same or different. For example, the electronic device uses the average value of the probability of being punched in each time interval in the day as the first threshold value, or sorts the probability of being punched in the day from small to large, and uses the value of the probability of being punched in the day greater than the first 40% as the first threshold value. For another example, the electronic device uses an average value of the probability of punching a card at each time interval in the on-duty period as a first threshold corresponding to the on-duty period, and uses an average value of the probability of punching a card at each time interval in the off-duty period as a first threshold corresponding to the off-duty period.
Illustratively, as shown in fig. 6, after determining the first threshold value corresponding to the on-duty period and the first threshold value corresponding to the off-duty period, a time interval greater than the probability of punching a card greater than the first threshold value may be determined.
Because the probability of punching cards corresponding to each time interval in each scene is different, the first threshold value determined according to the probability of punching cards in each time interval is different in different scenes, and therefore the first threshold value is a dynamic threshold value. By setting the dynamic threshold, a proper threshold can be determined according to the time distribution of the card punching of the user during the working hours and the working hours, and the card punching method is suitable for the card punching rules of different users under different scenes, so that personalized card punching recommendation service is provided for the users, and the user experience is improved.
It will be appreciated that in other embodiments, the first threshold may also be a fixed value.
The card punching recommendation information can be displayed in a notification bar or in a card or floating window form. For example, when the condition of recommending the card punching is met, if the electronic equipment is in the screen locking state, the electronic equipment displays a notification bar on the screen locking interface, and card punching recommendation information is displayed in the notification bar. For another example, when the condition of recommending the card punching is met, if the electronic equipment displays a desktop or a negative screen, the card is displayed on the desktop or the negative screen, and the card punching recommendation information is displayed on the card. For another example, when the condition of recommending and punching cards is met, if the display interface of the electronic device displays other three-party application programs, a floating window is displayed at the uppermost layer of the display interface, and punching card recommendation information is displayed on the floating window, so that a user can conveniently punch cards in time.
When the electronic equipment detects the user-point hit card recommendation information, the card hitting page of the card hitting software is opened for the user to hit the card, or when the electronic equipment detects the user-point hit card recommendation information, the card hitting software is instructed to hit the card. The card punching software can be specified by a user, and can also be determined by the electronic equipment according to the card punching software used by the user in the historical time period.
Illustratively, as shown in (a) in fig. 7, the electronic device is located in the preset position range, and the probability of punching a card in the current period is greater than the first threshold value, the electronic device displays a first card 71 on the display interface, an icon 72 of the punching software and a first control 73 are displayed in the first card 71, and "punching a card" is displayed on the first control 73. Upon detecting an operation of clicking the first control 73 by the user, the electronic device displays a punch page of punch software as shown in (b) in fig. 7 on the display interface. And the user clicks the card punching page to finish card punching. It can be understood that the card punching page can display "on duty card punching" if the current time is in the on duty period, and can display "off duty card punching" if the current time is in the off duty period.
After the electronic equipment displays the card punching recommendation information on the display interface and detects the card punching instruction of the user, the electronic equipment does not display the card punching recommendation information any more.
In an embodiment, when the electronic device is detected to be located in a preset range and the card punching probability of the current period is greater than a first threshold, whether card punching information is detected in a first time period before the current period is judged, if the card punching information is detected in the first time period before the current period, the electronic device does not display card punching recommended information, and if the card punching information is not detected in the first time period before the current period, the electronic device displays the card punching recommended information on a display interface, so that the situation that the card punching information is recommended for a user repeatedly under the condition that the user has punched cards can be avoided. Wherein the card punching information is obtained from card punching software by the electronic equipment.
The first duration may be preset, for example, 1 hour. The electronic device may also determine the first time period based on whether the current time period is a shift-in time period or a shift-out time period. For example, in the on-duty punching period, the electronic device displays punching recommendation information on the display interface when punching information is not detected from the start of the on-duty punching period to the current period, and displays punching recommendation information on the display interface when punching information is not detected from the start of the off-duty punching period to the current period.
In the above embodiment, the electronic device determines the probability of punching a card in each period within the preset time range according to the current scene and the historical data, and when it is detected that the electronic device is located in the preset position range and the probability of punching a card in the current period is greater than the first threshold, the display interface of the electronic device displays the recommendation information of punching a card. Therefore, the card punching can be recommended under the condition that the card punching probability is met, the first card punching and the last card punching are not distinguished, and the user is not required to specify the working period and the working period. Moreover, the recommended card punching can be performed for a plurality of times under the condition that a plurality of time periods meet the recommended card punching condition, and manual intervention is not needed. Meanwhile, because the historical data comprises time and scenes of detecting the user to punch cards in the historical time period, the user's punching habit can be counted from multiple dimensions, so that the probability of punching cards of the user in each scene can be more accurately identified, the user can be recommended to punch cards in a proper time period, and personalized requirements of the user are met.
In one embodiment, the flow of the method of recommending punching cards is shown in fig. 8.
The electronic equipment firstly acquires the time and the scene of the user card punching detected in the historical period, takes the data as the original data, then determines the offset card punching time according to the card punching time of the user and the preset offset time length, and performs data augmentation according to the offset card punching time and the corresponding scene to obtain the augmentation data. The electronic equipment divides the time of day into a plurality of time intervals, the label of each time interval is determined according to the original data and the augmentation data, then the labels of the data samples and the corresponding date information, position information, motion state and other information are subjected to characteristic splicing to respectively obtain the original data samples and the augmentation data samples, and the original data samples and the augmentation data samples are adopted to train a classification model which is based on an LGBM algorithm or a linear classification algorithm. And then, the electronic equipment obtains a prediction model according to the trained classification model. When a command for recommending card punching is received, inputting the current scene into a prediction model to obtain card punching probability corresponding to each period output by the prediction model. And then, the electronic equipment determines a first threshold corresponding to the on-duty card punching time period according to the card punching probability of the on-duty time period, and determines a first threshold corresponding to the off-duty time period according to the card punching probability of the off-duty card punching time period. And then, the electronic equipment displays the card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is determined to be positioned in the preset position range and the card punching probability of the current period is larger than a first threshold value.
In the embodiment, the sample construction and the characteristic splicing are performed based on the historical data, the probability of punching cards in each period is predicted by adopting a machine learning algorithm, the time distribution rule of punching cards of users can be automatically learned, the working period and the working period do not need to be manually specified, the operation pressure of a server is reduced, and meanwhile, the method and the device can adapt to the personalized requirements of different users and perform different recommendation services for different users.
In addition, the sample construction is performed by dividing the time of day into a plurality of equidistant time intervals, the model training is performed, and the probability of punching the card corresponding to each time period is output according to the scene of the day, so that the card punching recommendation can be performed under the condition that the first threshold value is met and the position requirement is met, namely, the card punching recommendation is performed only in some time periods in the day. Because the recommendation is only performed in the time period when the probability of punching the card is larger than the first threshold value, and the card punching recommendation information can be always displayed in the time period, the problem that the card punching recommendation information disappears rapidly or a screen is overturned for a long time can be avoided, and the user experience is improved.
In addition, the date information and the position information are considered in the sample construction process, the date information comprises information of whether the date is a workday, ordering information in the workday, month information and the like, so that the multi-dimensional characteristics can be spliced to obtain a training sample, the prediction model obtained after training can accurately identify the card punching intention of a user in different scenes, and the recommendation accuracy is improved. For example, the card punching information can be still recommended to the user on the non-working day according to the overtime rule of the non-working day of the user. For another example, the card punching recommendation information which accords with the user business-on and business-off rules can be recommended to the user according to the business-on and business-off rules of the user at different times in each week or according to the business-on and business-off rules of the user at different times in each month.
Meanwhile, by carrying out data augmentation on the original data, constructing a training sample by adopting the original data and the augmented data, and carrying out model training, the stability of a prediction model can be improved, the probability of punching cards according with the rules of working and working of the user is output, and the service of punching cards is recommended for the user better.
In practical applications, after seeing the card-punching recommendation information, the user may not conveniently punch cards due to overtime requirements or the need to use the electronic device to process other transactions. Therefore, in an embodiment of the present application, after the electronic device displays the card punching recommendation information on the display interface, if the card punching information is not detected within the second duration, the card punching recommendation information is displayed on the display interface of the electronic device when the card punching probability of the next time period is detected to be greater than the first threshold and the electronic device is located within the preset position range. The second time period may be a set time period, for example, 20 minutes. The second duration may also be a duration of a time interval in which the current time is located, for example, a duration of 30 minutes for each time interval, and the second duration is 30 minutes, that is, a duration between when the card punching recommendation information starts to be displayed and when the time interval in which the current time is located ends. The second duration may also be a duration from the time the punch recommendation information is displayed to the time the user clears the card. For example, at 19:00, the electronic device displays the card punching recommendation information on the display interface, and after the electronic device detects that the card punching recommendation information is not clicked by the user after 20 minutes, or the card punching recommendation information is cleared. And when the time of 19:30 is reached, if the electronic equipment is detected to be still in the preset position range, determining whether the card punching probability of the 19:30-20:00 time period is larger than a first threshold value, and if so, displaying card punching recommendation information on a display interface again, so that the user is prevented from missing card punching, and the user experience is improved.
In an embodiment, after the electronic device displays the card-punching recommendation information on the display interface, if the card-punching recommendation information is not detected within the second duration, a second threshold smaller than the first threshold is used as a threshold, and when the card-punching probability of the next time period is detected to be larger than the second threshold and the electronic device is located in a preset position range, the card-punching recommendation information is displayed on the display interface of the electronic device, so that the frequency of recommending card punching is improved after a user does not use the recommendation service, and further, the situation that the user forgets to punch cards in overtime is avoided.
In one embodiment, as shown in fig. 9, the electronic device displays two options of "punch card" and "later remind" on the display interface at the same time when the punch card recommendation information is displayed. If the electronic equipment detects that a user clicks a card punching operation, a card punching page is displayed on a display interface, if the electronic equipment detects that the user clicks a later reminding operation, card punching recommended information is not displayed on the display interface in the current period, and when the electronic equipment detects that the card punching probability of the next period is larger than a first threshold value and is positioned in a preset position range, the card punching recommended information is displayed on the display interface of the electronic equipment, so that card punching service can be recommended for the user according to the user requirement.
In an embodiment, when the user clicks the "later reminding" operation is detected, the electronic device may display time options, for example, the electronic device displays time options such as a 20-minute later reminder, a 1-hour later reminder, and a 2-hour later reminder on the display interface, and after detecting that the user selects one of the time options, the card-punching recommendation information is displayed again at the corresponding time according to the time corresponding to the time option, so that the user is prevented from missing card punching, and at the same time, the interference of the recommendation service to the user is reduced according to the actual requirement of the user.
In an embodiment, after the electronic device displays the card punching recommendation information on the display interface, if the card punching information of the user is detected before the end of the time interval in which the current time is located, it is determined that the current time is in the on-duty card punching period or the off-duty card punching period. If the current time is in the on-duty card punching period, the card punching information is not recommended to the user in the on-duty card punching period, and if the current time is in the off-duty card punching period, the card punching information is not recommended to the user in the off-duty card punching period.
In one embodiment, an electronic device includes an application module, a business module, a learning module, and a perception module. The flow of the recommended card punching method is shown in fig. 10, the application module sends a recommended card punching instruction to the service module, and the service module subscribes to a recommended card punching learning task from the learning module when receiving the recommended card punching instruction. After receiving a learning task of recommending card punching, the learning module acquires time of user card punching in a historical period from card punching software, determines a scene of each time of card punching of a user according to historical position information and calendar information, generates a data sample according to the time and the scene of card punching of the user, and trains a classification model according to the data sample to obtain a prediction model. When the predicted time is reached, the service module sends an instruction for inquiring the time and the position of the card punching to the learning module, the learning module obtains the probability of the card punching corresponding to each time interval in the day according to the current scene and the predicted model, determines the time of the recommended card punching according to the probability of the card punching corresponding to each time interval, determines the position of the recommended card punching according to the historical data, and sends the time and the position of the recommended card punching to the service module. The business module registers the time fence and the geographic fence in the perception module according to the recommended time and the recommended position of the card punching. The time fence may be a time interval that satisfies the recommended punch, i.e., the punch probability is greater than the first threshold, and the geofence may be within a range less than a preset distance from the user's work place. The sensing module sends a fence trigger signal to the service module when the geofence is met according to the position of the electronic equipment and the time fence is met according to the current time, the service module sends a card-out instruction to the application module according to the fence trigger signal, and the application module displays card-punching recommendation information on the display interface according to the card-out instruction.
The application module can obtain a recommended card punching instruction according to user operation. For example, as shown in fig. 11, the electronic device displays an intelligent space page on a display interface according to user operation, when detecting an instruction of clicking an added scene by a user, displays scenes such as a card punching prompt, a water drinking prompt, a timed light on, and a timed air conditioner on, and when detecting an option of clicking the card punching prompt by the user, determines that the user starts a recommended card punching function, that is, determines that a recommended card punching instruction is received.
The learning module can generate a data sample when the electronic equipment is in a state of charging the screen, and training the classification model according to the data sample to obtain a prediction model. After the electronic equipment obtains the prediction model for the first time, the prediction model can be kept unchanged, and the prediction model can be updated after the prediction model is used for a preset time period (such as one month or three months, etc.), namely the electronic equipment can update the prediction model according to the latest card punching time and the corresponding scene so as to improve the accuracy of the prediction card punching probability of the prediction model. After the electronic equipment obtains the prediction model for the first time, the probability of the user to punch the card in the corresponding time period after the card punching recommendation information is displayed can be counted. If the probability of the user to punch the card in the corresponding time period is smaller than the set value, the recommendation is inaccurate, the prediction model is updated, and otherwise, the prediction model is not updated.
In an embodiment, after the prediction model is obtained, the learning module may obtain, when the electronic device is in a screen-off state, the electronic device is in a charging state, the current time is a preset time or the electronic device is in a preset area, a probability of punching a card corresponding to each time interval in a day according to the current scene and the prediction model, so that an influence speed of the electronic device in a calculation process may be prevented from being influenced.
In the above embodiment, the electronic device constructs the prediction model according to the historical data, determines the probability of punching a card at each time interval of the day according to the current scene and the prediction model, and recommends punching a card according to the probability of punching a card, so that the information of recommending the card punching is adapted to the rule of punching a card without a user.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 13 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 13, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 13, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other manners. For example, the apparatus/electronic device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (11)
1. A method for recommending card punching, applied to an electronic device, comprising the following steps:
Determining a card punching probability of each time period in a preset time range according to a current scene and historical data, wherein the historical data comprises time and scene of detecting card punching of a user in the historical time period, the scene comprises date information and position information, the date information comprises any one or more of information of a working day, ordering information in the working day and month information, and the preset time range is one day;
displaying card punching recommendation information on a display interface of the electronic equipment under the condition that the electronic equipment is detected to be located in a preset position range and the card punching probability of the current period is larger than a first threshold value;
displaying card punching recommendation information all the time in the current time period;
if the card punching information is not detected within the second time period, and the card punching probability of the next time period is larger than the first threshold value, and the electronic equipment is located in the preset position range, card punching recommended information is displayed on a display interface of the electronic equipment.
2. The method of claim 1, wherein determining the probability of punching a card for each time period within a predetermined time range based on the current scene and the history data comprises:
And inputting the current scene into a prediction model to obtain the probability of punching cards of each period in a preset time range output by the prediction model, wherein the prediction model is trained by the historical data.
3. The method of claim 2, wherein prior to said inputting the current scene into the predictive model, the method further comprises:
generating data samples according to the historical data, wherein each data sample comprises a label and a scene corresponding to each time interval in a day, and the value of the label is determined according to the time of each day of card punching of the user;
and training the classification model according to the data sample to obtain a prediction model.
4. The method of claim 3, wherein the data samples comprise raw data samples and augmented data samples, the raw data samples being determined from time of the user punch, the augmented data samples being determined from offset punch time, an interval between the offset punch time and the time of the user punch being a preset offset duration.
5. The method of claim 4, wherein the time of the user's punch-card is in a shift-in punch-card period or a shift-out punch-card period, and the preset offset duration corresponding to the shift-in punch-card period and the preset offset duration corresponding to the shift-out punch-card period are different.
6. The method of claim 4, wherein prior to said generating data samples from said historical data, said method further comprises:
and determining the preset offset duration according to the historical data.
7. The method according to any one of claims 1 to 6, wherein before determining the probability of punching a card for each period within a preset time frame from the current scene and the history data, the method further comprises:
and determining the first threshold according to the card punching probability of each time period in the preset time range.
8. The method according to any one of claims 1 to 6, wherein, in the case where it is detected that the electronic device is located within a preset location range and the probability of punching a card in the current period is greater than a first threshold, displaying punching recommendation information on a display interface of the electronic device includes:
and if the electronic equipment is detected to be positioned in the preset position range and the card punching probability in the current period is larger than a first threshold value, if the card punching information is not detected in the first time period before the current period, displaying card punching recommendation information on a display interface of the electronic equipment.
9. The method according to any one of claims 1 to 6, wherein determining the probability of punching a card for each period in a preset time range according to the current scene and the history data comprises:
when a preset condition is met, determining the probability of punching a card of each time period in a preset time range according to a current scene and historical data, wherein the preset condition comprises any one or more of the electronic equipment being in a screen-off state, the electronic equipment being in a charging state, the current time being preset time, and the electronic equipment being in a preset area.
10. An electronic device comprising a processor for executing a computer program stored in a memory to implement the method of any one of claims 1 to 9.
11. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310588506.8A CN116320141B (en) | 2023-05-24 | 2023-05-24 | Method for recommending card punching, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310588506.8A CN116320141B (en) | 2023-05-24 | 2023-05-24 | Method for recommending card punching, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116320141A CN116320141A (en) | 2023-06-23 |
CN116320141B true CN116320141B (en) | 2023-10-20 |
Family
ID=86785478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310588506.8A Active CN116320141B (en) | 2023-05-24 | 2023-05-24 | Method for recommending card punching, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116320141B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116935504A (en) * | 2023-07-10 | 2023-10-24 | 荣耀终端有限公司 | Card punching method, electronic device and computer readable storage medium |
CN117437703A (en) * | 2023-10-23 | 2024-01-23 | 北京宇音天下科技有限公司 | Custom task punching method, device, equipment and storage medium |
CN118349350A (en) * | 2023-12-08 | 2024-07-16 | 荣耀终端有限公司 | Data processing method, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111092985A (en) * | 2018-10-23 | 2020-05-01 | 奇酷互联网络科技(深圳)有限公司 | Reminding method of mobile terminal, mobile terminal and computer storage medium |
CN111798259A (en) * | 2019-04-09 | 2020-10-20 | Oppo广东移动通信有限公司 | Application recommendation method and device, storage medium and electronic equipment |
CN111798584A (en) * | 2020-08-09 | 2020-10-20 | 泉州征之魂智能科技服务有限公司 | Remote automatic attendance checking method based on mobile terminal |
CN113722029A (en) * | 2021-05-28 | 2021-11-30 | 荣耀终端有限公司 | Context-based notification display method and apparatus |
CN113962662A (en) * | 2021-10-27 | 2022-01-21 | 中国银行股份有限公司 | Card punching reminding method and device, electronic equipment and storage medium |
CN114095866A (en) * | 2021-11-17 | 2022-02-25 | 中国银行股份有限公司 | Method and device for reminding user of checking card on work or off work |
CN115240290A (en) * | 2022-07-28 | 2022-10-25 | 深圳和而泰智能控制股份有限公司 | Attendance card punching reminding method, intelligent wearable device and attendance card punching system |
-
2023
- 2023-05-24 CN CN202310588506.8A patent/CN116320141B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111092985A (en) * | 2018-10-23 | 2020-05-01 | 奇酷互联网络科技(深圳)有限公司 | Reminding method of mobile terminal, mobile terminal and computer storage medium |
CN111798259A (en) * | 2019-04-09 | 2020-10-20 | Oppo广东移动通信有限公司 | Application recommendation method and device, storage medium and electronic equipment |
CN111798584A (en) * | 2020-08-09 | 2020-10-20 | 泉州征之魂智能科技服务有限公司 | Remote automatic attendance checking method based on mobile terminal |
CN113722029A (en) * | 2021-05-28 | 2021-11-30 | 荣耀终端有限公司 | Context-based notification display method and apparatus |
CN113962662A (en) * | 2021-10-27 | 2022-01-21 | 中国银行股份有限公司 | Card punching reminding method and device, electronic equipment and storage medium |
CN114095866A (en) * | 2021-11-17 | 2022-02-25 | 中国银行股份有限公司 | Method and device for reminding user of checking card on work or off work |
CN115240290A (en) * | 2022-07-28 | 2022-10-25 | 深圳和而泰智能控制股份有限公司 | Attendance card punching reminding method, intelligent wearable device and attendance card punching system |
Also Published As
Publication number | Publication date |
---|---|
CN116320141A (en) | 2023-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116320141B (en) | Method for recommending card punching, electronic equipment and computer readable storage medium | |
US20230419566A1 (en) | Geocoding Personal Information | |
US20230185428A1 (en) | Smart carousel of image modifiers | |
US10061825B2 (en) | Method of recommending friends, and server and terminal therefor | |
US9658738B1 (en) | Representation management on an electronic device | |
KR102255764B1 (en) | Media item attachment system | |
US20150222576A1 (en) | Context-based message creation via user-selectable icons | |
CN113766064B (en) | Schedule processing method and electronic equipment | |
KR20240093951A (en) | Augmented reality anthropomorphization system | |
KR102547894B1 (en) | Dynamic Context Media Filter | |
KR20230012610A (en) | media request system | |
CN116128571A (en) | Advertisement exposure analysis method and related device | |
CN114066098B (en) | Method and equipment for estimating completion time of learning task | |
CN113780975B (en) | Intelligent schedule information reminding method, equipment, storage medium and software program product | |
CN115097993A (en) | Express delivery prompting method and electronic equipment | |
CN116028147A (en) | Application program recommendation method and electronic equipment | |
CN117061658B (en) | Sleep time identification method, electronic device and storage medium | |
CN114036954B (en) | Method and device for synchronizing notification messages | |
CN116048317B (en) | Display method and device | |
CN117131240B (en) | Service recommendation method, electronic device and computer readable storage medium | |
CN116069219B (en) | Method for acquiring schedule information and electronic equipment | |
CN116935504A (en) | Card punching method, electronic device and computer readable storage medium | |
CN117150067A (en) | Album processing method and related device | |
CN117828203A (en) | Service recommendation method and electronic equipment | |
CN115437526A (en) | Software use management method and device, computer equipment and storage medium |
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 |