CN106686204B - Event-handling method and device - Google Patents

Event-handling method and device Download PDF

Info

Publication number
CN106686204B
CN106686204B CN201610571722.1A CN201610571722A CN106686204B CN 106686204 B CN106686204 B CN 106686204B CN 201610571722 A CN201610571722 A CN 201610571722A CN 106686204 B CN106686204 B CN 106686204B
Authority
CN
China
Prior art keywords
event
time point
application
network
event time
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
CN201610571722.1A
Other languages
Chinese (zh)
Other versions
CN106686204A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610571722.1A priority Critical patent/CN106686204B/en
Publication of CN106686204A publication Critical patent/CN106686204A/en
Application granted granted Critical
Publication of CN106686204B publication Critical patent/CN106686204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of event-handling method and devices.Wherein, this method comprises: receiving the first event time point that the network equipment is sent in the first application, wherein first event time point is used to indicate the time point of the second application execution object event;Detect whether local current time reaches first event time point in the first application;When detecting that local current time reaches first event time point, the display alarm message in the first application, wherein reminder message is used to indicate the second application and is carrying out object event, reminder message includes seizing mark, seizes mark and seizes for the object event resource to object event.The present invention solves the technical problem of the reminder time inaccuracy of event reminder application in the related technology.

Description

Event-handling method and device
Technical field
The present invention relates to event handling fields, in particular to a kind of event-handling method and device.
Background technique
With the popularization of intelligent terminals, application is more and more, all has the function of object event execution in many applications, by The target resource of object event can be seized in multiple users, therefore, if user wants when object event is performed Between point seize object event resource and may need the help of third-party application.But existing third-party application intelligently acquires The resource of the account of authorization was seized after the time, write extremely in terminal local, be subject to be stored in reminder time of mobile phone local into Row remind, if reminder time point, which changes, to be obtained in time, therefore reminder time point inaccuracy, and reminder time with Subject to the terminal local time, the local zone time of terminal is arrived, and will issue prompting.But often due to the local zone time of terminal It is not accurate enough, entanglement occurs often, application can not determine whether the local zone time of terminal goes wrong, and cannot timely update number According to causing reminder time not accurate enough, reduce user experience.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of event-handling method and devices, at least to solve event prompting in the related technology The technical problem of the reminder time inaccuracy of application.
According to an aspect of an embodiment of the present invention, a kind of event processing apparatus is provided, comprising: connect in the first application Receive the first event time point that the network equipment is sent, wherein the first event time point is used to indicate the second application execution mesh The time point of mark event;Detect whether local current time reaches the first event time point in first application;When When detecting that the local current time reaches the first event time point, the display alarm message in the first application, wherein The reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes seizing mark, described to rob Mark is accounted for seize for the object event resource to the object event.
According to another aspect of an embodiment of the present invention, a kind of event processing apparatus is additionally provided, comprising: first receives list Member, the first event time point sent for receiving the network equipment in the first application, wherein the first event time point is used In the time point for indicating the second application execution object event;Detection unit, it is local current for being detected in first application Whether the time reaches the first event time point;Display unit, for detecting described in the local current time arrival When first event time point, the display alarm message in the first application, wherein the reminder message is being used to indicate the second application just In performance objective event, the reminder message includes seizing mark, and the mark of seizing is for the target to the object event Event-resources are seized.
In embodiments of the present invention, the first event time point sent by receiving the network equipment in the first application, so Display alarm message in applying afterwards when detecting that local current time reaches first event time point first, is reminded to second The object event resource of application is seized, and the first event time point that the network equipment that will acquire is sent is as the first application Time point of prompting can obtain accurate latest data after first event time point changes, to improve event The technical effect of the accuracy of prompting, and then solve the technology of the reminder time inaccuracy of event reminder application in the related technology Problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of event-prompting method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional event-handling method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the framework of optional event-handling method according to an embodiment of the present invention;
Fig. 4 is the flow chart of another optional event-handling method according to an embodiment of the present invention;
Fig. 5 is the flow chart of another optional event-handling method according to an embodiment of the present invention;
Fig. 6 is the schematic diagram that a kind of optional red packet alarm clock according to an embodiment of the present invention enters page;
Fig. 7 is the schematic diagram that a kind of optional red packet alarm clock according to an embodiment of the present invention enters page;
Fig. 8 is a kind of schematic diagram of optional event processing apparatus according to an embodiment of the present invention;And
Fig. 9 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Firstly, the part noun or term that occur during the embodiment of the present invention is described are suitable for as follows It explains:
Tencent mobile phone manager: a free mobile phone safe management software that Tencent releases, the antivirus of collection mobile phone, safety are anti- In one, the security classes mobile phone for providing 360 ° of security protection for user is soft for shield, physical examination acceleration, health optimization and software management Part.
Red packet alarm clock: by pop-up, a variety of sides such as notification bar are played at specific time point using the alarm clock mechanism of mobile phone Formula carries out a kind of application for the red packet for reminding user to receive instant messaging application (such as wechat, Alipay red packet).
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of the method for event handling is provided.
Optionally, in the present embodiment, above-mentioned event-handling method can be applied to as shown in Figure 1 by server 102 In the hardware environment constituted with terminal 104.As shown in Figure 1, server 102 is attached by network with terminal 104, it is above-mentioned Network includes but is not limited to: wide area network, Metropolitan Area Network (MAN) or local area network, and terminal 104 is not limited to PC, mobile phone, tablet computer etc..This The event-handling method of inventive embodiments can be executed by server 102, can also be executed, be can also be by terminal 104 It is executed jointly by server 102 and terminal 104.Wherein, the event-handling method that terminal 104 executes the embodiment of the present invention can also be with It is to be executed by client mounted thereto.
Fig. 2 is a kind of flow chart of optional event-handling method according to an embodiment of the present invention, as shown in Fig. 2, the party Method may comprise steps of:
Step S202 receives the first event time point that the network equipment is sent in the first application.
First event time point is used to indicate the time point of the second application execution object event, wherein the first application can be with The application being mounted on mobile terminal, for example, installing the first application in terminal on terminals such as mobile phones and tablet computers.The network equipment It can be a plurality of types of network equipments such as server or cloud, the second application is not the same application with the first application.Thing Part can be a plurality of types of events, it is generally the case that event needs are seized, and first event time point is what the network equipment was sent At time point, first event time point indicates the time point that the object event in the second application will be performed, optionally, first After receiving the first event time point that the network equipment is sent in, set first event time point is shown, further Ground can also show event corresponding with event time point.Event time point in first application can be one and may be Multiple, multiple event time points can indicate the event time point in multiple second applications, can also indicate one second application In multiple event time points.It at the first event time point sent by receiving the network equipment, can more accurately get The correct time that event occurs improves the accuracy of event prompting, can be realized the variation of the event time point according to cloud The effect of control event reminder time.
Step S204, detects whether local current time reaches first event time point in the first application.
At the terminal, whether the local current time that terminal is detected in the first application reaches the first thing for first application installation The part time judges whether local current time reaches from the network equipment for example, the first application obtains the local zone time of terminal in real time The first event time point of acquisition.
Step S206 shows in the first application and mentions when detecting that local current time reaches first event time point Awake message.
If detecting that local current time reaches first event time point in the first application, in the first application Display alarm message, wherein reminder message is used to indicate the second application and is carrying out object event, and reminder message includes seizing mark Know, seizes mark and seized for the object event resource to object event.
Since event needs are seized, in the second application, multiple accounts might have for the same object event and carry out Seize, therefore, when arrival event time point, in the first application display alarm message with remind user to object event resource into Rob and account for, reminder message include seize mark, seizing mark can be displayed on the terminals, seize mark can be it is a plurality of types of Mark, for example, it may be circular pattern, can also be identified using corresponding with the object event in the second application, be come with distinguishing From the different target event of different application.Optionally, reminder message also may include other alerting patterns, example in addition to seizing mark Such as, other prompting messages such as jingle bell or vibration.It takes the mobile phone as an example, the reminder message in the first application can be locked in mobile phone suspend mode Mobile phone is waken up when screen and is shown on mobile phone screen in the bright screen of mobile phone.
Optionally, after display alarm message, if detected in the first application to the touch-control for seizing mark execution Operation can then respond touch control operation and indicate to seize object event resource in the first application.
S202 to step S206 through the above steps, the first event sent by receiving the network equipment in the first application Time point, then when detecting that local current time reaches first event time point in the first application display alarm message, The object event resource to the second application is reminded to seize, the first event time point that the network equipment that will acquire is sent is made Time point for the prompting of the first application can obtain accurate latest data after first event time point changes, and solve The technical problem of the reminder time inaccuracy of event reminder application in the related technology, and then reach the accurate of raising event prompting The technical effect of property.
As a kind of optional embodiment, received in the first application first event time point that the network equipment is sent it Afterwards, network current time is obtained to the network equipment;Between network current time and local current time when existing difference, root First event time point is calibrated to second event time point according to difference, wherein second event time point and network current time It is corresponding.
After receiving first event time point in the first application, when the first application is current to network equipment acquisition network Between, then judge that the local zone time of network current time and terminal is then worked as according to network with the presence or absence of difference if there is difference The difference of preceding time and local zone time calibrates first event time point, is calibrated to second event time point.
As a kind of optional embodiment, first event time point is updated to second event time point according to difference can be with Pass through following calculation formula: second event time point=first event time point+(local current time-network current time). For example, first event time point is 10:00, local current time is 9:00, and network current time is 9:02, namely when local Between fall behind 2 minutes network times, fall behind Time To Event 2 minutes, event if issuing and reminding in local event 10:00 Resource may seize end, therefore, calibrate to first event time point, second event time point=10:00+ (9: 00-9:02)=9:58, namely issue and remind in local zone time 9:58 timesharing.By according to local zone time and network time Difference is updated event time point, can effectively improve the accuracy that the event of the first application is reminded.In a variety of applications User can be facilitated to apply in scene, for example, user is transnational go on business when, in order to be consistent and may adjust with the local time The local zone time of terminal, but the network time that event is reminded may not change, if the first application is according to terminal time Remind user to carry out resource to seize, then user may miss multiple resources and seize chance, and the first application according to network time and The difference of terminal time carries out the calibration of event time point, and the accuracy of event prompting can be greatly improved.
Prompting is reported to the network equipment in the first application after display alarm message as a kind of optional embodiment Indicate information, wherein reminding instruction information includes: local current time, first event time point.Remind instruction message that can mention The application of the network equipment first of waking up issues the time reminded, and reminds instruction message that can be sent to the network equipment by wireless network, Remind instruction message in carry local current time and first event time point namely first application issue remind time and The time point of first event.
Network equipment hair is received after reporting prompting instruction information to the network equipment as a kind of optional embodiment The calibration instruction information sent, wherein include: second event time point in calibration instruction information;Network is obtained to the network equipment to work as The preceding time;First event time point is calibrated to second event time point.The network equipment receives the prompting that the first application reports After indicating information, calibration instruction information is issued, the first application receives the calibration that the network equipment is sent and indicates information, calibration instruction Second event time point is carried in information, then the first application obtains the current time of network to the network equipment, according to network Current time calibrates first event time point, is calibrated to second event time point.
Fig. 3 is a kind of schematic diagram of the framework of optional event-handling method according to an embodiment of the present invention, the embodiment It can be used as the preferred embodiment of above-described embodiment, as shown in figure 3, network equipment end can be cloud, terminal can be mobile phone End, event can be instant messaging application rob red packet event, cloud and mobile phone terminal are communicated by network, and network can be Wireless network, such as WIFI, 2G, 3G, 4G etc. are also possible to cable network etc..There is red packet alarm clock to control engine, red packet in cloud Alarm time correction service and red packet alarm clock implementing result check service;It is noisy that mobile phone terminal includes red packet alarm clock enforcement engine, red packet Clock time correction engine and red packet alarm time implementing result report engine.The function of each component part is as follows:
Core composition one: red packet alarm clock controls engine and red packet alarm clock enforcement engine.
When red packet alarm clock control engine provides the time point of page configuration red packet alarm clock, alarm clock type, alarm clock sound Signal language, a complete red packet alarm time point configuration can be with the following method:
<item
Type=" 0 "
Start=" 2016-2-7 20:00:00 "
End=" 2016-2-7 20:00:00 "
Money_desc=" wechat red packet first wave "
" 1. update wechat payment (8.5 versions or more) to detail=;R n2. open Alipay wallet, wait silently Red packet arrives;" the red packet password " that r n3. inputs that friend shares in circle of friends, which may participate in, robs group red packet or building sequence red packet."/>
After configuring red packet alarm time point beyond the clouds, red packet alarm clock control engine can read configuration, and be published to content point Hairnet network (Content Delivery Network, referred to as CDN) pushes (Push) to the red packet of mobile phone terminal by network Alarm clock enforcement engine, red packet alarm clock enforcement engine are received with postponing, and configuration is linked into alarm clock queue immediately, waits alarm time After point arrives, red packet alarm clock prompting is carried out.
Core composition two: red packet alarm time correction service and red packet alarm time correct engine.
The time of mobile phone the machine that alarm clock on cell phone uses, in the case where mobile phone the machine time inaccuracy, alarm clock will go out It now sounds in advance or postpones to sound.For this scene, add in the scheme for quickly controlling the execution of red packet alarm clock by cloud control Red packet alarm time correcting function is entered.Red packet alarm time corrects engine can be periodically accurate to the correction service of red packet alarm time Current time, after red packet alarm time correction engine pulls current time, can and the current time of mobile phone do a difference, Then alarm time point configuration cloud issued, in addition difference, after being calibrated, refreshes alarm clock list.
Core composition three: red packet alarm clock implementing result checks that service and red packet alarm time implementing result report engine.
It checks that service can quickly grasp the executive condition of red packet alarm clock by red packet alarm clock implementing result, finds mistake Alarm clock calling can control engine by red packet alarm clock in time and issue amendment, guarantee the correctness that red packet alarm clock executes.
The data format table that 1 red packet alarm time implementing result of table reports engine to report
Format as shown in Table 1 can be used when alarm time implementing result is reported to cloud by red packet alarm clock.
Fig. 4 is the flow chart of another optional event-handling method according to an embodiment of the present invention, which can be with As the preferred embodiment of above-described embodiment, as shown in figure 4, this method may comprise steps of:
Step S401, cloud page configuration red packet alarm time point.
Red packet alarm time point is either one or more, and cloud page configuration red packet alarm time point can match A time point is set, multiple time points can also be configured.
Step S402, red packet alarm clock control engine and read configuration.
Beyond the clouds after page configuration red packet alarm time point, red packet alarm clock controls engine and reads configuration.
Step S403, red packet alarm clock control engine and configuration are published to CDN.
After red packet alarm clock control engine reads configuration, configuration is published to CDN.
Step S404 gives red packet alarm clock enforcement engine by network push.
The red packet alarm clock enforcement engine of mobile phone terminal is given in configuration by network push (Push).
Step S405, red packet alarm clock enforcement engine reads configuration, and alarm clock queue is added in configuration.
The red packet alarm clock enforcement engine of mobile phone terminal is received with postponing, and enforcement engine reads configuration, and alarm clock team is added in configuration Column.
Step S406, red packet alarm clock enforcement engine wait red packet alarm time point to arrive.
The red packet alarm clock enforcement engine of mobile phone terminal waits red packet alarm time point to arrive, and carries out red packet alarm clock prompting.
Fig. 5 is the flow chart of another optional event-handling method according to an embodiment of the present invention, which can be with As the preferred embodiment of above-described embodiment, as shown in figure 5, this method may comprise steps of:
Step S501, when red packet alarm time correction engine inquires server to the red packet alarm clock in cloud correction server Between.
First application can be red packet alarm clock, and the time of red packet alarm clock corrects engine and inquires server time to server, Namely server time is obtained, red packet alarm clock can receive the time push of server.
Whether step S502, the server time and mobile phone current time of acquisition are equal.
After getting server time, judge whether the local current time of server time and mobile phone is equal.Such as Fruit judging result be it is yes, then process terminates, without time calibration, if it is judged that be it is no, then follow the steps S503.
Step S503, calculation server time and mobile phone local time difference.
If it is judged that server time is different from mobile phone current time, then calculation server time and mobile phone local zone time Difference.
Step S504 calibrates alarm clock with difference.
After obtaining server time and mobile phone local time difference, alarm clock is calibrated with difference.
Step S505 refreshes alarm clock queue.
After being calibrated with difference to red packet alarm clock, refresh the time point queue of alarm clock.
Red packet alarm time is calibrated according to the difference of server time and mobile phone local zone time, can be improved red packet The prompt accuracy rate of alarm clock improves the accuracy rate that user robs red packet, also improves user experience.
Fig. 6 is the schematic diagram that a kind of optional red packet alarm clock according to an embodiment of the present invention enters page, as shown in fig. 6, the One application can be red packet alarm clock, can be in red packet alarm clock into can show that the red packet of enterprise or star are reminded on page It arranges sequentially in time, includes the application of red packet in prompting, rob the time of red packet, and rob the other information of red packet, such as Red packet total value or number etc..
Also show that the red packet alarm clock has been that user reminding crosses 0 the first instant messaging application red packet in the top at the interface With 0 the second instant messaging application red packet, that is, red packet alarm clock calling crosses 0 the first instant messaging application red packet and 0 time second Instant messaging application red packet also shows " accuse on the surface so that user more intuitively understands the prompting number of red packet alarm clock Tell good friend " triggering mark, red packet alarm clock detect user click the triggering mark after, can be by the prompting of red packet alarm clock Number is sent to good friend.
In enterprise and star's red packet reminder time sequence, the red packet from the first instant messaging application, time are shown For 7 days 2 months 20:00, hundred million cash red packets were provided;Red packet from the second instant messaging application, robbing the red packet time is 7 days 2 months 20:00, red packet item are 200,000,000 QQ cash red packet first waves, and also from the red packet of third instant messaging application, the time is 2 months 7 Day 21:00, red packet item is to provide hundred million cash red packets, finally also from the red packet of the 4th instant messaging application, time 2 Moon 21:00 on the 7th, red packet item are 200,000,000 QQ cash the second waves of red packet.
Fig. 7 is the schematic diagram that a kind of optional red packet alarm clock according to an embodiment of the present invention enters page, as shown in fig. 7, page Red packet strategy is robbed in display on face, and red packet countdown, the first instant messaging application of display will provide red packet after one day, when robbing red packet Between be 7 days 2 months 20:00-2 months 7 20:10, also there is under the page prompt information, prompt for guarantee normal use, please be upgraded to Latest edition.Prompt user upgrades red packet alarm clock.
The event-handling method of the above-mentioned embodiment of the present invention, cloud can flexible real-time control alarm time point, have Self time capacity has the red packet alarm clock mechanism of Real-time Feedback bearing capacity, realizes cloud by page configuration, fastly Fast Push alarm clock is configured to cell phone client, has the ability of flexibly control red packet alarm time point, and red packet alarm clock passes through inquiry It asks server time, carries out the ability of self alarm clock deviation, real-time implementing result reports scheme, guarantees that red packet alarm clock is held Row result Real-time Feedback is to cloud.Improve the accuracy of the reminder time of reminder application.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, it additionally provides a kind of for implementing the event processing apparatus of above-mentioned event-handling method. Fig. 8 is a kind of schematic diagram of optional event processing apparatus according to an embodiment of the present invention, as shown in figure 8, the device can wrap It includes: the first receiving unit 10, detection unit 20 and display unit 30.
First receiving unit 10, the first event time point sent for receiving the network equipment in the first application, wherein First event time point is used to indicate the time point of the second application execution object event.
Detection unit 20, for detecting whether local current time reaches first event time point in the first application.
Display unit 30, used in being applied first when detecting that local current time reaches first event time point Display alarm message, wherein reminder message is used to indicate the second application and is carrying out object event, and reminder message includes seizing mark Know, seizes mark and seized for the object event resource to object event.
It should be noted that the first receiving unit 10 in the embodiment can be used for executing in the embodiment of the present application 1 Step S202, the detection unit 20 in the embodiment can be used for executing the step S204 in the embodiment of the present application 1, the embodiment In display unit 30 can be used for executing the step S206 in the embodiment of the present application 1.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
By above-mentioned module, solve the technical problem of the reminder time inaccuracy of event reminder application in the related technology, And then reach the technical effect of the accuracy of raising event reminder time.
Optionally, device further include: first acquisition unit, the sent for receiving the network equipment in the first application After 1 event time point, network current time is obtained to the network equipment;First calibration unit, for network current time with Between local current time when existing difference, first event time point is calibrated to by second event time point according to difference, In, second event time point is corresponding with network current time.
Optionally, the first calibration unit is for executing: second event time point=first event time point+(local current When m- network current time).
Optionally, the device further include: reporting unit, after the display alarm message in the first application, to network Equipment reports prompting instruction information, wherein reminding instruction information includes: local current time, first event time point.
Optionally, the device further include: the second receiving unit, for the network equipment report prompting instruction information it Afterwards, it receives the calibration that the network equipment is sent and indicates information, wherein include: second event time point in calibration instruction information;Second Acquiring unit, for obtaining network current time to the network equipment;Second calibration unit, for calibrating first event time point For second event time point.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to 1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network Environment.
Embodiment 3
According to embodiments of the present invention, it additionally provides a kind of for implementing the server or terminal of above-mentioned event-handling method.
Fig. 9 is a kind of structural block diagram of terminal according to an embodiment of the present invention, as shown in figure 9, the terminal may include: one A or multiple (one is only shown in figure) processor 201, memory 203 and transmitting device 205 are (in such as above-described embodiment Sending device), as shown in figure 9, the terminal can also include input-output equipment 207.
Wherein, memory 203 can be used for storing software program and module, such as the event handling side in the embodiment of the present invention Method and the corresponding program instruction/module of device, processor 201 by the software program that is stored in memory 203 of operation and Module realizes above-mentioned event-handling method thereby executing various function application and data processing.Memory 203 can wrap Include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories of person.In some instances, memory 203 can further comprise remote relative to processor 201 The memory of journey setting, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but unlimited In internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 205 is used to that data to be received or sent via network, can be also used for processor with Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example, Transmitting device 205 includes a network adapter (Network Interface Controller, NIC), can pass through cable It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress 205 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 203 is for storing application program.
The application program that processor 201 can call memory 203 to store by transmitting device 205, to execute following steps It is rapid: the first event time point that the network equipment is sent to be received in the first application, wherein the first event time point is for referring to Show the time point of the second application execution object event;Detect whether local current time reaches described the in first application Event time point;When detecting that the local current time reaches the first event time point, shown in the first application Show reminder message, wherein the reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes Mark is seized, the mark of seizing is seized for the object event resource to the object event.
Processor 201 is also used to execute following step: the network equipment is sent described the is received in first application After 1 event time point, the Xiang Suoshu network equipment obtains network current time;In the network current time and the local Between current time when existing difference, the first event time point is calibrated to by the second event time according to the difference Point, wherein the second event time point is corresponding with the network current time.
Processor 201 is also used to execute following step: the second event time point=first event time point+ (the local current time-network current time).
Processor 201 is also used to execute following step: in the first application after display alarm message, Xiang Suoshu network is set It is standby to report prompting instruction information, wherein the promptings instruction information includes: the local current time, when the first event Between point.
Processor 201 is also used to execute following step: after reporting prompting instruction information to the network equipment, receiving The calibration that the network equipment is sent indicates information, wherein includes: second event time point in the calibration instruction information;To The network equipment obtains network current time;The first event time point is calibrated to second event time point.
Using the embodiment of the present invention, the first event time point sent by receiving the network equipment in the first application, so Display alarm message in applying afterwards when detecting that local current time reaches first event time point first, is reminded to second The object event resource of application is seized, and the first event time point that the network equipment that will acquire is sent is as the first application Time point of prompting can obtain accurate latest data after first event time point changes, to improve event The technical effect of the accuracy of prompting, and then solve the technology of the reminder time inaccuracy of event reminder application in the related technology Problem.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
It will appreciated by the skilled person that structure shown in Fig. 9 is only to illustrate, terminal can be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Fig. 9 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also May include than shown in Fig. 9 more perhaps less component (such as network interface, display device) or have with shown in Fig. 9 Different configurations.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With the program code for executing event-handling method.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1 receives the first event time point that the network equipment is sent, wherein the first event time in the first application Point is used to indicate the time point of the second application execution object event;
S2 detects whether local current time reaches the first event time point in first application;
S3 is shown in the first application when detecting that the local current time reaches the first event time point Reminder message, wherein the reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes robbing Mark is accounted for, the mark of seizing is seized for the object event resource to the object event.
Optionally, storage medium is also configured to store the program code for executing following steps: answering described first After the first event time point with middle reception network equipment transmission, the Xiang Suoshu network equipment obtains network current time; Between the network current time and the local current time when existing difference, according to the difference by first thing Part time point is calibrated to second event time point, wherein the second event time point is corresponding with the network current time.
Optionally, storage medium is also configured to store the program code for executing following steps: the second event Time point=first event time point+(the local current time-network current time).
Optionally, storage medium is also configured to store the program code for executing following steps: in the first application After display alarm message, the Xiang Suoshu network equipment reports prompting instruction information, wherein the prompting instruction information includes: institute State local current time, the first event time point.
Optionally, storage medium is also configured to store the program code for executing following steps: to the network After equipment reports prompting instruction information, the calibration instruction information that the network equipment is sent is received, wherein the calibration instruction It include: second event time point in information;Network current time is obtained to the network equipment;By the first event time point It is calibrated to second event time point.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (8)

1. a kind of event-handling method characterized by comprising
The first event time point that the network equipment is sent is received in the first application, wherein the first event time point is more A, multiple first event time points are used to indicate the time point or multiple of multiple performance objective events in same second application At the time point of performance objective event in second application, second application is different from first application, described second In, the same object event can be seized by multiple accounts;
Network current time is obtained to the network equipment;
There are when difference between the network current time and local current time, according to the difference by the first event Time point is calibrated to second event time point, wherein the second event time point is corresponding with the network current time;
The countdown of the display object event described for execution in first application;
Detect whether local current time reaches the second event time point in first application;
When detecting that the local current time reaches the second event time point, display alarm disappears in the first application Breath, wherein the reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes seizing mark Know, the mark of seizing is seized for the object event resource to the object event;
Wherein, it after showing the reminder message, is detected in first application to the touching seizing mark and executing Control operation responds the touch control operation and indicates to seize the object event resource in first application.
2. the method according to claim 1, wherein the first event time point is updated according to the difference Include: for second event time point
The second event time point=first event time point+(when the local current time-network is current Between).
3. the method according to claim 1, wherein in the first application after display alarm message, the side Method further include:
Prompting instruction information is reported to the network equipment, wherein when the prompting instruction information includes: that the local is current Between, the first event time point.
4. according to the method described in claim 3, it is characterized in that, to the network equipment report prompting instruction information it Afterwards, the method also includes:
Receive the calibration instruction information that the network equipment is sent, wherein when including: second event in the calibration instruction information Between point;
Network current time is obtained to the network equipment;
The first event time point is calibrated to second event time point.
5. a kind of event processing apparatus characterized by comprising
First receiving unit, the first event time point sent for receiving the network equipment in the first application, wherein described the Event time point be it is multiple, multiple first event time points be used to indicate it is same second application in multiple performance objective things The time point of performance objective event, second application and first application in the time point of part or multiple second applications Difference, in second application, the same object event can be seized by multiple accounts;
First acquisition unit, for it is described first application in receive the network equipment send the first event time point it Afterwards, the Xiang Suoshu network equipment obtains network current time;
First calibration unit, between the network current time and local current time there are when difference, according to described The first event time point is calibrated to second event time point by difference, wherein the second event time point and the net Network current time is corresponding;
Detection unit, for detecting whether local current time reaches the second event time point in first application;
Display unit for the countdown of the display object event described for execution in first application, and is used for When detecting that the local current time reaches the second event time point, the display alarm message in the first application, wherein The reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes seizing mark, described to rob Mark is accounted for seize for the object event resource to the object event;
Wherein, described device is also used to after showing the reminder message, is detected in first application and is robbed to described Account for mark execute touch control operation, respond the touch control operation it is described first application in instruction to the object event resource into It robs and accounts for.
6. device according to claim 5, which is characterized in that first calibration unit is for executing:
The second event time point=first event time point+(when the local current time-network is current Between).
7. device according to claim 5, which is characterized in that described device further include:
Reporting unit, after the display alarm message in the first application, the Xiang Suoshu network equipment reports prompting instruction information, Wherein, the prompting instruction information includes: the local current time, the first event time point.
8. device according to claim 7, which is characterized in that described device further include:
Second receiving unit, for receiving the network equipment hair after reporting prompting instruction information to the network equipment The calibration instruction information sent, wherein include: second event time point in the calibration instruction information;
Second acquisition unit, for obtaining network current time to the network equipment;
Second calibration unit, for the first event time point to be calibrated to second event time point.
CN201610571722.1A 2016-07-18 2016-07-18 Event-handling method and device Active CN106686204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610571722.1A CN106686204B (en) 2016-07-18 2016-07-18 Event-handling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610571722.1A CN106686204B (en) 2016-07-18 2016-07-18 Event-handling method and device

Publications (2)

Publication Number Publication Date
CN106686204A CN106686204A (en) 2017-05-17
CN106686204B true CN106686204B (en) 2019-09-20

Family

ID=58839693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610571722.1A Active CN106686204B (en) 2016-07-18 2016-07-18 Event-handling method and device

Country Status (1)

Country Link
CN (1) CN106686204B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107493347B (en) * 2017-09-18 2020-07-31 无线生活(杭州)信息科技有限公司 Remote notification method and device
CN108848185B (en) * 2018-07-05 2021-10-08 浙江赛思电子科技有限公司 Mobile terminal clock control method based on big data
CN110784596B (en) * 2019-09-24 2021-05-14 上海掌门科技有限公司 Method and equipment for processing event information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101772163A (en) * 2008-12-29 2010-07-07 华为终端有限公司 Alarm clock prompting method, device and system
CN104821987A (en) * 2015-04-16 2015-08-05 小米科技有限责任公司 Alarm clock-based reminding method and device
CN105138229A (en) * 2015-09-29 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014190A (en) * 2009-08-07 2011-04-13 深圳富泰宏精密工业有限公司 Scheduled task management system and method
CN105207768B (en) * 2015-10-23 2018-06-19 上海斐讯数据通信技术有限公司 Router side access equipment and the inconsistent based reminding method of internet time and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101772163A (en) * 2008-12-29 2010-07-07 华为终端有限公司 Alarm clock prompting method, device and system
CN104821987A (en) * 2015-04-16 2015-08-05 小米科技有限责任公司 Alarm clock-based reminding method and device
CN105138229A (en) * 2015-09-29 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN106686204A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
US9497142B2 (en) Triggering actions on a computing device
CN105550051B (en) The asynchronous processing method and device of service request
EP3201805B1 (en) Methods and systems for regulating communications at a mobile communications device
US20170171713A1 (en) Method and apparatus for determining location of target portable device
CN107688478A (en) Terminal, the display methods of application message and device
CN106973319B (en) Virtual gift display method and system
US10063647B2 (en) Systems, apparatuses, and methods for intelligent network communication and engagement
CN106686204B (en) Event-handling method and device
US9141944B2 (en) Synchronization of alarms between devices
US9407586B2 (en) Method and system for cross device notification
EP2584507A1 (en) System and methods for event attendance notification
CN107733687A (en) Prompt service abnormal method, terminal, server and computer-readable medium
CN107800891A (en) The electronic equipment and method of notice of wiring back service
CN106296135A (en) Event-prompting method, device and terminal
CN110781408A (en) Information display method and device
CN108446211A (en) Browser exception collection method, device, mobile terminal and storage medium
WO2011031533A1 (en) Methods and apparatus for session control in a networked locationing system
EP2605497B1 (en) Method and apparatus for setting alarm in portable terminal
CN107197493B (en) A kind of method for switching network, network switching device and intelligent terminal
CN108462734B (en) Message receiving method and device
US10706390B2 (en) Method and apparatus for changing electronic device status
EP2949083B1 (en) Receiving a communication event
US9363639B2 (en) Sharing content
CN107545413A (en) Event-handling method and device
CN106899687A (en) A kind of information prompting method and terminal

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