A kind of display methods and device of information
Technical field
This specification is related to the display methods and system of field of computer technology more particularly to a kind of information.
Background technology
With the prevalence that instant messaging is applied, user can receive and dispatch instant communication information at any time by terminal and internet,
And in order to allow users to understand the time of information transmit-receive, instant messaging application usually can also show letter when showing information
Cease the time of transmitting-receiving.For example, after sending instant communication information, can show transmission information and the information transmission when
Between, when receiving information, it can also show the receiving time of the information and the information that receive.And as instant messaging is answered
With the development with server, user can in the world cross-region, communicate across time zone, for example be located at different countries
User between can keep the reiving/transmitting state of information constantly.
However terminal is in the information of display transmitting-receiving, time of display would generally based on the time of local time zone, and
Ignore the time in other side time zone, it is possible to due to residing different time zone, and the case where being unaware of is hindered to link up and exchange.Institute
To need to propose a kind of scheme, when showing instant communication information, can know the time in time zone residing for other side.
Invention content
This specification embodiment provides a kind of method for information display, while for browsing information, can know other side institute
The time for locating time zone, is conducive to the communication of both sides and exchanges.
This specification embodiment provides a kind of information display device, while for browsing information, can know other side institute
The time for locating time zone, is conducive to the communication of both sides and exchanges.
In order to solve the above technical problems, what this specification embodiment was realized in:
This specification embodiment uses following technical proposals:
A kind of display methods of information, including:
It is received and dispatched with the second terminal positioned at second terminal time zone applied to the first terminal positioned at first terminal time zone
Information, the method are applied to second terminal, including:
When acquisition has received information corresponding first server time, first server time zone and the first terminal
Area, the information that received come from the first terminal, and the first server time has received information by first to be described
After terminal is sent out, the time of the first server positioned at the first server time zone is reached;
According to the first server time zone and the first terminal time zone, the first server time is turned
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
Preferably, the corresponding first terminal sending time is shown, including:
The second terminal receiving time shown will be corresponded to for the information that received, switching is shown as the first terminal hair
The time is sent, the second terminal receiving time is according to the second terminal time zone and the first server time zone, by described
One server time carries out conversion generation.
Preferably, the corresponding first terminal sending time is shown, including:
Show the corresponding first terminal sending time and the first terminal time zone identification.
Preferably, the method further includes:
Acquisition has sent information corresponding second server time, second server time zone, the second server time
Sent after information sent out by second terminal to be described, reach the second server positioned at the second server time zone when
Between;
According to the second server time zone and the first terminal time zone, the second server time is turned
It changes, generates first terminal receiving time;
In the display interface, information is sent described in display, and show the corresponding first terminal receiving time.
Preferably, acquisition is shown in interface, acquisition and has received information corresponding first server time, first service
Before device time zone and first terminal time zone, the method further includes:
Information and the corresponding first terminal time zone of described information are received, the first terminal time zone sends for first terminal
It is sent together when information.
A kind of display device of information is applied to positioned at the first terminal in first terminal time zone and positioned at second terminal time zone
Second terminal receive and send messages, described device be applied to second terminal, including:Acquiring unit, generation unit and display
Unit, wherein
The acquiring unit, acquisition have received information corresponding first server time, first server time zone, Yi Jisuo
First terminal time zone is stated, the information that received comes from the first terminal, and the first server time is described connect
After breath of collecting mail is sent out by first terminal, the time of the first server positioned at the first server time zone is reached;
The generation unit, according to the first server time zone and the first terminal time zone, by the first service
The device time is converted, and first terminal sending time is generated;
The display unit has received information, and show the corresponding first terminal in display interface described in display
Sending time.
Preferably, the display unit,
The second terminal receiving time shown will be corresponded to for the information that received, switching is shown as the first terminal hair
The time is sent, the second terminal receiving time is according to the second terminal time zone and the first server time zone, by described
One server time carries out conversion generation.
Preferably, the display unit,
Show the corresponding first terminal sending time and the first terminal time zone identification.
Preferably,
The acquiring unit, acquisition have sent information corresponding second server time, second server time zone, and described the
Two server times be it is described sent after information sent out by second terminal, reach second positioned at the second server time zone
The time of server;
The generation unit, according to the second server time zone and the first terminal time zone, by the second service
The device time is converted, and first terminal receiving time is generated;
The display unit has sent information, and show corresponding described first in the display interface described in display
Terminal receiving time.
Preferably, described device further includes receiving unit, in being shown in interface, obtain and received information corresponding the
Before one server time, first server time zone and first terminal time zone,
Information and the corresponding first terminal time zone of described information are received, the first terminal time zone sends for first terminal
It is sent together when information.
A kind of display methods of information is applied to positioned at the first terminal in first terminal time zone and positioned at second terminal time zone
Second terminal receive and send messages, the method be applied to second terminal, including:
Acquisition has received the corresponding second terminal receiving time of information, the second terminal time zone and described first eventually
Time zone, the information that received is held to come from the first terminal, the second terminal receiving time receives for second terminal
The time recorded when described information;
Turned according to the second terminal time zone and the first terminal time zone, by the second terminal receiving time
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
Preferably, the method further includes:
Acquisition has sent the corresponding second terminal sending time of information, and the second terminal sending time is sent out for second terminal
Send the time recorded when described information;
According to the second terminal time zone and the first terminal time zone, the second terminal sending time is turned
It changes, generates first terminal receiving time;
In the display interface, information is sent described in display, and show the corresponding first terminal receiving time.
A kind of display device of information is applied to positioned at the first terminal in first terminal time zone and positioned at second terminal time zone
Second terminal receive and send messages, the method be applied to second terminal, including:Acquiring unit, generation unit and display
Unit, wherein
The acquiring unit, acquisition received the corresponding second terminal receiving time of information, the second terminal time zone, with
And the first terminal time zone, the information that received come from the first terminal, the second terminal receiving time is the
Two terminals receive the time recorded when described information;
The generation unit connects according to the second terminal time zone and the first terminal time zone, by the second terminal
It is converted between time receiving, generates first terminal sending time;
The display unit has received information, and show the corresponding first terminal in display interface described in display
Sending time.
Preferably,
The acquiring unit, acquisition has sent the corresponding second terminal sending time of information, when the second terminal is sent
Between time for recording when sending described information for second terminal;
The generation unit sends out the second terminal according to the second terminal time zone and the first terminal time zone
It send the time to be converted, generates first terminal receiving time;
The display unit has sent information, and show corresponding described first in the display interface described in display
Terminal receiving time.
By the technical solution of above example offer as it can be seen that in the display interface of information, positioned at first terminal time zone
First terminal with being received and sent messages positioned at the second terminal in second terminal time zone when, can be got according in second terminal
The corresponding first terminal time zone of the information of reception, generate first terminal sending time using first terminal time zone as reference,
It is shown in display interface and has received information, and shown and received the corresponding first terminal sending time of information.By by information
Time showing be time using other side time zone as reference, to which user can know time zone residing for other side when browsing information
Time, and then can according to the time of other side carry out reasonable arrangement, link up and exchange conducive to both sides, can also be certain
User experience is promoted in degree.
Description of the drawings
It, below will be to embodiment or existing skill in order to illustrate more clearly of this specification embodiment or existing technical solution
Attached drawing is briefly described needed in art description, it should be apparent that, the accompanying drawings in the following description is only this explanation
Some embodiments described in book, for those of ordinary skill in the art, without having to pay creative labor,
Other drawings may also be obtained based on these drawings.
Fig. 1 is the flow diagram of the display methods for the information that this specification embodiment provides;
Fig. 2 carries out the schematic diagram of information transmit-receive between this specification embodiment first terminal provided and second terminal;
Fig. 3 carries out the schematic diagram of information transmit-receive between this specification embodiment first terminal provided and second terminal;
Fig. 4 is the schematic diagram for the second terminal information display interface that this specification embodiment provides;
Fig. 5 is that being shown in second terminal information display interface of providing of this specification embodiment has received information, and shows
Show the intention of corresponding first terminal sending time;
Fig. 6 is that being shown in second terminal information display interface of providing of this specification embodiment has received information, and shows
Show the intention of corresponding second terminal receiving time;
Fig. 7 is that being shown in second terminal information display interface of providing of this specification embodiment has sent information, and shows
Show the intention of corresponding first terminal receiving time;
Fig. 8 is that being shown in second terminal information display interface of providing of this specification embodiment has sent information, connect
The schematic diagram of collection of letters breath and second terminal sending time and receiving time;
Fig. 9 is the flow diagram of the display methods for the information that this specification embodiment provides;
Figure 10 is the structural schematic diagram of the display device for the information that this specification embodiment provides;
Figure 11 is the structural schematic diagram of the display device for the information that this specification embodiment provides;
Figure 12 is the structural schematic diagram for the electronic equipment that this specification embodiment provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of this specification clearer, below in conjunction with specific embodiment and accordingly
Attached drawing the technical solution of this specification is clearly and completely described.Obviously, described embodiment is only this specification
A part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, those of ordinary skill in the art are not having
There is the every other embodiment obtained under the premise of making creative work, belongs to the range of this specification protection.
Below in conjunction with attached drawing, the technical solution that each embodiment provides in this specification is described in detail.
Embodiment 1
As previously mentioned, terminal is in the information of display transmitting-receiving, the time of display would generally be using the time of local time zone as base
Plinth, namely using local time zone as reference.Instant Messenger is sent for example, being between Pekinese user A and the user B for being in Los Angeles
When interrogating information, in the terminal of user A, the time of the information of transmission and the information of reception, shown based on Beijing time
Show, and in the terminal of user B, the time of the information of transmission and the information of reception is shown based on the time of Los Angeles.
Specific for example, in communication process, user A sends information XXX to user B, then user A shows that the sending time of information XXX can
To be (Beijing time) 11:00, then the receiving time of user B display information XXX can be (Los Angeles time) 19:00.As it can be seen that
Since both sides are located at different time zones, the time of display is also different, so be easy to ignore the time in other side time zone, so as to cause
Due to residing time zone difference, and hinders to link up in the case of being unaware of and exchange.
Based on the demand, this specification embodiment provides a kind of display methods of information, in the same of display information
When, it shows the time in time zone residing for other side, allows users to while browsing information, know the time in time zone residing for other side,
To be conducive to the communication of both sides and exchange, moreover it is possible to promote user experience to a certain extent.This method can apply positioned at
In the scene that the first terminal in first terminal time zone is received and sent messages with the second terminal for being located at second terminal time zone, and the party
Method can be applied to second terminal, and idiographic flow schematic diagram is as shown in Figure 1, include:
Step 12:Receive information and the corresponding first terminal time zone of the information.
By the agency of above, for current information display methods, due to that can not know the time in time zone residing for other side,
Lead to not carry out time conversion according to different time zone.For example user A, in Beijing, user B is in Los Angeles, if learning residing for both sides
Time zone, then can know the time in time zone residing for other side by carrying out time conversion to time of a side.Specifically, terminal
Time zone can refer to time zone residing for terminal, which can pass through actual location information, IP (Internet
Protocol, the agreement interconnected between network) address, at least one of time-zone information indicate.Specifically, in this specification
In, it can be assumed that first terminal is located at first terminal, and second terminal is located at second terminal time zone.
The first terminal time zone can be that first terminal is sent together when sending information, specifically, hair can be arranged
Deliver letters a side of breath, sends in the time zone of we together when sending information.Such as in this specification, it can be assumed that user A (letters
A) it is referred to as first terminal, it is located at Beijing, 8th areas first terminal time zone Wei Dong, user B (abbreviation B) is second terminal, is located at Lip river China fir
Rock, 8th areas second terminal time zone Wei Xi can simultaneously send the time zones A, when A sends instant communication information so as to B energy
Enough when receiving the information, while receiving the corresponding time zones A of the information.In the method, it can be assumed that B receives the letter that A is sent
Breath and the corresponding time zones A of the information.
Step 14:Acquisition has received information corresponding first server time, first server time zone and first terminal
Time zone.
By the agency of can receive first terminal time zone (time zones A) simultaneously when receiving information above.So this step
In, it can get and receive the corresponding time zones A of information.
During actual information transmit-receive, information usually can be first sent to server (server, abbreviation by terminal
S), it is forwarded by server.Such as A to B send instant communication information when, can be by unique mark (ID, the body of information and B
Part identification number) it is sent to server, by the server according to information and the ID of B, it is transmitted to B, and according to Jie of above-mentioned steps
It continues, the ID of information, the time zones A and B can be sent to server by A.Here it is possible to which reception A to be sent to the service of the information of B
Device is known as first server (abbreviation S1), that is, receives the server for the information that first terminal is sent;Reception B is sent to the letter of A
The server of breath is known as second server (abbreviation S2), that is, receives the server for the information that second terminal is sent.As shown in Fig. 2,
The schematic diagram of information transmit-receive is carried out between A and B, A can send information to B by S1, and B can be sent information by S2
To A, in practical applications, S1 and S2 can be identical servers, can also be different, and such as illustrate above, A can in Beijing, S1
To be erected at Tokyo, B can be erected at Hawaii in Los Angeles, S2.
Because the time of terminal unpunctual feelings may occur since there are deviations for user setting problem compared with high likelihood
Condition, and under normal conditions, the time of server is accurate, so when terminal to server sends information, server
The time for reaching server, and time accordingly would generally be recorded, determines the sending time and receiving time of both sides.That is S1 is being received
When the information sent to A, it can record that the information reaches the time of S1 namely the first server time (abbreviation S1 times) can be with
It is to have received after information sent out by A, reaches the time of the first server positioned at first server time zone (time zones abbreviation S1).
As shown in figure 3, carrying out another schematic diagram of information transmit-receive between A and B, wherein A can send information XXX, B
The time zones ID and A to S1, S1 can sign in namely the S1 times after receiving information XXX.
In this step, other than getting and having received the corresponding time zones A of information, when can also obtain S1 times and S1
Area is in the sending time in the time zones A can subsequently to determine that A is sent when this has received information.As shown in figure 3, can be
When getting the information time zone XXX and A, then obtain the time zones S1 and S1 times.In practical applications, can by the time zones S1, the S1 times,
And the time zones A are stored in S1, can also be sent in B, by B storage information XXX (having received information) and store the information
The corresponding time zones S1, S1 times and the time zones A.
Step 16:According to first server time zone and first terminal time zone, the first server time is converted, is generated
First terminal sending time.
As shown in figure 3, after sending information XXX due to A, S1 can sign in the S1 times, and S1 itself has S1
Time zone, it is possible to which accordingly and the time zones A are determined to have received the sending time of information for this using the time zones A as reference, A.
For example, the time zones A can be 8th areas Dong as described above, S1 can be erected at Tokyo, then 9th areas the time zones S1 Wei Dong, when A exists
11:02 send information XXX when, S1 can record the time be 12:00 (time of A, there are errors), hereafter B can receive the letter
Eastern 8th area of breath and the time zones A.
Hereafter, B can obtain the S1 times 12 for having received information after receiving information XXX:00, S1 time zone east nine
Area.And according to eastern 9th area in the time zones S1, eastern 8th area in the time zones A, to the S1 times 12:00 is converted, and A sending times 11 are generated:00,
Think that A is the 11 of its residing time zone:When 00, information XXX is had sent.
Step 18:In display interface, display has received information, and shows corresponding first terminal sending time.
Display interface can refer to the interface for showing information, such as instant messaging application, can be at end
A display interface is generated in end, for showing the instant communication information received and dispatched between user and contact person.It, can be in this step
In display interface, display has received information, and shows that this has received the corresponding A sending times of information.
Specifically, show that the trigger condition for having received information and A sending times can be that user opens display interface in B
Operation, for example after user opens display interface in B, display has received information, and shows that this has received the corresponding A of information
Sending time.Can also be first to be shown after having received information in display interface, terminal receives specific operation, such as receives
To after for the click or slip instruction for having received corresponding (using the time zones B as reference) the B receiving times of information, triggering display should
The corresponding A sending times of information are received.Namely in step 18, shown in display interface and received information, and shown
Corresponding A sending times are shown in interface, may be performed simultaneously to execute respectively.Such as it can be after step 16, simultaneously
It executes, can also first carry out display before step 16 and received information, and again after step 16, show corresponding A sending times.
After determining to have received the corresponding A sending times of information, it can be shown as shown in Figure 4.For example Fig. 4 can be with
It is the instant communication information display interface of B, wherein the reception that the A for having sent information XXXX, having received of B is sent can be shown
Information XXX and corresponding using the time zones A as reference) A sending times 11:00.
From fig. 4, it can be seen that A sending times are 11:00, and as the B positioned at Los Angeles, local zone time can be 19:00.
However, this display methods is easy to make user's time of occurrence chaotic, so in order to preferably show the sending time of A, in one kind
In embodiment, in display interface, display has received information, and shows corresponding first terminal sending time, may include:
Display has received information, and shows corresponding first terminal sending time and first terminal time zone identification.As shown in figure 5, can
With in display interface, display has received information, and shows corresponding A sending times and A time zone identifications.It is answered actual
In, A time zone identifications can be determined according to the time zones A, can also be obtained from the time zones A.
In practical applications, it is generally the case that it can show the local zone time for having received information first in display interface,
I.e. after B receives information, time namely the B receiving times in the time zones B can be shown.And in order to show A sending times,
B receiving times can be switched over, show A sending times.So in one embodiment, in display interface, display
Information has been received, and has shown corresponding first terminal sending time, may include:In display interface, display has received information,
And by have received the second terminal receiving time that information corresponds to display, switching is shown as first terminal sending time.Specifically,
The S1 times can be carried out conversion generation by B receiving times according to the time zones B and the time zones S1.For example, still as illustrated above, when S1
Between 12:00, S1 time zone east, 9th area, 8th areas the time zones B Wei Xi, then the B receiving times for being directed to information XXX can be 19:00, such as scheme
Shown in 6, in display interface, display has received information and corresponding using the time zones B as the signal of the B receiving times of reference
Figure.
By the agency of above, triggering display have received information, and show the condition of corresponding A sending times can be
It in display interface, first shows after having received information, terminal receives specific operation, so Fig. 5 institutes can be switched to by Fig. 6
Show, in the display interface of Fig. 6, can first show and receive information and corresponding B receiving times, be connect for B when receiving
After click commands between time receiving, it is switched to as shown in figure 5, being shown as A sending times and A time zone identifications.
In practical applications, the information of A is had transmitted to for B, can also show local zone time, and with time zone where A
Time Inconsistency, as shown in any in Fig. 4,5,6, B has sent information XXXX, and the information is due to being that B is sent out, so aobvious
The time shown is using the time zones B as the local zone time of the B of reference under normal conditions.
So when in order to allow users to know that other side receives information, the information is in the time in residing time zone, in a kind of reality
It applies in mode, this method can also include:Acquisition has sent information corresponding second server time, second server time zone;
According to second server time zone and first terminal time zone, the second server time is converted, when generating first terminal reception
Between;In display interface, display has sent information, and shows corresponding first terminal receiving time.
By the agency of, information sender can be received, and be transmitted to after sending information by corresponding server above
Corresponding recipient, therefore as shown in figure 3, B when as sender, can also will be sent to information XXXX, A of A ID and
The time zones B are sent, and under normal conditions, and for information, server can return to a transmission state after transmission, when returning
When returning the state being successfully transmitted, the time for reaching server and server time zone can be carried.As shown in figure 3, for B
For, information XXXX can be sent to S2, S2 can send successful state and S2 times and the time zones S2 with return information.
The S2 times can refer to having been sent (relative to B's) after information sent out by B, reach the time of the S2 positioned at the time zones S2.Than
If S2 can be located at Hawaii, tenth areas time zone Wei Xi, it is 16 to receive when having sent information:55.It hereafter, can be according to the time zones S2
Eastern 8th area in western tenth area and the time zones A, by the S2 times 16:55 are converted, and A receiving times 10 are generated:55, and in display interface,
It shows that this has sent information, can also show that this has sent the corresponding A receiving times of information, at the same time it can also show that the time zones A are marked
Know.As shown in fig. 7, being the schematic diagram for showing first terminal receiving time.
By the agency of above, in step 18, display has received information, can be before step 16, so in a kind of reality
It applies in mode, B can be after sending information and receiving information, and in display interface, display has sent information and connect
Collect mail breath, and according to server time, server time zone and the time zones B, determine using the time zones B as the B sending times of reference with
And B receiving times, as shown in figure 8, being to show sent information, received information and second terminal hair in second terminal
The schematic diagram for sending time and receiving time, after B receives the click commands for B sending times or B receiving times, according to clothes
It is engaged in device time, server time zone and the time zones A, determining that with the time zones A be reference A receiving times and A sending times, and point
It does not show and has sent information, received the corresponding A receiving times of information and A sending times, A time zone identifications, namely such as Fig. 6 institutes
Show.
By the technical solution of above example offer as it can be seen that in the embodiment that this specification provides, whole positioned at first
It, can be according in second terminal when the first terminal in time zone being held to be received and sent messages with the second terminal positioned at second terminal time zone
The corresponding server time zone of the information of reception got and first terminal time zone have received information to this and have reached server
Time converted, generate using first terminal time zone as the first terminal sending time of reference, shown in display interface
Information is received, and shows and has received the corresponding first terminal sending time of information.By being with other side by the time showing of information
Time zone is the time of reference, to which user can know the time in time zone residing for other side, and then can basis when browsing information
The time of other side carries out reasonable arrangement, links up and exchanges conducive to both sides, can also promote user experience to a certain extent.
Embodiment 2
Based on identical design, this specification embodiment also provides a kind of display methods of information, in display information
While, show other side residing for time zone time, allow users to while browsing information, know time zone residing for other side when
Between, to be conducive to the communication of both sides and exchange, moreover it is possible to promote user experience to a certain extent.This method can also be applied
In the scene that first terminal positioned at first terminal time zone is received and sent messages with the second terminal positioned at second terminal time zone, and
This method can also be applied to second terminal, and idiographic flow schematic diagram is as shown in figure 9, include:
Step 22:Acquisition has received the corresponding second terminal receiving time of information, second terminal time zone and first terminal
Time zone.
In practical applications, user may be set as the time there are error for different demands, personal habits etc., or
Even if there are habitually ignore error if error.In just such as illustrating above, A is 11:02 when sending information XXX, and S1 can be with
It is 12 to record the time:The time of 00 namely A, there are errors two minutes.And for a user, if the sending time of information and connecing
There is also errors identical with terminal between time receiving, then in a sense be not present error, can also be adapted to user terminal when
Between.So second terminal receiving time, can refer to the time that second terminal is recorded when receiving information, and letter is received
After breath may come from first terminal, for example B receives the information of A, can according to the real time of terminal when receiving information,
Generate a B receiving time.
This step can after receiving information, obtain received the corresponding B receiving times of information and B itself when
Area, can also be similar to it is described in embodiment 1, get and received the corresponding time zones A of information.
Step 24:It converts, generates according to second terminal time zone and first terminal time zone, by second terminal receiving time
First terminal sending time.
The time zones B, the time zones A are got in abovementioned steps, then the receiving time that can be recorded to B according to the two time zones
It is converted, is generated using the time zones A as the A sending times of reference.
Step 26:In display interface, display has received information, and shows corresponding first terminal sending time.
According to the A sending times determined above, it can show in display interface and received information, the corresponding A of doubling
Sending time.
It describes above, after B receives the information of A, can be generated according to the real time of terminal when receiving information
One B receiving time.It is so sent to the information of A for B, a B sending time can also be generated after sending information.
So in one embodiment, this method can also include:Acquisition has sent the corresponding second terminal hair of information
The time is sent, which sends this for second terminal and sent the time recorded when information;According to second terminal
Time zone and first terminal time zone, second terminal sending time is converted, and generates first terminal receiving time;In display circle
In face, display has sent information, and shows corresponding first terminal receiving time.Specifically, similar to Example 1ly, B is being sent out
Deliver letters breath when, can also according to send information when B real time, record a B sending time, hereafter can be according to aforementioned step
The time zones A and the time zones B got in rapid, converts B sending times, generates using the time zones A as the A receiving times of reference, and
In display interface, display has sent information, can also show corresponding A receiving time.
In one embodiment, similar to Example 1ly, before step 22, can also include:It receives information and is somebody's turn to do
The corresponding first terminal time zone of information, wherein first terminal time zone can be that first terminal is sent together when sending information.
In one embodiment, similar to Example 1ly, in display interface, display has received information, and display pair
The first terminal sending time answered may include:Display received information, and show corresponding first terminal sending time and
First terminal time zone identification.
In one embodiment, similar to Example 1ly, in display interface, display has received information, and display pair
The first terminal sending time answered may include:In display interface, display has received information, and will be to have received information pair
The second terminal receiving time that should be shown, switching are shown as first terminal sending time.
By the agency of, display information and corresponding time can execute respectively in embodiment 1, in one embodiment,
It can show first in B display interface and sent information and received information, and recorded according to B when sending and receiving
It time, shows using the time zones B as the B sending times of reference and B receiving times, B sending times or B receiving times is directed to when receiving
Click commands after, trigger this method, acquisition has received the corresponding time zones A of information, and according to the time zones A, the time zones B of B itself, point
It is other that B sending times and B receiving times are converted, it generates using the time zones A as the A receiving times of reference and A sending times, and point
Information Dui Ying not sent and received information and be shown.
By the technical solution of above example offer as it can be seen that in the embodiment that this specification provides, whole positioned at first
It, can be according in second terminal when the first terminal in time zone being held to be received and sent messages with the second terminal positioned at second terminal time zone
The corresponding second terminal time zone of the information of reception got and first terminal time zone have received information to this and have reached second
The time recorded when terminal is converted, and is generated using first terminal time zone as the first terminal sending time of reference, on display circle
It is shown in face and has received information, and shown and received the corresponding first terminal sending time of information.By the way that the time of information is shown
It is shown as using other side time zone as the time of reference, to which user can know the time in time zone residing for other side when browsing information, into
And reasonable arrangement can be carried out according to the time of other side, it links up and exchanges conducive to both sides, can also carry to a certain extent
Rise user experience.
Embodiment 3
Based on identical design, this specification embodiment 3 provides a kind of display device of information, for realizing embodiment
1 method stated.The structural schematic diagram of the device is as shown in Figure 10, including:Acquiring unit 32, generation unit 34 and display are single
Member 36, wherein
Acquiring unit 32, can obtain received the information corresponding first server time, first server time zone and
First terminal time zone has received information and has come from first terminal, and the first server time is to have received information to be sent out by first terminal
After going out, the time of the first server positioned at first server time zone is reached;
Generation unit 34 can carry out the first server time according to first server time zone and first terminal time zone
Conversion generates first terminal sending time;
Display unit 36, can be in display interface, when showing and received information, and showing that corresponding first terminal is sent
Between.
In one embodiment, display unit 36, can be with
By to have received the second terminal receiving time that information corresponds to display, switching is shown as first terminal sending time,
Second terminal receiving time carries out conversion life according to second terminal time zone and first server time zone, by the first server time
At.
In one embodiment, display unit 36, can be with
Show corresponding first terminal sending time and first terminal time zone identification.
In one embodiment,
Acquiring unit 32 can obtain and send information corresponding second server time, second server time zone, and second
Server time is to have sent after information sent out by second terminal, reach the second server positioned at second server time zone when
Between;
Generation unit 34 can carry out the second server time according to second server time zone and first terminal time zone
Conversion generates first terminal receiving time;
Display unit 36, can be in display interface, when showing and sent information, and showing that corresponding first terminal receives
Between.
In one embodiment, which further includes receiving unit, can be in being shown in interface, obtain received
Before information corresponding first server time, first server time zone and first terminal time zone,
Information and the corresponding first terminal time zone of information are received, first terminal time zone is one when first terminal sends information
And send.
By the device of above example offer as it can be seen that in the embodiment that this specification provides, when positioned at first terminal
When the first terminal in area is received and sent messages with the second terminal positioned at second terminal time zone, it can be obtained according in second terminal
The corresponding server time zone of the information of reception arrived and first terminal time zone, to this received information reach server when
Between converted, generate using first terminal time zone as the first terminal sending time of reference, show and received in display interface
Information, and show and received the corresponding first terminal sending time of information.By being with other side time zone by the time showing of information
For the time of reference, to which user can know the time in time zone residing for other side, and then can be according to other side when browsing information
Time carry out reasonable arrangement, link up and exchange conducive to both sides, user experience can also be promoted to a certain extent.
Embodiment 4
Based on identical design, this specification embodiment 4 provides a kind of display device of information, for realizing embodiment
2 methods stated.The structural schematic diagram of the device is as shown in figure 11, including:Acquiring unit 42, generation unit 44 and display are single
Member 46, wherein
Acquiring unit 42, can obtain received the corresponding second terminal receiving time of information, second terminal time zone and
First terminal time zone, second terminal receiving time are that second terminal receives the time recorded when information;
Generation unit 44 can be carried out according to second terminal time zone and first terminal time zone, by second terminal receiving time
Conversion generates first terminal sending time;
Display unit 46, can be in display interface, when showing and received information, and showing that corresponding first terminal is sent
Between.
In one embodiment, display unit 46, can be with
By to have received the second terminal receiving time that information corresponds to display, switching is shown as first terminal sending time.
In one embodiment, display unit 46, can be with
Show corresponding first terminal sending time and first terminal time zone identification.
In one embodiment,
Acquiring unit 42 can obtain and send the corresponding second terminal sending time of information, second terminal sending time
The time recorded when sending information for second terminal;
Generation unit 44 can carry out second terminal sending time according to second terminal time zone and first terminal time zone
Conversion generates first terminal receiving time;
Display unit 46, can be in display interface, when showing and sent information, and showing that corresponding first terminal receives
Between.
In one embodiment, which further includes receiving unit, can be in being shown in interface, obtain received
Before information corresponding first server time, first server time zone and first terminal time zone,
Information and the corresponding first terminal time zone of information are received, first terminal time zone is one when first terminal sends information
And send.
By the device of above example offer as it can be seen that in the embodiment that this specification provides, when positioned at first terminal
When the first terminal in area is received and sent messages with the second terminal positioned at second terminal time zone, it can be obtained according in second terminal
The corresponding second terminal time zone of the information of reception arrived and first terminal time zone have received information to this and have reached second terminal
The time of Shi Jilu is converted, and is generated using first terminal time zone as the first terminal sending time of reference, in display interface
Display has received information, and shows and received the corresponding first terminal sending time of information.By being by the time showing of information
Using other side time zone as the time of reference, to which user can know the time in time zone residing for other side, Jin Erke when browsing information
To carry out reasonable arrangement according to the time of other side, links up and exchange conducive to both sides, use can also be promoted to a certain extent
It experiences at family.
Figure 12 is the structural schematic diagram of one embodiment electronic equipment of this specification.In hardware view, the electronic equipment
Further include optionally internal bus, network interface, memory including processor.Wherein, memory may include memory, such as
High-speed random access memory (Random-Access Memory, RAM), it is also possible to further include nonvolatile memory (non-
Volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other business institutes
The hardware needed.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of indicating, only indicated with a four-headed arrow in Figure 12, it is not intended that an only bus or a type of
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from then operation in corresponding computer program to memory is read in nonvolatile memory, in logical layer
The display device of information is formed on face.Processor executes the program that memory is stored, and specifically for executing following operation:
When acquisition has received information corresponding first server time, first server time zone and the first terminal
Area, the information that received come from the first terminal, and the first server time has received information by first to be described
After terminal is sent out, the time of the first server positioned at the first server time zone is reached;
According to the first server time zone and the first terminal time zone, the first server time is turned
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
And for performing the following operations:
Acquisition has received the corresponding second terminal receiving time of information, the second terminal time zone and described first eventually
Time zone, the information that received is held to come from the first terminal, the second terminal receiving time receives for second terminal
The time recorded when described information;
Turned according to the second terminal time zone and the first terminal time zone, by the second terminal receiving time
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
The method that the above-mentioned display device such as this specification Figure 10 and the information of 11 illustrated embodiments offer executes can answer
It is realized in processor, or by processor.Processor may be a kind of IC chip, the processing energy with signal
Power.During realization, each step of the above method can pass through the integrated logic circuit or software of the hardware in processor
The instruction of form is completed.Above-mentioned processor can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in this specification embodiment
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be any
Conventional processor etc..
The step of method in conjunction with disclosed in this specification embodiment, can be embodied directly in hardware decoding processor execution
Complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at random storage
Device, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register at
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, is completed in conjunction with its hardware
The step of stating method.
The display device that the electronic equipment can also carry out the information of Figure 10 and the offer of 11 illustrated embodiments is real shown in Figure 12
The function of example is applied, details are not described herein for this specification embodiment.
This specification embodiment also proposed a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, the one or more program include instruction, and the instruction is when the electronic equipment for being included multiple application programs
When execution, the electronic equipment can be made to execute the method that the display device of information in Figure 10 and 11 illustrated embodiments executes, and have
Body is for executing:
When acquisition has received information corresponding first server time, first server time zone and the first terminal
Area, the information that received come from the first terminal, and the first server time has received information by first to be described
After terminal is sent out, the time of the first server positioned at the first server time zone is reached;
According to the first server time zone and the first terminal time zone, the first server time is turned
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
And for executing:
Acquisition has received the corresponding second terminal receiving time of information, the second terminal time zone and described first eventually
Time zone, the information that received is held to come from the first terminal, the second terminal receiving time receives for second terminal
The time recorded when described information;
Turned according to the second terminal time zone and the first terminal time zone, by the second terminal receiving time
It changes, generates first terminal sending time;
In display interface, information is received described in display, and show the corresponding first terminal sending time.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when specification.
It should be understood by those skilled in the art that, the embodiment of this specification can be provided as method, system or computer journey
Sequence product.Therefore, in terms of this specification can be used complete hardware embodiment, complete software embodiment or combine software and hardware
Embodiment form.Moreover, it wherein includes computer usable program code that this specification, which can be used in one or more,
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
This specification is with reference to the method, equipment (system) and computer program product according to this specification embodiment
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of flow and/or box in one flow and/or box and flowchart and/or the block diagram.These computers can be provided
Processor of the program instruction to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices
To generate a machine so that the instruction executed by computer or the processor of other programmable data processing devices generates use
In the dress for realizing the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
It sets.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can be provided as method, system or computer program production
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification
The form of example.Moreover, this specification can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Usually, program module include routines performing specific tasks or implementing specific abstract data types, program, object,
Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology
For personnel, this specification can have various modifications and variations.It is all this specification spirit and principle within made by it is any
Modification, equivalent replacement, improvement etc., should be included within the right of this specification.