WO2017107679A1 - Historical information display method and apparatus - Google Patents

Historical information display method and apparatus Download PDF

Info

Publication number
WO2017107679A1
WO2017107679A1 PCT/CN2016/104570 CN2016104570W WO2017107679A1 WO 2017107679 A1 WO2017107679 A1 WO 2017107679A1 CN 2016104570 W CN2016104570 W CN 2016104570W WO 2017107679 A1 WO2017107679 A1 WO 2017107679A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
displayed
historical information
missing
historical
Prior art date
Application number
PCT/CN2016/104570
Other languages
French (fr)
Chinese (zh)
Inventor
李崇欣
朱作义
韦自升
杨帆
Original Assignee
北京奇虎科技有限公司
奇智软件(北京)有限公司
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 北京奇虎科技有限公司, 奇智软件(北京)有限公司 filed Critical 北京奇虎科技有限公司
Publication of WO2017107679A1 publication Critical patent/WO2017107679A1/en

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

Definitions

  • the present invention relates to the field of computer network technologies, and in particular, to a method and device for displaying historical information.
  • the present invention has been made in order to provide a historical information display method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems, so that a user can browse a complete history message on the same terminal device while saving The waste of traffic caused by the download of all historical information improves the user experience.
  • a method for displaying a history information comprising: acquiring a history information to be displayed corresponding to the historical information display instruction in response to a history information display instruction triggered by a user; Demonstrating whether there is a missing information identifier in the historical information; if there is an information missing identifier in the historical information to be displayed, determining whether to obtain historical information corresponding to the missing information identifier; if yes, obtaining the corresponding information according to the missing information identifier
  • the historical information is added to the corresponding position in the historical information to be displayed, and the added historical information to be displayed is displayed.
  • a history information display apparatus comprising: a first acquisition unit adapted to display historical information triggered by a user Determining, by the instruction, the history information to be displayed corresponding to the historical information display instruction; the determining unit is configured to determine whether the information missing identifier exists in the history information to be displayed acquired by the first acquiring unit, and the determining unit is adapted to be in the The determining result of the determining unit is that, when the information missing identifier exists in the history information to be displayed, determining whether to acquire the history information corresponding to the information missing identifier; the second obtaining unit is configured to determine, in the determining unit, that the obtaining the information is missing When the corresponding historical information is identified, the corresponding historical information is obtained according to the missing information identifier; the display unit is adapted to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed. The added history information to be displayed is displayed.
  • a computer program comprising computer readable code that, when executed on a computing device, causes the computing device to perform the method as described above.
  • a computer readable medium wherein a computer program as described above is stored.
  • the method and device for displaying historical information determine whether there is an information missing identifier in the history information to be displayed corresponding to the historical information display instruction triggered by the user, and when there is a missing information identifier in the history information to be displayed, Obtaining the corresponding historical information, and adding the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added historical information to be displayed, so that the user can browse the complete historical message on the same terminal device. At the same time, it saves the waste of traffic caused by the download of all historical information and improves the user experience.
  • FIG. 1 is a schematic flow chart showing a historical information display method according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the subdivision flow of step S11 in the historical information display method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing the subdivided flow of step S11 in the historical information display method according to another embodiment of the present invention.
  • FIG. 4 is a schematic flow chart showing a historical information display method according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a historical information display apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram showing a specific structure of a first acquiring unit in a history information display device according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing a specific structure of a first acquiring unit in a history information display device according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a history information display apparatus according to another embodiment of the present invention.
  • Figure 9 shows a block diagram of a computing device for performing a method in accordance with the present invention.
  • Figure 10 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
  • the execution body of the method of the present embodiment is a terminal device
  • the terminal device is a device such as a mobile phone, a tablet computer, a PDA or a notebook computer, and of course, other devices having similar functions may be used. This is not limited.
  • FIG. 1 is a schematic flow chart showing a historical information display method according to an embodiment of the present invention
  • the historical information display method of the embodiment of the present invention specifically includes the following steps;
  • the historical information display instruction triggered by the user can be understood as a display instruction generated by the triggering information display area.
  • the historical information to be displayed corresponding to the historical information display instruction is a trigger information display area. Historical information that needs to be displayed when displaying instructions.
  • the triggering information display area to generate the display instruction may be implemented in various manners, for example, by clicking a mouse button to display an entry element displayed in the information display area. Or, the entry element is clicked on the touch screen on which the information display area is displayed, which is not limited in this embodiment.
  • the manner in which the trigger information display area mentioned above is used to generate the display instruction is merely an example, and other situations may be included in addition to the above cases, for example, the sliding element or the gesture triggering the entry element in the information display area. Wait.
  • the invention does not need to define the manner in which the trigger information display area is specifically implemented according to the mode to generate the display instruction, and those skilled in the art need to set according to the actual application.
  • step S12 Determine whether there is an information missing identifier in the history information to be displayed. If there is an information missing identifier in the history information to be displayed, step S13 is performed; otherwise, the current operation is ended.
  • the information missing identifier is an identifier symbol used to indicate that the presence information is missing.
  • the information missing identifier may be implemented by a placeholder, and the present invention does not need to define the labeling of the missing information according to the specific manner, and those skilled in the art need to set according to the actual application.
  • the historical information to be displayed corresponding to the historical information display instruction is acquired, and whether the acquired historical information to be displayed exists, such as a placeholder, is used for marking information. Missing glyphs to determine whether there is an information missing identifier in the history information to be displayed.
  • step S13 Determine whether to acquire the history information corresponding to the information missing identifier. If it is determined to obtain the historical information corresponding to the information missing identifier, step S14 is performed; otherwise, the current operation is ended.
  • the historical information corresponding to the missing information identifier may be obtained according to a further operation of the user, for example, if the user does not perform other operations after triggering the historical information display instruction, determining to obtain the information.
  • the historical information corresponding to the missing identifier is deleted. If the user closes the current window after the historical information display instruction is triggered, or the new information is viewed, the information is missing. Identify the corresponding historical information.
  • the corresponding prompt component may be provided in the interface of the information display area to prompt the user to determine whether to obtain historical information corresponding to the missing information identifier, and receive feedback information of the user through the prompt component.
  • the acquired historical information is added to the location corresponding to the missing information identifier in the history information to be displayed, and a complete history message to be displayed is obtained, thereby implementing the display of the entire history message to be displayed.
  • the historical information display method provided by the embodiment of the present invention adds the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added history information to be displayed, and solving the user message in the prior art. It will remain on different terminal devices, leaving a lot of holes in the message, making it impossible for users to browse through the complete history message on the same terminal device. The user can browse the complete history message on the same terminal device, saves the waste of all the historical information downloading, and improves the user experience.
  • step S11 as shown in FIG. 2, specifically includes the following steps:
  • the history information record corresponding to the current login user needs to be searched.
  • the user ID carried in the information is used to view the historical information record stored locally to implement the search of the current user's historical information record.
  • the historical information display instruction carries information for indicating historical information to be displayed.
  • the embodiment of the present invention searches for the historical information record corresponding to the current user, and then obtains the history information to be displayed corresponding to the historical information display instruction from the searched historical information record.
  • the historical information to be displayed corresponding to the historical information display instruction is obtained from the searched historical information record, instead of all the historical information records corresponding to the user, thereby saving data acquisition time and effectively improving the data acquisition time.
  • the speed at which the historical information to be displayed is obtained enables the user to browse the complete history message on the same terminal device, thereby improving the information display speed and improving the user experience.
  • step S11 as shown in FIG. 3, specifically includes the following steps:
  • the user identifier input by the user may be received during a user login process.
  • S111 searching for a mapping relationship according to the received user identifier, to obtain a history information record corresponding to the user identifier, and recording the history information corresponding to the user identifier as a historical information record of the user, where the mapping relationship includes the user identifier. Correspondence with historical information records.
  • mapping relationship can be implemented by a relational table or a relational database.
  • the correspondence between the user identifier and the history information record is implemented in a relationship table, where the user identifier may be in the information of the user's identity (id, id), user account, user name, and the like. One or more.
  • step S112' is the same as step S112 of the embodiment shown in FIG. 2, and details are not described herein again.
  • the method for displaying the historical information provided by the embodiment of the present invention, after receiving the user identifier input by the user, searches for the mapping relationship by using the received user identifier, and obtains the historical information record corresponding to the user identifier, and the historical information corresponding to the user identifier is obtained.
  • the history information record is recorded as a user, and the mapping relationship includes a correspondence between the user identifier and the history information record.
  • the preset mapping relationship is established in advance according to the user identifier and the historical information record corresponding to the user identifier. By searching for a preset relationship, the present invention can conveniently and quickly find a user history information record, and improve the speed of displaying historical information, thereby better satisfying the user's needs and experiences.
  • the history information to be displayed includes a time stamp of each history information.
  • the historical information display method of the embodiment of the present invention specifically includes the following steps;
  • this step it is determined whether there is missing information in the historical information to be displayed according to the timestamp of each historical information in the history information to be displayed, and if there is missing information in the historical information to be displayed, further determining the to-be-displayed The location of the information is missing from the history information to insert an information missing identifier at a location where the missing information exists in the history information to be displayed.
  • step S42 Determine whether there is an information missing identifier in the history information to be displayed. If there is an information missing identifier in the history information to be displayed, step S43 is performed. Otherwise,
  • step S43 Determine whether to acquire historical information corresponding to the missing identifier of the information, if If the history information corresponding to the information missing identifier is obtained, step S44 is performed; otherwise, the current operation is ended.
  • steps S40 and S42 to S45 are the same as steps S11 to S15 of the embodiment shown in FIG. 1 and will not be described again.
  • the information missing identifier can be accurately inserted into the to-be-displayed historical information by using the timestamp of the historical information, so as to ensure that the user can browse the complete historical message on the same terminal device, and improve the The speed of information display to enhance the user experience.
  • step S41 specifically includes the steps not shown in the following figures:
  • the timestamp of the historical information is sent to the historical information server, so that the historical information server determines whether there is missing information in the historical information to be displayed according to the timestamp of each historical information, if the If there is missing information in the display history information, the location of the missing information in the historical information to be displayed is fed back;
  • the step of inserting the information missing identifier in the history information to be displayed according to the timestamp of each historical information may be sent to the historical information server by using the timestamp of the historical information in the information to be displayed by the terminal device.
  • the historical information server compares the timestamps of the historical information with all the historical information stored in the locality to determine whether there is missing information in the historical information to be displayed, and returns the history to be displayed when there is missing information in the historical information to be displayed.
  • the location of the missing information in the information is received, and the location of the missing information fed back by the historical information server is received, and the missing information identifier is inserted into the historical information to be displayed according to the location of the missing information.
  • the information missing identifier insertion can be accurately realized by the location of the missing information fed back according to the history information server. Moreover, by setting the timestamp, the waste of the process of determining whether there is missing information in the history information to be displayed is further saved by transmitting the history information.
  • step S41 specifically includes the steps not shown in the following figures:
  • the step of inserting the information missing identifier in the history information to be displayed according to the timestamp of each historical information is recorded by the terminal device to record the information sent by the historical information server, and the time stamp of each historical information. Perform comparisons.
  • the location of the missing information in the historical information to be displayed is further determined, and the information missing identifier is inserted into the historical information to be displayed according to the location of the missing information.
  • the historical information display instruction carries the quantity of information to be displayed.
  • the setting of the amount of information to be displayed can be implemented by user setting, or according to The information display area is set by default by the system, and is not specifically limited in this embodiment of the present invention.
  • the acquiring the corresponding historical information according to the information missing identifier includes: acquiring the historical information corresponding to the missing information identifier according to the quantity of the information to be displayed.
  • the number of information to be displayed is carried in the historical information display instruction, and the historical information corresponding to the missing information identifier is obtained according to the quantity of the information to be displayed, so as to implement the history corresponding to the information missing identifier according to the user's display requirement.
  • the information is obtained to avoid a large amount of historical information at one time, and the user does not waste the resources caused by the entire history information, so that the user can browse the complete history message on the same terminal device, and further save the information. Download the resulting traffic consumption and enhance the user experience.
  • FIG. 5 is a schematic block diagram showing the structure of a history information display device according to an embodiment of the present invention.
  • the historical information display apparatus of 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 configured to acquire history information to be displayed corresponding to the historical information display instruction in response to a historical information display instruction triggered by the user;
  • the determining unit 502 is configured to determine whether an information missing identifier exists in the history information to be displayed acquired by the first acquiring unit;
  • the determining unit 503 is configured to determine, when the determination result of the determining unit is that the information missing identifier exists in the history information to be displayed, whether to acquire historical information corresponding to the information missing identifier;
  • the second obtaining unit 504 is configured to acquire the corresponding historical information according to the information missing identifier when the determining unit determines to acquire the historical information corresponding to the information missing identifier;
  • the display unit 505 is configured to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed, and display the added historical information to be displayed.
  • the historical information display device provided by the embodiment of the present invention adds the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added history information to be displayed, and solving the user message in the prior art. It will remain on different terminal devices, leaving a lot of holes in the message, making it impossible for users to browse through the complete history message on the same terminal device. The user can browse the complete history message on the same terminal device, saves the waste of all the historical information downloading, and improves the user experience.
  • the first acquiring unit specifically includes a searching module 5011 and an obtaining module 5012:
  • the searching module 5011 is configured to search for a history information record of the user
  • the obtaining module 5012 is configured to obtain historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
  • the first acquiring 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 for the historical information record of the user;
  • the searching module 5011' is specifically configured to search for a mapping relationship according to the received user identifier, to obtain a history information record corresponding to the user identifier, and to identify the user identifier.
  • the corresponding history information record is recorded as a history information of the user, and the mapping relationship includes a correspondence between the user identifier and the history information record.
  • the obtaining module 5012' is adapted to obtain the to-be-displayed history information corresponding to the historical information display instruction from the searched historical information record.
  • the history information to be displayed includes a time stamp of each history information
  • the historical information display apparatus of the embodiment of the present invention specifically includes a first obtaining unit 801, an inserting unit 802, a determining unit 803, a determining unit 804, a second obtaining unit 805, and a displaying unit 806, where:
  • the first obtaining unit 801 is configured to acquire history information to be displayed corresponding to the historical information display instruction in response to a historical information display instruction triggered by the user;
  • the inserting unit 802 is configured to insert an information missing identifier in the to-be-displayed history information according to the timestamp of each historical information before the determining unit determines whether the information missing identifier is present in the history information to be displayed. .
  • the determining unit 803 is configured to determine whether an information missing identifier exists in the history information to be displayed acquired by the first acquiring unit.
  • the determining unit 804 is configured to determine, when the judgment result of the determining unit is that the information missing identifier exists in the history information to be displayed, whether to acquire historical information corresponding to the information missing identifier;
  • the second obtaining unit 805 is configured to acquire the corresponding historical information according to the information missing identifier when the determining unit determines to acquire the historical information corresponding to the information missing identifier;
  • the display unit 806 is adapted to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed, and display the added historical information to be displayed.
  • the inserting unit specifically includes a sending module and an inserting module:
  • the sending module is configured to send the timestamp of the historical information to the historical information server, so that the historical information server determines, according to the timestamp of each historical information, whether there is a missing in the historical information to be displayed. Information, if there is missing information in the history information to be displayed, feedback the location of the missing information in the historical information to be displayed;
  • the insertion module is adapted to receive a location of the missing information fed back by the historical information server, and insert an information missing identifier in the to-be-displayed history information according to the location of the missing information.
  • the inserting unit specifically includes a receiving module, a determining module, and an inserting module:
  • the receiving module is configured to receive a time record of the information sent by the historical information server, where the information time is recorded as a time stamp of the historical information in the preset time period;
  • the determining module is configured to compare the timestamps of the historical information with the information time record, and determine whether the missing information exists in the historical information to be displayed according to the comparison result;
  • the inserting module is configured to determine, when the determining module determines that there is missing information in the history information to be displayed, a location of the missing information in the history information to be displayed, and according to the location of the missing information, The missing information identifier is inserted in the history information to be displayed.
  • the historical information display instruction carries the quantity of information to be displayed
  • the second obtaining unit is configured to acquire historical information corresponding to the information missing identifier according to the quantity of information to be displayed.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • the historical information display method and apparatus determine whether the historical information to be displayed corresponding to the historical information display instruction triggered by the user is If there is a missing information identifier, if there is a missing information identifier in the historical information to be displayed, the corresponding historical information is obtained according to the missing information identifier, and the acquired historical information is added to the corresponding position in the historical information to be displayed, thereby implementing the added information.
  • the display of the historical information to be displayed enables the user to browse the complete historical message on the same terminal device, and saves the waste of all the historical information downloading and improves the user experience.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components in the embodiment can be combined into one module or single Meta or components, and in addition they can be divided into sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the website security detection device in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals.
  • Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the apparatus in accordance with embodiments of the present invention.
  • the invention may also be embodied as a device or device program (eg, a computer program and a computer program) for performing some or all of the methods described herein. product).
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 9 illustrates a block diagram of a computing device that can implement a historical information presentation method in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above.
  • storage space 730 storing program code may store respective program code 731 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG.
  • the storage unit may have a storage segment or storage space or the like arranged similarly to the storage 720 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit stores program code 731' for performing the steps of the method according to the present invention, i.e., program code that can be read by a processor, such as 710, when the program is run by the computing device, causing the program
  • the computing device performs the various steps in the methods described above.

Abstract

The present invention relates to a historical information display method and apparatus, the method comprising: acquiring historical information to be displayed corresponding to a historical information display instruction in response to the historical information display instruction triggered by a user; determining whether there is an information loss identification in the historical information to be displayed; if there is an information loss identification in the historical information to be displayed, determining whether to acquire the historical information corresponding to the information loss identification, if so, acquiring the historical information corresponding to the information loss identification; 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. The technical solution of the present invention enables a user to review the complete historical information at the same terminal equipment and at the same time to save traffic that may occur due to downloading of all the historical information, thereby enhancing the user experience.

Description

一种历史信息展示方法及装置Historical information display method and device 技术领域Technical field
本发明涉及计算机网络技术领域,具体而言,涉及一种历史信息展示方法及装置。The present invention relates to the field of computer network technologies, and in particular, to a method and device for displaying historical information.
背景技术Background technique
随着智能终端技术的发展,智能终端设备得到广泛应用。目前,很多用户通过多个终端设备进行同一APP的登录。但是,当用户在不同的终端设备上登录APP时,用户消息会保留在不同的终端设备上,从而留下很多消息的空洞,使得用户无法在同一终端设备上浏览到完整的历史消息,影响用户体验。With the development of smart terminal technology, smart terminal devices are widely used. Currently, many users log in to the same APP through multiple terminal devices. However, when a user logs in to an APP on a different terminal device, the user message remains on the different terminal device, leaving a lot of message holes, so that the user cannot browse the complete history message on the same terminal device, affecting the user. Experience.
发明内容Summary of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的历史信息展示方法及装置,使得用户能够在同一终端设备上浏览到完整的历史消息的同时,节省全部历史信息下载带来的流量浪费,提升用户体验。In view of the above problems, the present invention has been made in order to provide a historical information display method and apparatus that overcomes the above problems or at least partially solves or alleviates the above problems, so that a user can browse a complete history message on the same terminal device while saving The waste of traffic caused by the download of all historical information improves the user experience.
根据本发明的一个方面,提供了一种历史信息展示方法,所述方法包括:响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息;判断所述待展示历史信息中是否存在信息缺失标识;若所述待展示历史信息中存在信息缺失标识,则确定是否获取所述信息缺失标识对应的历史信息;若是,则依据所述信息缺失标识获取所述对应的历史信息;将获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。According to an aspect of the present invention, a method for displaying a history information is provided, the method comprising: acquiring a history information to be displayed corresponding to the historical information display instruction in response to a history information display instruction triggered by a user; Demonstrating whether there is a missing information identifier in the historical information; if there is an information missing identifier in the historical information to be displayed, determining whether to obtain historical information corresponding to the missing information identifier; if yes, obtaining the corresponding information according to the missing information identifier The historical information is added to the corresponding position in the historical information to be displayed, and the added historical information to be displayed is displayed.
根据本发明的另一个方面,提供了一种历史信息展示装置,所述装置包括:第一获取单元,适于响应于用户触发的历史信息展示 指令,获取与所述历史信息展示指令对应的待展示历史信息;判断单元,适于判断所述第一获取单元获取的待展示历史信息中是否存在信息缺失标识;确定单元,适于在所述判断单元的判断结果为所述待展示历史信息中存在信息缺失标识时,确定是否获取所述信息缺失标识对应的历史信息;第二获取单元,适于在所述确定单元确定获取所述信息缺失标识对应的历史信息时,依据所述信息缺失标识获取所述对应的历史信息;展示单元,适于将所述第二获取单元获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。According to another aspect of the present invention, a history information display apparatus is provided, the apparatus comprising: a first acquisition unit adapted to display historical information triggered by a user Determining, by the instruction, the history information to be displayed corresponding to the historical information display instruction; the determining unit is configured to determine whether the information missing identifier exists in the history information to be displayed acquired by the first acquiring unit, and the determining unit is adapted to be in the The determining result of the determining unit is that, when the information missing identifier exists in the history information to be displayed, determining whether to acquire the history information corresponding to the information missing identifier; the second obtaining unit is configured to determine, in the determining unit, that the obtaining the information is missing When the corresponding historical information is identified, the corresponding historical information is obtained according to the missing information identifier; the display unit is adapted to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed. The added history information to be displayed is displayed.
根据本发明的另一个方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如上文所述的方法。According to another aspect of the present invention, a computer program is provided comprising computer readable code that, when executed on a computing device, causes the computing device to perform the method as described above.
根据本发明的另一个方面,提供了一种计算机可读介质,其中存储了如上文所述的计算机程序。According to another aspect of the present invention, a computer readable medium is provided, wherein a computer program as described above is stored.
本发明提供的历史信息展示方法及装置,通过判断与用户触发的历史信息展示指令对应的待展示历史信息中是否存在信息缺失标识,在待展示历史信息中存在信息缺失标识时,依据信息缺失标识获取对应的历史信息,并将获取的历史信息添加至待展示历史信息中对应的位置,进而实现对添加后的待展示历史信息的展示,使得用户能够在同一终端设备上浏览到完整的历史消息的同时,节省全部历史信息下载带来的流量浪费,提升用户体验。The method and device for displaying historical information provided by the present invention determine whether there is an information missing identifier in the history information to be displayed corresponding to the historical information display instruction triggered by the user, and when there is a missing information identifier in the history information to be displayed, Obtaining the corresponding historical information, and adding the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added historical information to be displayed, so that the user can browse the complete historical message on the same terminal device. At the same time, it saves the waste of traffic caused by the download of all historical information and improves the user experience.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处 对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits are obtained by reading the detailed description of the preferred embodiments below. It will become apparent to those skilled in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示意性示出了本发明一个实施例的历史信息展示方法的流程示意图;FIG. 1 is a schematic flow chart showing a historical information display method according to an embodiment of the present invention; FIG.
图2示意性示出了本发明一个实施例的历史信息展示方法中步骤S11的细分流程示意图;FIG. 2 is a schematic diagram showing the subdivision flow of step S11 in the historical information display method according to an embodiment of the present invention; FIG.
图3示意性示出了本发明另一实施例的历史信息展示方法中步骤S11的细分流程示意图;FIG. 3 is a schematic diagram showing the subdivided flow of step S11 in the historical information display method according to another embodiment of the present invention; FIG.
图4示意性示出了本发明另一实施例的历史信息展示方法的流程示意图;FIG. 4 is a schematic flow chart showing a historical information display method according to another embodiment of the present invention; FIG.
图5示意性示出了本发明一个实施例的历史信息展示装置的结构示意图;FIG. 5 is a schematic structural diagram of a historical information display apparatus according to an embodiment of the present invention; FIG.
图6示意性示出了本发明一个实施例的历史信息展示装置中第一获取单元的具体结构示意图;FIG. 6 is a schematic diagram showing a specific structure of a first acquiring unit in a history information display device according to an embodiment of the present invention; FIG.
图7示意性示出了本发明另一实施例的历史信息展示装置中第一获取单元的具体结构示意图;FIG. 7 is a schematic diagram showing a specific structure of a first acquiring unit in a history information display device according to another embodiment of the present invention; FIG.
图8示意性示出了本发明另一实施例的历史信息展示装置的结构示意图;FIG. 8 is a schematic structural diagram of a history information display apparatus according to another embodiment of the present invention; FIG.
图9示出了用于执行根据本发明的方法的计算设备的框图;以及Figure 9 shows a block diagram of a computing device for performing a method in accordance with the present invention;
图10示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。Figure 10 shows a schematic diagram of a memory unit for holding or carrying program code implementing a method in accordance with the present invention.
具体实施方式detailed description
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。 The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。The singular forms "a", "an", "the" It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that 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 the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or overly formal unless specifically defined. To explain.
以下将结合附图对本发明实施例的历史信息展示方法和历史信息展示装置进行详细说明。The historical information display method and the historical information display device of the embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
需要说明的是,本实施方式的方法的执行主体为终端设备,所述终端设备为手机、平板电脑、掌上电脑PDA或笔记本等设备,当然,还可为其他具有相似功能的设备,本发明对此不加以限制。It should be noted that the 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 or a notebook computer, and of course, other devices having similar functions may be used. This is not limited.
图1示意性示出了本发明一个实施例的历史信息展示方法的流程示意图;FIG. 1 is a schematic flow chart showing a historical information display method according to an embodiment of the present invention; FIG.
参照图1,本发明实施例的历史信息展示方法具体包括以下步骤;Referring to FIG. 1, the historical information display method of the embodiment of the present invention specifically includes the following steps;
S11、响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息。S11. Acquire a history information display instruction triggered by the user, and obtain history information to be displayed corresponding to the historical information display instruction.
可理解的是,所述用户触发的历史信息展示指令可理解为触发信息展示区域生成的展示指令,相应地,所述与所述历史信息展示指令对应的待展示历史信息为触发信息展示区域的展示指令时需要展示出的历史信息。It can be understood that the historical information display instruction triggered by the user can be understood as a display instruction generated by the triggering information display area. Correspondingly, the historical information to be displayed corresponding to the historical information display instruction is a trigger information display area. Historical information that needs to be displayed when displaying instructions.
在具体实现中,所述触发信息展示区域以生成展示指令可通过多种方式实现,例如:通过鼠标点击展示于信息展示区域中的入口元素, 或,在展示有所述信息展示区域的触摸屏上点击所述入口元素,本实施方式对此不加以限制。In a specific implementation, the triggering information display area to generate the display instruction may be implemented in various manners, for example, by clicking a mouse button to display an entry element displayed in the information display area. Or, the entry element is clicked on the touch screen on which the information display area is displayed, which is not limited in this embodiment.
需要说明的是,上面提到的触发信息展示区域以生成展示指令的方式仅是举例,除了上述情况之外还可以包括其他的情况,如,通过在信息展示区域进行滑动操作或手势触发入口元素等。本发明不需要对具体根据怎样的模式实现触发信息展示区域以生成展示指令的方式进行限定,本领域技术人员需要根据实际应用进行设置。It should be noted that the manner in which the trigger information display area mentioned above is used to generate the display instruction is merely an example, and other situations may be included in addition to the above cases, for example, the sliding element or the gesture triggering the entry element in the information display area. Wait. The invention does not need to define the manner in which the trigger information display area is specifically implemented according to the mode to generate the display instruction, and those skilled in the art need to set according to the actual application.
S12、判断所述待展示历史信息中是否存在信息缺失标识,若所述待展示历史信息中存在信息缺失标识,则执行步骤S13,否则,结束本次操作。S12. Determine whether there is an information missing identifier in the history information to be displayed. If there is an information missing identifier in the history information to be displayed, step S13 is performed; otherwise, the current operation is ended.
需要说明的是,所述信息缺失标识为用于标示存在信息缺失的标识符号。在一个具体实施例中,所述信息缺失标识可通过占位符实现,本发明不需要对具体根据怎样的方式实现缺失信息的标示进行限定,本领域技术人员需要根据实际应用进行设置。It should be noted that the information missing identifier is an identifier symbol used to indicate that the presence information is missing. In a specific embodiment, the information missing identifier may be implemented by a placeholder, and the present invention does not need to define the labeling of the missing information according to the specific manner, and those skilled in the art need to set according to the actual application.
在具体实现中,当接收到用户触发的历史信息展示指令时,获取与历史信息展示指令对应的待展示历史信息,并查看获取的待展示历史信息中是否存在如占位符等用于标示信息缺失的标志符号,以确定待展示历史信息中是否存在信息缺失标识。In a specific implementation, when the user-triggered historical information display instruction is received, the historical information to be displayed corresponding to the historical information display instruction is acquired, and whether the acquired historical information to be displayed exists, such as a placeholder, is used for marking information. Missing glyphs to determine whether there is an information missing identifier in the history information to be displayed.
S13、确定是否获取所述信息缺失标识对应的历史信息,若确定获取所述信息缺失标识对应的历史信息,则执行步骤S14,否则,结束本次操作。S13. Determine whether to acquire the history information corresponding to the information missing identifier. If it is determined to obtain the historical information corresponding to the information missing identifier, step S14 is performed; otherwise, the current operation is ended.
S14、依据所述信息缺失标识获取所述对应的历史信息。S14. Acquire the corresponding historical information according to the information missing identifier.
在一个具体示例中,可通过根据用户的进一步操作,确定是否获取所述信息缺失标识对应的历史信息,如,若用户触发了历史信息展示指令后,没有进行其他操作,则确定获取所述信息缺失标识对应的历史信息,若用户触发了历史信息展示指令后,关闭了当前窗口,或已经进行新信息的查看操作,则确定不获取所述信息缺失 标识对应的历史信息。In a specific example, the historical information corresponding to the missing information identifier may be obtained according to a further operation of the user, for example, if the user does not perform other operations after triggering the historical information display instruction, determining to obtain the information. The historical information corresponding to the missing identifier is deleted. If the user closes the current window after the historical information display instruction is triggered, or the new information is viewed, the information is missing. Identify the corresponding historical information.
在另一具体示例中,还可通过在信息展示区域的界面提供对应的提示组件,以提示用户确定是否获取所述信息缺失标识对应的历史信息,并通过该提示组件接收用户的反馈信息。In another specific example, the corresponding prompt component may be provided in the interface of the information display area to prompt the user to determine whether to obtain historical information corresponding to the missing information identifier, and receive feedback information of the user through the prompt component.
可理解的是,上述两种实现确定是否获取所述信息缺失标识对应的历史信息的方式仅是举例,除了上述情况之外还可以包括其他的情况,本发明不需要对此进行具体限定,本领域技术人员需要根据实际应用进行设置。It can be understood that the foregoing two implementations determine whether to obtain the history information corresponding to the information missing identifier, which is only an example, and may include other situations in addition to the foregoing, and the present invention does not need to specifically limit the present invention. The technicians in the field need to set according to the actual application.
S15、将获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。S15. Add the acquired historical information to the corresponding location in the historical information to be displayed, and display the added historical information to be displayed.
在具体实现中,将获取的历史信息添加至待展示历史信息中存在的信息缺失标识对应的位置,得到完整的待展示历史消息,进而实现对整的待展示历史消息的展示。In a specific implementation, the acquired historical information is added to the location corresponding to the missing information identifier in the history information to be displayed, and a complete history message to be displayed is obtained, thereby implementing the display of the entire history message to be displayed.
本发明实施例提供的历史信息展示方法,通过将获取的历史信息添加至待展示历史信息中对应的位置,进而实现对添加后的待展示历史信息的展示,解决了现有技术中由于用户消息会保留在不同的终端设备上,从而留下很多消息的空洞,使得用户无法在同一终端设备上浏览到完整的历史消息的问题。使得用户能够在同一终端设备上浏览到完整的历史消息的同时,节省全部历史信息下载带来的流量浪费,提升用户体验。The historical information display method provided by the embodiment of the present invention adds the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added history information to be displayed, and solving the user message in the prior art. It will remain on different terminal devices, leaving a lot of holes in the message, making it impossible for users to browse through the complete history message on the same terminal device. The user can browse the complete history message on the same terminal device, saves the waste of all the historical information downloading, and improves the user experience.
根据本发明的一个优选实施例,步骤S11,如图2所示,具体包括以下步骤:According to a preferred embodiment of the present invention, step S11, as shown in FIG. 2, specifically includes the following steps:
S111、查找用户的历史信息记录。S111. Search for a history information record of the user.
在具体实现过程中,由于每一终端设备上可能存在多个使用用户,因此,在进行历史信息展示过程中,需要查找当前登录用户对应的历史信息记录。In the specific implementation process, a plurality of user users may exist on each terminal device. Therefore, during the history information display process, the history information record corresponding to the current login user needs to be searched.
在一个具体示例中,通过获取用户的登录信息,根据所述登录 信息中携带的用户标识查看本地存储的历史信息记录,以实现当前用户的历史信息记录的查找。In a specific example, by obtaining the login information of the user, according to the login The user ID carried in the information is used to view the historical information record stored locally to implement the search of the current user's historical information record.
S112、从查找的历史信息记录中获取与所述历史信息展示指令对应的待展示历史信息。S112. Obtain, from the searched historical information record, history information to be displayed corresponding to the historical information display instruction.
需要说明的是,本实施例中,所述历史信息展示指令中携带有用于指示待展示历史信息的信息。It should be noted that, in this embodiment, the historical information display instruction carries information for indicating historical information to be displayed.
在具体实现过程中,本发明实施例通过预先查找当前用户对应的历史信息记录,然后从查找的历史信息记录中获取与所述历史信息展示指令相对应的待展示历史信息。In a specific implementation process, the embodiment of the present invention searches for the historical information record corresponding to the current user, and then obtains the history information to be displayed corresponding to the historical information display instruction from the searched historical information record.
本发明实施例,通过从查找的历史信息记录中获取与所述历史信息展示指令相对应的待展示历史信息,而不是获取用户对应的所有历史信息记录,节省了数据获取时间,进而有效地提高了获取待展示历史信息的速度,在实现使得用户能够在同一终端设备上浏览到完整的历史消息的同时,提高了信息展示速度,提升用户体验。In the embodiment of the present invention, the historical information to be displayed corresponding to the historical information display instruction is obtained from the searched historical information record, instead of all the historical information records corresponding to the user, thereby saving data acquisition time and effectively improving the data acquisition time. The speed at which the historical information to be displayed is obtained enables the user to browse the complete history message on the same terminal device, thereby improving the information display speed and improving the user experience.
根据本发明的一个优选实施例,步骤S11,如图3所示,具体包括以下步骤:According to a preferred embodiment of the present invention, step S11, as shown in FIG. 3, specifically includes the following steps:
S110’、接收所述用户输入的用户标识;S110', receiving a user identifier input by the user;
具体的,可在用户登录过程中,接收所述用户输入的用户标识。Specifically, the user identifier input by the user may be received during a user login process.
S111’、根据接收的用户标识查找映射关系,以获取与用户标识对应的历史信息记录,并将所述与用户标识对应的历史信息记录作为用户的历史信息记录,所述映射关系中包括用户标识和历史信息记录之间的对应关系。S111, searching for a mapping relationship according to the received user identifier, to obtain a history information record corresponding to the user identifier, and recording the history information corresponding to the user identifier as a historical information record of the user, where the mapping relationship includes the user identifier. Correspondence with historical information records.
可理解的是,所述映射关系,可通过关系表或关系数据库实现。在一个具体示例中,以关系表的方式实现用户标识与历史信息记录之间的对应关系,其中,用户标识可以为用户的身份标识(Identity,简称id)、用户账号、用户名称等信息中的一种或多种。It can be understood that the mapping relationship can be implemented by a relational table or a relational database. In a specific example, the correspondence between the user identifier and the history information record is implemented in a relationship table, where the user identifier may be in the information of the user's identity (id, id), user account, user name, and the like. One or more.
S112’、从查找的历史信息记录中获取与所述历史信息展示指令 对应的待展示历史信息。S112', obtaining, from the searched historical information record, the historical information display instruction Corresponding historical information to be displayed.
需要说明的是,步骤S112’与图2所示的实施方式的步骤S112相同,在此不再赘述。It should be noted that step S112' is the same as step S112 of the embodiment shown in FIG. 2, and details are not described herein again.
本发明实施例提供的历史信息展示方法,接收用户输入的用户标识后,通过接收的用户标识查找映射关系,以获取与用户标识对应的历史信息记录,并将所述与用户标识对应的历史信息记录作为用户的历史信息记录,所述映射关系中包括用户标识和历史信息记录之间的对应关系。其中,预设映射关系为预先根据用户标识和与用户标识对应的历史信息记录建立的。本发明通过查找预设关系的方式,可以方便快捷的实现用户历史信息记录的查找,提高历史信息展示的速度,从而更好地满足用户的需求和体验。The method for displaying the historical information provided by the embodiment of the present invention, after receiving the user identifier input by the user, searches for the mapping relationship by using the received user identifier, and obtains the historical information record corresponding to the user identifier, and the historical information corresponding to the user identifier is obtained. The history information record is recorded as a user, and the mapping relationship includes a correspondence between the user identifier and the history information record. The preset mapping relationship is established in advance according to the user identifier and the historical information record corresponding to the user identifier. By searching for a preset relationship, the present invention can conveniently and quickly find a user history information record, and improve the speed of displaying historical information, thereby better satisfying the user's needs and experiences.
根据本发明的一个优选实施例,所述待展示历史信息中包括各历史信息的时间戳。According to a preferred embodiment of the present invention, the history information to be displayed includes a time stamp of each history information.
参照图4,本发明实施例的历史信息展示方法具体包括以下步骤;Referring to FIG. 4, the historical information display method of the embodiment of the present invention specifically includes the following steps;
S40、响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息。S40. Acquire a history information display instruction triggered by the user, and obtain history information to be displayed corresponding to the historical information display instruction.
S41、根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识。S41. Insert an information missing identifier in the to-be-displayed history information according to the timestamp of each historical information.
本步骤中,通过根据待展示历史信息中各历史信息的时间戳,确定所述待展示历史信息中是否存在缺失信息,若所述待展示历史信息中存在缺失信息,则进一步确定所述待展示历史信息中缺失信息的位置,以便以在所述待展示历史信息中存在缺失信息的位置插入信息缺失标识。In this step, it is determined whether there is missing information in the historical information to be displayed according to the timestamp of each historical information in the history information to be displayed, and if there is missing information in the historical information to be displayed, further determining the to-be-displayed The location of the information is missing from the history information to insert an information missing identifier at a location where the missing information exists in the history information to be displayed.
S42、判断所述待展示历史信息中是否存在信息缺失标识,若所述待展示历史信息中存在信息缺失标识,则执行步骤S43,否则,S42. Determine whether there is an information missing identifier in the history information to be displayed. If there is an information missing identifier in the history information to be displayed, step S43 is performed. Otherwise,
结束本次操作。End this operation.
S43、确定是否获取所述信息缺失标识对应的历史信息,若确定 获取所述信息缺失标识对应的历史信息,则执行步骤S44,否则,结束本次操作。S43. Determine whether to acquire historical information corresponding to the missing identifier of the information, if If the history information corresponding to the information missing identifier is obtained, step S44 is performed; otherwise, the current operation is ended.
S44、依据所述信息缺失标识获取所述对应的历史信息。S44. Acquire the corresponding historical information according to the information missing identifier.
S45、将获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。S45. Add the acquired historical information to the corresponding location in the historical information to be displayed, and display the added historical information to be displayed.
需要说明的是,步骤S40、S42~S45与图1所示的实施方式的步骤S11~S15相同,在此不再赘述。It should be noted that steps S40 and S42 to S45 are the same as steps S11 to S15 of the embodiment shown in FIG. 1 and will not be described again.
本发明实施例,通过历史信息的时间戳的方式,可以准确地将信息缺失标识插入所述待展示历史信息中,以确保用户能够在同一终端设备上浏览到完整的历史消息的同时,提高了信息展示的速度,提升用户体验。In the embodiment of the present invention, the information missing identifier can be accurately inserted into the to-be-displayed historical information by using the timestamp of the historical information, so as to ensure that the user can browse the complete historical message on the same terminal device, and improve the The speed of information display to enhance the user experience.
在本发明的一个可选实施例中,步骤S41,具体包括以下图中未示出的步骤:In an optional embodiment of the present invention, step S41 specifically includes the steps not shown in the following figures:
S411、将所述各历史信息的时间戳发送至历史信息服务器,以使所述历史信息服务器根据所述各历史信息的时间戳确定所述待展示历史信息中是否存在缺失信息,若所述待展示历史信息中存在缺失信息,则反馈所述待展示历史信息中缺失信息的位置;S411, the timestamp of the historical information is sent to the historical information server, so that the historical information server determines whether there is missing information in the historical information to be displayed according to the timestamp of each historical information, if the If there is missing information in the display history information, the location of the missing information in the historical information to be displayed is fed back;
S412、接收所述历史信息服务器反馈的缺失信息的位置,根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。S412. Receive a location of the missing information that is fed back by the historical information server, and insert an information missing identifier in the to-be-displayed history information according to the location of the missing information.
本实施例中,根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识的步骤可通过终端设备将用户待展示信息中各历史信息的时间戳发送至历史信息服务器,以使历史信息服务器根据各历史信息的时间戳与本地存储的所有历史信息进行比对,进而确定待展示历史信息中是否存在缺失信息,当待展示历史信息中存在缺失信息时,返回待展示历史信息中缺失信息的位置,并通过接收历史信息服务器反馈的缺失信息的位置,进而根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。 In this embodiment, the step of inserting the information missing identifier in the history information to be displayed according to the timestamp of each historical information may be sent to the historical information server by using the timestamp of the historical information in the information to be displayed by the terminal device. The historical information server compares the timestamps of the historical information with all the historical information stored in the locality to determine whether there is missing information in the historical information to be displayed, and returns the history to be displayed when there is missing information in the historical information to be displayed. The location of the missing information in the information is received, and the location of the missing information fed back by the historical information server is received, and the missing information identifier is inserted into the historical information to be displayed according to the location of the missing information.
本实施例中,通过根据历史信息服务器反馈的缺失信息的位置可准确地实现信息缺失标识插入。而且,通过时间戳的设置,进一步节省了通过发送历史信息来实现确定待展示历史信息中是否存在缺失信息过程的流量浪费。In this embodiment, the information missing identifier insertion can be accurately realized by the location of the missing information fed back according to the history information server. Moreover, by setting the timestamp, the waste of the process of determining whether there is missing information in the history information to be displayed is further saved by transmitting the history information.
在本发明的一个可选实施例中,步骤S41,具体包括以下图中未示出的步骤:In an optional embodiment of the present invention, step S41 specifically includes the steps not shown in the following figures:
S411’、接收历史信息服务器发送的信息时间记录,所述信息时间记录为预设时间段内历史信息的时间戳;S411', receiving information time record sent by the historical information server, where the information time is recorded as a time stamp of the historical information in the preset time period;
S412’、将所述各历史信息的时间戳与所述信息时间记录进行比对,根据比对结果确定所述待展示历史信息中是否存在缺失信息;S412', comparing the timestamps of the historical information with the information time record, and determining whether there is missing information in the history information to be displayed according to the comparison result;
S413’、若所述待展示历史信息中存在缺失信息,则确定所述待展示历史信息中缺失信息的位置,并根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。S413', if there is missing information in the history information to be displayed, determining a location of missing information in the history information to be displayed, and inserting an information missing identifier in the history information to be displayed according to the location of the missing information.
本实施例中,根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识的步骤通过终端设备将历史信息服务器发送的信息时间记录,与所述各历史信息的时间戳进行比对实现。当所述待展示历史信息中存在缺失信息时,进一步确定所述待展示历史信息中缺失信息的位置,并根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。In this embodiment, the step of inserting the information missing identifier in the history information to be displayed according to the timestamp of each historical information is recorded by the terminal device to record the information sent by the historical information server, and the time stamp of each historical information. Perform comparisons. When the missing information exists in the historical information to be displayed, the location of the missing information in the historical information to be displayed is further determined, and the information missing identifier is inserted into the historical information to be displayed according to the location of the missing information.
本实施例中,通过根据历史信息服务器反馈的信息时间记录,将所述各历史信息的时间戳与所述信息时间记录进行比对,可精确的确定出所述待展示历史信息中是否存在缺失信息,实现信息缺失标识插入。而且,通过时间戳的设置,进一步节省了通过接收历史信息来实现确定待展示历史信息中是否存在缺失信息过程的流量浪费。In this embodiment, by comparing the time stamp of the information of the historical information with the information time record according to the information time record fed back by the historical information server, it is possible to accurately determine whether there is a missing in the historical information to be displayed. Information to achieve the insertion of information missing identifiers. Moreover, by setting the timestamp, the waste of the process of determining whether there is missing information in the history information to be displayed is further saved by receiving the history information.
根据本发明的一个优选实施例,所述历史信息展示指令中携带有待展示信息数量。According to a preferred embodiment of the present invention, the historical information display instruction carries the quantity of information to be displayed.
具体的,待展示信息数量的设置可通过用户设置实现,或根据 信息显示区域的由系统默认设置,对此,本发明实施例不做具体限定。Specifically, the setting of the amount of information to be displayed can be implemented by user setting, or according to The information display area is set by default by the system, and is not specifically limited in this embodiment of the present invention.
进一步地,所述依据所述信息缺失标识获取所述对应的历史信息,具体包括:根据所述待展示信息数量获取所述信息缺失标识对应的历史信息。Further, the acquiring the corresponding historical information according to the information missing identifier includes: acquiring the historical information corresponding to the missing information identifier according to the quantity of the information to be displayed.
本发明实施例,通过在历史信息展示指令中携带待展示信息数量,并根据所述待展示信息数量获取所述信息缺失标识对应的历史信息,实现根据用户的展示需要对信息缺失标识对应的历史信息进行获取,避免一次性获取大量历史信息而用户并不会进行历史信息全部查看时带来的资源浪费,在使得用户能够在同一终端设备上浏览到完整的历史消息的同时,可以进一步节省信息下载带来的流量消耗,提升用户体验。In the embodiment of the present invention, the number of information to be displayed is carried in the historical information display instruction, and the historical information corresponding to the missing information identifier is obtained according to the quantity of the information to be displayed, so as to implement the history corresponding to the information missing identifier according to the user's display requirement. The information is obtained to avoid a large amount of historical information at one time, and the user does not waste the resources caused by the entire history information, so that the user can browse the complete history message on the same terminal device, and further save the information. Download the resulting traffic consumption and enhance the user experience.
对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present invention are not limited by the described action sequence, because the embodiment according to the present invention Some steps can be performed in other orders or at the same time. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
图5示意性示出了本发明一个实施例的历史信息展示装置的结构示意图。FIG. 5 is a schematic block diagram showing the structure of a history information display device according to an embodiment of the present invention.
参照图5,本发明实施例的历史信息展示装置具体包括第一获取单元501、判断单元502、确定单元503、第二获取单元504以及展示单元505,其中:Referring to FIG. 5, the historical information display apparatus of 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:
所述的第一获取单元501,适于响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息;The first obtaining unit 501 is configured to acquire history information to be displayed corresponding to the historical information display instruction in response to a historical information display instruction triggered by the user;
所述的判断单元502,适于判断所述第一获取单元获取的待展示历史信息中是否存在信息缺失标识; The determining unit 502 is configured to determine whether an information missing identifier exists in the history information to be displayed acquired by the first acquiring unit;
所述的确定单元503,适于在所述判断单元的判断结果为所述待展示历史信息中存在信息缺失标识时,确定是否获取所述信息缺失标识对应的历史信息;The determining unit 503 is configured to determine, when the determination result of the determining unit is that the information missing identifier exists in the history information to be displayed, whether to acquire historical information corresponding to the information missing identifier;
所述的第二获取单元504,适于在所述确定单元确定获取所述信息缺失标识对应的历史信息时,依据所述信息缺失标识获取所述对应的历史信息;The second obtaining unit 504 is configured to acquire the corresponding historical information according to the information missing identifier when the determining unit determines to acquire the historical information corresponding to the information missing identifier;
所述的展示单元505,适于将所述第二获取单元获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。The display unit 505 is configured to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed, and display the added historical information to be displayed.
本发明实施例提供的历史信息展示装置,通过将获取的历史信息添加至待展示历史信息中对应的位置,进而实现对添加后的待展示历史信息的展示,解决了现有技术中由于用户消息会保留在不同的终端设备上,从而留下很多消息的空洞,使得用户无法在同一终端设备上浏览到完整的历史消息的问题。使得用户能够在同一终端设备上浏览到完整的历史消息的同时,节省全部历史信息下载带来的流量浪费,提升用户体验。The historical information display device provided by the embodiment of the present invention adds the acquired historical information to the corresponding position in the historical information to be displayed, thereby implementing the display of the added history information to be displayed, and solving the user message in the prior art. It will remain on different terminal devices, leaving a lot of holes in the message, making it impossible for users to browse through the complete history message on the same terminal device. The user can browse the complete history message on the same terminal device, saves the waste of all the historical information downloading, and improves the user experience.
在本发明的一种可选实施例中,如图6所示,所述第一获取单元,具体包括查找模块5011和获取模块5012:In an optional embodiment of the present invention, as shown in FIG. 6, the first acquiring unit specifically includes a searching module 5011 and an obtaining module 5012:
所述的查找模块5011,适于查找用户的历史信息记录;The searching module 5011 is configured to search for a history information record of the user;
所述的获取模块5012,适于从查找的历史信息记录中获取与所述历史信息展示指令对应的待展示历史信息。The obtaining module 5012 is configured to obtain historical information to be displayed corresponding to the historical information display instruction from the searched historical information record.
在本发明的一种可选实施例中,如图7所示,所述第一获取单元,具体包括接收模块5010’、查找模块5011’和获取模块5012’:In an optional embodiment of the present invention, as shown in FIG. 7, the first acquiring unit specifically includes a receiving module 5010', a searching module 5011', and an obtaining module 5012':
所述的接收模块5010’,适于在所述查找模块查找用户的历史信息记录之前,接收所述用户输入的用户标识;The receiving module 5010' is adapted to receive the user identifier input by the user before the searching module searches for the historical information record of the user;
所述查找模块5011’,具体适于根据接收的用户标识查找映射关系,以获取与用户标识对应的历史信息记录,并将所述与用户标识 对应的历史信息记录作为用户的历史信息记录,所述映射关系中包括用户标识和历史信息记录之间的对应关系。The searching module 5011' is specifically configured to search for a mapping relationship according to the received user identifier, to obtain a history information record corresponding to the user identifier, and to identify the user identifier. The corresponding history information record is recorded as a history information of the user, and the mapping relationship includes a correspondence between the user identifier and the history information record.
所述的获取模块5012’,适于从查找的历史信息记录中获取与所述历史信息展示指令对应的待展示历史信息。The obtaining module 5012' is adapted to obtain the to-be-displayed history information corresponding to the historical information display instruction from the searched historical information record.
在本发明的一种可选实施例中,所述待展示历史信息中包括各历史信息的时间戳;In an optional embodiment of the present invention, the history information to be displayed includes a time stamp of each history information;
参照图8,本发明实施例的历史信息展示装置具体包括第一获取单元801、插入单元802、判断单元803、确定单元804、第二获取单元805以及展示单元806,其中:Referring to FIG. 8, the historical information display apparatus of the embodiment of the present invention specifically includes a first obtaining unit 801, an inserting unit 802, a determining unit 803, a determining unit 804, a second obtaining unit 805, and a displaying unit 806, where:
所述的第一获取单元801,适于响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息;The first obtaining unit 801 is configured to acquire history information to be displayed corresponding to the historical information display instruction in response to a historical information display instruction triggered by the user;
所述的插入单元802,适于在所述判断单元判断所述待展示历史信息中是否存在信息缺失标识之前,根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识。The inserting unit 802 is configured to insert an information missing identifier in the to-be-displayed history information according to the timestamp of each historical information before the determining unit determines whether the information missing identifier is present in the history information to be displayed. .
所述的判断单元803,适于判断所述第一获取单元获取的待展示历史信息中是否存在信息缺失标识;The determining unit 803 is configured to determine whether an information missing identifier exists in the history information to be displayed acquired by the first acquiring unit.
所述的确定单元804,适于在所述判断单元的判断结果为所述待展示历史信息中存在信息缺失标识时,确定是否获取所述信息缺失标识对应的历史信息;The determining unit 804 is configured to determine, when the judgment result of the determining unit is that the information missing identifier exists in the history information to be displayed, whether to acquire historical information corresponding to the information missing identifier;
所述的第二获取单元805,适于在所述确定单元确定获取所述信息缺失标识对应的历史信息时,依据所述信息缺失标识获取所述对应的历史信息;The second obtaining unit 805 is configured to acquire the corresponding historical information according to the information missing identifier when the determining unit determines to acquire the historical information corresponding to the information missing identifier;
所述的展示单元806,适于将所述第二获取单元获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。The display unit 806 is adapted to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed, and display the added historical 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 configured to send the timestamp of the historical information to the historical information server, so that the historical information server determines, according to the timestamp of each historical information, whether there is a missing in the historical information to be displayed. Information, if there is missing information in the history information to be displayed, feedback the location of the missing information in the historical information to be displayed;
所述的插入模块,适于接收所述历史信息服务器反馈的缺失信息的位置,根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。The insertion module is adapted to receive a location of the missing information fed back by the historical information server, and insert an information missing identifier in the to-be-displayed history information according to the location of the missing information.
在本发明的一种可选实施例中,所述插入单元,具体包括接收模块、确定模块和插入模块:In an optional embodiment of the present invention, the inserting unit specifically includes a receiving module, a determining module, and an inserting module:
所述的接收模块,适于接收历史信息服务器发送的信息时间记录,所述信息时间记录为预设时间段内历史信息的时间戳;The receiving module is configured to receive a time record of the information sent by the historical information server, where the information time is recorded as a time stamp of the historical information in the preset time period;
所述的确定模块,适于将所述各历史信息的时间戳与所述信息时间记录进行比对,根据比对结果确定所述待展示历史信息中是否存在缺失信息;The determining module is configured to compare the timestamps of the historical information with the information time record, and determine whether the missing information exists in the historical information to be displayed according to the comparison result;
所述的插入模块,适于当所述确定模块确定所述待展示历史信息中存在缺失信息时,确定所述待展示历史信息中缺失信息的位置,并根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。The inserting module is configured to determine, when the determining module determines that there is missing information in the history information to be displayed, a location of the missing information in the history information to be displayed, and according to the location of the missing information, The missing information identifier is inserted in the history information to be displayed.
在本发明的一种可选实施例中,所述历史信息展示指令中携带有待展示信息数量;In an optional embodiment of the present invention, the historical information display instruction carries the quantity of information to be displayed;
相应地,所述第二获取单元,具体适于根据所述待展示信息数量获取所述信息缺失标识对应的历史信息。Correspondingly, the second obtaining unit is configured to acquire historical information corresponding to the information missing identifier according to the quantity of information to be displayed.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
综上所述,本发明实施例提供的历史信息展示方法及装置,通过判断与用户触发的历史信息展示指令对应的待展示历史信息中是否 存在信息缺失标识,在待展示历史信息中存在信息缺失标识时,依据信息缺失标识获取对应的历史信息,并将获取的历史信息添加至待展示历史信息中对应的位置,进而实现对添加后的待展示历史信息的展示,使得用户能够在同一终端设备上浏览到完整的历史消息的同时,节省全部历史信息下载带来的流量浪费,提升用户体验。In summary, the historical information display method and apparatus provided by the embodiment of the present invention determine whether the historical information to be displayed corresponding to the historical information display instruction triggered by the user is If there is a missing information identifier, if there is a missing information identifier in the historical information to be displayed, the corresponding historical information is obtained according to the missing information identifier, and the acquired historical information is added to the corresponding position in the historical information to be displayed, thereby implementing the added information. The display of the historical information to be displayed enables the user to browse the complete historical message on the same terminal device, and saves the waste of all the historical information downloading and improves the 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 device. Various general purpose systems can also be used with the examples based herein. The structure required to construct such a system is apparent from the above description. Moreover, the invention is not directed to any particular programming language. It is to be understood that the invention may be embodied in a variety of programming language, and the description of the specific language has been described above in order to disclose the preferred embodiments of the invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本发明并帮助理解本发明各个方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法和装置解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the present invention are sometimes grouped together into a single embodiment in the above description of the exemplary embodiments of the present invention in order to the , diagram, or description of it. However, the method and apparatus disclosed are not to be interpreted as reflecting the invention that the claimed invention is claimed to have more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单 元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components in the embodiment can be combined into one module or single Meta or components, and in addition they can be divided into sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present invention. Different embodiments are formed and formed.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的网站安全检测设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of the website security detection device in accordance with embodiments of the present invention. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序 产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of the apparatus in accordance with embodiments of the present invention. The invention may also be embodied as a device or device program (eg, a computer program and a computer program) for performing some or all of the methods described herein. product). Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图9示出了可以实现根据本发明的历史信息展示方法的计算设备的框图。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有存储用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,存储程序代码的存储空间730可以存储分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为例如图10所示的便携式或者固定存储单元。该存储单元可以具有与图9的计算设备中的存储器720类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元存储有用于执行根据本发明的方法步骤的程序代码731’,即可以由例如诸如710之类的处理器读取的程序代码,当这程序些代码由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 9 illustrates a block diagram of a computing device that can implement a historical information presentation method in accordance with the present invention. The computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720. Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Memory 720 has a storage space 730 that stores program code 731 for performing any of the method steps described above. For example, storage space 730 storing program code may store respective program code 731 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit such as that shown in FIG. The storage unit may have a storage segment or storage space or the like arranged similarly to the storage 720 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit stores program code 731' for performing the steps of the method according to the present invention, i.e., program code that can be read by a processor, such as 710, when the program is run by the computing device, causing the program The computing device performs the various steps in the methods described above.
以上所述仅是本发明的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is only a part of the embodiments of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims (16)

  1. 一种历史信息展示方法,包括:A method of displaying historical information, including:
    响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息;Acquiring, in response to the historical information display instruction triggered by the user, obtaining history information to be displayed corresponding to the historical information display instruction;
    判断所述待展示历史信息中是否存在信息缺失标识;Determining whether there is an information missing identifier in the historical information to be displayed;
    若所述待展示历史信息中存在信息缺失标识,则确定是否获取所述信息缺失标识对应的历史信息;If the information missing identifier exists in the historical information to be displayed, determining whether to obtain the historical information corresponding to the missing information identifier;
    若是,则依据所述信息缺失标识获取所述对应的历史信息;If yes, obtaining the corresponding historical information according to the information missing identifier;
    将获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。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.
  2. 如权利要求1所述的方法,所述响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息,具体包括:The method of claim 1, wherein the obtaining the historical information to be displayed corresponding to the historical information display instruction in response to the user-triggered historical information display instruction comprises:
    查找用户的历史信息记录;Find the user's historical information record;
    从查找的历史信息记录中获取与所述历史信息展示指令对应的待展示历史信息。Obtaining history information to be displayed corresponding to the historical information display instruction from the historical information record of the search.
  3. 如权利要求2所述的方法,在所述查找用户的历史信息记录之前,所述方法还包括:The method of claim 2, before the searching for the history information of the user, the method further comprising:
    接收所述用户输入的用户标识;Receiving a user identifier input by the user;
    相应地,所述查找用户的历史信息记录,具体包括:Correspondingly, the searching for the historical information record of the user includes:
    根据接收的用户标识查找映射关系,以获取与用户标识对应的历史信息记录,并将所述与用户标识对应的历史信息记录作为用户的历史信息记录,所述映射关系中包括用户标识和历史信息记录之间的对应关系。And searching for the historical information record corresponding to the user identifier, and the historical information record corresponding to the user identifier is recorded as the historical information of the user, where the mapping relationship includes the user identifier and the historical information. The correspondence between the records.
  4. 如权利要求1-3任一项所述的方法,所述待展示历史信息中包括各历史信息的时间戳;The method according to any one of claims 1-3, wherein the history information to be displayed includes a time stamp of each history information;
    所述判断所述待展示历史信息中是否存在信息缺失标识之前, 所述方法还包括:Before determining whether there is an information missing identifier in the history information to be displayed, The method further includes:
    根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识。And inserting an information missing identifier into the to-be-displayed history information according to the time stamp of each historical information.
  5. 如权利要求4所述的方法,所述根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识,具体包括:The method of claim 4, wherein the inserting the information missing identifier in the historical information to be displayed according to the timestamp of the historical information includes:
    将所述各历史信息的时间戳发送至历史信息服务器,以使所述历史信息服务器根据所述各历史信息的时间戳确定所述待展示历史信息中是否存在缺失信息,若所述待展示历史信息中存在缺失信息,则反馈所述待展示历史信息中缺失信息的位置;Transmitting, to the history information server, the timestamp of the history information, so that the history information server determines, according to the timestamp of each history information, whether there is missing information in the history information to be displayed, if the history to be displayed If there is missing information in the information, the location of the missing information in the historical information to be displayed is fed back;
    接收所述历史信息服务器反馈的缺失信息的位置,根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。Receiving a location of the missing information fed back by the historical information server, inserting an information missing identifier in the to-be-displayed history information according to the location of the missing information.
  6. 如权利要求4所述的方法,所述根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识,具体包括:The method of claim 4, wherein the inserting the information missing identifier in the historical information to be displayed according to the timestamp of the historical information includes:
    接收历史信息服务器发送的信息时间记录,所述信息时间记录为预设时间段内历史信息的时间戳;Receiving a time record of the information sent by the history information server, where the information time is recorded as a time stamp of the historical information in the preset time period;
    将所述各历史信息的时间戳与所述信息时间记录进行比对,根据比对结果确定所述待展示历史信息中是否存在缺失信息;Comparing the timestamps of the historical information with the information time record, and determining whether there is missing information in the history information to be displayed according to the comparison result;
    若所述待展示历史信息中存在缺失信息,则确定所述待展示历史信息中缺失信息的位置,并根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。If there is missing information in the history information to be displayed, determining a location of missing information in the history information to be displayed, and inserting an information missing identifier in the history information to be displayed according to the location of the missing information.
  7. 如权利要求1~6任一项所述的方法,所述历史信息展示指令中携带有待展示信息数量;The method according to any one of claims 1 to 6, wherein the historical information display instruction carries the quantity of information to be displayed;
    相应地,所述依据所述信息缺失标识获取所述对应的历史信息,具体包括:Correspondingly, the obtaining, according to the information missing identifier, the corresponding historical information, specifically:
    根据所述待展示信息数量获取所述信息缺失标识对应的历史信息。Obtaining historical information corresponding to the information missing identifier according to the quantity of information to be displayed.
  8. 一种历史信息展示装置,包括: A historical information display device comprising:
    第一获取单元,适于响应于用户触发的历史信息展示指令,获取与所述历史信息展示指令对应的待展示历史信息;The first obtaining unit is adapted to obtain the history information to be displayed corresponding to the historical information display instruction in response to the historical information display instruction triggered by the user;
    判断单元,适于判断所述第一获取单元获取的待展示历史信息中是否存在信息缺失标识;a determining unit, configured to determine whether an information missing identifier exists in the history information to be displayed acquired by the first acquiring unit;
    确定单元,适于在所述判断单元的判断结果为所述待展示历史信息中存在信息缺失标识时,确定是否获取所述信息缺失标识对应的历史信息;a determining unit, configured to determine, when the judgment result of the determining unit is that the information missing identifier exists in the history information to be displayed, whether to acquire historical information corresponding to the information missing identifier;
    第二获取单元,适于在所述确定单元确定获取所述信息缺失标识对应的历史信息时,依据所述信息缺失标识获取所述对应的历史信息;The second obtaining unit is configured to: when the determining unit determines to obtain the historical information corresponding to the information missing identifier, obtain the corresponding historical information according to the information missing identifier;
    展示单元,适于将所述第二获取单元获取的历史信息添加至所述待展示历史信息中对应的位置,并将添加后的待展示历史信息进行展示。The display unit is adapted to add the historical information acquired by the second acquiring unit to a corresponding position in the historical information to be displayed, and display the added historical information to be displayed.
  9. 如权利要求8所述的装置,所述第一获取单元,具体包括:The device of claim 8, the first obtaining unit specifically includes:
    查找模块,适于查找用户的历史信息记录;a search module adapted to find a history information record of the user;
    获取模块,适于从查找的历史信息记录中获取与所述历史信息展示指令对应的待展示历史信息。The obtaining module is configured to obtain the history information to be displayed corresponding to the historical information display instruction from the historical information record of the search.
  10. 如权利要求9所述的装置,所述第一获取单元,还包括:The apparatus of claim 9, the first obtaining unit further comprising:
    接收模块,适于在所述查找模块查找用户的历史信息记录之前,接收所述用户输入的用户标识;The receiving module is configured to receive the user identifier input by the user before the searching module searches for the historical information record of the user;
    相应地,所述查找模块,具体适于根据接收的用户标识查找映射关系,以获取与用户标识对应的历史信息记录,并将所述与用户标识对应的历史信息记录作为用户的历史信息记录,所述映射关系中包括用户标识和历史信息记录之间的对应关系。Correspondingly, the searching module is configured to search for a mapping relationship according to the received user identifier, to obtain a historical information record corresponding to the user identifier, and record the historical information corresponding to the user identifier as a historical information record of the user. The mapping relationship includes a correspondence between a user identifier and a history information record.
  11. 如权利要求8-10任一项所述的装置,所述待展示历史信息中包括各历史信息的时间戳;The device according to any one of claims 8 to 10, wherein the history information to be displayed includes a time stamp of each history information;
    所述装置还包括: The device also includes:
    插入单元,适于在所述判断单元判断所述待展示历史信息中是否存在信息缺失标识之前,根据所述各历史信息的时间戳在所述待展示历史信息中插入信息缺失标识。The insertion unit is adapted to insert an information missing identifier in the to-be-displayed history information according to the timestamp of each historical information before the determining unit determines whether the information missing identifier exists in the history information to be displayed.
  12. 如权利要求11所述的装置,所述插入单元,具体包括:The device of claim 11, wherein the inserting unit comprises:
    发送模块,适于将所述各历史信息的时间戳发送至历史信息服务器,以使所述历史信息服务器根据所述各历史信息的时间戳确定所述待展示历史信息中是否存在缺失信息,若所述待展示历史信息中存在缺失信息,则反馈所述待展示历史信息中缺失信息的位置;a sending module, configured to send the timestamp of the historical information to the historical information server, so that the historical information server determines, according to the timestamp of each historical information, whether there is missing information in the historical information to be displayed, if If there is missing information in the history information to be displayed, the location of the missing information in the history information to be displayed is fed back;
    插入模块,适于接收所述历史信息服务器反馈的缺失信息的位置,根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。The insertion module is adapted to receive a location of the missing information fed back by the historical information server, and insert an information missing identifier in the to-be-displayed history information according to the location of the missing information.
  13. 如权利要求11所述的装置,所述插入单元,具体包括:The device of claim 11, wherein the inserting unit comprises:
    接收模块,适于接收历史信息服务器发送的信息时间记录,所述信息时间记录为预设时间段内历史信息的时间戳;The receiving module is adapted to receive a time record of the information sent by the historical information server, where the information time is recorded as a time stamp of the historical information in the preset time period;
    确定模块,适于将所述各历史信息的时间戳与所述信息时间记录进行比对,根据比对结果确定所述待展示历史信息中是否存在缺失信息;a determining module, configured to compare a timestamp of the historical information with the information time record, and determine, according to the comparison result, whether the missing information exists in the historical information to be displayed;
    插入模块,适于当所述确定模块确定所述待展示历史信息中存在缺失信息时,确定所述待展示历史信息中缺失信息的位置,并根据所述缺失信息的位置在所述待展示历史信息中插入信息缺失标识。An insertion module, configured to: when the determining module determines that there is missing information in the history information to be displayed, determine a location of missing information in the history information to be displayed, and view the history to be displayed according to the location of the missing information The information missing identifier is inserted in the message.
  14. 如权利要求8~13任一项所述的装置,所述历史信息展示指令中携带有待展示信息数量;The apparatus according to any one of claims 8 to 13, wherein the historical information display instruction carries the quantity of information to be displayed;
    相应地,所述第二获取单元,具体适于根据所述待展示信息数量获取所述信息缺失标识对应的历史信息。Correspondingly, the second obtaining unit is configured to acquire historical information corresponding to the information missing identifier according to the quantity of information to be displayed.
  15. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行如权利要求1-7 中的任一项权利要求所述的方法。A computer program comprising computer readable code, when said computer readable code is run on a computing device, causing said computing device to perform as claimed in claims 1-7 A method as claimed in any of the preceding claims.
  16. 一种计算机可读介质,其中存储了如权利要求15所述的计算机程序。 A computer readable medium storing the computer program of claim 15.
PCT/CN2016/104570 2015-12-23 2016-11-04 Historical information display method and apparatus WO2017107679A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2017107679A1 true WO2017107679A1 (en) 2017-06-29

Family

ID=59088937

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020382A (en) * 2018-03-29 2019-07-16 中国平安财产保险股份有限公司 Intelligent input method, user equipment, storage medium and the device of information
CN111382223A (en) * 2018-12-29 2020-07-07 西安四维图新信息技术有限公司 Electronic map display method, terminal and electronic equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110691024B (en) * 2018-07-05 2023-01-31 连株式会社 Method for collecting dialogue related data, computer readable storage medium, computer device and server system
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN102185875A (en) * 2011-01-30 2011-09-14 北京开心人信息技术有限公司 Synchronous information updating method and system
CN102946401A (en) * 2011-08-15 2013-02-27 联想(北京)有限公司 Method, device and equipment for data generation

Family Cites Families (8)

* 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
CN100454908C (en) * 2006-04-21 2009-01-21 华为技术有限公司 Instant message service processing method and service system
US8290797B2 (en) * 2006-07-03 2012-10-16 Evalscore, Llc Interactive credential system and method
JP4645728B2 (en) * 2008-11-25 2011-03-09 ソニー株式会社 History display device, history display system, history display method, and program
CN102497332B (en) * 2011-12-18 2018-08-14 上海量明科技发展有限公司 Implementation method, client and the system of the instant messaging tools of outputting historical information
CN104144175B (en) * 2013-05-06 2019-09-13 腾讯科技(深圳)有限公司 The method, apparatus and system of Data Migration
CN103747017B (en) * 2014-01-28 2016-12-21 北京智谷睿拓技术服务有限公司 Service information interaction method and equipment
CN104753933A (en) * 2015-03-19 2015-07-01 腾讯科技(深圳)有限公司 Data processing method and device, client side and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227425A (en) * 2007-12-25 2008-07-23 腾讯科技(深圳)有限公司 System, client end and method for obtaining history message and feeding back history message
CN102185875A (en) * 2011-01-30 2011-09-14 北京开心人信息技术有限公司 Synchronous information updating method and system
CN102946401A (en) * 2011-08-15 2013-02-27 联想(北京)有限公司 Method, device and equipment for data generation

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020382A (en) * 2018-03-29 2019-07-16 中国平安财产保险股份有限公司 Intelligent input method, user equipment, storage medium and the device of information
CN110020382B (en) * 2018-03-29 2023-08-22 中国平安财产保险股份有限公司 Intelligent information input method, user equipment, storage medium and device
CN111382223A (en) * 2018-12-29 2020-07-07 西安四维图新信息技术有限公司 Electronic map display method, terminal and electronic equipment
CN111382223B (en) * 2018-12-29 2024-04-02 西安四维图新信息技术有限公司 Electronic map display method, terminal and electronic equipment

Also Published As

Publication number Publication date
CN106911554B (en) 2020-07-10
CN106911554A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
WO2017107679A1 (en) Historical information display method and apparatus
WO2019140828A1 (en) Electronic apparatus, method for querying logs in distributed system, and storage medium
CN108804299B (en) Application program exception handling method and device
CN108874289B (en) Application history record viewing method and device and electronic equipment
CN112527816B (en) Data blood relationship analysis method, system, computer equipment and storage medium
WO2017088415A1 (en) Method, apparatus and electronic device for video content retrieval
US9692852B2 (en) Uploading a form attachment
US10409668B2 (en) Correlating application errors with incomplete transactions
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN108595520B (en) Method and device for generating multimedia file
WO2018121266A1 (en) Method and device for obtaining application and terminal device
CN108600779B (en) Target object operation method and device based on video content
WO2017000613A1 (en) Method and device for generating indication information in search result page
WO2016110203A1 (en) File path storing and local file accessing method and device
WO2019153589A1 (en) Message data processing method and apparatus, and computer device and storage medium
TWI528186B (en) System and method for posting messages by audio signals
CN110990365A (en) Data synchronization method, device, server and storage medium
CN112394908A (en) Method and device for automatically generating embedded point page, computer equipment and storage medium
CN113094248B (en) User behavior data analysis method and device, electronic equipment and medium
CN106899879B (en) Multimedia data processing method and device
CN111723235A (en) Music content identification method, device and equipment
WO2017099979A1 (en) Providing automated hashtag suggestions to categorize communication
WO2017107887A1 (en) Method and apparatus for switching group picture on mobile terminal
WO2014108041A1 (en) Client, method and system for acquiring and displaying query information
US11373001B2 (en) Screen capturing and masking system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16877490

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16877490

Country of ref document: EP

Kind code of ref document: A1