CN106911554B - Historical information display method and device - Google Patents

Historical information display method and device Download PDF

Info

Publication number
CN106911554B
CN106911554B CN201510977622.4A CN201510977622A CN106911554B CN 106911554 B CN106911554 B CN 106911554B CN 201510977622 A CN201510977622 A CN 201510977622A CN 106911554 B CN106911554 B CN 106911554B
Authority
CN
China
Prior art keywords
information
historical information
displayed
missing
historical
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.)
Expired - Fee Related
Application number
CN201510977622.4A
Other languages
Chinese (zh)
Other versions
CN106911554A (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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510977622.4A priority Critical patent/CN106911554B/en
Priority to PCT/CN2016/104570 priority patent/WO2017107679A1/en
Publication of CN106911554A publication Critical patent/CN106911554A/en
Application granted granted Critical
Publication of CN106911554B publication Critical patent/CN106911554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Abstract

The invention relates to a historical information display method and a device, wherein the method comprises the following steps: responding to a historical information display instruction triggered by a user, and acquiring historical information to be displayed corresponding to the historical information display instruction; judging whether the historical information to be displayed has an information missing identifier or not; if the historical information to be displayed has an information missing identifier, determining whether to acquire the historical information corresponding to the information missing identifier; if yes, acquiring the corresponding historical information according to the information missing identification; and adding the acquired historical information to the corresponding position in the historical information to be displayed, and displaying the added historical information to be displayed. By the technical scheme, the user can browse the complete historical information on the same terminal device, the traffic waste caused by downloading all historical information is saved, and the user experience is improved.

Description

Historical information display method and device
Technical Field
The invention relates to the technical field of computer networks, in particular to a historical information display method and device.
Background
With the development of intelligent terminal technology, intelligent terminal equipment is widely applied. At present, many users log in the same APP through a plurality of terminal devices. However, when a user logs in an APP on different terminal devices, user messages are retained on different terminal devices, so that many message holes are left, and the user cannot browse a complete history message on the same terminal device, which affects user experience.
Disclosure of Invention
In view of the above problems, the present invention is provided to provide a history information display method and apparatus for overcoming the above problems or at least partially solving or slowing down the above problems, so that a user can browse a complete history message on the same terminal device, and meanwhile, traffic waste caused by downloading all history information is saved, and user experience is improved.
According to an aspect of the present invention, there is provided a history information presentation method, including:
responding to a historical information display instruction triggered by a user, and acquiring historical information to be displayed corresponding to the historical information display instruction;
judging whether the historical information to be displayed has an information missing identifier or not;
if the historical information to be displayed has an information missing identifier, determining whether to acquire the historical information corresponding to the information missing identifier;
if yes, acquiring the corresponding historical information according to the information missing identification;
and adding the acquired historical information to the corresponding position in the historical information to be displayed, and displaying the added historical information to be displayed.
Optionally, the obtaining, in response to a history information display instruction triggered by a user, history information to be displayed corresponding to the history information display instruction specifically includes:
searching a historical information record of a user;
and acquiring historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
Optionally, before the searching for the historical information record of the user, the method further includes:
receiving a user identification input by the user;
correspondingly, the searching for the historical information record of the user specifically includes:
and searching a mapping relation according to the received user identification to acquire a historical information record corresponding to the user identification, and taking the historical information record corresponding to the user identification as the historical information record of the user, wherein the mapping relation comprises the corresponding relation between the user identification and the historical information record.
Optionally, the historical information to be displayed includes a timestamp of each piece of historical information;
before the determining whether the historical information to be displayed has the information missing identifier, the method further includes:
and inserting information missing identification into the historical information to be displayed according to the time stamp of each piece of historical information.
Optionally, the inserting an information missing identifier into the historical information to be displayed according to the timestamp of each piece of historical information specifically includes:
sending the time stamps of the historical information to a historical information server so that the historical information server determines whether missing information exists in the historical information to be displayed according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, feeding back the position of the missing information in the historical information to be displayed;
and receiving the position of the missing information fed back by the historical information server, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
Optionally, the inserting an information missing identifier into the historical information to be displayed according to the timestamp of each piece of historical information specifically includes:
receiving an information time record sent by a historical information server, wherein the information time record is a timestamp of historical information in a preset time period;
comparing the time stamp of each historical information with the information time record, and determining whether missing information exists in the historical information to be displayed according to a comparison result;
if missing information exists in the historical information to be displayed, determining the position of the missing information in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
Optionally, the historical information display instruction carries the number of information to be displayed;
correspondingly, the obtaining the corresponding history information according to the information missing identifier specifically includes:
and acquiring historical information corresponding to the information missing identification according to the quantity of the information to be displayed.
According to another aspect of the present invention, there is provided a history information presentation apparatus, the apparatus including:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is suitable for responding to a historical information display instruction triggered by a user and acquiring historical information to be displayed corresponding to the historical information display instruction;
the judging unit is suitable for judging whether the historical information to be displayed acquired by the first acquiring unit has an information missing identifier or not;
the determining unit is suitable for determining whether to acquire the historical information corresponding to the information missing identifier when the judging result of the judging unit is that the information missing identifier exists in the historical information to be displayed;
the second obtaining unit is suitable for obtaining the corresponding historical information according to the information missing identification when the determining unit determines to obtain the historical information corresponding to the information missing identification;
and the display unit is suitable for adding the historical information acquired by the second acquisition unit to a corresponding position in the historical information to be displayed and displaying the added historical information to be displayed.
Optionally, the first obtaining unit specifically includes:
the searching module is suitable for searching the historical information record of the user;
and the acquisition module is suitable for acquiring the historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
Optionally, the first obtaining unit further includes:
the receiving module is suitable for receiving the user identification input by the user before the searching module searches the historical information record of the user;
correspondingly, the searching module is specifically adapted to search a mapping relationship according to the received user identifier to obtain a history information record corresponding to the user identifier, and use the history information record corresponding to the user identifier as the history information record of the user, where the mapping relationship includes a corresponding relationship between the user identifier and the history information record.
Optionally, the historical information to be displayed includes a timestamp of each piece of historical information;
the device further comprises:
and the inserting unit is suitable for inserting the information missing identification into the historical information to be displayed according to the time stamp of each piece of historical information before the judging unit judges whether the information missing identification exists in the historical information to be displayed.
Optionally, the insertion unit specifically includes:
the sending module is suitable for sending the time stamps of the historical information to a historical information server so that the historical information server can determine whether the historical information to be displayed has missing information according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, the position of the missing information in the historical information to be displayed is fed back;
and the inserting module is suitable for receiving the position of the missing information fed back by the historical information server and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
Optionally, the insertion unit specifically includes:
the receiving module is suitable for receiving an information time record sent by the historical information server, wherein the information time record is a timestamp of historical information in a preset time period;
the determining module is suitable for comparing the time stamp of each piece of historical information with the information time record and determining whether missing information exists in the historical information to be displayed according to a comparison result;
the insertion module is suitable for determining the position of the missing information in the historical information to be displayed when the determining module determines that the missing information exists in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
Optionally, the historical information display instruction carries the number of information to be displayed;
correspondingly, the second obtaining unit is specifically adapted to obtain the historical information corresponding to the information missing identifier according to the number of the information to be displayed.
According to the historical information display method and device, whether the information missing identification exists in the historical information to be displayed corresponding to the historical information display instruction triggered by the user is judged, when the information missing identification exists in the historical information to be displayed, the corresponding historical information is obtained according to the information missing identification, the obtained historical information is added to the corresponding position in the historical information to be displayed, and then the added historical information to be displayed is displayed, so that the user can browse the complete historical information on the same terminal device, meanwhile, the flow waste caused by downloading of all the historical information is saved, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart diagram schematically illustrating a history information presentation method according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating a subdivision flow of step S11 in the history information presentation method according to an embodiment of the present invention;
fig. 3 schematically shows a flow chart of the subdivision of step S11 in the history information presentation method according to another embodiment of the present invention;
FIG. 4 is a flow chart diagram schematically illustrating a history information presentation method according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a history information presentation apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram showing a specific structure of a first obtaining unit in the history information presentation apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram showing a specific structure of a first obtaining unit in a history information presentation apparatus according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a history information presentation apparatus according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The history information presentation method and the history information presentation apparatus according to the embodiment of the present invention will be described in detail below with reference to the drawings.
It should be noted that the main execution body of the method of the present embodiment is a terminal device, and the terminal device is a device such as a mobile phone, a tablet computer, a PDA (personal digital assistant), or a notebook computer, and of course, other devices with similar functions may also be used, and the present invention is not limited thereto.
FIG. 1 is a flow chart diagram schematically illustrating a history information presentation method according to an embodiment of the present invention;
referring to fig. 1, a history information display method according to an embodiment of the present invention specifically includes the following steps;
s11, responding to a historical information display instruction triggered by a user, and acquiring historical information to be displayed corresponding to the historical information display instruction.
The historical information display instruction triggered by the user can be understood as a display instruction generated by the trigger information display area, and accordingly, the historical information to be displayed corresponding to the historical information display instruction is the historical information which needs to be displayed when the display instruction of the trigger information display area is used.
In a specific implementation, the triggering of the information display area to generate the display instruction may be implemented in various ways, for example: the entry element displayed in the information display area is clicked by a mouse, or the entry element is clicked on a touch screen on which the information display area is displayed, which is not limited in this embodiment.
It should be noted that the above-mentioned manner of triggering the information display area to generate the display instruction is only an example, and other situations may be included besides the above-mentioned situations, for example, triggering the entry element by performing a sliding operation or a gesture on the information display area. The invention does not need to limit the mode of realizing the triggering information display area to generate the display instruction according to what mode, and the technical personnel in the field need to set according to the practical application.
And S12, judging whether the historical information to be displayed has an information missing identifier, if so, executing the step S13, otherwise, ending the operation.
It should be noted that the information missing flag is a flag for indicating that there is information missing. In a specific embodiment, the information missing identifier may be implemented by a placeholder, and the present invention does not need to limit how the missing information is specifically implemented, and a person skilled in the art needs to set the information missing identifier according to actual application.
In a specific implementation, when a history information display instruction triggered by a user is received, history information to be displayed corresponding to the history information display instruction is acquired, and whether a sign symbol used for marking information loss, such as a placeholder, exists in the acquired history information to be displayed is checked to determine whether an information loss identifier exists in the history information to be displayed.
And S13, determining whether to acquire the historical information corresponding to the information missing identification, if so, executing the step S14, otherwise, ending the operation.
And S14, acquiring the corresponding historical information according to the information missing identification.
In a specific example, whether to acquire the history information corresponding to the information missing identifier may be determined by further operation of the user, for example, if the user triggers a history information display instruction and does not perform other operations, the history information corresponding to the information missing identifier is determined to be acquired, and if the user triggers the history information display instruction, the current window is closed, or a new information viewing operation is performed, the history information corresponding to the information missing identifier is determined not to be acquired.
In another specific example, a corresponding prompting component may be further provided through an interface in the information display area to prompt the user to determine whether to acquire the historical information corresponding to the information missing identifier, and feedback information of the user is received through the prompting component.
It can be understood that the two ways of determining whether to acquire the history information corresponding to the information missing identifier are only examples, and other situations can be included besides the above situations.
And S15, adding the acquired historical information to the corresponding position in the historical information to be displayed, and displaying the added historical information to be displayed.
In specific implementation, the acquired historical information is added to a position corresponding to the information missing identifier in the historical information to be displayed, so that complete historical information to be displayed is obtained, and the display of the whole historical information to be displayed is further realized.
According to the historical information display method provided by the embodiment of the invention, the acquired historical information is added to the corresponding position in the historical information to be displayed, so that the added historical information to be displayed is displayed, and the problem that in the prior art, because the user information is retained on different terminal equipment, a plurality of information holes are left, and the user cannot browse the complete historical information on the same terminal equipment is solved. The method and the device enable the user to browse the complete historical information on the same terminal device, save flow waste caused by downloading of all historical information and improve user experience.
According to a preferred embodiment of the present invention, step S11, as shown in fig. 2, specifically includes the following steps:
and S111, searching the history information record of the user.
In the specific implementation process, since there may be a plurality of users on each terminal device, in the history information display process, it is necessary to search the history information record corresponding to the current login user.
In a specific example, by obtaining login information of a user, a history information record stored locally is checked according to a user identifier carried in the login information, so as to search the history information record of the current user.
And S112, acquiring historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
It should be noted that, in this embodiment, the history information display instruction carries information for indicating the history information to be displayed.
In a specific implementation process, the embodiment of the invention searches the historical information record corresponding to the current user in advance, and then obtains the historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
According to the embodiment of the invention, the historical information to be displayed corresponding to the historical information display instruction is acquired from the searched historical information record instead of acquiring all the historical information records corresponding to the user, so that the data acquisition time is saved, the speed of acquiring the historical information to be displayed is effectively increased, the user can browse the complete historical information on the same terminal device, the information display speed is increased, and the user experience is improved.
According to a preferred embodiment of the present invention, step S11, as shown in fig. 3, specifically includes the following steps:
s110', receiving a user identification input by the user;
specifically, the user identifier input by the user may be received during the user login process.
S111', a mapping relation is searched according to the received user identification to obtain a historical information record corresponding to the user identification, the historical information record corresponding to the user identification is used as a historical information record of the user, and the mapping relation comprises the corresponding relation between the user identification and the historical information record.
It is understood that the mapping relationship may be implemented by a relational table or a relational database. In a specific example, the corresponding relationship between the user identifier and the history information record is implemented in a manner of a relationship table, where the user identifier may be one or more of Identity (id), user account, user name, and the like of the user.
S112', obtaining the historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
It should be noted that step S112' is the same as step S112 of the embodiment shown in fig. 2, and is not repeated here.
According to the historical information display method provided by the embodiment of the invention, after the user identification input by the user is received, the mapping relation is searched through the received user identification so as to obtain the historical information record corresponding to the user identification, and the historical information record corresponding to the user identification is used as the historical information record of the user, wherein the mapping relation comprises the corresponding relation between the user identification and the historical information record. The preset mapping relation is established in advance according to the user identification and the historical information record corresponding to the user identification. According to the invention, through a mode of searching the preset relationship, the searching of the user historical information record can be conveniently and rapidly realized, and the speed of historical information display is improved, so that the requirements and experience of the user are better met.
According to a preferred embodiment of the present invention, the history information to be displayed includes a time stamp of each history information.
Referring to fig. 4, the history information display method according to the embodiment of the present invention specifically includes the following steps;
s40, responding to a historical information display instruction triggered by a user, and acquiring historical information to be displayed corresponding to the historical information display instruction.
And S41, inserting information missing identification in the historical information to be displayed according to the time stamp of each piece of historical information.
In this step, whether missing information exists in the historical information to be displayed is determined according to the time stamp of each piece of historical information in the historical information to be displayed, and if the missing information exists in the historical information to be displayed, the position of the missing information in the historical information to be displayed is further determined so as to insert an information missing identifier at the position where the missing information exists in the historical information to be displayed.
S42, judging whether the historical information to be displayed has information missing identification, if so, executing the step S43, otherwise,
and finishing the operation.
And S43, determining whether to acquire the historical information corresponding to the information missing identification, if so, executing the step S44, otherwise, ending the operation.
And S44, acquiring the corresponding historical information according to the information missing identification.
And S45, adding the acquired historical information to the corresponding position in the historical information to be displayed, and displaying the added historical information to be displayed.
Steps S40, S42 to S45 are the same as steps S11 to S15 of the embodiment shown in fig. 1, and are not described again here.
According to the embodiment of the invention, the information missing identification can be accurately inserted into the historical information to be displayed in a mode of the timestamp of the historical information, so that the information display speed is improved and the user experience is improved while the user can browse the complete historical information on the same terminal device.
In an alternative embodiment of the present invention, step S41 specifically includes the following steps not shown in the figure:
s411, sending the time stamps of the historical information to a historical information server so that the historical information server can determine whether missing information exists in the historical information to be displayed according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, feeding back the position of the missing information in the historical information to be displayed;
s412, receiving the position of the missing information fed back by the historical information server, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
In this embodiment, in the step of inserting the information missing identifier into the historical information to be displayed according to the timestamp of each piece of historical information, the terminal device may send the timestamp of each piece of historical information in the information to be displayed to the historical information server, so that the historical information server may compare the timestamp of each piece of historical information with all pieces of historical information stored locally, and further determine whether the historical information to be displayed has missing information.
In the embodiment, the insertion of the information missing identification can be accurately realized according to the position of the missing information fed back by the historical information server. Moreover, through the setting of the timestamp, the traffic waste of the process of determining whether the historical information to be displayed has missing information or not by sending the historical information is further saved.
In an alternative embodiment of the present invention, step S41 specifically includes the following steps not shown in the figure:
s411', receiving an information time record sent by a history information server, wherein the information time record is a timestamp of history information in a preset time period;
s412', the time stamps of the historical information are compared with the information time records, and whether missing information exists in the historical information to be displayed is determined according to the comparison result;
s413', if there is missing information in the historical information to be displayed, determining a position of the missing information in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
In this embodiment, the step of inserting the information missing identifier into the history information to be displayed according to the timestamp of each piece of history information is implemented by comparing the information time record sent by the history information server with the timestamp of each piece of history information through the terminal device. When missing information exists in the historical information to be displayed, the position of the missing information in the historical information to be displayed is further determined, and an information missing identifier is inserted into the historical information to be displayed according to the position of the missing information.
In this embodiment, the timestamp of each piece of historical information is compared with the information time record according to the information time record fed back by the historical information server, so that whether missing information exists in the historical information to be displayed can be accurately determined, and the insertion of the information missing identifier is realized. Moreover, through the setting of the timestamp, the traffic waste of the process of determining whether the historical information to be displayed has missing information or not by receiving the historical information is further saved.
According to a preferred embodiment of the present invention, the history information display instruction carries the amount of information to be displayed.
Specifically, the setting of the number of the information to be displayed may be realized through user setting, or according to default setting of the information display area by the system, which is not specifically limited in the embodiment of the present invention.
Further, the obtaining the corresponding history information according to the information missing identifier specifically includes: and acquiring historical information corresponding to the information missing identification according to the quantity of the information to be displayed.
According to the embodiment of the invention, the quantity of the information to be displayed is carried in the historical information display instruction, and the historical information corresponding to the information missing identification is obtained according to the quantity of the information to be displayed, so that the historical information corresponding to the information missing identification is obtained according to the display requirement of the user, the resource waste caused by obtaining a large amount of historical information at one time without completely checking the historical information by the user is avoided, the user can browse the complete historical information on the same terminal device, the flow consumption caused by information downloading can be further saved, and the user experience is improved.
For simplicity of explanation, the method embodiments are described as a series of acts or combinations, but those skilled in the art will appreciate that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the embodiments of the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Fig. 5 is a schematic structural diagram of a history information presentation apparatus according to an embodiment of the present invention.
Referring to fig. 5, the history information display apparatus according to the embodiment of the present invention specifically includes a first obtaining unit 501, a determining unit 502, a determining unit 503, a second obtaining unit 504, and a displaying unit 505, where:
the first obtaining unit 501 is adapted to respond to a history information display instruction triggered by a user, and obtain history information to be displayed corresponding to the history information display instruction;
the judging unit 502 is adapted to judge whether an information missing identifier exists in the historical information to be displayed, which is acquired by the first acquiring unit;
the determining unit 503 is adapted to determine whether to acquire history information corresponding to an information missing identifier when a determination result of the determining unit is that the history information to be displayed has the information missing identifier;
the second obtaining unit 504 is adapted to, when the determining unit determines to obtain the history information corresponding to the information missing identifier, obtain the corresponding history information according to the information missing identifier;
the displaying unit 505 is adapted to add the history information acquired by the second acquiring unit to a corresponding position in the history information to be displayed, and display the added history information to be displayed.
The history information display device provided by the embodiment of the invention can be used for displaying the added history information to be displayed by adding the acquired history information to the corresponding position in the history information to be displayed, thereby solving the problem that in the prior art, because the user information is retained on different terminal devices, a plurality of information holes are left, and the user can not browse the complete history information on the same terminal device. The method and the device enable the user to browse the complete historical information on the same terminal device, save flow waste caused by downloading of all historical information and improve user experience.
In an alternative embodiment of the present invention, as shown in fig. 6, the first obtaining unit specifically includes a searching module 5011 and an obtaining module 5012:
the searching module 5011 is suitable for searching the historical information record of the user;
the obtaining module 5012 is adapted to obtain historical information to be displayed corresponding to the historical information displaying instruction from the searched historical information record.
In an alternative embodiment of the present invention, as shown in fig. 7, the first obtaining unit specifically includes a receiving module 5010 ', a searching module 5011 ', and an obtaining module 5012 ':
the receiving module 5010' is adapted to receive the user identifier input by the user before the searching module searches the history information record of the user;
the searching module 5011' is specifically adapted to search a mapping relationship according to the received user identifier to obtain a history information record corresponding to the user identifier, and use the history information record corresponding to the user identifier as a history information record of the user, where the mapping relationship includes a corresponding relationship between the user identifier and the history information record.
The obtaining module 5012' is adapted to obtain historical information to be displayed corresponding to the historical information displaying instruction from the searched historical information record.
In an optional embodiment of the present invention, the history information to be displayed includes a timestamp of each history information;
referring to fig. 8, the history information display apparatus according to the embodiment of the present invention specifically includes a first obtaining unit 801, an inserting unit 802, a judging unit 803, a determining unit 804, a second obtaining unit 805, and a displaying unit 806, where:
the first obtaining unit 801 is adapted to respond to a history information display instruction triggered by a user, and obtain history information to be displayed corresponding to the history information display instruction;
the inserting unit 802 is adapted to insert an information missing identifier into the history information to be displayed according to the timestamp of each history information before the determining unit determines whether the history information to be displayed has the information missing identifier.
The determining unit 803 is adapted to determine whether an information missing identifier exists in the history information to be displayed, which is acquired by the first acquiring unit;
the determining unit 804 is adapted to determine whether to acquire history information corresponding to an information missing identifier when a judgment result of the judging unit is that the history information to be displayed has the information missing identifier;
the second obtaining unit 805 is adapted to, when the determining unit determines to obtain the history information corresponding to the information missing identifier, obtain the corresponding history information according to the information missing identifier;
the displaying unit 806 is adapted to add the history information acquired by the second acquiring unit to a corresponding position in the history information to be displayed, and display the added history information to be displayed.
In an optional embodiment of the present invention, the inserting unit specifically includes a sending module and an inserting module:
the sending module is suitable for sending the time stamps of the historical information to a historical information server so that the historical information server can determine whether the historical information to be displayed has missing information according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, the position of the missing information in the historical information to be displayed is fed back;
the inserting module is suitable for receiving the position of the missing information fed back by the historical information server and inserting the information missing identification into the historical information to be displayed according to the position of the missing information.
In an optional embodiment of the present invention, the insertion unit specifically includes a receiving module, a determining module, and an inserting module:
the receiving module is suitable for receiving an information time record sent by the historical information server, and the information time record is a timestamp of the historical information in a preset time period;
the determining module is suitable for comparing the time stamp of each historical information with the information time record and determining whether missing information exists in the historical information to be displayed according to a comparison result;
the inserting module is suitable for determining the position of the missing information in the historical information to be displayed when the determining module determines that the missing information exists in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
In an optional embodiment of the present invention, the historical information display instruction carries the amount of information to be displayed;
correspondingly, the second obtaining unit is specifically adapted to obtain the historical information corresponding to the information missing identifier according to the number of the information to be displayed.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In summary, according to the history information display method and apparatus provided in the embodiments of the present invention, by determining whether an information missing identifier exists in history information to be displayed corresponding to a history information display instruction triggered by a user, when the information missing identifier exists in the history information to be displayed, corresponding history information is acquired according to the information missing identifier, and the acquired history information is added to a corresponding position in the history information to be displayed, so that the added history information to be displayed is displayed, so that the user can browse a complete history message on the same terminal device, and at the same time, save traffic waste caused by downloading all history information, and improve user experience.
It should be noted that the algorithms and formulas provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the examples based on this disclosure. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed methods and apparatus should not be construed as reflecting the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a website security detection apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (12)

1. A history information display method comprises the following steps:
responding to a historical information display instruction triggered by a user, and acquiring historical information to be displayed corresponding to the historical information display instruction;
judging whether the historical information to be displayed has an information missing identifier or not;
if the historical information to be displayed has an information missing identifier, determining whether to acquire the historical information corresponding to the information missing identifier;
if yes, acquiring the corresponding historical information according to the information missing identification;
adding the acquired historical information to a corresponding position in the historical information to be displayed, and displaying the added historical information to be displayed;
wherein the information missing identification comprises: a placeholder;
the historical information to be displayed comprises time stamps of the historical information;
before the determining whether the historical information to be displayed has the information missing identifier, the method further includes:
and inserting information missing identification into the historical information to be displayed according to the time stamp of each piece of historical information.
2. The method according to claim 1, wherein the step of obtaining the historical information to be displayed corresponding to the historical information display instruction in response to the historical information display instruction triggered by the user specifically comprises:
searching a historical information record of a user;
and acquiring historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
3. The method of claim 2, prior to said finding a historical information record of a user, said method further comprising:
receiving a user identification input by the user;
correspondingly, the searching for the historical information record of the user specifically includes:
and searching a mapping relation according to the received user identification to acquire a historical information record corresponding to the user identification, and taking the historical information record corresponding to the user identification as the historical information record of the user, wherein the mapping relation comprises the corresponding relation between the user identification and the historical information record.
4. The method according to claim 1, wherein the inserting of the missing information identifier into the history information to be displayed according to the timestamp of each history information specifically comprises:
sending the time stamps of the historical information to a historical information server so that the historical information server determines whether missing information exists in the historical information to be displayed according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, feeding back the position of the missing information in the historical information to be displayed;
and receiving the position of the missing information fed back by the historical information server, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
5. The method according to claim 1, wherein the inserting of the missing information identifier into the history information to be displayed according to the timestamp of each history information specifically comprises:
receiving an information time record sent by a historical information server, wherein the information time record is a timestamp of historical information in a preset time period;
comparing the time stamp of each historical information with the information time record, and determining whether missing information exists in the historical information to be displayed according to a comparison result;
if missing information exists in the historical information to be displayed, determining the position of the missing information in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
6. The method according to any one of claims 1-5, wherein the historical information display instruction carries the amount of information to be displayed;
correspondingly, the obtaining the corresponding history information according to the information missing identifier specifically includes:
and acquiring historical information corresponding to the information missing identification according to the quantity of the information to be displayed.
7. A history information presentation apparatus comprising:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is suitable for responding to a historical information display instruction triggered by a user and acquiring historical information to be displayed corresponding to the historical information display instruction;
the judging unit is suitable for judging whether the historical information to be displayed acquired by the first acquiring unit has an information missing identifier or not;
the determining unit is suitable for determining whether to acquire the historical information corresponding to the information missing identifier when the judging result of the judging unit is that the information missing identifier exists in the historical information to be displayed;
the second obtaining unit is suitable for obtaining the corresponding historical information according to the information missing identification when the determining unit determines to obtain the historical information corresponding to the information missing identification;
the display unit is suitable for adding the historical information acquired by the second acquisition unit to a corresponding position in the historical information to be displayed and displaying the added historical information to be displayed;
wherein the information missing identification comprises: a placeholder;
the historical information to be displayed comprises time stamps of the historical information;
the device further comprises:
and the inserting unit is suitable for inserting the information missing identification into the historical information to be displayed according to the time stamp of each piece of historical information before the judging unit judges whether the information missing identification exists in the historical information to be displayed.
8. The apparatus according to claim 7, wherein the first obtaining unit specifically includes:
the searching module is suitable for searching the historical information record of the user;
and the acquisition module is suitable for acquiring the historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
9. The apparatus of claim 8, the first acquisition unit, further comprising:
the receiving module is suitable for receiving the user identification input by the user before the searching module searches the historical information record of the user;
correspondingly, the searching module is specifically adapted to search a mapping relationship according to the received user identifier to obtain a history information record corresponding to the user identifier, and use the history information record corresponding to the user identifier as the history information record of the user, where the mapping relationship includes a corresponding relationship between the user identifier and the history information record.
10. The apparatus according to claim 7, wherein the insertion unit specifically comprises:
the sending module is suitable for sending the time stamps of the historical information to a historical information server so that the historical information server can determine whether the historical information to be displayed has missing information according to the time stamps of the historical information, and if the missing information exists in the historical information to be displayed, the position of the missing information in the historical information to be displayed is fed back;
and the inserting module is suitable for receiving the position of the missing information fed back by the historical information server and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
11. The apparatus according to claim 7, wherein the insertion unit specifically comprises:
the receiving module is suitable for receiving an information time record sent by the historical information server, wherein the information time record is a timestamp of historical information in a preset time period;
the determining module is suitable for comparing the time stamp of each piece of historical information with the information time record and determining whether missing information exists in the historical information to be displayed according to a comparison result;
the insertion module is suitable for determining the position of the missing information in the historical information to be displayed when the determining module determines that the missing information exists in the historical information to be displayed, and inserting an information missing identifier into the historical information to be displayed according to the position of the missing information.
12. The device according to any one of claims 7-11, wherein the historical information display instruction carries the amount of information to be displayed;
correspondingly, the second obtaining unit is specifically adapted to obtain the historical information corresponding to the information missing identifier according to the number of the information to be displayed.
CN201510977622.4A 2015-12-23 2015-12-23 Historical information display method and device Expired - Fee Related CN106911554B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510977622.4A CN106911554B (en) 2015-12-23 2015-12-23 Historical information display method and device
PCT/CN2016/104570 WO2017107679A1 (en) 2015-12-23 2016-11-04 Historical information display method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510977622.4A CN106911554B (en) 2015-12-23 2015-12-23 Historical information display method and device

Publications (2)

Publication Number Publication Date
CN106911554A CN106911554A (en) 2017-06-30
CN106911554B true CN106911554B (en) 2020-07-10

Family

ID=59088937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510977622.4A Expired - Fee Related CN106911554B (en) 2015-12-23 2015-12-23 Historical information display method and device

Country Status (2)

Country Link
CN (1) CN106911554B (en)
WO (1) WO2017107679A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020382B (en) * 2018-03-29 2023-08-22 中国平安财产保险股份有限公司 Intelligent information input method, user equipment, storage medium and device
CN110691024B (en) * 2018-07-05 2023-01-31 连株式会社 Method for collecting dialogue related data, computer readable storage medium, computer device and server system
CN111382223B (en) * 2018-12-29 2024-04-02 西安四维图新信息技术有限公司 Electronic map display method, terminal and electronic equipment
CN111190671B (en) * 2019-12-20 2023-07-28 上海淇玥信息技术有限公司 Window display control method and device and electronic equipment
CN113489634A (en) * 2021-06-16 2021-10-08 中企链信(北京)科技有限公司 Inter-enterprise collaborative instant messaging extension method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968217A (en) * 2006-04-21 2007-05-23 华为技术有限公司 Instant message service processing method and service system
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN101901240A (en) * 2008-11-25 2010-12-01 索尼株式会社 History display apparatus, history display system, history display method, and program
CN102497332A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Implementation method, client end and system of instant messaging tool capable of outputting historical information
CN103747017A (en) * 2014-01-28 2014-04-23 北京智谷睿拓技术服务有限公司 Service information interaction method and equipment
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN104753933A (en) * 2015-03-19 2015-07-01 腾讯科技(深圳)有限公司 Data processing method and device, client side and server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8028024B2 (en) * 2006-02-24 2011-09-27 Qualcomm Incorporated System and method of instant messaging between wireless devices
US8290797B2 (en) * 2006-07-03 2012-10-16 Evalscore, Llc Interactive credential system and method
CN102185875A (en) * 2011-01-30 2011-09-14 北京开心人信息技术有限公司 Synchronous information updating method and system
CN102946401B (en) * 2011-08-15 2016-08-17 联想(北京)有限公司 A kind of data creation method, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968217A (en) * 2006-04-21 2007-05-23 华为技术有限公司 Instant message service processing method and service system
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN101901240A (en) * 2008-11-25 2010-12-01 索尼株式会社 History display apparatus, history display system, history display method, and program
CN102497332A (en) * 2011-12-18 2012-06-13 上海量明科技发展有限公司 Implementation method, client end and system of instant messaging tool capable of outputting historical information
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN103747017A (en) * 2014-01-28 2014-04-23 北京智谷睿拓技术服务有限公司 Service information interaction method and equipment
CN104753933A (en) * 2015-03-19 2015-07-01 腾讯科技(深圳)有限公司 Data processing method and device, client side and server

Also Published As

Publication number Publication date
WO2017107679A1 (en) 2017-06-29
CN106911554A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106911554B (en) Historical information display method and device
EP3089055B1 (en) Method and device for displaying information flows in social network, and server
CN108804299B (en) Application program exception handling method and device
JP6500086B2 (en) Two-dimensional code analysis method and apparatus, computer-readable storage medium, computer program, and terminal device
WO2015103938A1 (en) Method for loading website commenting information, and browser client
EP3176719B1 (en) Methods and devices for acquiring certification document
WO2015010566A1 (en) Method for accurately searching for comprehensive information
CN111639284A (en) Webpage labeling method and device, electronic equipment and medium
US20150244661A1 (en) Method and apparatus for displaying rich text message on network platform, and computer storage medium
US20150089415A1 (en) Method of processing big data, apparatus performing the same and storage media storing the same
CN106569860A (en) Application management method and terminal
CN105094603B (en) Method and device for associated input
US20150254715A1 (en) Method, System, and Client for Publishing Advertisement on Network Service Platform
CN106611065B (en) Searching method and device
CN111787154A (en) Information processing method and electronic equipment
CN104090899A (en) Method and device for feeding back display content information
US20170147677A1 (en) Method, electronic device and system for ordering browsing histories
WO2016188334A1 (en) Method and device for processing application access data
CN111651749A (en) Method and device for finding account based on password, computer equipment and storage medium
CN106789973B (en) Page security detection method and terminal equipment
CN109213782B (en) Search interface configuration and display method and device and communication equipment
CN108073613A (en) Method for sending information and device
CN105512208B (en) Information publishing method, device and system
CN105550183A (en) Identifying method of identifying information in webpage and electronic device
CN110275785B (en) Data processing method and device, client and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200710

Termination date: 20211223