Movatterモバイル変換


[0]ホーム

URL:


CN106686204B - Event-handling method and device - Google Patents

Event-handling method and device
Download PDF

Info

Publication number
CN106686204B
CN106686204BCN201610571722.1ACN201610571722ACN106686204BCN 106686204 BCN106686204 BCN 106686204BCN 201610571722 ACN201610571722 ACN 201610571722ACN 106686204 BCN106686204 BCN 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 LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201610571722.1ApriorityCriticalpatent/CN106686204B/en
Publication of CN106686204ApublicationCriticalpatent/CN106686204A/en
Application grantedgrantedCritical
Publication of CN106686204BpublicationCriticalpatent/CN106686204B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

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, byThe target resource of object event can be seized in multiple users, therefore, if user wants when object event is performedBetween point seize object event resource and may need the help of third-party application.But existing third-party application intelligently acquiresThe 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 intoRow remind, if reminder time point, which changes, to be obtained in time, therefore reminder time point inaccuracy, and reminder time withSubject 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 terminalIt is not accurate enough, entanglement occurs often, application can not determine whether the local zone time of terminal goes wrong, and cannot timely update numberAccording 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 technologyThe 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 applicationReceive 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 meshThe time point of mark event;Detect whether local current time reaches the first event time point in first application;WhenWhen detecting that the local current time reaches the first event time point, the display alarm message in the first application, whereinThe reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes seizing mark, described to robMark 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 listMember, the first event time point sent for receiving the network equipment in the first application, wherein the first event time point is usedIn the time point for indicating the second application execution object event;Detection unit, it is local current for being detected in first applicationWhether the time reaches the first event time point;Display unit, for detecting described in the local current time arrivalWhen first event time point, the display alarm message in the first application, wherein the reminder message is being used to indicate the second application justIn performance objective event, the reminder message includes seizing mark, and the mark of seizing is for the target to the object eventEvent-resources are seized.
In embodiments of the present invention, the first event time point sent by receiving the network equipment in the first application, soDisplay alarm message in applying afterwards when detecting that local current time reaches first event time point first, is reminded to secondThe 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 applicationTime point of prompting can obtain accurate latest data after first event time point changes, to improve eventThe technical effect of the accuracy of prompting, and then solve the technology of the reminder time inaccuracy of event reminder application in the related technologyProblem.
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 hairBright 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 inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleThe model that the present invention protects all should belong in member's every other embodiment obtained without making creative workIt 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 wayData be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that coverCover 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 toStep or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, productOr 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 followsIt 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 managementPart.
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 phoneFormula 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 102In the hardware environment constituted with terminal 104.As shown in Figure 1, server 102 is attached by network with terminal 104, it is above-mentionedNetwork 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..ThisThe event-handling method of inventive embodiments can be executed by server 102, can also be executed, be can also be by terminal 104It 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 withIt 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 partyMethod 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 withThe 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 equipmentIt 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.ThingPart 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 sentAt time point, first event time point indicates the time point that the object event in the second application will be performed, optionally, firstAfter receiving the first event time point that the network equipment is sent in, set first event time point is shown, furtherGround can also show event corresponding with event time point.Event time point in first application can be one and may beMultiple, multiple event time points can indicate the event time point in multiple second applications, can also indicate one second applicationIn multiple event time points.It at the first event time point sent by receiving the network equipment, can more accurately getThe correct time that event occurs improves the accuracy of event prompting, can be realized the variation of the event time point according to cloudThe 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 installationThe 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 timeThe 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 pointAwake message.
If detecting that local current time reaches first event time point in the first application, in the first applicationDisplay alarm message, wherein reminder message is used to indicate the second application and is carrying out object event, and reminder message includes seizing markKnow, 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 outSeize, therefore, when arrival event time point, in the first application display alarm message with remind user to object event resource intoRob 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 ofMark, for example, it may be circular pattern, can also be identified using corresponding with the object event in the second application, be come with distinguishingFrom the different target event of different application.Optionally, reminder message also may include other alerting patterns, example in addition to seizing markSuch 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 modeMobile 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 executionOperation 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 applicationTime 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 madeTime point for the prompting of the first application can obtain accurate latest data after first event time point changes, and solveThe technical problem of the reminder time inaccuracy of event reminder application in the related technology, and then reach the accurate of raising event promptingThe 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 itAfterwards, network current time is obtained to the network equipment;Between network current time and local current time when existing difference, rootFirst event time point is calibrated to second event time point according to difference, wherein second event time point and network current timeIt is corresponding.
After receiving first event time point in the first application, when the first application is current to network equipment acquisition networkBetween, 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 differenceThe 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 withPass 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 localBetween fall behind 2 minutes network times, fall behind Time To Event 2 minutes, event if issuing and reminding in local event 10:00Resource 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 timeDifference is updated event time point, can effectively improve the accuracy that the event of the first application is reminded.In a variety of applicationsUser 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 timeThe local zone time of terminal, but the network time that event is reminded may not change, if the first application is according to terminal timeRemind user to carry out resource to seize, then user may miss multiple resources and seize chance, and the first application according to network time andThe 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 embodimentIndicate information, wherein reminding instruction information includes: local current time, first event time point.Remind instruction message that can mentionThe 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 andThe time point of first event.
Network equipment hair is received after reporting prompting instruction information to the network equipment as a kind of optional embodimentThe calibration instruction information sent, wherein include: second event time point in calibration instruction information;Network is obtained to the network equipment to work asThe preceding time;First event time point is calibrated to second event time point.The network equipment receives the prompting that the first application reportsAfter indicating information, calibration instruction information is issued, the first application receives the calibration that the network equipment is sent and indicates information, calibration instructionSecond event time point is carried in information, then the first application obtains the current time of network to the network equipment, according to networkCurrent 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 embodimentIt 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 phoneEnd, event can be instant messaging application rob red packet event, cloud and mobile phone terminal are communicated by network, and network can beWireless 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 cloudAlarm 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 packetClock 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 soundSignal 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 silentlyRed 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 pointHairnet network (Content Delivery Network, referred to as CDN) pushes (Push) to the red packet of mobile phone terminal by networkAlarm clock enforcement engine, red packet alarm clock enforcement engine are received with postponing, and configuration is linked into alarm clock queue immediately, waits alarm timeAfter 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 outIt 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 controlRed 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 timeCurrent 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 mistakeAlarm 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 withAs 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 matchA 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 configurationColumn.
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 withAs 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 serverBetween.
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 asFruit 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 timeDifference.
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 packetThe 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, theOne 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 pageIt 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 asRed 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 interfaceWith 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 secondInstant messaging application red packet also shows " accuse on the surface so that user more intuitively understands the prompting number of red packet alarm clockTell good friend " triggering mark, red packet alarm clock detect user click the triggering mark after, can be by the prompting of red packet alarm clockNumber 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 shownFor 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 months20: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 7Day 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 2Moon 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, pageRed 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 packetBetween 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 toLatest 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, haveSelf time capacity has the red packet alarm clock mechanism of Real-time Feedback bearing capacity, realizes cloud by page configuration, fastlyFast 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 inquiryIt 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 heldRow 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 ofCombination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described becauseAccording to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also knowIt knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the inventionIt is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe 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 muchIn 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 existingThe part that technology contributes can be embodied in the form of software products, which is stored in a storageIn medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculateMachine, 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 wrapIt 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, whereinFirst 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 pointDisplay alarm message, wherein reminder message is used to indicate the second application and is carrying out object event, and reminder message includes seizing markKnow, 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 1Step 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 embodimentIn 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 notIt 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 asIn 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 applicationAfter 1 event time point, network current time is obtained to the network equipment;First calibration unit, for network current time withBetween 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 currentWhen m- network current time).
Optionally, the device further include: reporting unit, after the display alarm message in the first application, to networkEquipment 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 itAfterwards, it receives the calibration that the network equipment is sent and indicates information, wherein include: second event time point in calibration instruction information;SecondAcquiring unit, for obtaining network current time to the network equipment;Second calibration unit, for calibrating first event time pointFor 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 notIt 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 asIn hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes networkEnvironment.
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: oneA or multiple (one is only shown in figure) processor 201, memory 203 and transmitting device 205 are (in such as above-described embodimentSending 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 inventionMethod and the corresponding program instruction/module of device, processor 201 by the software program that is stored in memory 203 of operation andModule realizes above-mentioned event-handling method thereby executing various function application and data processing.Memory 203 can wrapInclude high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, flash memory orOther non-volatile solid state memories of person.In some instances, memory 203 can further comprise remote relative to processor 201The memory of journey setting, these remote memories can pass through network connection to terminal.The example of above-mentioned network includes but unlimitedIn 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 withData 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 cableIt is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress205 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 stepsIt 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 toShow the time point of the second application execution object event;Detect whether local current time reaches described the in first applicationEvent time point;When detecting that the local current time reaches the first event time point, shown in the first applicationShow reminder message, wherein the reminder message is used to indicate the second application and is carrying out object event, and the reminder message includesMark 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 applicationAfter 1 event time point, the Xiang Suoshu network equipment obtains network current time;In the network current time and the localBetween current time when existing difference, the first event time point is calibrated to by the second event time according to the differencePoint, 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 setIt is standby to report prompting instruction information, wherein the promptings instruction information includes: the local current time, when the first eventBetween point.
Processor 201 is also used to execute following step: after reporting prompting instruction information to the network equipment, receivingThe calibration that the network equipment is sent indicates information, wherein includes: second event time point in the calibration instruction information;ToThe 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, soDisplay alarm message in applying afterwards when detecting that local current time reaches first event time point first, is reminded to secondThe 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 applicationTime point of prompting can obtain accurate latest data after first event time point changes, to improve eventThe technical effect of the accuracy of prompting, and then solve the technology of the reminder time inaccuracy of event reminder application in the related technologyProblem.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2Example, 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 InternetDevices, 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 alsoMay include than shown in Fig. 9 more perhaps less component (such as network interface, display device) or have with shown in Fig. 9Different 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 canIt is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage mediumIn, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (RandomAccess 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 canWith 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 embodimentOn 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 applicationPoint 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 pointReminder message, wherein the reminder message is used to indicate the second application and is carrying out object event, and the reminder message includes robbingMark 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 firstAfter 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 thingPart 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 eventTime 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 applicationAfter display alarm message, the Xiang Suoshu network equipment reports prompting instruction information, wherein the prompting instruction information includes: instituteState 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 networkAfter equipment reports prompting instruction information, the calibration instruction information that the network equipment is sent is received, wherein the calibration instructionIt include: second event time point in information;Network current time is obtained to the network equipment;By the first event time pointIt 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 2Example, 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 orThe 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 productWhen selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the inventionSubstantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art schemeThe form of part product embodies, which is stored in a storage medium, including some instructions are used so that onePlatform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present inventionState 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 embodimentThe 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 sideFormula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only oneKind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orIt 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 itBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or moduleIt connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn 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 unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember 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 artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.

Claims (8)

CN201610571722.1A2016-07-182016-07-18Event-handling method and deviceActiveCN106686204B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610571722.1ACN106686204B (en)2016-07-182016-07-18Event-handling method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610571722.1ACN106686204B (en)2016-07-182016-07-18Event-handling method and device

Publications (2)

Publication NumberPublication Date
CN106686204A CN106686204A (en)2017-05-17
CN106686204Btrue CN106686204B (en)2019-09-20

Family

ID=58839693

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610571722.1AActiveCN106686204B (en)2016-07-182016-07-18Event-handling method and device

Country Status (1)

CountryLink
CN (1)CN106686204B (en)

Families Citing this family (3)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101772163A (en)*2008-12-292010-07-07华为终端有限公司Alarm clock prompting method, device and system
CN104821987A (en)*2015-04-162015-08-05小米科技有限责任公司Alarm clock-based reminding method and device
CN105138229A (en)*2015-09-292015-12-09联想(北京)有限公司Information processing method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102014190A (en)*2009-08-072011-04-13深圳富泰宏精密工业有限公司Scheduled task management system and method
CN105207768B (en)*2015-10-232018-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 numberPriority datePublication dateAssigneeTitle
CN101772163A (en)*2008-12-292010-07-07华为终端有限公司Alarm clock prompting method, device and system
CN104821987A (en)*2015-04-162015-08-05小米科技有限责任公司Alarm clock-based reminding method and device
CN105138229A (en)*2015-09-292015-12-09联想(北京)有限公司Information processing method and electronic equipment

Also Published As

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

Similar Documents

PublicationPublication DateTitle
CN106790523B (en) A message push method and server
US9497142B2 (en)Triggering actions on a computing device
US20170171713A1 (en)Method and apparatus for determining location of target portable device
CN103065235B (en) Event attendance notification system and method
US20190068728A1 (en)Systems, apparatuses, and methods for intelligent network communication and engagement
CN105592168A (en)Remotely locating and commanding a mobile device
KR20170111810A (en)Method and apparatus for oprerating messenger based on location inforamtion of electronic device
US9141944B2 (en)Synchronization of alarms between devices
CN107733687A (en)Prompt service abnormal method, terminal, server and computer-readable medium
CN106686204B (en)Event-handling method and device
US9407586B2 (en)Method and system for cross device notification
CN106296135A (en)Event-prompting method, device and terminal
CN107786601A (en)A kind of information processing method, terminal and server
WO2011031533A1 (en)Methods and apparatus for session control in a networked locationing system
CN106331005A (en) A message management method and device
EP2605497B1 (en)Method and apparatus for setting alarm in portable terminal
CN103796155A (en)Method and device for setting prompt according to content in text message
CN104426960B (en)A kind of trial method and device of payment applications
US10706390B2 (en)Method and apparatus for changing electronic device status
CN108243085B (en)Method and device for pushing and setting communication group state identifier
US9363639B2 (en)Sharing content
CN107545413A (en)Event-handling method and device
CN104702701A (en)Method and device for sharing data
CN109076008A (en) Suppress indication of incoming communication in UI
EP2949083B1 (en)Receiving a communication event

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp