CN104796463B - Time display method, device and terminal in social application - Google Patents

Time display method, device and terminal in social application Download PDF

Info

Publication number
CN104796463B
CN104796463B CN201510146507.2A CN201510146507A CN104796463B CN 104796463 B CN104796463 B CN 104796463B CN 201510146507 A CN201510146507 A CN 201510146507A CN 104796463 B CN104796463 B CN 104796463B
Authority
CN
China
Prior art keywords
information
correspondent node
time
interactive
interaction page
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
CN201510146507.2A
Other languages
Chinese (zh)
Other versions
CN104796463A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510146507.2A priority Critical patent/CN104796463B/en
Publication of CN104796463A publication Critical patent/CN104796463A/en
Application granted granted Critical
Publication of CN104796463B publication Critical patent/CN104796463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to time display method, device and terminals in a kind of social application, belong to network technique field.The described method includes: obtaining the geographical location information of Correspondent Node in information interactive process;According to the geographical location information, the first time zone where the Correspondent Node is determined;If first time zone and the second time zone where this end subscriber are inconsistent, according to first time zone, the second time zone and local terminal current time, the current time of the Correspondent Node is calculated;On information interaction page between described end subscriber and the Correspondent Node, the current time of the Correspondent Node is shown.Since the time of Correspondent Node is shown on information interaction page in information process, thus this end subscriber can time zone where timely learning Correspondent Node current time, to facilitate communicating pair to hold the information exchange period, more intelligently.

Description

Time display method, device and terminal in social application
Technical field
This disclosure relates to network technique field, in particular to time display method, device and terminal in a kind of social application.
Background technique
Social application provides the application of the information exchanges service such as voice, video, picture, text as one for intelligent terminal Program can send voice, video, picture and the advantages that text across common carrier, spanning operation system platform by it, receive The favor of users, or even have exceeded the limitation of region.Communicating pair is in chat process, on respective information interaction page It can show that user is currently located the time zone corresponding time.However, normal when communicating pair distance even across time zone chat farther out Such a problem can often be encountered: due to the difference in time zone, wherein a side will often inquire that other side is existing over there in chat process In several points, other side's rest can or can not be bothered.Therefore, for the ease of the current time in time zone where user's timely learning other side, Need a kind of method that the time is shown in social application.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides time display method, device in a kind of social application And terminal.
According to the first aspect of the embodiments of the present disclosure, time display method in a kind of social application, the method packet are provided It includes:
In information interactive process, the geographical location information of Correspondent Node is obtained;
According to the geographical location information, the first time zone where the Correspondent Node is determined;
If first time zone and the second time zone where this end subscriber are inconsistent, according to first time zone, Two time zones and local terminal current time, calculate the current time of the Correspondent Node;
On information interaction page between described end subscriber and the Correspondent Node, working as the Correspondent Node is shown The preceding time.
Optionally, before the geographical location information for obtaining Correspondent Node, the method also includes:
Detect whether the information interaction page is opened;If detecting that the information interaction page is opened, it is determined that institute It states this end subscriber and the Correspondent Node is in information interactive process;Or,
Detect described end subscriber whether by the information interaction page to the Correspondent Node initiate interactive information;Such as This end subscriber described in fruit initiates interactive information to the Correspondent Node by the information interaction page, it is determined that the local terminal is used Family and the Correspondent Node are in information interactive process;Or,
It detects whether to receive the interactive information that the Correspondent Node is initiated by the information interaction page;If passed through The information interaction page receives the interactive information that the Correspondent Node is initiated, it is determined that described end subscriber and the communication Opposite end is in information interactive process.
Optionally, the geographical location information for obtaining Correspondent Node, comprising:
Obtain the identity that the Correspondent Node is registered in social application;
According to the identity, the geographical location information of the Correspondent Node, institute are obtained in social application server State the server that social application server is referred to as the social application offer service.
Optionally, when the current time by the Correspondent Node is shown, the method also includes:
When receiving the interactive information that the Correspondent Node is initiated by the information interaction page, taken from social application It is engaged in obtaining the specified time for initiating the interactive information in device, the specified time refers to the Correspondent Node and answers to the social activity The time of the interactive information is sent with server;
In the specified region of the interaction page, display sends the specified time of the interactive information.
Optionally, the current time by the Correspondent Node is shown, comprising:
The side of chat box where each interactive information, shows the Correspondent Node on the information interaction page Current time;Or,
The side of chat box where the last item interactive information, shows the Correspondent Node on the information interaction page Current time;Or,
The side of chat box where each interactive information that the Correspondent Node is initiated on the information interaction page, Show the current time of the Correspondent Node.
According to the second aspect of an embodiment of the present disclosure, time display apparatus in a kind of social application, described device packet are provided It includes:
Position information acquisition module, for obtaining the geographical location information of Correspondent Node in information interactive process;
Time zone determining module, for determining the first time zone where the Correspondent Node according to the geographical location information;
Time computing module, for when first time zone and inconsistent the second time zone where this end subscriber, according to First time zone, the second time zone and local terminal current time, calculate the current time of the Correspondent Node;
Time showing module is shown for the information interaction page between described end subscriber and the Correspondent Node Show the current time of the Correspondent Node.
Optionally, described device further include:
Information exchange detection module, for detecting whether the information interaction page is opened;If detecting the information Interaction page is opened, it is determined that described end subscriber and the Correspondent Node are in information interactive process;Or, described of detection End subscriber whether by the information interaction page to the Correspondent Node initiate interactive information;If described end subscriber passes through The information interaction page initiates interactive information to the Correspondent Node, it is determined that at described end subscriber and the Correspondent Node In information interactive process;Or, detecting whether to receive the interaction that the Correspondent Node is initiated by the information interaction page Information;If receiving the interactive information that the Correspondent Node is initiated by the information interaction page, it is determined that the local terminal User and the Correspondent Node are in information interactive process.
Optionally, the geographical location information for obtaining Correspondent Node, comprising:
Obtain the identity that the Correspondent Node is registered in social application;
According to the identity, the geographical location information of the Correspondent Node, institute are obtained in social application server State the server that social application server is referred to as the social application offer service.
Optionally, described device further include:
Time-obtaining module, for believing when the interaction for receiving the Correspondent Node initiation by the information interaction page When breath, the specified time for initiating the interactive information is obtained from social application server, the specified time refers to described logical Letter opposite end sends the time of the interactive information to the social application server;
The time showing module, for sending the finger of the interactive information in the display of the specified region of the interaction page It fixes time.
Optionally, the time showing module, for being chatted where each interactive information on the information interaction page The side of its frame shows the current time of the Correspondent Node;Or, the last item interactive information on the information interaction page The side of place chat box shows the current time of the Correspondent Node;Or, the communication pair on the information interaction page The side of chat box, shows the current time of the Correspondent Node where holding each interactive information initiated.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: in information interactive process, obtain the geographical location information of Correspondent Node; According to the geographical location information, the first time zone where the Correspondent Node is determined;If first time zone and local terminal are used The second time zone where family is inconsistent, then according to first time zone, the second time zone and local terminal current time, calculates the communication The current time of opposite end;On information interaction page between described end subscriber and the Correspondent Node, the communication is shown The current time of opposite end.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In information interactive process, the geographical location information of Correspondent Node is obtained, and according to geographical location information, is determined logical Believe the first time zone where opposite end;If the first time zone and the second time zone where this end subscriber are inconsistent, when according to first Area, the second time zone and local terminal current time, calculate the current time of Correspondent Node, and between this end subscriber and Correspondent Node The current time that Correspondent Node is shown on information interaction page, it is logical due to being shown on information interaction page in information process Believe the time of opposite end, thus this end subscriber can time zone where timely learning Correspondent Node current time, to facilitate communication double Side holds the information exchange period, more intelligently.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of time display method in a kind of social application shown according to an exemplary embodiment.
Fig. 2 is the flow chart of time display method in a kind of social application shown according to an exemplary embodiment.
Fig. 3 is the schematic diagram of time showing in a kind of social application shown according to an exemplary embodiment.
Fig. 4 is the schematic diagram of time showing in a kind of social application shown according to an exemplary embodiment.
Fig. 5 is the schematic diagram of time showing in a kind of social application shown according to an exemplary embodiment.
Fig. 6 is the block diagram of time display apparatus in the first social application shown according to an exemplary embodiment.
Fig. 7 is the block diagram of time display apparatus in second of social application shown according to an exemplary embodiment.
Fig. 8 is the block diagram of time display apparatus in the third social application shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is the flow chart of time display method in a kind of social application shown according to an exemplary embodiment, such as Fig. 1 Shown, time display method is for including the following steps in terminal in the social application.
In a step 101, in information interactive process, the geographical location information of Correspondent Node is obtained.
In a step 102, according to geographical location information, the first time zone where Correspondent Node is determined.
In step 103, if the first time zone and the second time zone where this end subscriber are inconsistent, when according to first Area, the second time zone and local terminal current time, calculate the current time of Correspondent Node.
At step 104, on the information interaction page between this end subscriber and Correspondent Node, working as Correspondent Node is shown The preceding time.
The method that the embodiment of the present disclosure provides obtains the geographical location information of Correspondent Node in information interactive process, and According to geographical location information, the first time zone where Correspondent Node is determined;If second where the first time zone and this end subscriber Time zone is inconsistent, then according to the first time zone, the second time zone and local terminal current time, calculates the current time of Correspondent Node, and The current time that Correspondent Node is shown on information interaction page between this end subscriber and Correspondent Node, due in information process The time of Correspondent Node is shown on information interaction page, so this end subscriber can time zone where timely learning Correspondent Node Current time, to facilitate communicating pair to hold the information exchange period, more intelligently.
Optionally, before the geographical location information for obtaining Correspondent Node, this method further include:
Whether detection information interaction page is opened;If detect information interaction page open, it is determined that this end subscriber and Correspondent Node is in information interactive process;Or,
Detect whether this end subscriber passes through information interaction page to Correspondent Node initiation interactive information;If this end subscriber is logical It crosses information interaction page and initiates interactive information to Correspondent Node, it is determined that this end subscriber and Correspondent Node are in information interactive process In;Or,
Detect whether the interactive information that Correspondent Node initiation is received by information interaction page;If passing through information exchange The page receives the interactive information of Correspondent Node initiation, it is determined that this end subscriber and Correspondent Node are in information interactive process.
Optionally, the geographical location information of Correspondent Node is obtained, comprising:
Obtain the identity that Correspondent Node is registered in social application;
According to identity, the geographical location information of Correspondent Node, social application clothes are obtained in social application server Business device is referred to as social application and provides the server of service.
Optionally, when the current time of Correspondent Node being shown, this method further include:
When receiving the interactive information of Correspondent Node initiation by information interaction page, obtained from social application server Take initiate interactive information specified time, specified time refer to Correspondent Node to social application server send interactive information when Between;
In the specified region of interaction page, display sends the specified time of interactive information.
Optionally, the current time of Correspondent Node is shown, comprising:
The side of chat box where each interactive information on information interaction page, show Correspondent Node it is current when Between;Or,
The side of chat box where the last item interactive information on information interaction page, show Correspondent Node it is current when Between;Or,
The side of chat box where each interactive information that Correspondent Node is initiated on information interaction page, display communication The current time of opposite end.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 2 is the flow chart of time display method in a kind of social application shown according to an exemplary embodiment, such as Fig. 2 Shown, time display method is for including the following steps in terminal in the social application.
In step 201, it detects this end subscriber and whether Correspondent Node is in information interactive process;If this end subscriber and Correspondent Node is in information interactive process, then executes following step 202.
Wherein, this end subscriber refers to holder terminal namely local user;Correspondent Node is usually the good of this end subscriber Friend, in the customer relationship chain of this end subscriber.
It in the embodiments of the present disclosure, can when detecting this end subscriber and whether Correspondent Node is in information interactive process Any one of following three kinds of modes are taken to realize:
Whether first way, detection information interaction page are opened;If information interaction page is opened, it is determined that local terminal is used Family and Correspondent Node are in information interactive process.
Wherein, information interaction page refers to the Chat page between this end subscriber and Correspondent Node.Pass through the information exchange Page both sides can carry out text interaction, video interactive or interactive voice etc..For first way, if this end subscriber exists The head portrait of Correspondent Node is clicked in customer relationship chain, then enters the personal homepage of Correspondent Node.It is generally set on personal homepage It is equipped with the button of such as " hair message ", if this end subscriber clicks the button, local terminal is triggered and opens information interaction page.So After local terminal detects the clicking operation of " hair message " button, determine that information interaction page is opened, after information interaction page is opened, This end subscriber and Correspondent Node are just in information interactive process and suffer.
The second way detects whether this end subscriber passes through information interaction page to Correspondent Node initiation interactive information;Such as This end subscriber of fruit initiates interactive information to Correspondent Node by information interaction page, it is determined that this end subscriber and Correspondent Node are in In information interactive process.
For the second way, if bipartite information interaction page exists, i.e., before this end subscriber and Correspondent Node Information exchange was carried out, then can directly be detected in current information interaction page with the presence or absence of interaction message;If detecting, local terminal is used Family currently passes through information interaction page and initiates interactive information to Correspondent Node, it is determined that both sides are in information interactive process.
The third mode detects whether the interactive information that Correspondent Node initiation is received by information interaction page;If The interactive information of Correspondent Node initiation is received by information interaction page, it is determined that this end subscriber and Correspondent Node are in information In interactive process.
For the third mode, if bipartite information interaction page exists, i.e., before this end subscriber and Correspondent Node Information exchange was carried out, then can directly be detected in current information interaction page with the presence or absence of interaction message;If detecting, local terminal is used Family currently passes through the interactive information that information interaction page receives Correspondent Node initiation, it is determined that both sides are in information interactive process In.
Certainly, it in addition to whether above-mentioned this end subscriber of detection and Correspondent Node are in the mode of information interactive process, can also adopt Other modes are taken, the embodiment of the present disclosure is to this without specifically limiting.
In step 202, in the information interactive process of this end subscriber and Correspondent Node, the geographical position of Correspondent Node is obtained Confidence breath.
In the embodiments of the present disclosure, it when obtaining the geographical location information of Correspondent Node, may be implemented in the following manner:
Obtain the identity that Correspondent Node is registered in social application;According to identity, in social application server The middle geographical location information for obtaining Correspondent Node.
Wherein, identity can log in logon name or the user's head portrait etc. of social application for user, and the disclosure is implemented Example is to this without specifically limiting.Social application server is referred to as social application and provides the server of service.User is logging in It is generally both needed to be registered before social application.When being registered, it is close need to usually to fill in logon name, login password, user The personal information such as title, user's head portrait and geographical location information, and social application server can store above-mentioned personal information, To provide more quality services for user.So this end subscriber obtain Correspondent Node geographical location information when, Bian Kegen The geographical location information for the Correspondent Node being stored in social application server is obtained according to the identity of Correspondent Node.
In step 203, according to geographical location information, the first time zone where Correspondent Node is determined.
Wherein, geographical location information can be latitude and longitude information, can also be administrative information region etc., the embodiment of the present disclosure is to this Without specifically limiting.Wherein, time zone is always divided into 24 by tellurian each region using being defined at the same time Time zone.Since the earth is rotation from West to East, so the sun is first seen than west region in east area, therefore east area when Between it is also more early than west region.Wherein, the corresponding relationship of time zone and longitude and latitude can enter shown in the following table 1:
Table 1
Country City Longitude Latitude Time zone
Germany Berlin East longitude 13:25 North latitude 52:30 An eastern area
Britain London East longitude 0:10 North latitude 51:30 0 time zone
Canada Toronto West longitude 79:25 North latitude 43:42 Western 5th area
After obtaining the geographical location information of Correspondent Node, above-mentioned table 1 can be inquired, so that it is determined where Correspondent Node First time zone.
In step 204, if the first time zone and the second time zone where this end subscriber are inconsistent, when according to first Area, the second time zone and local terminal current time, calculate the current time of Correspondent Node.
In the embodiments of the present disclosure, the second time zone where this end subscriber can also the method according to shown in above-mentioned steps 203 It obtains, is no longer repeated herein.If the first time zone where Correspondent Node and the second time zone where this end subscriber are inconsistent, Then illustrate that this end subscriber and Correspondent Node are in different time zone, in order to avoid bothering other side's rest, also needs timely learning other side The current time in place time zone.
Wherein, the current time of Correspondent Node=local terminal current time-(the-the first time zone of the second time zone).Lift one simply Example for, it is known that Tokyo is in Dong Jiuqu, BeiJing, China is in eastern 8th area, if the Tokyo time is 12:00 on May 1, Then Beijing time=12:00- (9-8)=11:00, i.e. Beijing time are 11:00 on May 1.
In step 205, on the information interaction page between this end subscriber and Correspondent Node, working as Correspondent Node is shown The preceding time.
In the embodiments of the present disclosure, when this end subscriber is believed by the interaction that information interaction page receives Correspondent Node initiation When breath, the specified time for initiating interactive information can be also obtained from social application server, and in the specified region of interaction page Display send interactive information specified time, with facilitate this end subscriber know Correspondent Node initiate interactive information when it is specific when Between.Wherein, specified time refers to the time that Correspondent Node sends interactive information to social application server, and the specified time is Time corresponding with time zone where Correspondent Node.Specified region can be the lower section, right etc. of chat box where interactive information, The embodiment of the present disclosure is to this without specifically limiting.In addition, in order to enable this end subscriber timely learning itself receives communication pair It holds the interactive information time sent, the method that the embodiment of the present disclosure provides also supports the side of the chat box where interactive information aobvious Show that local terminal receives the time of the interactive information of Correspondent Node transmission.This time can be shown in above-mentioned specified time and interact letter The side of chat box or heteropleural where breath, the embodiment of the present disclosure is to this without specifically limiting.
Wherein, on the information interaction page between this end subscriber and Correspondent Node, the current time of Correspondent Node is shown When, following three kinds of modes can be taken to be shown:
First way, referring to Fig. 3, the side of chat box where each interactive information on information interaction page is shown Show the current time of Correspondent Node.
For first way, when showing the current time of Correspondent Node, in order to enable this end subscriber timely learning is certainly The current time in time zone where body, can also be when showing the current time of Correspondent Node, while showing time zone where this end subscriber Current time.Wherein, the side of chat box i.e. can be referred to lower section, can also refer to top etc., the embodiment of the present disclosure to this not Specifically limited.
The second way, referring to fig. 4, the side of chat box where the last item interactive information on information interaction page, Show the current time of Correspondent Node.
For the second way, when in order to because avoiding time zone time where showing this end subscriber repeatedly or Correspondent Node place Area's time causes to perplex to this end subscriber, so chat box where the last item interactive information on information interaction page may be selected Side, show the current time of Correspondent Node.For example, chat box where the last item interactive information in current page Side is shown.Wherein, the last item interactive information both can be by local terminal Client-initiated, can also be and is initiated by Correspondent Node , the embodiment of the present disclosure is to this without specifically limiting.
The third mode is chatted where each interactive information that Correspondent Node is initiated on information interaction page referring to Fig. 5 The side of its frame shows the current time of Correspondent Node.
For the third mode, since the main purpose that social application carries out time showing is that this end subscriber is avoided not know Other side's rest is bothered in the case where time zone current time where road Correspondent Node, therefore may be selected to send out in each Correspondent Node The side of chat box shows the current time of Correspondent Node where the interactive information sent.Assuming that first interactive information of both sides by This end subscriber is initiated, then after the current time that the side of chat box where this interaction message shows Correspondent Node, subsequent Whole interactive information in, can only select Correspondent Node send each interactive information where chat box side show lead to Believe the current time of opposite end.
The method that the embodiment of the present disclosure provides obtains the geographical location information of Correspondent Node in information interactive process, and According to geographical location information, the first time zone where Correspondent Node is determined;If second where the first time zone and this end subscriber Time zone is inconsistent, then according to the first time zone, the second time zone and local terminal current time, calculates the current time of Correspondent Node, and The current time that Correspondent Node is shown on information interaction page between this end subscriber and Correspondent Node, due in information process The time of Correspondent Node is shown on information interaction page, so this end subscriber can time zone where timely learning Correspondent Node Current time, so that communicating pair is facilitated to hold the information exchange period, it is more intelligent, it avoids bothering other side's rest.
Fig. 6 is the block diagram of time display apparatus in a kind of social application shown according to an exemplary embodiment.Referring to figure 6, which includes position information acquisition module 601, time zone determining module 602, time computing module 603 and time showing module 604。
Wherein, position information acquisition module 601 is connect with time zone determining module 602, for obtaining in information interactive process Take the geographical location information of Correspondent Node;Time zone determining module 602 with connect, for determining communication according to geographical location information The first time zone where opposite end;Time computing module 603 is connect with time zone determining module 602, for when the first time zone and local terminal When the second time zone where user is inconsistent, according to the first time zone, the second time zone and local terminal current time, Correspondent Node is calculated Current time;Time showing module 604, for the information interaction page between this end subscriber and Correspondent Node, display is logical Believe the current time of opposite end.
Referring to Fig. 7, the device further include:
Whether information exchange detection module 605 is opened for detection information interaction page;If detecting information exchange page It opens in face, it is determined that this end subscriber and Correspondent Node are in information interactive process;Or, detecting whether this end subscriber passes through information Interaction page initiates interactive information to Correspondent Node;If this end subscriber initiates to interact by information interaction page to Correspondent Node Information, it is determined that this end subscriber and Correspondent Node are in information interactive process;Or, detecting whether to connect by information interaction page Receive the interactive information of Correspondent Node initiation;If receiving the interactive information of Correspondent Node initiation by information interaction page, Then determine that this end subscriber and Correspondent Node are in information interactive process.
Optionally, the geographical location information of Correspondent Node is obtained, comprising:
Obtain the identity that Correspondent Node is registered in social application;
According to identity, the geographical location information of Correspondent Node, social application clothes are obtained in social application server Business device is referred to as social application and provides the server of service.
Referring to Fig. 8, the device further include:
Time-obtaining module 606, for when by information interaction page receive Correspondent Node initiation interactive information when, The specified time for initiating interactive information is obtained from social application server, specified time refers to Correspondent Node and takes to social application The time for device transmission interactive information of being engaged in;
Time showing module, for showing the specified time for sending interactive information in the specified region of interaction page.
Optionally, time showing module, one for chat box where each interactive information on information interaction page Side shows the current time of Correspondent Node;Or, on information interaction page chat box where the last item interactive information one Side shows the current time of Correspondent Node;Or, where each interactive information that Correspondent Node is initiated on information interaction page The side of chat box shows the current time of Correspondent Node.
The device that the embodiment of the present disclosure provides obtains the geographical location information of Correspondent Node in information interactive process, and According to geographical location information, the first time zone where Correspondent Node is determined;If second where the first time zone and this end subscriber Time zone is inconsistent, then according to the first time zone, the second time zone and local terminal current time, calculates the current time of Correspondent Node, and The current time that Correspondent Node is shown on information interaction page between this end subscriber and Correspondent Node, due in information process The time of Correspondent Node is shown on information interaction page, so this end subscriber can time zone where timely learning Correspondent Node Current time, so that communicating pair is facilitated to hold the information exchange period, it is more intelligent, it avoids bothering other side's rest.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 9 is shown according to an exemplary embodiment a kind of for carrying out the terminal of time showing in social application 900 block diagram.For example, terminal 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 9, terminal 900 may include following one or more components: processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of I/O (Input/Output, input/output), sensor Component 914 and communication component 916.
The integrated operation of the usual controlling terminal 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 902 may include that one or more processors 920 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in terminal 900.These data are shown Example includes the instruction of any application or method for operating in terminal 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as SRAM (Static Random Access Memory, static random access memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory, the read-only storage of electrically erasable Device), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), and ROM (Read-Only Memory, it is read-only to deposit Reservoir), magnetic memory, flash memory, disk or CD.
Power supply module 906 provides electric power for the various assemblies of terminal 900.Power supply module 906 may include power management system System, one or more power supplys and other with for terminal 900 generate, manage, and distribute the associated component of electric power.
Multimedia component 908 includes the screen of one output interface of offer between the terminal 900 and user.One In a little embodiments, screen may include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Institute The boundary of a touch or slide action can not only be sensed by stating touch sensor, but also be detected and the touch or slide phase The duration and pressure of pass.In some embodiments, multimedia component 908 includes that a front camera and/or postposition are taken the photograph As head.When terminal 900 is in operation mode, such as in a shooting mode or a video mode, front camera and/or rear camera can With the multi-medium data outside reception.Each front camera and rear camera can be a fixed optical lens system Or there are focusing and optical zoom capabilities.
Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a MIC (Microphone, microphone), when terminal 900 is in operation mode, such as call mode, recording mode, and voice recognition mode When, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 904 Or it is sent via communication component 916.In some embodiments, audio component 910 further includes a loudspeaker, for exporting audio Signal.
I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 914 includes one or more sensors, and the state for providing various aspects for terminal 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, the relative positioning of component, such as component For the display and keypad of terminal 900, sensor module 914 can also detect the position of 900 1 components of terminal 900 or terminal Set change, the existence or non-existence that user contacts with terminal 900, the temperature in 900 orientation of terminal or acceleration/deceleration and terminal 900 Variation.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 914 can also include optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device, charge coupled cell) image biography Sensor, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between terminal 900 and other equipment.Terminal 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes that (Near Field Communication, near field are logical by NFC Letter) module, to promote short range communication.For example, RFID (Radio Frequency can be based in NFC module Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) skill Art, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technology and other technologies are realized.
In the exemplary embodiment, terminal 900 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, at digital signal Manage device), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA) (Field Programmable Gate Array, field programmable gate Array), controller, microcontroller, microprocessor or other electronic components realize, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of terminal 900 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, RAM (Random Access Memory, random access memory Device), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and light data deposit Store up equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of mobile terminal When row, so that mobile terminal is able to carry out time display method in a kind of social application, this method comprises:
In information interactive process, the geographical location information of Correspondent Node is obtained;
According to geographical location information, the first time zone where Correspondent Node is determined;
If the first time zone and the second time zone where this end subscriber are inconsistent, according to the first time zone, the second time zone and Local terminal current time calculates the current time of Correspondent Node;
On information interaction page between this end subscriber and Correspondent Node, the current time of Correspondent Node is shown.
Optionally, before the geographical location information for obtaining Correspondent Node, this method further include:
Whether detection information interaction page is opened;If detect information interaction page open, it is determined that this end subscriber and Correspondent Node is in information interactive process;Or,
Detect whether this end subscriber passes through information interaction page to Correspondent Node initiation interactive information;If this end subscriber is logical It crosses information interaction page and initiates interactive information to Correspondent Node, it is determined that this end subscriber and Correspondent Node are in information interactive process In;Or,
Detect whether the interactive information that Correspondent Node initiation is received by information interaction page;If passing through information exchange The page receives the interactive information of Correspondent Node initiation, it is determined that this end subscriber and Correspondent Node are in information interactive process.
Optionally, the geographical location information of Correspondent Node is obtained, comprising:
Obtain the identity that Correspondent Node is registered in social application;
According to identity, the geographical location information of Correspondent Node, social application clothes are obtained in social application server Business device is referred to as social application and provides the server of service.
Optionally, when the current time of Correspondent Node being shown, this method further include:
When receiving the interactive information of Correspondent Node initiation by information interaction page, obtained from social application server Take initiate interactive information specified time, specified time refer to Correspondent Node to social application server send interactive information when Between;
In the specified region of interaction page, display sends the specified time of interactive information.
Optionally, the current time of Correspondent Node is shown, comprising:
The side of chat box where each interactive information on information interaction page, show Correspondent Node it is current when Between;Or,
The side of chat box where the last item interactive information on information interaction page, show Correspondent Node it is current when Between;Or,
The side of chat box where each interactive information that Correspondent Node is initiated on information interaction page, display communication The current time of opposite end.
The non-transitorycomputer readable storage medium that the embodiment of the present disclosure provides obtains logical in information interactive process Believe the geographical location information of opposite end, and according to geographical location information, determines the first time zone where Correspondent Node;If when first The second time zone where Qu Yuben end subscriber is inconsistent, then according to the first time zone, the second time zone and local terminal current time, calculates logical Believe the current time of opposite end, and shows the current of Correspondent Node on the information interaction page between this end subscriber and Correspondent Node Time, due to showing the time of Correspondent Node on information interaction page in information process, so this end subscriber can be timely The current time in time zone where knowing Correspondent Node, so that communicating pair is facilitated to hold the information exchange period, it is more intelligent, it keeps away Interruption-free is rested to other side.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (9)

1. time display method in a kind of social application, which is characterized in that the described method includes:
In information interactive process, the geographical location information of Correspondent Node is obtained;
According to the geographical location information, the first time zone where the Correspondent Node is determined;
If first time zone and the second time zone where this end subscriber are inconsistent, according to first time zone, described Two time zones and local terminal current time, calculate the current time of the Correspondent Node;
On information interaction page between described end subscriber and the Correspondent Node, show the Correspondent Node it is current when Between;
Wherein, when the current time of the Correspondent Node being shown, the method also includes:
When receiving the interactive information that the Correspondent Node is initiated by the information interaction page, from social application server Middle to obtain the specified time for initiating the interactive information, the specified time refers to the Correspondent Node and takes to the social application Business device sends the time of the interactive information;
In the specified region of the information interaction page, the specified time of the interactive information is initiated in display;
The method also includes: on the information interaction page show that the local terminal receives the time of the interactive information.
2. the method according to claim 1, wherein it is described obtain Correspondent Node geographical location information before, The method also includes:
Detect whether the information interaction page is opened;If detecting that information interaction page is opened, it is determined that the local terminal is used Family and the Correspondent Node are in information interactive process;Or,
Detect described end subscriber whether by the information interaction page to the Correspondent Node initiate interactive information;If institute State this end subscriber and interactive information initiated to the Correspondent Node by the information interaction page, it is determined that described end subscriber and The Correspondent Node is in information interactive process;Or,
It detects whether to receive the interactive information that the Correspondent Node is initiated by the information interaction page;If by described Information interaction page receives the interactive information that the Correspondent Node is initiated, it is determined that described end subscriber and the Correspondent Node In information interactive process.
3. the method according to claim 1, wherein the geographical location information for obtaining Correspondent Node, comprising:
Obtain the identity that the Correspondent Node is registered in social application;
According to the identity, the geographical location information of the Correspondent Node, the society are obtained in social application server It hands over application server to be referred to as the social application and the server of service is provided.
4. the method according to claim 1, wherein the current time by the Correspondent Node is shown Show, comprising:
The side of chat box where each interactive information, shows the current of the Correspondent Node on the information interaction page Time;Or,
The side of chat box where the last item interactive information, shows working as the Correspondent Node on the information interaction page The preceding time;Or,
The side of chat box where each interactive information that the Correspondent Node is initiated on the information interaction page, display The current time of the Correspondent Node.
5. time display apparatus in a kind of social application, which is characterized in that described device includes:
Position information acquisition module, for obtaining the geographical location information of Correspondent Node in information interactive process;
Time zone determining module, for determining the first time zone where the Correspondent Node according to the geographical location information;
Time computing module, for when first time zone and inconsistent the second time zone where this end subscriber, according to described First time zone, second time zone and local terminal current time, calculate the current time of the Correspondent Node;
Time showing module shows institute for the information interaction page between described end subscriber and the Correspondent Node State the current time of Correspondent Node;
Wherein, described device further include:
Time-obtaining module, for when the interactive information for receiving the Correspondent Node initiation by the information interaction page When, the specified time for initiating the interactive information is obtained from social application server, the specified time refers to the communication Opposite end sends the time of the interactive information to the social application server;
The time showing module, for initiating the finger of the interactive information in the display of the specified region of the information interaction page It fixes time;
Described device is also used to: showing that the local terminal receives the time of the interactive information on the information interaction page.
6. device according to claim 5, which is characterized in that described device further include:
Information exchange detection module, for detecting whether the information interaction page is opened;If detecting the information exchange Page open, it is determined that described end subscriber and the Correspondent Node are in information interactive process;It is used or, detecting the local terminal Family whether by the information interaction page to the Correspondent Node initiate interactive information;If described end subscriber passes through described Information interaction page initiates interactive information to the Correspondent Node, it is determined that described end subscriber and the Correspondent Node are in letter It ceases in interactive process;Or, detecting whether to receive the interactive information that the Correspondent Node is initiated by the information interaction page; If receiving the interactive information that the Correspondent Node is initiated by the information interaction page, it is determined that described end subscriber and The Correspondent Node is in information interactive process.
7. device according to claim 5, which is characterized in that the geographical location information for obtaining Correspondent Node, comprising:
Obtain the identity that the Correspondent Node is registered in social application;
According to the identity, the geographical location information of the Correspondent Node, the society are obtained in social application server It hands over application server to be referred to as the social application and the server of service is provided.
8. device according to claim 5, which is characterized in that the time showing module, in the information exchange The side of chat box where each interactive information, shows the current time of the Correspondent Node on the page;Or, in the information The side of chat box where the last item interactive information, shows the current time of the Correspondent Node in interaction page;Or, institute The side of chat box, shows the communication where stating each interactive information that the Correspondent Node on information interaction page is initiated The current time of opposite end.
9. a kind of terminal for time showing in social application, which is characterized in that the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: in information interactive process, obtain the geographical location information of Correspondent Node;According to The geographical location information determines the first time zone where the Correspondent Node;If first time zone and this end subscriber institute The second time zone it is inconsistent, then according to first time zone, second time zone and local terminal current time, calculate the communication The current time of opposite end;On information interaction page between described end subscriber and the Correspondent Node, the communication is shown The current time of opposite end;
Wherein, when the current time of the Correspondent Node being shown, the processor is also configured to
When receiving the interactive information that the Correspondent Node is initiated by the information interaction page, from social application server Middle to obtain the specified time for initiating the interactive information, the specified time refers to the Correspondent Node and takes to the social application Business device sends the time of the interactive information;
In the specified region of the information interaction page, the specified time of the interactive information is initiated in display;
The processor is also configured to show that the local terminal receives the interactive information on the information interaction page Time.
CN201510146507.2A 2015-03-31 2015-03-31 Time display method, device and terminal in social application Active CN104796463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510146507.2A CN104796463B (en) 2015-03-31 2015-03-31 Time display method, device and terminal in social application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510146507.2A CN104796463B (en) 2015-03-31 2015-03-31 Time display method, device and terminal in social application

