CN106331329B - A kind of information displaying method and terminal, server based on stopwatch - Google Patents
A kind of information displaying method and terminal, server based on stopwatch Download PDFInfo
- Publication number
- CN106331329B CN106331329B CN201610685586.9A CN201610685586A CN106331329B CN 106331329 B CN106331329 B CN 106331329B CN 201610685586 A CN201610685586 A CN 201610685586A CN 106331329 B CN106331329 B CN 106331329B
- Authority
- CN
- China
- Prior art keywords
- event
- server
- terminal
- stopwatch
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
- Electric Clocks (AREA)
Abstract
The invention discloses a kind of information displaying method based on stopwatch and clients, server, comprising: when starting stop watch function, establishes the connection between terminal and server;When the setting of the purpose event based on the stopwatch of acquisition operation, the purpose event is sent to the server;Receive the correlating event relevant to the purpose event that the server is sent;The duration for the purpose event that display is recorded using the stopwatch, and correlating event relevant to the purpose event.In this way, the function of stopwatch is relatively abundanter, stopwatch not only has the function of timing, additionally it is possible to provide more abundant information for user, increase the experience of user.
Description
Technical field
The present invention relates to stopwatch technology more particularly to a kind of information displaying method and terminal, servers based on stopwatch.
Background technique
Most people just will recognize that mobile phone at the first time when needing using stopwatch, and most of the stopwatch on mobile phone
It is all that cell phone manufacturer is built-in in time manager, there are four modules for tool in time manager: clock, alarm clock, stopwatch and meter
When;Wherein, stopwatch is substantially all there are five button: being started, pause, note time, is continued and resetting.Each cell phone manufacturer is for stopwatch
Setting all, the function of stopwatch is relatively simple, user using stopwatch experience it is also more single, existing stopwatch cannot be
User provides more abundant information.
Summary of the invention
In order to solve the above technical problems, the embodiment of the invention provides a kind of information displaying method based on stopwatch and ends
End, server.
Information displaying method provided in an embodiment of the present invention based on stopwatch, comprising:
When starting stop watch function, the connection between terminal and server is established;
When the setting of the purpose event based on the stopwatch of acquisition operation, the purpose event is sent to the service
Device;
Receive the correlating event relevant to the purpose event that the server is sent;
The duration for the purpose event that display is recorded using the stopwatch, and association relevant to the purpose event
Event.
In the embodiment of the present invention, the method also includes:
Location information is obtained, when the purpose event is sent to the server, while the location information being sent
To the server;
Correspondingly, the correlating event relevant to the purpose event for receiving the server and sending, comprising:
Receive the correlating event relevant to the purpose event and the location information that the server is sent.
In the embodiment of the present invention, the method also includes:
The duration and the duration in the correlating event for comparing the purpose event, obtain comparison result;
Show the comparison result.
Another embodiment of the present invention provides the information displaying method based on stopwatch, comprising:
Establish the connection between server and terminal;
Receive the purpose event based on stopwatch that the terminal is sent;
According to the keyword of the purpose event, association thing relevant to the purpose event is found in the database
Part;
The correlating event is occurred to show to the terminal.
In the embodiment of the present invention, the method also includes:
After finding correlating event relevant to the purpose event in the database, the correlating event is beaten
Packet;
It is correspondingly, described that the correlating event occurs to the terminal, comprising:
The correlating event after packing is sent to the terminal.
Terminal provided in an embodiment of the present invention, comprising:
Unit is established, for establishing the connection between terminal and server when starting stop watch function;
Setting unit, the setting for obtaining the purpose event based on the stopwatch operate;
Transmission unit, for the purpose event to be sent to the server;
Receiving unit, the correlating event relevant to the purpose event sent for receiving the server;
Display unit, for show using the stopwatch record the purpose event duration, and with the purpose
The relevant correlating event of event.
In the embodiment of the present invention, the terminal further include:
Acquiring unit, for obtaining location information;
The transmission unit when being also used to the purpose event being sent to the server, while the position being believed
Breath is sent to the server;
The receiving unit, is also used to receive that the server sends and the purpose event and the location information
Relevant correlating event.
In the embodiment of the present invention, the terminal further include:
Comparing unit obtains for the duration in the duration of the purpose event and the correlating event and compares knot
Fruit;
The display unit is also used to show the comparison result.
Server provided in an embodiment of the present invention, comprising:
Unit is established, for establishing the connection between server and terminal;
Receiving unit, the purpose event based on stopwatch sent for receiving the terminal;
Searching unit is found and the purpose event in the database for the keyword according to the purpose event
Relevant correlating event;
Transmission unit, for occurring to show the correlating event to the terminal.
In the embodiment of the present invention, the server further include:
Packaged unit, after finding correlating event relevant to the purpose event in the database, to the pass
Connection event is packaged;
The transmission unit is also used to the correlating event after being packaged being sent to the terminal.
In the technical solution of the embodiment of the present invention, when starting stop watch function, the connection between terminal and server is established;
When the setting of the purpose event based on the stopwatch of acquisition operation, the purpose event is sent to the server;It receives
The correlating event relevant to the purpose event that the server is sent;The purpose thing that display is recorded using the stopwatch
The duration of part, and correlating event relevant to the purpose event.In this way, the function of stopwatch is relatively abundanter, stopwatch not only has
There is the function of timing, additionally it is possible to provide more abundant information for user, increase the experience of user.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram one of the information displaying method based on stopwatch of the embodiment of the present invention;
Fig. 4 is the flow diagram two of the information displaying method based on stopwatch of the embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention;
Fig. 6 is the structure composition schematic diagram of the server of the embodiment of the present invention;
Fig. 7 is the stopwatch display interface schematic diagram of the embodiment of the present invention.
Specific embodiment
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to the explanation of the embodiment of the present invention,
There is no specific meanings for itself.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the embodiment of the present invention may include all
Such as mobile phone, smart phone, laptop, digit broadcasting receiver, personal digital assistant (PDA, Personal
Digital Assistant), tablet computer (PAD), portable media player (PMP, Portable Media
Player), the fixed terminal of the mobile terminal of navigation device etc. and such as number TV, desktop computer etc..In the following, false
If terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to be used in particular for mobile purpose element it
Outside, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Mobile terminal 100 may include wireless communication unit 110, audio/video (A/V) input unit 120, user's input
Unit 130, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 1 is shown
Mobile terminal with various assemblies, it should be understood that be not required for implementing all components shown.It can be alternatively
Implement more or fewer components.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication system
Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111, mobile communication module
112, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, its can with digital multimedia broadcasting (DMB,
Digital Multimedia Broadcasting) electronic program guides (EPG, Electronic Program Guide),
The electronic service guidebooks of digital video broadcast-handheld (DVB-H, Digital Video Broadcasting-Handheld)
The form of (ESG, Electronic Service Guide) etc. and exist.Broadcasting reception module 111 can be by using each
The broadcast system of seed type receives signal broadcast.Particularly, broadcasting reception module 111 can be by using such as multi-media broadcast
Broadcast-ground (DMB-T, Digital Multimedia Broadcasting-Terrestrial), digital multimedia broadcasting-defend
Star (DMB-S, Digital Multimedia Broadcasting-Satellite), digital video broadcast-handheld (DVB-H),
The Radio Data System of forward link media (MediaFLO, Media Forward Link Only), received terrestrial digital broadcasting are comprehensive
The number for servicing (ISDB-T, Integrated Services Digital Broadcasting-Terrestrial) etc. is wide
It broadcasts system and receives digital broadcasting.Broadcasting reception module 111 may be constructed such that the various broadcast systems for being adapted to provide for broadcast singal
And above-mentioned digit broadcasting system.It can be deposited via the received broadcast singal of broadcasting reception module 111 and/or broadcast related information
Storage is in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include Wireless LAN (Wi-Fi, WLAN,
Wireless Local Area Networks), WiMAX (Wibro), worldwide interoperability for microwave accesses (Wimax), under high speed
Downlink packet accesses (HSDPA, High Speed Downlink Packet Access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
Tooth, radio frequency identification (RFID, Radio Frequency Identification), Infrared Data Association (IrDA, Infrared
Data Association), ultra wide band (UWB, Ultra Wideband), purple honeybee etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
Typical case be global positioning system (GPS, Global Positioning System).According to current technology, GPS mould
Block 115 calculates range information from three or more satellites and correct time information and for the Information application of calculating three
Angle, to according to longitude, latitude and highly accurately calculate three-dimensional current location information.Currently, it is used for calculating position
Method with temporal information is using three satellites and by using the other calculated position of satellite correction and time
The error of information.In addition, GPS module 115 can be by Continuous plus current location information in real time come calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus
Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121
Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way
Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can
The format output of mobile communication base station is sent to via mobile communication module 112.Various types of make an uproar can be implemented in microphone 122
Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal
It disturbs.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal
Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch
Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc.
Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user
Kind of information and may include subscriber identification module (UIM, User Identify Module), client identification module (SIM,
Subscriber Identity Module), Universal Subscriber identification module (USIM, Universal Subscriber
Identity Module) etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take intelligence
The form of card, therefore, identification device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170
It can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and transmit the input received
One or more elements in mobile terminal 100 can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is
The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated
Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display
Unit 151, audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI, User Interface) or graphic user interface (GUI, Graphical User
Interface).When mobile terminal 100 is in video calling mode or image capture mode, display unit 151 can be shown
Show captured image and/or received image, the UI or GUI that show video or image and correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD, Liquid
Crystal Display), thin film transistor (TFT) LCD (TFT-LCD, Thin Film Transistor-LCD), organic light-emitting diodes
It manages in (OLED, Organic Light-Emitting Diode) display, flexible display, three-dimensional (3D) display etc.
It is at least one.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as
Transparent display, typical transparent display can be, for example, transparent organic light emitting diode (TOLED) display etc..According to
Specific desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), example
Such as, mobile terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for examining
Survey touch input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160
The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes.
Audio output module 152 may include loudspeaker, buzzer etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM, Random Access
Memory), static random-access memory (SRAM, Static Random Access Memory), read-only memory (ROM,
Read Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable
Programmable Read Only Memory), programmable read only memory (PROM, Programmable Read Only
Memory), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC, Application Specific Integrated Circuit), digital signal processor (DSP, Digital
Signal Processing), digital signal processing device (DSPD, Digital Signal Processing Device), can
Programmed logic device (PLD, Programmable Logic Device), field programmable gate array (FPGA, Field
Programmable Gate Array), processor, controller, microcontroller, microprocessor, be designed to execute it is described herein
At least one of the electronic unit of function implement, in some cases, such embodiment can be in controller 180
Middle implementation.For software implementation, the embodiment of such as process or function can with allow to execute at least one functions or operations
Individual software module implement.Software code can be by the software application write with any programming language appropriate
(or program) is implemented, and software code can store in memory 160 and executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to an embodiment of the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA, Frequency Division Multiple Access), time division multiple acess
(TDMA, Time Division Multiple Access), CDMA (CDMA, Code Division Multiple
Access) and Universal Mobile Communication System (UMTS, Universal Mobile Telecommunications System) is (special
Not, long term evolution (LTE, Long Term Evolution)), global system for mobile communications (GSM) etc..As unrestricted
Property example, description below is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple mobile terminals 100, multiple base station (BS, Base
Station) 270, base station controller (BSC, Base Station Controller) 275 and mobile switching centre (MSC,
Mobile Switching Center)280.MSC280 is configured to and Public Switched Telephony Network (PSTN, Public
Switched Telephone Network) 290 formation interfaces.MSC280 is also structured to and can couple via back haul link
BSC275 to base station 270 forms interface.Back haul link can be constructed according to any in several known interfaces, described
Interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that as shown in Figure 2
System may include multiple BSC275.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS 270.Alternatively, each subregion can by two for diversity reception or more
Multiple antennas covering.Each BS 270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency
It composes (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver
System (BTS, Base Transceiver Station) or other equivalent terms.In this case, term " base station "
It can be used for broadly indicating single BSC275 and at least one BS 270.Base station can also be referred to as " cellular station ".Alternatively, special
Each subregion for determining BS 270 can be referred to as multiple cellular stations, such as 270A, 270B.
As shown in Figure 2, broadcast singal is sent to by broadcsting transmitter (BT, Broadcast Transmitter) 295
The mobile terminal 100 operated in system.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to connect
Receive the broadcast singal sent by BT295.In fig. 2 it is shown that several satellites 300, such as global positioning system can be used
(GPS) satellite 300.The help of satellite 300 positions at least one of multiple mobile terminals 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.GPS module 115 as shown in Figure 1 is generally configured to cooperate with satellite 300 to obtain desired positioning and believe
Breath.It substitutes GPS tracking technique or except GPS tracking technique, the other of the position that can track mobile terminal can be used
Technology.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminals 100
Road signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each
Reverse link signal is handled in specific BS 270.The data of acquisition are forwarded to relevant BSC275.BSC provides logical
Talk about the mobile management function of resource allocation and the coordination including the soft switching process between BS 270.BSC275 will also be received
Data are routed to MSC280, provide the additional route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS 270 correspondingly with by forward link signals
It is sent to mobile terminal 100.
The mobile communication module 112 of wireless communication unit 110 is mobile based on the access built in mobile terminal in mobile terminal
The necessary data (including customer identification information and authentication information) of communication network (such as 2G/3G/4G mobile communications network) accesses
Mobile communications network is that the business such as the web page browsing of mobile terminal user, network multimedia broadcasting transmit mobile data (packet
Include the mobile data of uplink and the mobile data of downlink).
The related protocol function reality that the wireless Internet module 113 of wireless communication unit 110 passes through operation hotspot
The function of existing hotspot, hotspot are supported multiple mobile terminal (any mobile terminal except mobile terminal) accesses, are led to
The webpage that the mobile communication crossed between multiplexing mobile communication module 112 and mobile communications network is connected as mobile terminal user is clear
It lookes at, (movement of mobile data and downlink including uplink is logical for the business transmission mobile data such as network multimedia plays
Letter data), since mobile terminal is substantially the mobile communication connection transmission movement being multiplexed between mobile terminal and communication network
Communication data, therefore the flow of the mobile data of mobile terminal consumption is included in movement by the charging entity of communication network side
The post and telecommunication tariff of terminal, to consume the data flow for the mobile data for including in the post and telecommunication tariff that mobile terminal signing uses
Amount.
Based on above-mentioned 100 hardware configuration of mobile terminal and communication system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow diagram one of the information displaying method based on stopwatch of the embodiment of the present invention, the base in this example
It is applied to terminal side in the information displaying method of stopwatch, as shown in figure 3, the information displaying method based on stopwatch includes following
Step:
Step 301: when starting stop watch function, establishing the connection between terminal and server.
In the embodiment of the present invention, terminal can be the electronic equipments such as mobile phone, tablet computer, have time management in terminal
Device, there are four modules for tool in time manager: clock, alarm clock, stopwatch and timing.Wherein, the function of stopwatch is: record is more
Accurate duration, such as the duration of record 100-meter dash.
When user enters stopwatch interface, then show to start stop watch function, at this point, establishing between terminal and server
Connection specifically establishes the connection between stopwatch client and server, in the embodiment of the present invention, between terminal and server
Information exchange it is practical be information exchange between stopwatch client and server.
When starting stop watch function, the connection established between terminal and server is exactly most suitable opportunity, because, if
The connection between terminal and server is established ahead of time, and possible user does not need using stop watch function, in this way can waste for no reason
System resource.If resettled after inputting the purpose event of stopwatch namely the purposes of stopwatch in user terminal and server it
Between connection, then can be than relatively time-consuming, so that user experience is bad.
In the embodiment of the present invention, the connection between terminal and server can be realized by the communication module in terminal,
Such as communication module is mobile subscriber's identification module (SIM, Subscriber Identification Module) card, then,
The wireless connection between server can be established by SIM card.
In the embodiment of the present invention, server will carry out the collection work of big data in advance, and various information datas are all saved
Into server, for example, record data relevant to 100-meter dash, with relevant record data of swimming, relevant with stubborn magic square
Data etc. are recorded, the type of data is rich and varied, and data are not only limited to be official's match recorded data, can be with
It is the data that user oneself uploads.
Step 302: when the setting of the purpose event based on the stopwatch of acquisition operation, the purpose event being sent to
The server.
In the embodiment of the present invention, after purpose event (namely purposes) of the good stopwatch of user setting, terminal will be by purpose
Event passes to server.
In addition, the method also includes: the location information of terminal is obtained, the purpose event is sent to the server
When, while the location information is sent to the server.
In above scheme, the permission of location information can also be obtained for stopwatch addition, when specific implementation, it is only necessary in stopwatch
This permission is added in the manifest.xml file of client.The mode for obtaining location information, can be by terminal
Positioning system obtains, and can also be determined by the IP address of terminal networking.Later, terminal is by location information and purpose event
Server is passed to together.
In the embodiment of the present invention, after server receives purpose event, according to the keyword match in purpose event go out with
Then all correlating events being matched to are packaged into a Java object representation by the relevant correlating event of purpose event
(JSON, JavaScript Object Notation) packet is transmitted to terminal.Here, JSON packet is the data packet of a lightweight,
Although server need the data volume collected be it is huge, the correlating event to match with the purpose event of user's input is
Seldom, therefore JSON packet can be used in transmission process, it can guarantee efficiency of transmission in this way.
In one embodiment, it is purpose event and location information that server is received, in this case, server according to
Keyword and location information in purpose event match correlating event relevant to purpose event and location information, then
All correlating events being matched to are packaged into a JSON packet and are transmitted to terminal.
Step 303: receiving the correlating event relevant to the purpose event that the server is sent.
In the embodiment of the present invention, correlating event refers to event relevant to purpose event.In one embodiment, terminal connects
Receive the correlating event relevant to the purpose event and the location information that the server is sent, at this moment, correlating event
Refer to event relevant to purpose event and location information.Correlating event is the further shown details of stopwatch.
Step 304: display using the stopwatch record the purpose event duration, and with the purpose event phase
The correlating event of pass.
In the embodiment of the present invention, the method also includes: in the duration of the purpose event and the correlating event
Duration, obtain comparison result;Show the comparison result.
Referring to Fig. 7, by taking purpose event is record 100-meter dash as an example, shown content can be with are as follows: you are used in 100 meters
Time is 11 seconds 82, has broken A university, the school discipline record of the schools such as B university, but distance " lightning " Bo Erte is big in 2009
9 seconds 58 world records created in slope World Championships are there are also very big gap, the 10 seconds Asian records created with Chinese player
There are also the gaps more than 1 second, continuing with oiling!
Referring to Fig. 7, by taking purpose event is to twist cube game as an example, shown content can be with are as follows: you twist used in magic square
Time is 5 seconds 62, has broken A university, the school discipline record of the schools such as B university, but the also very big difference apart from world champion
Away from continuing with oiling!
In the embodiment of the present invention, when user is not this stopwatch setting purpose event (namely purposes), stopwatch at this time
To not have the function of returning to details.When obtaining location information failure, server will not return to more specific position
The related data of information.When (such as in the case where not having signal) terminal and server connection failure, stopwatch will not have at this time
Return to the function of details.
The stop watch function of the embodiment of the present invention can show more abundant information, and user, can before beginning to use stopwatch
The purposes of the stopwatch, such as 100 meter race is arranged, when run through and timing after, can be shown on interface the time used with
And details, facilitate user to be compared the record of oneself with relative recording, it is more accurate to the horizontal progress of oneself
Positioning.
Fig. 4 is the flow diagram two of the information displaying method based on stopwatch of the embodiment of the present invention, the base in this example
It is applied to terminal side in the information displaying method of stopwatch, as shown in figure 4, the information displaying method based on stopwatch includes following
Step:
Step 401: establishing the connection between server and terminal.
In the embodiment of the present invention, terminal can be the electronic equipments such as mobile phone, tablet computer, have time management in terminal
Device, there are four modules for tool in time manager: clock, alarm clock, stopwatch and timing.Wherein, the function of stopwatch is: record is more
Accurate duration, such as the duration of record 100-meter dash.
When user enters stopwatch interface, then show to start stop watch function, at this point, establishing between server and terminal
Connection specifically establishes the connection between server and stopwatch client, in the embodiment of the present invention, between server and terminal
Information exchange it is practical be information exchange between server and stopwatch client.
When starting stop watch function, the connection established between server and terminal is exactly most suitable opportunity, because, if
The connection between server and terminal is established ahead of time, and possible user does not need using stop watch function, in this way can waste for no reason
System resource.If resettled after inputting the purpose event of stopwatch namely the purposes of stopwatch in user server and terminal it
Between connection, then can be than relatively time-consuming, so that user experience is bad.
In the embodiment of the present invention, the connection between server and terminal can be realized by the communication module in terminal,
Such as communication module is SIM card, it is possible to establish the wireless connection between server by SIM card.
In the embodiment of the present invention, server will carry out the collection work of big data in advance, and various information datas are all saved
Into server, for example, record data relevant to 100-meter dash, with relevant record data of swimming, relevant with stubborn magic square
Data etc. are recorded, the type of data is rich and varied, and data are not only limited to be official's match recorded data, can be with
It is the data that user oneself uploads.
Step 402: receiving the purpose event based on stopwatch that the terminal is sent.
In the embodiment of the present invention, after purpose event (namely purposes) of the good stopwatch of user setting, terminal will be by purpose
Event passes to server.Server then receives the purpose event based on stopwatch that the terminal is sent
In addition, the method also includes: while the purpose event that server receiving terminal is sent, also receive terminal
The location information of the terminal sent.
In above scheme, the permission of location information can also be obtained for stopwatch addition, when specific implementation, it is only necessary in stopwatch
This permission is added in the manifest.xml file of client.The mode for obtaining location information, can be by terminal
Positioning system obtains, and can also be determined by the IP address of terminal networking.Later, terminal is by location information and purpose event
Server is passed to together.
Step 403: according to the keyword of the purpose event, finding in the database relevant to the purpose event
Correlating event.
In the embodiment of the present invention, after server receives purpose event, according to the keyword match in purpose event go out with
Then all correlating events being matched to are packaged into a Java object representation by the relevant correlating event of purpose event
(JSON, JavaScript Object Notation) packet is transmitted to terminal.Here, JSON packet is the data packet of a lightweight,
Although server need the data volume collected be it is huge, the correlating event to match with the purpose event of user's input is
Seldom, therefore JSON packet can be used in transmission process, it can guarantee efficiency of transmission in this way.
In one embodiment, it is purpose event and location information that server is received, in this case, server according to
Keyword and location information in purpose event match correlating event relevant to purpose event and location information, then
All correlating events being matched to are packaged into a JSON packet and are transmitted to terminal.
In the embodiment of the present invention, correlating event refers to event relevant to purpose event.In one embodiment, terminal connects
Receive the correlating event relevant to the purpose event and the location information that the server is sent, at this moment, correlating event
Refer to event relevant to purpose event and location information.Correlating event is the further shown details of stopwatch.
Step 404: the correlating event is occurred to show to the terminal.
In the embodiment of the present invention, referring to shown in Fig. 7, by taking purpose event is record 100-meter dash as an example, shown by terminal
Content can be with are as follows: and you are 11 seconds 82 the time used in 100 meters, have broken A university, the school discipline record of the schools such as B university, but away from
There are also very big gaps for 9 seconds 58 world records created in Osaka World Championships in 2009 from " lightning " Bo Erte, with China
There are also the gaps more than 1 second for 10 seconds Asian records that player creates, continuing with oiling!
It is interior shown by terminal by taking purpose event is to twist cube game as an example referring to shown in Fig. 7 in the embodiment of the present invention
Holding can be with are as follows: it is 5 seconds 62 that you, which twist the time used in magic square, has broken A university, the school discipline record of the schools such as B university, but distance
The also very big gap of world champion, continuing with oiling!
In the embodiment of the present invention, when user is not this stopwatch setting purpose event (namely purposes), stopwatch at this time
To not have the function of returning to details.When obtaining location information failure, server will not return to more specific position
The related data of information.When (such as in the case where not having signal) server and terminal connection failure, stopwatch will not have at this time
Return to the function of details.
The stop watch function of the embodiment of the present invention can show more abundant information, and user, can before beginning to use stopwatch
The purposes of the stopwatch, such as 100 meter race is arranged, when run through and timing after, can be shown on interface the time used with
And details, facilitate user to be compared the record of oneself with relative recording, it is more accurate to the horizontal progress of oneself
Positioning.
Fig. 5 is the structure composition schematic diagram of the terminal of the embodiment of the present invention, as shown in figure 5, the terminal includes:
Unit 51 is established, for establishing the connection between terminal and server when starting stop watch function;
Setting unit 52, the setting for obtaining the purpose event based on the stopwatch operate;
Transmission unit 53, for the purpose event to be sent to the server;
Receiving unit 54, the correlating event relevant to the purpose event sent for receiving the server;
Display unit 55, for show using the stopwatch record the purpose event duration, and with the mesh
The relevant correlating event of event.
In the embodiment of the present invention, the terminal further include:
Acquiring unit 56, for obtaining location information;
The transmission unit 53, when being also used to the purpose event being sent to the server, while by the position
Information is sent to the server;
The receiving unit 54 is also used to receive believing with the purpose event and the position for the server transmission
Cease relevant correlating event.
In the embodiment of the present invention, the terminal further include:
Comparing unit 57 obtains and compares for the duration in the duration of the purpose event and the correlating event
As a result;
The display unit 55, is also used to show the comparison result.
It will be appreciated by those skilled in the art that the realization function of each unit in terminal shown in fig. 5 can refer to aforementioned base
In the information displaying method of stopwatch associated description and understand.
Fig. 6 is the structure composition schematic diagram of the server of the embodiment of the present invention, as shown in fig. 6, the server includes:
Unit 61 is established, for establishing the connection between server and terminal;
Receiving unit 62, the purpose event based on stopwatch sent for receiving the terminal;
Searching unit 63 is found and the purpose thing in the database for the keyword according to the purpose event
The relevant correlating event of part;
Transmission unit 64, for occurring to show the correlating event to the terminal.
In the embodiment of the present invention, the server further include:
Packaged unit 65, after finding correlating event relevant to the purpose event in the database, to described
Correlating event is packaged;
The transmission unit 64 is also used to the correlating event after being packaged being sent to the terminal.
It will be appreciated by those skilled in the art that the realization function of each unit in server shown in fig. 6 can refer to it is aforementioned
Associated description based on the information displaying method of stopwatch and understand.
It, in the absence of conflict, can be in any combination between technical solution documented by the embodiment of the present invention.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, Ke Yitong
Other modes are crossed to realize.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can be tied
It closes, or is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each group
Can be through some interfaces at the mutual coupling in part or direct-coupling or communication connection, equipment or unit it is indirect
Coupling or communication connection, can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a second processing unit,
It is also possible to each unit individually as a unit, can also be integrated in one unit with two or more units;
Above-mentioned integrated unit both can take the form of hardware realization, can also add the form of SFU software functional unit real using hardware
It is existing.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of information displaying method based on stopwatch, which is characterized in that the described method includes:
When starting stop watch function, the connection between terminal and server is established;
When the setting of the purpose event based on the stopwatch of acquisition operation, the purpose event is sent to the server;
Receive the correlating event relevant to the purpose event that the server is sent;
The duration for the purpose event that display is recorded using the stopwatch, and association thing relevant to the purpose event
Part.
2. the information displaying method according to claim 1 based on stopwatch, which is characterized in that the method also includes:
Location information is obtained, when the purpose event is sent to the server, while the location information is sent to institute
State server;
Correspondingly, the correlating event relevant to the purpose event for receiving the server and sending, comprising:
Receive the correlating event relevant to the purpose event and the location information that the server is sent.
3. the information displaying method according to claim 1 or 2 based on stopwatch, which is characterized in that the method also includes:
The duration and the duration in the correlating event for comparing the purpose event, obtain comparison result;
Show the comparison result.
4. a kind of information displaying method based on stopwatch, which is characterized in that the described method includes:
Establish the connection between server and terminal;
Receive the purpose event based on stopwatch that the terminal is sent;
According to the keyword of the purpose event, correlating event relevant to the purpose event is found in the database;
The correlating event is sent to the terminal to show.
5. the information displaying method according to claim 4 based on stopwatch, which is characterized in that the method also includes:
After finding correlating event relevant to the purpose event in the database, the correlating event is packaged;
It is correspondingly, described that the correlating event is sent to the terminal, comprising:
The correlating event after packing is sent to the terminal.
6. a kind of terminal, which is characterized in that the terminal includes:
Unit is established, for establishing the connection between terminal and server when starting stop watch function;
Setting unit, the setting for obtaining the purpose event based on the stopwatch operate;
Transmission unit, for the purpose event to be sent to the server;
Receiving unit, the correlating event relevant to the purpose event sent for receiving the server;
Display unit, for show using the stopwatch record the purpose event duration, and with the purpose event
Relevant correlating event.
7. terminal according to claim 6, which is characterized in that the terminal further include:
Acquiring unit, for obtaining location information;
The transmission unit when being also used to the purpose event being sent to the server, while the location information being sent out
Give the server;
The receiving unit is also used to receive the related to the purpose event and the location information of the server transmission
Correlating event.
8. terminal according to claim 6 or 7, which is characterized in that the terminal further include:
Comparing unit obtains comparison result for the duration in the duration of the purpose event and the correlating event;
The display unit is also used to show the comparison result.
9. a kind of server, which is characterized in that the server includes:
Unit is established, for establishing the connection between server and terminal;
Receiving unit, the purpose event based on stopwatch sent for receiving the terminal;
Searching unit is found related to the purpose event in the database for the keyword according to the purpose event
Correlating event;
Transmission unit is shown for the correlating event to be sent to the terminal.
10. server according to claim 9, which is characterized in that the server further include:
Packaged unit, after finding correlating event relevant to the purpose event in the database, to the association thing
Part is packaged;
The transmission unit is also used to the correlating event after being packaged being sent to the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610685586.9A CN106331329B (en) | 2016-08-18 | 2016-08-18 | A kind of information displaying method and terminal, server based on stopwatch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610685586.9A CN106331329B (en) | 2016-08-18 | 2016-08-18 | A kind of information displaying method and terminal, server based on stopwatch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331329A CN106331329A (en) | 2017-01-11 |
CN106331329B true CN106331329B (en) | 2019-08-30 |
Family
ID=57744035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610685586.9A Active CN106331329B (en) | 2016-08-18 | 2016-08-18 | A kind of information displaying method and terminal, server based on stopwatch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106331329B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544456A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Information processing method, information processing device and mobile terminal |
CN105311806A (en) * | 2014-07-31 | 2016-02-10 | 精工爱普生株式会社 | Exercise analysis method, exercise analysis apparatus, exercise analysis system, physical activity assisting method, and physical activity assisting apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110165998A1 (en) * | 2010-01-07 | 2011-07-07 | Perception Digital Limited | Method For Monitoring Exercise, And Apparatus And System Thereof |
US8854926B2 (en) * | 2012-05-02 | 2014-10-07 | Yingjie Lin | Multi-lane stop watch |
-
2016
- 2016-08-18 CN CN201610685586.9A patent/CN106331329B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544456A (en) * | 2013-09-30 | 2014-01-29 | 小米科技有限责任公司 | Information processing method, information processing device and mobile terminal |
CN105311806A (en) * | 2014-07-31 | 2016-02-10 | 精工爱普生株式会社 | Exercise analysis method, exercise analysis apparatus, exercise analysis system, physical activity assisting method, and physical activity assisting apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106331329A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106535306B (en) | A kind of dormancy control method and terminal | |
CN105206260B (en) | A kind of terminal speech broadcasting method, device and terminal speech operational approach | |
CN104883658B (en) | The processing method of virtual card information and system | |
CN105282245B (en) | Cross-server message push system and method | |
CN105306457B (en) | Data buffer storage device and method | |
CN105376062B (en) | A kind of communication security exchange method, apparatus and system | |
CN106027795B (en) | A kind of switching method and terminal of double-sided screen | |
CN106453382A (en) | Message pushing method and device | |
CN105100673B (en) | Desktop sharing method and device based on VoLTE | |
CN106873936A (en) | Electronic equipment and information processing method | |
CN106453652A (en) | Log file uploading method and system | |
CN104700839A (en) | Method and device for collecting multichannel sound, cellphone and system | |
CN104735254B (en) | terminal screen locking method and system | |
CN106535307B (en) | A kind of serial ports dormancy method and terminal | |
CN106507454B (en) | A kind of wake-up control method and terminal | |
CN106101137A (en) | Information processor and Information Authentication method | |
CN105827531B (en) | A kind of routing access method and terminal | |
CN105991293B (en) | A kind of method of calibration and device | |
CN107027113A (en) | SIM card Activiation method and mobile terminal | |
CN106681768A (en) | Process control method and electronic equipment | |
CN105847576A (en) | Application recommend method and terminal | |
CN106227454B (en) | A kind of touch trajectory detection system and method | |
CN106412705A (en) | Method for adjusting file progress and terminal | |
CN106650347A (en) | Synchronous unblocking method, device and terminals | |
CN106876980A (en) | A kind of method to set up of Terminal antenna system and terminal antenna |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |