CN107766548B - Information display method and device, mobile terminal and readable storage medium - Google Patents

Information display method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN107766548B
CN107766548B CN201711047976.4A CN201711047976A CN107766548B CN 107766548 B CN107766548 B CN 107766548B CN 201711047976 A CN201711047976 A CN 201711047976A CN 107766548 B CN107766548 B CN 107766548B
Authority
CN
China
Prior art keywords
comment
current
list
interface
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711047976.4A
Other languages
Chinese (zh)
Other versions
CN107766548A (en
Inventor
覃敬康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711047976.4A priority Critical patent/CN107766548B/en
Publication of CN107766548A publication Critical patent/CN107766548A/en
Application granted granted Critical
Publication of CN107766548B publication Critical patent/CN107766548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information display method, an information display device, a mobile terminal and a readable storage medium, and belongs to the technical field of information processing. The method comprises the following steps: acquiring current comment content input by a user through a current interface; obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface; skipping the current interface to a comment list interface used for displaying the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list. After the user inputs the comment content, the client jumps to the comment list interface corresponding to the comment list and displays the comment content on the interface, so that the user does not need to manually search the comment content in the display interface of the comment content, time and labor are saved, and the user experience is improved.

Description

Information display method and device, mobile terminal and readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to an information display method and apparatus, a mobile terminal, and a readable storage medium.
Background
Currently, a user may post on a client such as a web community, and the posted post is displayed on a post list. Users can browse posts in the post list, comment on the posts and view comments in the comment notification list. However, when a user selects a comment for a post comment or a comment in the comment notification list, the client only opens a fixed interface, and the user needs to manually find the content of the comment, which results in poor user experience.
Disclosure of Invention
The application provides an information display method, an information display device, a mobile terminal and a readable storage medium, so as to overcome the defects.
In a first aspect, an embodiment of the present application provides an information display method, including: acquiring current comment content input by a user through a current interface; obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface; skipping the current interface to a comment list interface used for displaying the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list.
In a second aspect, an embodiment of the present application further provides an information display apparatus, including: the device comprises a first acquisition unit, a second acquisition unit and a jumping unit. The first obtaining unit is used for obtaining the current comment content input by the user through the current interface. The second obtaining unit is used for obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface. The skipping unit is used for skipping the current interface to a comment list interface used for displaying the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list.
In a third aspect, an embodiment of the present application further provides a mobile terminal, which includes a memory and a processor, where the memory is coupled with the processor. The memory stores instructions that, when executed by the processor, cause the processor to: acquiring current comment content input by a user through a current interface; obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface; skipping the current interface to a comment list interface used for displaying the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list.
In a fourth aspect, embodiments of the present application further provide a readable storage medium storing program code executable by a processor in a computer, the readable storage medium including a plurality of instructions configured to cause the processor to execute the method described above.
According to the information display method and device, the mobile terminal and the readable storage medium, after the comment content input by the user is obtained, the comment list corresponding to the comment content and the position of the comment list are obtained. And then, directly jumping an interface for inputting the comment content by the user to an interface corresponding to the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list. Therefore, after the user inputs the comment content, the client jumps to the comment list interface corresponding to the comment list and displays the comment content on the interface, so that the user does not need to manually search the comment content in the display interface of the comment content, time and labor are saved, and the user experience is improved.
Additional features and advantages of embodiments of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of embodiments of the present application. The objectives and other advantages of the embodiments of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method of displaying information according to a first embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an information list interface provided by an embodiment of the application;
FIG. 3 is a schematic diagram illustrating a first state of a comment list interface provided by an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a second state of a comment list interface provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a comment notification interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a third state of a comment list interface provided by an embodiment of the present application;
FIG. 7 is a flow chart of a method of displaying information provided by a second embodiment of the present application;
FIG. 8 is a flow chart of a method of displaying information provided by a third embodiment of the present application;
fig. 9 is a block diagram showing an information display apparatus provided in a third embodiment of the present application;
fig. 10 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application;
fig. 11 shows a block diagram of a mobile terminal according to an embodiment of the present application for executing an information display method and apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, an information display method provided in an embodiment of the present application is shown. The method is used for jumping the interface to the list interface corresponding to the comment list after the user inputs the comment content, and displaying the comment content on the list interface. In a specific embodiment, the information display method is applied to the mobile terminal described in fig. 10 and 11. The method specifically comprises the following steps: steps S101 to S103.
S101: and acquiring the current comment content input by the user through the current interface.
The method for inputting comment content through the interface of the client by the user at least comprises two modes, one mode is to input new comment content through an information input box in the interface, and the other mode is to select a certain comment in a comment notification list. Specifically, the manner in which the user inputs new comment content through the information input box may be that the user selects a certain piece of information on an information list interface of the client, for example, the interface shown in fig. 2 is an information list interface, and when the user selects information corresponding to a title (i.e., posts corresponding to titles 1, 2, 3, etc.) on the information list interface, the interface shown in fig. 2 jumps to the interface shown in fig. 3. Fig. 3 is a schematic diagram showing a first state of the comment list interface in which the displayed comment contents are presented from level 1, that is, from the topmost comment. The comment list interface has already been associated with heading 1, and on the upper part of the comment list interface is an information detail area for showing details of the information, that is, details of the body of the post. And a comment area is arranged below the information detail area and used for displaying all comments corresponding to the information and replies under each comment, and the content displayed in the comment area is a comment list corresponding to the information, and the comment list comprises all comment contents of the information.
In addition, the distribution of the comment contents is regular, and each comment content corresponds to a comment index which is used for indicating the position of the comment content in the comment list. Specifically, as shown in the following table:
TABLE 1
Figure BDA0001452615280000051
Table 1 shows the correspondence of the comment content to the comment index.
As shown in fig. 3, each comment content corresponds to one floor, and the floor is the comment index. The distribution sequence of the floors is gradually increased from top to bottom, each comment content corresponds to one floor, and each floor corresponds to one position in the comment list. As shown in the following table:
TABLE 2
Comment index Position of
Floor 1 Display area 1
Floor 2 Display area 2
Floor 3 Display area 3
Floor 4 Display area 4
Floor N Display region N
Table 2 shows correspondence of the comment index to a position within the comment list.
The position may be a display area in the comment list interface, for example, the comment area is divided into a plurality of display areas from top to bottom, and each display area is used to display a piece of comment content. The size of each display area is set according to the size of text information or the length of text of the comment content corresponding to the display area, that is, the display area corresponding to the comment content with a large number of characters is large, the display area corresponding to the comment content with a small number of characters is small, and the size of the display area can be represented by the number of pixels.
For example, the user clicks the "comment" button of the interface shown in fig. 3 to pop up a text input window for inputting comment content. The interface shown in fig. 3 becomes the interface shown in fig. 4, i.e., the comment list interface in the second state. In this state, a text input box pops up at the bottom of the interface shown in fig. 4, the input content and the virtual keyboard are displayed in the text input box, the user inputs the comment content through the virtual keyboard, and after confirming that the comment content is published, the client acquires the current comment content input by the user.
As another embodiment, the user may also input comment content by selecting a comment in the comment notification list. In particular, FIG. 5 shows a schematic diagram of a comment notification interface. And displaying the comments of other users received by the user on the comment notification interface, wherein the user can select a certain comment content to look up the comment content. For example, if the user selects the comment content of the user name 4, the current comment content input by the user is the comment content corresponding to the user name 4 in the comment notification interface.
S102: and acquiring a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface.
The attributes of the interface comprise a comment content publishing interface and a comment notification interface. For example, the attribute of the interface shown in fig. 3 and 4 is a comment content posting interface, and the attribute of the interface shown in fig. 5 is a comment notification interface. The attribute of the interface is preset by the user, namely after the user sets the interface, the attribute is set for the interface and is used for judging the interface through which the user inputs the comment content, namely the mode through which the user inputs the comment content.
As an implementation manner, when the attribute of the current interface is a comment content publishing interface, the comment list corresponding to the current interface is used as the comment list corresponding to the current comment content. Specifically, when a user inputs comment content through a comment content publishing interface, the client determines that the interface where the user inputs the comment content belongs to the comment content publishing interface. Because the comment content publishing interface is called by operating a comment button in the comment list interface after the user enters a post, that is, the comment list interface corresponding to the information is opened, the interface for the user to input the current comment content is necessarily corresponding to a comment list. The comment list interface shown in fig. 3 includes an information detail area for displaying information details and a comment area for displaying a comment list, that is, the comment list interface corresponds to a comment list, the comment list corresponds to a plurality of comment contents, and each comment content in the comment list corresponds to the same information. Therefore, when the attribute of the current interface is the comment content publishing interface, it can be determined that the current interface corresponds to the comment list, and the comment list corresponding to the current interface is used as the comment list corresponding to the comment content.
After the user successfully publishes the current comment content, the client configures a position for the current comment content in the comment list. Specifically, a comment index of a previous comment content of a current comment content is searched in all comment contents of a comment list; modifying the comment index of the previous comment content according to a preset comment index rule, and taking the modified comment index as the comment index of the current comment content; and acquiring the position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list, wherein the comment index table comprises a plurality of comment indexes and the position corresponding to each comment index.
As an embodiment, before the current comment content is input, the comment content, the comment index, and the position in the comment list corresponding to the comment list are as shown in table 1. The previous comment content of the current comment content is content 6, and the corresponding comment index is floor 6. And then obtaining a preset comment index rule, wherein the comment index rule is a distribution rule or a generation rule of the comment index, for example, the number of the arithmetic differences gradually increases or the number of the arithmetic differences gradually decreases. In the embodiment of the application, the comment index rule is a rule shown in table 1, the comment index is a floor number and is an arithmetic quantity which gradually increases, and the tolerance is 1, that is, the comment index is configured for each comment content according to the rule of floors 1, 2, 3, and 4 …, and the earlier the comment content is released, the lower the floor number is. For example, the floor of the comment content (content 1) which is released earliest is 1, and then contents 2, 3, and 4 are released in order according to the morning and evening of the release time, the floor of the content 2 is 2, the floor of the content 3 is 3, and the floor of the content 4 is 4.
For example, after the user successfully issues the current comment content, the floor 6 in table 1 is acquired, the floor 6 is added by 1 to become the floor 7, and the floor 7 is used as the comment index of the current comment content. In addition, the correspondence between the comment indexes and the positions in the comment list is preset, specifically, a comment index table is preset, and the comment index table includes a plurality of comment indexes and positions corresponding to each of the comment indexes, specifically, as shown in table 2 above.
After the comment index is configured for the current comment content, the position in the comment list corresponding to the comment index of the current comment content can be obtained through the table 2, and the position of the current comment content in the comment list is also obtained. Then, at this point, table 1 is updated as:
TABLE 3
Figure BDA0001452615280000091
As another implementation manner, if the attribute of the current interface is a comment notification interface, acquiring an information identifier corresponding to the comment content according to a corresponding relationship between a preset information identifier and the comment content; searching a comment list corresponding to the information identifier corresponding to the current comment content according to the corresponding relation between the preset comment list and the information identifier; and searching the position of the current comment content in the comment list.
The comment notification interface is used for displaying all comment contents, and the interface does not correspond to any information or any comment list. Therefore, it is necessary to determine which comment list the comment content selected by the user corresponds to. Specifically, after a user publishes information and comment content for a certain information through a client, the information and comment content are stored, specifically, as shown in table 4:
TABLE 4
Figure BDA0001452615280000092
Figure BDA0001452615280000101
In table 4, the information identifier corresponding to the current comment content is found. Then, after obtaining the comment list interfaces corresponding to the information identifiers, as described above, each comment list interface corresponds to information, so that a user reviews the information after reviewing details of the information, and the information identifiers certainly correspond to one comment list interface. Therefore, according to the corresponding relationship between the preset comment list and the information identifier, the comment list interface corresponding to the information identifier can be found, and the comment list interface corresponds to one comment list, so that the comment list corresponding to the information identifier can be obtained. And the comment list corresponds to a correspondence table of the comment contents and the comment index as shown in tables 1 and 3 described above. According to the table, the comment index corresponding to the current comment content can be acquired. And then, acquiring a position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list. The review index table is shown in table 2 above.
S103: and skipping the current interface to a comment list interface for displaying a comment list, and displaying the current comment content on the list interface according to the position of the current comment content in the comment list.
The current interface is an interface for the user to input current comment content, for example, the interfaces shown in fig. 4 and 5. Jumping the current interface to a list interface for displaying a comment list, for example, jumping to a comment list interface in a third state as shown in fig. 6, in which the comment list interface is different from that of fig. 3, a jump action is performed, and the current comment content is displayed in the interface.
According to the position of the current comment content in the comment list, the scroll distance from the position of the first comment to the scroll bar at the position in the comment list interface can be obtained. For example, in the comment list interface shown in fig. 3, when the comment content on floor 5 is moved to the position where the comment content 1 on floor 1 is located, the scroll bar is scrolled by the distance. Specifically, position coordinates of a scroll bar at the top end in a comment list interface are obtained, position coordinates of the scroll bar when the position of the current comment content in the comment list is displayed in the comment list interface are obtained, and the sliding distance of the scroll bar is obtained according to the two position coordinates. Each comment content corresponds to a certain display area, the height of each display area can be marked by a certain pixel coordinate, and the distance between the two display areas can be measured by the number of pixels between the two display areas. For example, 5px, indicates a length constituted by the height of 5 pixels. Assuming that the pixel coordinate of the position at the top of the comment list interface is a, the coordinate of the position corresponding to each comment content is the height of the corresponding position of all comment contents before the position corresponding to the comment content is increased on the basis of a. Taking fig. 3 as an example, if the coordinates of the display area of the comment on floor 1 are a, the height is 10px, and the height of the display area of the comment on floor 2 is 12px, the coordinates of the display area on floor 2 are a + 10. Therefore, the coordinates of each content in the comment list can be obtained, the display area of the comment 1 moved by the content on the floor 2 can be obtained, the distance of the floor 2 needing to be moved is obtained, and the distance of the scroll bar needing to be moved can be obtained. After the scroll distance of the scroll bar is acquired, the current interface is jumped to a comment list interface used for displaying a comment list, and the scroll bar is moved by the scroll distance, so that the current comment content is displayed in the comment list interface, and the current comment content is displayed in the comment list interface. Specifically, the scroll distance is a distance that the scroll bar needs to move when moving from the starting point position at the vertex to the position in the comment list corresponding to the current comment content.
In addition, the current comment content may be displayed in the middle of the comment list interface in a manner that the current comment content is displayed in the middle of the comment list interface, for example, the comment index of the current comment content is floor 7, and as shown in fig. 6, the current comment content corresponding to floor 7 is displayed in the middle of the comment list interface, that is, the comments on floors 5 and 6 are displayed in the upper region of the comment on floor 7. As can be seen from fig. 6, the comment index corresponding to the current comment content is also displayed while the current comment content is displayed on the comment list interface. In addition, a text blinking effect may also be set to the comment index, specifically, blinking between different colors, for example, periodic blinking between red and yellow is set.
In addition, the method can also be used for interface skipping during information release, and specifically, information content released by a user on an information list interface is acquired; acquiring an information arrangement rule of the information list interface, and acquiring the position of the information content in the information list according to the information arrangement rule; and skipping the current interface to an information list interface, and displaying the information content on the information list interface according to the position of the information content in the information list. The specific implementation manner of skipping the current interface to the information list interface is that the scroll bar of the information list interface is positioned at the top, that is, the information list interface is positioned at the top.
Referring to fig. 7, an information display method provided in an embodiment of the present application is shown. The method is used for jumping the interface to the list interface corresponding to the comment list after the user inputs the comment content, and displaying the comment content on the list interface. In a specific embodiment, the information display method is applied to the mobile terminal described in fig. 10 and 11. The method specifically comprises the following steps: steps S701 to S706.
S701: and acquiring the current comment content input by the user through the current interface.
S702: and if the attribute of the current interface is a comment content publishing interface, taking a comment list corresponding to the current interface as a comment list corresponding to the current comment content.
S703: and searching a comment index of the previous comment content of the current comment content in all comment contents of the comment list.
S704: and modifying the comment index of the previous comment content according to a preset comment index rule, and taking the modified comment index as the comment index of the current comment content.
S705: and acquiring the position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list.
S706: skipping the current interface to a list interface for displaying a comment list, and displaying the current comment content and a corresponding comment index on the list interface according to the position of the current comment content in the comment list, wherein the comment index is provided with a character flickering effect.
The above steps describe the jump action of the interface when the user inputs a new comment through the comment list interface, and referring to the changes from fig. 3 to fig. 6, the position of the scroll bar changes. When a user inputs a new comment through the comment list interface, the interface jumps under the same interface, for example, the comment is input in fig. 3, and the jump shown in fig. 6 still occurs in the current interface, only the scroll bar is moved to a different position, and thus the content displayed by the interface changes. For the specific implementation, reference may be made to the foregoing embodiments, which are not described herein again.
Referring to fig. 8, an information display method provided in the embodiment of the present application is shown. The method is used for jumping the interface to the list interface corresponding to the comment list after the user inputs the comment content, and displaying the comment content on the list interface. In a specific embodiment, the information display method is applied to the mobile terminal described in fig. 10 and 11. The method specifically comprises the following steps: steps S801 to S807.
S801: and acquiring the current comment content input by the user through the current interface.
S802: and if the attribute of the current interface is a comment notification interface, acquiring an information identifier corresponding to the comment content according to a preset corresponding relationship between the information identifier and the comment content.
S803: and searching a comment list corresponding to the information identifier corresponding to the current comment content according to the corresponding relation between the preset comment list and the information identifier.
S804: and searching the comment index corresponding to the current comment content according to the corresponding relation between the preset comment content and the comment index.
S805: and acquiring the position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list.
S806: and acquiring the position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list.
S807: skipping the current interface to a list interface for displaying a comment list, and displaying the current comment content and a corresponding comment index on the list interface according to the position of the current comment content in the comment list, wherein the comment index is provided with a character flickering effect.
The above steps describe the jump action of the interface when the user selects the comment content through the comment notification list interface, which refers to the change from fig. 5 to fig. 6, the displayed interface is changed, the interface shown in fig. 5 is closed, the interface shown in fig. 6 is opened, that is, the current interface is closed, the comment list interface is opened, and the position of the scroll bar in fig. 6 is changed compared with fig. 3. So when the user comment notification list interface selects comment content, the interface jumps can occur under different interfaces. For specific implementation, reference may be made to the foregoing embodiments, which are not described herein again.
Referring to fig. 9, an information display device 900 according to an embodiment of the present disclosure is shown. The device is used for jumping the interface to a list interface corresponding to the comment list after the user inputs the comment content, and displaying the comment content on the list interface. In a specific embodiment, the information display apparatus is applied to the mobile terminal illustrated in fig. 10 and 11, and includes: a first acquisition unit 901, a second acquisition unit 902 and a jumping unit 903.
The first obtaining unit 901 is configured to obtain current comment content input by a user through a current interface.
The second obtaining unit 902 is configured to obtain, according to the attribute of the current interface, a comment list corresponding to the current comment content and a position of the current comment content in the comment list.
The skipping unit is used for 903 skipping the current interface to a comment list interface used for displaying the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 10 again, based on the above-mentioned user name modification method and apparatus, the embodiment of the present application further provides a mobile terminal 100, which includes an electronic body portion 10, where the electronic body portion 10 includes a housing 12 and a main display 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the main display 120 generally includes a display panel 111, and may also include a circuit or the like for responding to a touch operation performed on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 11, in an actual application scenario, the mobile terminal 100 may be used as a smart phone terminal, in which case the electronic body 10 generally further includes one or more processors 102 (only one is shown in the figure), a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 122. It will be understood by those skilled in the art that the structure shown in fig. 11 is merely illustrative and is not intended to limit the structure of the electronic body 10. For example, the electronics body section 10 may also include more or fewer components than shown in FIG. 11, or have a different configuration than shown in FIG. 10.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by executing the software programs and modules stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic body portion 10 or the primary display 120 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE 802.10A, IEEE802.11 b, IEEE 802.2.11 g, and/or IEEE802.11 n), Voice over internet protocol (VolP), world wide mail Access (Microwave for internet, Wi-Max), and any other suitable protocols for instant messaging, and may even include those protocols that have not yet been developed.
The audio circuitry 110, earpiece 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic body portion 10 or the main display 120. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the earpiece 101. The earpiece 101 converts the electrical signal into sound waves that can be heard by the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed in the electronic body portion 10 or the main display 120, examples of the sensor 114 include, but are not limited to: light sensors, operational sensors, pressure sensors, gravitational acceleration sensors, and other sensors.
Specifically, the light sensors may include a light sensor 114F, a pressure sensor 114G. Among them, the pressure sensor 114G may detect a pressure generated by pressing on the mobile terminal 100. That is, the pressure sensor 114G detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, the pressure sensor 114G may be used to determine whether contact or pressing has occurred between the user and the mobile terminal 100, as well as the magnitude of the pressure.
Referring to fig. 10 again, in the embodiment shown in fig. 10, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F may turn off the display output when an object is near the main display 120, for example, when the electronic body portion 10 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the mobile terminal 100. In addition, the electronic body 10 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 118 may include the touch screen 109 disposed on the main display 120, and the touch screen 109 may collect touch operations of the user (for example, operations of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys 107. The keys 107 may include, for example, character keys for inputting characters, and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The main display 120 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic body section 10, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be provided on the display panel 111 so as to be integrated with the display panel 111.
The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic body portion 10 or the primary display 120.
The mobile terminal 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the mobile terminal 100. In this embodiment, the locator 119 implements the positioning of the mobile terminal 100 by using a positioning service, which is understood to be a technology or a service for obtaining the position information (e.g., longitude and latitude coordinates) of the mobile terminal 100 by using a specific positioning technology and marking the position of the positioned object on an electronic map.
It should be understood that the mobile terminal 100 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobility. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In summary, according to the information display method, the information display device, the mobile terminal, and the readable storage medium provided by the embodiments of the present application, after obtaining the comment content input by the user, a comment list corresponding to the comment content and a position in the comment list are obtained. And then, directly jumping an interface for inputting the comment content by the user to an interface corresponding to the comment list, and displaying the current comment content on the comment list interface according to the position of the current comment content in the comment list. Therefore, after the user inputs the comment content, the client jumps to the comment list interface corresponding to the comment list and displays the comment content on the interface, so that the user does not need to manually search the comment content in the display interface of the comment content, time and labor are saved, and the user experience is improved.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (mobile terminal) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. An information display method, comprising:
acquiring current comment content input by a user through a current interface;
obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface;
obtaining a distance which needs to be moved when a scroll bar of the comment list interface moves from a starting point position at a vertex of the comment list interface to a position in a comment list corresponding to the current comment content, and taking the distance as a scroll distance;
skipping a current interface to a comment list interface for displaying a comment list, and moving the scroll bar by the scroll distance, so that the current comment content is displayed in the comment list interface.
2. The method according to claim 1, wherein the obtaining of the comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface includes:
if the attribute of the current interface is a comment content publishing interface, taking a comment list corresponding to the current interface as a comment list corresponding to the current comment content;
and configuring a position for the current comment content in the comment list.
3. The method of claim 2, wherein said configuring a location within the review list for the current review content comprises:
searching a comment index of the previous comment content of the current comment content in all comment contents of the comment list;
modifying the comment index of the previous comment content according to a preset comment index rule, and taking the modified comment index as the comment index of the current comment content;
and acquiring a position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list, wherein the comment index table comprises a plurality of comment indexes and a position corresponding to each comment index.
4. The method of claim 1, wherein obtaining a comment list corresponding to the current comment content and a position of the comment content in the comment list according to the attribute of the current interface comprises:
if the attribute of the current interface is a comment notification interface, acquiring an information identifier corresponding to the comment content according to a corresponding relation between a preset information identifier and the comment content;
searching a comment list corresponding to the information identifier corresponding to the current comment content according to the corresponding relation between a preset comment list and the information identifier;
and searching the position of the current comment content in the comment list.
5. The method of claim 4, wherein said locating the current comment content within the comment list comprises:
searching a comment index corresponding to the current comment content according to a preset corresponding relation between the comment content and the comment index;
and acquiring a position in the comment list corresponding to the comment index of the current comment content according to a preset comment index table corresponding to the comment list, wherein the comment index table comprises a plurality of comment indexes and a position corresponding to each comment index.
6. The method according to any one of claims 1 to 5, characterized in that, the comment index corresponding to the current comment content is also displayed at the same time when the comment list interface displays the current comment content.
7. The method of claim 6, wherein the comment index is provided with a text blinking effect.
8. An information display device characterized by comprising:
the first acquisition unit is used for acquiring the current comment content input by a user through a current interface;
the second obtaining unit is used for obtaining a comment list corresponding to the current comment content and the position of the current comment content in the comment list according to the attribute of the current interface;
the skip unit is used for acquiring a distance which needs to be moved when a scroll bar of the comment list interface moves from a starting point position at a vertex of the comment list interface to a position in a comment list corresponding to the current comment content, and the distance is used as a scroll distance; skipping a current interface to a comment list interface for displaying a comment list, and moving the scroll bar by the scroll distance, so that the current comment content is displayed in the comment list interface.
9. A mobile terminal comprising a memory and a processor, the memory coupled to the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-7.
10. A readable storage medium storing program code executable by a processor in a computer, the program code configured to cause the processor to perform the method of any one of claims 1-7.
CN201711047976.4A 2017-10-31 2017-10-31 Information display method and device, mobile terminal and readable storage medium Active CN107766548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711047976.4A CN107766548B (en) 2017-10-31 2017-10-31 Information display method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711047976.4A CN107766548B (en) 2017-10-31 2017-10-31 Information display method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN107766548A CN107766548A (en) 2018-03-06
CN107766548B true CN107766548B (en) 2020-04-21

Family

ID=61271476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711047976.4A Active CN107766548B (en) 2017-10-31 2017-10-31 Information display method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN107766548B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582893A (en) 2018-11-29 2019-04-05 北京字节跳动网络技术有限公司 A kind of page display position jump method, device, terminal device and storage medium
JP2022510710A (en) * 2018-12-10 2022-01-27 タイプミー・ホールディングズ・プロプライエタリ・リミテッド Systems, methods, and data structures that allow users to post comments electronically
CN111339242A (en) * 2020-02-26 2020-06-26 广东小天才科技有限公司 Comment data processing method, comment data display method, server and client
CN112698769B (en) * 2020-12-25 2023-09-26 北京字节跳动网络技术有限公司 Information interaction method, device, equipment, storage medium and program product
CN113360054A (en) * 2021-06-07 2021-09-07 富途网络科技(深圳)有限公司 Comment information display method and device and storage medium
CN114721560A (en) * 2022-03-30 2022-07-08 亿咖通(湖北)技术有限公司 Information processing method, mobile device and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423610B2 (en) * 2009-08-12 2013-04-16 Google Inc. User interface for web comments
US8468207B1 (en) * 2008-05-16 2013-06-18 Google Inc. Detection of chain-letters in user-generated comments for websites
CN103581280A (en) * 2012-08-30 2014-02-12 网之易信息技术(北京)有限公司 Method and device for interface interaction based on micro blog platform
CN104156390A (en) * 2014-07-07 2014-11-19 乐视网信息技术(北京)股份有限公司 Comment recommendation method and system
CN104239356A (en) * 2013-06-21 2014-12-24 腾讯科技(深圳)有限公司 Webpage commenting method and system and browser
CN104571818A (en) * 2014-12-26 2015-04-29 网易(杭州)网络有限公司 Method and device for displaying article comments
CN105045899A (en) * 2015-08-03 2015-11-11 北京金山安全软件有限公司 Comment content providing method and device and terminal equipment
CN106407199A (en) * 2015-07-27 2017-02-15 广州市动景计算机科技有限公司 Network article comment processing method and apparatus
CN107145513A (en) * 2017-03-31 2017-09-08 北京猎豹移动科技有限公司 A kind of method for information display and device, terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10057199B2 (en) * 2015-11-16 2018-08-21 Facebook, Inc. Ranking and filtering comments based on impression calculations

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468207B1 (en) * 2008-05-16 2013-06-18 Google Inc. Detection of chain-letters in user-generated comments for websites
US8423610B2 (en) * 2009-08-12 2013-04-16 Google Inc. User interface for web comments
CN103581280A (en) * 2012-08-30 2014-02-12 网之易信息技术(北京)有限公司 Method and device for interface interaction based on micro blog platform
CN104239356A (en) * 2013-06-21 2014-12-24 腾讯科技(深圳)有限公司 Webpage commenting method and system and browser
CN104156390A (en) * 2014-07-07 2014-11-19 乐视网信息技术(北京)股份有限公司 Comment recommendation method and system
CN104571818A (en) * 2014-12-26 2015-04-29 网易(杭州)网络有限公司 Method and device for displaying article comments
CN106407199A (en) * 2015-07-27 2017-02-15 广州市动景计算机科技有限公司 Network article comment processing method and apparatus
CN105045899A (en) * 2015-08-03 2015-11-11 北京金山安全软件有限公司 Comment content providing method and device and terminal equipment
CN107145513A (en) * 2017-03-31 2017-09-08 北京猎豹移动科技有限公司 A kind of method for information display and device, terminal

Also Published As

Publication number Publication date
CN107766548A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN106406712B (en) Information display method and device
US9241242B2 (en) Information recommendation method and apparatus
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN105740291B (en) Map interface display method and device
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN109059955B (en) Method and device for drawing indication mark in electronic map navigation
CN108388671B (en) Information sharing method and device, mobile terminal and computer readable medium
CN110058754B (en) Option display method and terminal device
WO2014169715A1 (en) Information recommendation method and apparatus
CN106375179B (en) Method and device for displaying instant communication message
CN109032491B (en) Data processing method and device and mobile terminal
CN106412818B (en) Method and device for positioning equipment
CN107783709B (en) Image viewing method and mobile terminal
CN109085982B (en) Content identification method and device and mobile terminal
CN104598476A (en) Message aggregation display method and information display method and relevant device
CN104281394A (en) Method and device for intelligently selecting words
CN103455585A (en) Method, device and terminal for displaying commodity information
CN108958634A (en) Express delivery information acquisition method, device, mobile terminal and storage medium
CN108205568A (en) Method and device based on label selection data
WO2015010570A1 (en) A method, device, and terminal for hiding or un-hiding content
CN105653112B (en) Method and device for displaying floating layer
CN105282692A (en) Speed measurement information display method and device
CN108803972B (en) Information display method, device, mobile terminal and storage medium
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210413

Address after: 518057 Fuan Science and Technology Building, Block B, No. 13, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 207-2

Patentee after: Shenzhen Huantai Technology Co.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.