Publications (2)

Publication Number Publication Date
CN104796463A CN104796463A (en) 2015-07-22
CN104796463B true CN104796463B (en) 2019-04-16

Family

ID=53560971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510146507.2A Active CN104796463B (en) 2015-03-31 2015-03-31 Time display method, device and terminal in social application

Country Status (1)

Country Link
CN (1) CN104796463B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840040A (en) * 2017-11-28 2019-06-04 阿里巴巴集团控股有限公司 The processing method and relevant device of message time
CN108650170A (en) * 2018-05-14 2018-10-12 阿里巴巴集团控股有限公司 A kind of display methods and device of information
CN109672608B (en) * 2018-12-21 2021-12-31 腾讯音乐娱乐科技(深圳)有限公司 Method for transmitting messages according to time
CN110347460B (en) * 2019-06-11 2023-04-07 无线生活(杭州)信息科技有限公司 Prompting method and device
CN110635996B (en) * 2019-10-16 2023-04-28 北京字节跳动网络技术有限公司 Information display method, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979555A (en) * 2005-12-06 2007-06-13 腾讯科技(深圳)有限公司 System and method for showing electronic business user's information on immediate communication subscriber end
CN102769700A (en) * 2012-07-05 2012-11-07 天翼电信终端有限公司 Communication information display method and mobile terminal
CN103379022A (en) * 2012-04-24 2013-10-30 腾讯科技(深圳)有限公司 Instant messaging method and system based on internet map searching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140249701A1 (en) * 2013-03-04 2014-09-04 Honeywell International Inc. System and method for managing an interval between aircraft

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979555A (en) * 2005-12-06 2007-06-13 腾讯科技(深圳)有限公司 System and method for showing electronic business user's information on immediate communication subscriber end
CN103379022A (en) * 2012-04-24 2013-10-30 腾讯科技(深圳)有限公司 Instant messaging method and system based on internet map searching
CN102769700A (en) * 2012-07-05 2012-11-07 天翼电信终端有限公司 Communication information display method and mobile terminal

Also Published As

Publication number Publication date
CN104796463A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN104796463B (en) Time display method, device and terminal in social application
CN105933899A (en) Access method and device of wireless access point
JP2017513161A (en) Transfer processing method and apparatus
CN109547987A (en) The call method and device of nfc card
CN105430625B (en) Communication information transfer method, apparatus and system
WO2017045307A1 (en) Method and apparatus for displaying answering extension function
CN105610788A (en) Method and device for establishing call
CN109496439A (en) Based on the direct-connected method and device for establishing unicast connection of object object
CN105208176B (en) Contact person record processing method and processing device
CN105610700A (en) Group creating method and apparatus and electronic device
CN105847111A (en) Method and device for adding friend
CN105100355A (en) Method and device for identifying calling user
CN105224174B (en) The display methods and device of Paste
CN105872254A (en) Message forwarding method and device
CN104539786B (en) Terminal dialing method, device and equipment
WO2016082461A1 (en) Recommendation information acquisition method, terminal and server
CN106060257A (en) Method and device for viewing relevant information of contact
CN106101456A (en) A kind of method and device of call contact
CN108629178A (en) The resource access rights configuration method and device of application program
CN105260439B (en) Data publication method, apparatus and terminal
CN106792442A (en) data migration method and device
CN109451830A (en) Cell type indicating means and device
CN108011990A (en) Contact management method and device
WO2017219536A1 (en) Application switching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant