CN107122286B - Method and device for counting event information - Google Patents

Method and device for counting event information Download PDF

Info

Publication number
CN107122286B
CN107122286B CN201710221573.0A CN201710221573A CN107122286B CN 107122286 B CN107122286 B CN 107122286B CN 201710221573 A CN201710221573 A CN 201710221573A CN 107122286 B CN107122286 B CN 107122286B
Authority
CN
China
Prior art keywords
event
information
type information
event type
shaking
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
Application number
CN201710221573.0A
Other languages
Chinese (zh)
Other versions
CN107122286A (en
Inventor
韩超
李海峰
高蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710221573.0A priority Critical patent/CN107122286B/en
Publication of CN107122286A publication Critical patent/CN107122286A/en
Application granted granted Critical
Publication of CN107122286B publication Critical patent/CN107122286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Probability & Statistics with Applications (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method and a device for counting event information, and belongs to the technical field of terminals. The method comprises the following steps: acquiring operation information for the wearable device; acquiring event information corresponding to the operation information; and counting the event information. This is disclosed through the operation information who obtains to wearable equipment to obtain the event information that this operation information corresponds, and then make statistics of this event information. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.

Description

Method and device for counting event information
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for counting event information.
Background
In modern life, many users record their working and living habits. If the information representing the working and living habits of the user is called event information, the event information is counted, so that the user can know the working and living states of the user conveniently, and the working efficiency and the living quality are improved.
Currently, in the related art, when event information is counted, an application for counting the event information of a user may be installed in a terminal in advance, and when a manual opening operation or a voice opening operation of the user on the application is detected, the event information of the user is counted by running the application.
Disclosure of Invention
The disclosure provides a method and a device for counting event information.
According to a first aspect of embodiments of the present disclosure, there is provided a method of counting event information, the method including:
acquiring operation information for the wearable device;
acquiring event information corresponding to the operation information;
and counting the event information.
In another embodiment of the present disclosure, the counting the event information includes:
generating schedule information according to the event information, wherein the schedule information comprises each event type information and corresponding total execution time;
analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result;
and displaying the analysis result.
In another embodiment of the present disclosure, the generating schedule information according to the event information includes:
adding the event execution times corresponding to the same event type information to obtain the total execution time corresponding to each event type information;
and generating schedule information based on each event type information and the corresponding total execution time.
In another embodiment of the present disclosure, the obtaining event information corresponding to the operation information includes:
determining event type information according to operation type information and operation frequency information in the operation information;
recording the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time;
and obtaining event information corresponding to the operation information based on the event type information and the event execution time.
In another embodiment of the present disclosure, the determining event type information according to operation type information and operation frequency information in the operation information includes:
and according to the operation type information and the operation frequency information in the operation information, acquiring event type information corresponding to the operation type information and the operation frequency information from a pre-stored event type database, wherein the event type database stores the corresponding relation among the operation type information, the operation frequency information and the event type information.
In another embodiment of the present disclosure, the operation information includes at least one of: operation type information and operation frequency information; the operation type information indicates at least one of: knocking and shaking;
the event information includes at least one of: event type information and event execution time information; the event type information indicates at least one of: meeting, mail processing, development, interruption.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for counting event information, the apparatus including:
the first acquisition module is used for acquiring operation information aiming at the wearable equipment;
the second acquisition module is used for acquiring event information corresponding to the operation information;
and the counting module is used for counting the event information.
In another embodiment of the present disclosure, the statistical module is configured to generate schedule information according to the event information, where the schedule information includes each event type information and a corresponding total execution time; analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result; and displaying the analysis result.
In another embodiment of the present disclosure, the statistical module is configured to add event execution times corresponding to the same event type information to obtain a total execution time corresponding to each event type information; and generating schedule information based on each event type information and the corresponding total execution time.
In another embodiment of the present disclosure, the second obtaining module is configured to determine event type information according to operation type information and operation frequency information in the operation information; recording the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time; and obtaining event information corresponding to the operation information based on the event type information and the event execution time.
In another embodiment of the present disclosure, the second obtaining module is configured to obtain, according to operation type information and the operation frequency information in the operation information, event type information corresponding to the operation type information and the operation frequency information from a pre-stored event type database, where the event type database stores correspondence between the operation type information, the operation frequency information, and the event type information.
In another embodiment of the present disclosure, the operation information includes at least one of: operation type information and operation frequency information; the operation type information indicates at least one of: knocking and shaking;
the event information includes at least one of: event type information and event execution time information; the event type information indicates at least one of: meeting, mail processing, development, interruption.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for counting event information, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring operation information for the wearable device;
acquiring event information corresponding to the operation information;
and counting the event information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the event information is counted by acquiring the operation information aiming at the wearable device and acquiring the event information corresponding to the operation information. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram illustrating an implementation environment in which a method of counting event information is involved, according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of counting event information according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of counting event information according to an example embodiment.
Fig. 4 is a schematic diagram illustrating an apparatus for counting event information according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for counting event information according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Referring to fig. 1, a schematic structural diagram of an implementation environment related to a method for counting event information provided by an embodiment of the present disclosure is shown. The implementation environment includes a wearable device 101 and a terminal 102.
The wearable device 101 is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device 101 may be a bracelet, a wristwatch, or the like, and the present embodiment does not specifically limit the type of wearable device. To better conform to the body surface of the user while enabling measurement of various physiological parameters of the user, the wearable device 101 generally includes a main panel and a stationary portion. The main panel can be provided with a gravity sensor, a pressure sensor, a temperature sensor, an angle sensor and the like for measuring different parameters of a carrier of the main panel, and the main panel also has the capability of communicating with other equipment in a radio frequency mode or a network mode. The fixing part is used for fixing and supporting the main panel.
The terminal 102 may be a smart phone, a tablet computer, or the like, the embodiment does not specifically limit the type of the terminal, and the terminal 102 has the capability of communicating with other devices through a radio frequency mode or a network mode. In order to meet the use requirements of the user, a variety of applications are installed in the terminal 102, such as an audio and video playing application, a shopping application, a reading application, a navigation application, an application for recording user behavior data, and the like.
The wearable device 101 and the terminal 102 can communicate with each other through a wireless network or a wired network.
Fig. 2 is a flowchart illustrating a method of counting event information according to an exemplary embodiment, where the method of counting event information is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S201, operation information for the wearable device is acquired.
In step S202, event information corresponding to the operation information is acquired.
In step S203, the event information is counted.
According to the method provided by the embodiment of the disclosure, the operation information for the wearable device is acquired, and the event information corresponding to the operation information is acquired, so that the event information is counted. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.
In another embodiment of the present disclosure, counting event information includes:
generating schedule information according to the event information, wherein the schedule information comprises each event type information and corresponding total execution time;
analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result;
and displaying the analysis result.
In another embodiment of the present disclosure, generating schedule information according to the event information includes:
adding the event execution times corresponding to the same event type information to obtain the total execution time corresponding to each event type information;
and generating schedule information based on each event type information and the corresponding total execution time.
In another embodiment of the present disclosure, acquiring event information corresponding to the operation information includes:
determining event type information according to operation type information and operation frequency information in the operation information;
recording the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time;
and obtaining event information corresponding to the operation information based on the event type information and the event execution time.
In another embodiment of the present disclosure, determining event type information according to operation type information and operation number information in the operation information includes:
according to the operation type information and the operation frequency information in the operation information, acquiring event type information corresponding to the operation type information and the operation frequency information from a pre-stored event type database, wherein the event type database stores the corresponding relation among the operation type information, the operation frequency information and the event type information.
In another embodiment of the disclosure, the operational information includes at least one of: operation type information and operation frequency information; the operation type information indicates at least one of: knocking and shaking;
the event information includes at least one of: event type information and event execution time information; the event type information indicates at least one of: meeting, mail processing, development, interruption.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 3 is a flowchart illustrating a method for counting event information according to an exemplary embodiment, where the method for counting event information is used in a terminal and a wearable device, as shown in fig. 3, and includes the following steps.
In step S301, the wearable device detects a trigger operation on the main panel.
The triggering operation comprises at least one of knocking operation and shaking operation, namely, the knocking operation of the main panel can be triggered through the triggering operation, the shaking operation of the main panel can be triggered through the triggering operation, and the knocking operation and the shaking operation of the main panel can be triggered through the triggering operation.
In the embodiment of the present disclosure, the wearable device may detect a trigger operation on the main panel based on various sensors such as a gravity sensor, a pressure sensor, and an angle sensor built in the main panel. For example, based on a pressure sensor built in the main panel, the wearable device detects a tapping operation of the main panel by the user by detecting a pressure change on the surface of the main panel; based on the built-in gravity sensor and the angle sensor of the main panel, the wearable device detects the shaking operation of the main panel by the user by detecting the change of the gravity acceleration and the angular acceleration of the main panel.
In step S302, when the trigger operation is detected, the wearable device acquires operation information of the trigger operation.
The operation information comprises operation type information and operation frequency information, the operation type information comprises at least one of knocking operation and shaking operation, and correspondingly, the operation frequency information comprises at least one of the frequency of knocking operation and the frequency of shaking operation.
When the pressure change of the surface of the main panel is detected through the built-in pressure sensor and the change trend is discontinuous change, the triggering operation of a user on the main panel can be determined to be a knocking operation, and the operation information of the knocking operation is obtained, wherein the operation information of the knocking operation comprises knocking, knocking times and the like; when the gravity acceleration and the angular acceleration of detecting the main panel through built-in gravity sensor and angle sensor change, can confirm that the user is to the trigger operation of main panel and be the operation of rocking to acquire the operation information of rocking the operation, the operation information of this operation of rocking is including rocking and rocking the number of times etc..
It should be noted that, in order to distinguish different operation type information, the wearable device may further set different operation type identifiers for the different operation type information, for example, an operation name of each operation may be used as the operation type identifier, and different letters or numbers may also be used as the operation type identifiers, such as an operation type identifier representing a tapping operation by using the number 0, an operation type identifier representing a shaking operation by using the number 1, and so on.
In step S303, the wearable device transmits the operation information to the terminal.
In the embodiment of the disclosure, the terminal and the wearable device both have communication capability, and based on the communication capability, after the wearable device establishes a connection with the terminal, the wearable device can communicate with the terminal. According to different communication modes, the wearable device establishes a connection with the terminal, including but not limited to the following modes:
in one embodiment of the disclosure, the wearable device and the terminal may initiate WiFi functionality and interface via WiFi signals to establish a connection.
In another embodiment of the disclosure, the wearable device and the terminal may start a bluetooth function, discover each other in a device discovery phase, and then the terminal broadcasts a bluetooth signal, and the wearable device receives the bluetooth signal broadcasted by the terminal and establishes a connection with the terminal based on the received bluetooth signal.
In another embodiment of the disclosure, the wearable device and the terminal start an NFC function, establish an NFC data channel by sending a data packet, and establish a connection based on the established NFC data channel.
In another embodiment of the disclosure, the wearable device and the terminal may enable an infrared function, discover each other in a device discovery phase, and then the terminal transmits an infrared signal, and the wearable device receives the infrared signal transmitted by the terminal and establishes a connection with the terminal based on the received infrared signal.
Of course, other ways may also be adopted when the wearable device and the terminal establish connection, and the embodiments of the present disclosure are not described one by one.
Based on the connected connection, after the operation information of the trigger operation is acquired, the wearable device can send the operation information to the terminal so as to trigger the terminal to count event information corresponding to the operation information.
In step S304, when the operation information for the wearable device is acquired, the terminal acquires event information corresponding to the operation information.
The event information comprises at least one item of event type information and event execution time information. The event type information includes at least one of a meeting, mail handling, development, and interruption.
The terminal acquires event information corresponding to the operation information, and the following steps 3041-3043 can be adopted:
3041. and the terminal determines the event type information according to the operation type information and the operation frequency information in the operation information.
In the embodiment of the present disclosure, the terminal maintains an event type information database, and the event type information database stores the corresponding relationship between the operation type information, the operation frequency information, and the event type information, so that after the operation information for the wearable device is obtained, the terminal can determine the event type information from the event type information database according to the operation type information and the operation frequency information in the operation information.
In order to comprehensively count event information of various events in work and life of a user, the method provided by the embodiment of the disclosure further supports the user to set the corresponding relationship between operation type information, operation frequency information and event type information, and the terminal sets the corresponding relationship between the operation type information, the operation frequency information and the event type information by detecting the setting operation of the user. For example, when the operation type information is a tapping operation and the operation frequency information of the tapping operation is a first preset number of times, the corresponding event type information may be set as a meeting; when the operation type information is knocking operation and shaking operation, the operation frequency information of the knocking operation is a second preset number of times, and the operation frequency information of the shaking operation is a third preset number of times, corresponding event type information is research and development; when the operation type information is knocking operation, the operation frequency information of the knocking operation is a fourth preset number of times, and the corresponding event type information is mail processing; when the operation type information is the tapping operation, and the operation frequency information of the tapping operation is the fifth preset number of times, the corresponding event type information is interrupted, and the like.
The first preset number, the second preset number, the third preset number, the fourth preset number and the fifth preset number are set by a user, the first preset number, the second preset number, the third preset number, the fourth preset number and the fifth preset number are any natural numbers, and the first preset number, the second preset number, the fourth preset number and the fifth preset number are not equal.
In order to facilitate subsequent applications, the method provided in the embodiment of the present disclosure further performs a step of storing the correspondence between the operation type information, the operation number information, and the event type information after setting the correspondence between the operation type information, the operation number information, and the event type information. In the specific storage, the correspondence between the operation type information, the operation frequency information, and the event type information may be stored in a local memory, where the local memory is at least one of a volatile memory (e.g., a memory) and a non-volatile memory (e.g., a hard disk).
For the difference of the operation information, in the embodiment of the present disclosure, when the terminal acquires the event type information corresponding to the operation type information and the operation frequency information from the event type information database according to the operation type information and the operation frequency information in the operation information, the following situations are included, but not limited to:
in the first case, if the operation type information in the operation information is a tapping operation and the operation frequency information of the tapping operation is a first preset number of times, it may be determined that the event type information is a meeting.
And in the second situation, if the operation type information in the operation information is knocking operation and shaking operation, the operation frequency information of the knocking operation is a second preset number of times, and the operation frequency information of the shaking operation is a third preset number of times, determining that the event type information is research and development.
And in the third situation, if the operation type information in the operation information is the knocking operation and the operation frequency information of the knocking operation is the fourth preset number of times, determining that the event type information is mail processing.
And in a fourth case, if the operation type information in the operation information is a tapping operation and the operation frequency information of the tapping operation is a fifth preset number of times, it is determined that the event type information is interrupted.
3042. And the terminal records the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time.
Based on the determined event type information, the terminal records the starting time and the ending time of the event corresponding to the event type information, and takes the time difference between the ending time and the starting time as the event execution time.
In one embodiment of the present disclosure, a terminal may input an operation indicating a type of an event, input an event start operation when the event starts, and record a start time of the event based on the event start operation, input an event end operation when the event end operation is input, and record an end time of the event based on the event end operation.
In another embodiment of the present disclosure, the terminal may input an operation indicating the type of the event twice, input an operation indicating the start of the event for the first time, input an operation indicating the end of the event for the second time, and record the start time and the end time of the event based on the input operations.
In another embodiment of the disclosure, the terminal may further obtain the time of the operation information as a start time, and obtain the time of the event end operation as an end time.
Of course, the terminal may also record the start time and the end time of the event corresponding to the event type information in other manners, which is not described in the embodiments of the present disclosure.
3043. And obtaining event information corresponding to the operation information by the terminal based on the event type information and the event execution time.
In another embodiment of the disclosure, in the process of acquiring the event information corresponding to the operation information, if the terminal acquires the operation information of the wearable device again, the operation type information included in the operation information is a tapping operation, and the operation frequency information of the tapping operation is a sixth preset number of times, the terminal stops acquiring the event information corresponding to the operation information. The sixth preset number is set by a user, the sixth preset number is any natural number, and the sixth preset number is not equal to the fifth preset number.
In step S305, the terminal counts event information.
The terminal counts the event information, and the following steps 3051-3053 can be adopted:
3051. and the terminal generates schedule information according to the event information.
The schedule information includes information of each event type and corresponding total execution time, etc.
The terminal generates schedule information according to the event information, including but not limited to: the terminal adds the event execution times corresponding to the same event type information to obtain the total execution time corresponding to each event type information, and then generates schedule information based on each event type information and the corresponding total execution time. For example, the event information acquired by the terminal is as shown in table 1:
TABLE 1
Figure BDA0001263933570000101
Based on the event type information and the event execution time shown in table 1, the terminal adds the event execution times corresponding to the meetings to obtain that the total execution time corresponding to the meetings is 3 hours, adds the event execution times corresponding to the mail processing to obtain that the total execution time corresponding to the mail processing is 20 minutes, adds the event execution times that are developed to obtain that the total execution time corresponding to the development is 6 hours, and then generates schedule information.
3052. And the terminal analyzes the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result.
Usually, the duration of work and life of a user is 24 hours every day, and the terminal can obtain the proportion of each event type information in a user schedule by dividing the total execution time corresponding to each event type information by 24 hours. The terminal analyzes the proportion of each event type information in the user schedule to obtain the behavior habit of the user, and the behavior habit is helpful for the user to know the working and living states of the user, so that the working efficiency is improved, and the living quality is improved.
Taking table 1 as an example, the terminal may obtain that the percentage of the opening in the user schedule is 12.5% by dividing the total execution time corresponding to the opening by 24 hours, the terminal may obtain that the percentage of the mail processing in the user schedule is 1.4% by dividing the total execution time corresponding to the mail processing by 20 minutes by 24 hours, and the terminal may obtain that the percentage of the developed mail in the user schedule is 25% by dividing the total execution time corresponding to the development by 6 hours by 24 hours. Based on the proportion of each event type information in the user schedule, it can be seen that the user is using the research and development work most of the time each day.
3053. And displaying the analysis result by the terminal.
In order to make the user clearly understand his daily schedule, the method provided by the embodiment of the present disclosure will also show the obtained analysis result.
According to the method provided by the embodiment of the disclosure, the operation information for the wearable device is acquired, and the event information corresponding to the operation information is acquired, so that the event information is counted. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.
Fig. 4 is a schematic diagram illustrating an apparatus for counting event information according to an exemplary embodiment. Referring to fig. 4, the apparatus includes: a first obtaining module 401, a second obtaining module 402 and a statistic module 403.
The first obtaining module 401 is configured to obtain operation information for the wearable device;
the second obtaining module 402 is configured to obtain event information corresponding to the operation information;
the statistics module 403 is configured to perform statistics on event information.
In another embodiment of the present disclosure, the statistical module 403 is configured to generate schedule information according to the event information, the schedule information including each event type information and corresponding total execution time; analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result; and displaying the analysis result.
In another embodiment of the present disclosure, the statistical module 403 is configured to add the event execution times corresponding to the same event type information to obtain a total execution time corresponding to each event type information; and generating schedule information based on each event type information and the corresponding total execution time.
In another embodiment of the present disclosure, the second obtaining module 402 is configured to determine event type information according to operation type information and operation number information in the operation information; recording the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time; and obtaining event information corresponding to the operation information based on the event type information and the event execution time.
In another embodiment of the present disclosure, the second obtaining module 402 is configured to obtain event type information corresponding to the operation type information and the operation time information from a pre-stored event type database according to the operation type information and the operation time information in the operation information, where the event type database stores a corresponding relationship between the operation type information, the operation time information, and the event type information.
In another embodiment of the disclosure, the operational information includes at least one of: operation type information and operation frequency information; the operation type information indicates at least one of: knocking and shaking;
the event information includes at least one of: event type information and event execution time information; the event type information indicates at least one of: meeting, mail processing, development, interruption.
The device provided by the embodiment of the disclosure counts the event information by acquiring the operation information for the wearable device and acquiring the event information corresponding to the operation information. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating an apparatus 500 for counting event information according to an example embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of counting event information, the method comprising:
acquiring operation information for the wearable device;
acquiring event information corresponding to the operation information;
and counting the event information.
In another embodiment of the present disclosure, counting event information includes:
generating schedule information according to the event information, wherein the schedule information comprises each event type information and corresponding total execution time;
analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result;
and displaying the analysis result.
In another embodiment of the present disclosure, generating schedule information according to the event information includes:
adding the event execution times corresponding to the same event type information to obtain the total execution time corresponding to each event type information;
and generating schedule information based on each event type information and the corresponding total execution time.
In another embodiment of the present disclosure, acquiring event information corresponding to the operation information includes:
determining event type information according to operation type information and operation frequency information in the operation information;
recording the starting time and the ending time of the event corresponding to the event type information to obtain the event execution time;
and obtaining event information corresponding to the operation information based on the event type information and the event execution time.
In another embodiment of the present disclosure, determining event type information according to operation type information and operation number information in the operation information includes:
according to the operation type information and the operation frequency information in the operation information, acquiring event type information corresponding to the operation type information and the operation frequency information from a pre-stored event type database, wherein the event type database stores the corresponding relation among the operation type information, the operation frequency information and the event type information.
In another embodiment of the disclosure, the operational information includes at least one of: operation type information and operation frequency information; the operation type information indicates at least one of: knocking and shaking;
the event information includes at least one of: event type information and event execution time information; the event type information indicates at least one of: meeting, mail processing, development, interruption.
The non-transitory computer-readable storage medium provided by the embodiment of the disclosure counts event information by acquiring operation information for a wearable device and acquiring event information corresponding to the operation information. According to the process, the user does not need to manually open the application for counting the event information of the user or open the application for counting the event information of the user through voice, so that even in the scene that the user is inconvenient to manually operate or operate through voice, the event information of the user can be counted, and the counting method is more convenient, fast and intelligent.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for counting event information, the method comprising:
acquiring operation information of shaking operation aiming at the wearable equipment, wherein the operation information comprises the shaking operation and shaking times, the shaking operation is operation indicating event type information, and the operation indicating the event type information comprises operation indicating the start of an event and operation indicating the end of the event;
determining event type information according to the shaking operation and the shaking times, wherein the event type information indicates at least one of the following items: meeting, mail processing, development and interruption;
recording an event starting time and an event ending time respectively based on the operation indicating the event starting and the operation indicating the event ending;
obtaining event execution time according to the event starting time and the event ending time;
obtaining event information corresponding to the operation information based on the event type information and the event execution time;
and counting the event information.
2. The method of claim 1, wherein the counting the event information comprises:
generating schedule information according to the event information, wherein the schedule information comprises each event type information and corresponding total execution time;
analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result;
and displaying the analysis result.
3. The method of claim 2, wherein generating schedule information from the event information comprises:
adding the event execution times corresponding to the same event type information to obtain the total execution time corresponding to each event type information;
and generating the schedule information based on the information of each event type and the corresponding total execution time.
4. The method according to claim 1, wherein the determining event type information according to the shaking operation and the shaking times comprises:
according to the operation type information and the operation frequency information in the operation information, acquiring event type information corresponding to the operation type information and the operation frequency information from a pre-stored event type database, wherein the event type database stores the corresponding relation among the operation type information, the operation frequency information and the event type information.
5. An apparatus for counting event information, the apparatus comprising:
the wearable device comprises a first acquisition module, a second acquisition module and a display module, wherein the first acquisition module is used for acquiring operation information of shaking operation of the wearable device, the operation information comprises shaking and shaking times, the shaking operation is operation indicating event type information, and the operation indicating the event type information comprises operation indicating the start of an event and operation indicating the end of the event;
a second obtaining module, configured to determine event type information according to the shaking operation and the shaking times, where the event type information indicates at least one of the following: meeting, mail processing, development and interruption; recording an event starting time and an event ending time respectively based on the operation indicating the event starting and the operation indicating the event ending; obtaining event execution time according to the event starting time and the event ending time; obtaining event information corresponding to the operation information based on the event type information and the event execution time;
and the counting module is used for counting the event information.
6. The apparatus of claim 5, wherein the statistics module is configured to generate schedule information according to the event information, and the schedule information includes information of each event type and a corresponding total execution time; analyzing the proportion of each event type information in the user schedule according to the total execution time corresponding to each event type information to obtain an analysis result; and displaying the analysis result.
7. The apparatus according to claim 6, wherein the statistical module is configured to add event execution times corresponding to the same event type information to obtain a total execution time corresponding to each event type information; and generating the schedule information based on the information of each event type and the corresponding total execution time.
8. The apparatus according to claim 5, wherein the second obtaining module is configured to obtain event type information corresponding to operation type information and operation frequency information from a pre-stored event type database according to the operation type information and the operation frequency information in the operation information, and the event type database stores a corresponding relationship between the operation type information, the operation frequency information, and the event type information.
9. An apparatus for counting event information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring operation information of shaking operation aiming at the wearable equipment, wherein the operation information comprises the shaking operation and shaking times, the shaking operation is operation indicating event type information, and the operation indicating the event type information comprises operation indicating the start of an event and operation indicating the end of the event;
determining event type information according to the shaking operation and the shaking times, wherein the event type information indicates at least one of the following items: meeting, mail processing, development and interruption;
recording an event starting time and an event ending time respectively based on the operation indicating the event starting and the operation indicating the event ending;
obtaining event execution time according to the event starting time and the event ending time;
obtaining event information corresponding to the operation information based on the event type information and the event execution time;
and counting the event information.
10. A computer-readable storage medium comprising instructions that are executable by a processor to perform the method of counting event information according to any one of claims 1 to 4.
CN201710221573.0A 2017-04-06 2017-04-06 Method and device for counting event information Active CN107122286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710221573.0A CN107122286B (en) 2017-04-06 2017-04-06 Method and device for counting event information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710221573.0A CN107122286B (en) 2017-04-06 2017-04-06 Method and device for counting event information

Publications (2)

Publication Number Publication Date
CN107122286A CN107122286A (en) 2017-09-01
CN107122286B true CN107122286B (en) 2020-09-01

Family

ID=59725119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710221573.0A Active CN107122286B (en) 2017-04-06 2017-04-06 Method and device for counting event information

Country Status (1)

Country Link
CN (1) CN107122286B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228415A (en) * 2017-11-29 2018-06-29 维沃移动通信有限公司 Data processing method, device and mobile terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5646912A (en) * 1996-01-25 1997-07-08 Cousin; Damon S. Medication compliance, co-ordination and dispensing system
CN105046477A (en) * 2015-08-27 2015-11-11 华南理工大学 Intelligent portable apparatus for recording and managing daily life

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6156287B2 (en) * 2014-08-18 2017-07-05 Tdk株式会社 Activity meter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5646912A (en) * 1996-01-25 1997-07-08 Cousin; Damon S. Medication compliance, co-ordination and dispensing system
CN105046477A (en) * 2015-08-27 2015-11-11 华南理工大学 Intelligent portable apparatus for recording and managing daily life

Also Published As

Publication number Publication date
CN107122286A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
US10264085B2 (en) Method and device for presenting push notifications
US10292004B2 (en) Method, device and medium for acquiring location information
EP2928169B1 (en) Method for voice calling, method for voice playing and devices thereof
CN104834559B (en) Notification message display method and device
US20170064182A1 (en) Method and device for acquiring image file
CN107438811B (en) Information screen display method and device
CN105898032B (en) method and device for adjusting prompt tone
CN106775403B (en) Method and device for acquiring stuck information
US11586246B2 (en) Method and apparatus for providing notification regarding wearable device
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
US9924334B1 (en) Message pushing method, terminal equipment and computer-readable storage medium
EP3026876B1 (en) Method for acquiring recommending information, terminal and server
CN105898573B (en) Multimedia file playing method and device
US9628966B2 (en) Method and device for sending message
WO2017088373A1 (en) Bill processing method, device and terminal device
CN106406175B (en) Door opening reminding method and device
CN106843627B (en) Recording method, device and equipment of calendar event
US20170034347A1 (en) Method and device for state notification and computer-readable storage medium
CN109034747B (en) Task reminding method and device
EP3099023A1 (en) Method and device for sending message
CN106878654B (en) Video communication method and device
CN106506808B (en) Method and device for prompting communication message
CN105786561B (en) Method and device for calling process
CN107122286B (en) Method and device for counting event information
CN107809538B (en) Alarm clock reminding method and device and computer readable 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