CN109976620B - Method, device, equipment and storage medium for determining list item display attribute information - Google Patents

Method, device, equipment and storage medium for determining list item display attribute information Download PDF

Info

Publication number
CN109976620B
CN109976620B CN201910243641.2A CN201910243641A CN109976620B CN 109976620 B CN109976620 B CN 109976620B CN 201910243641 A CN201910243641 A CN 201910243641A CN 109976620 B CN109976620 B CN 109976620B
Authority
CN
China
Prior art keywords
list
screen
display container
display
target
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
CN201910243641.2A
Other languages
Chinese (zh)
Other versions
CN109976620A (en
Inventor
李续铖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910243641.2A priority Critical patent/CN109976620B/en
Publication of CN109976620A publication Critical patent/CN109976620A/en
Application granted granted Critical
Publication of CN109976620B publication Critical patent/CN109976620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Abstract

The embodiment of the disclosure provides a method, a device, equipment and a storage medium for determining attribute information of list item display, wherein the method comprises the following steps: when the original data of the list is acquired, generating at least one list according to the original data and a list generation method corresponding to the original data; nesting each list item in the list into a corresponding display container component to obtain a target list; displaying the target list in a screen through a client page according to user operation; and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen. The technical scheme provided by the embodiment of the disclosure avoids the problem that the list generation method needs to be modified when the attribute information of the list item is displayed in the prior art, thereby avoiding the influence on the list generation process and improving the development efficiency of the client.

Description

Method, device, equipment and storage medium for determining list item display attribute information
Technical Field
The present disclosure relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for determining attribute information of list items.
Background
With the development of intelligent terminal technology, application programs for realizing various functions are produced. Often, a plurality of clients of application programs are installed in an intelligent terminal of a user to realize different functions. In order to display information, a common display form of the client is a list including a plurality of list items, which is used for a user to view and select the list items and then enter a detail page.
Currently, an application client may generate a list according to received raw data and a method corresponding to the raw data. Each list may include at least one list item, and for a client that may generate the list, the list may be presented in different forms, for example, in a picture form and a text form.
The generation methods corresponding to the lists of different forms are also different. When attribute information such as the time of each list item in different forms of lists appearing on a screen, the time of leaving the screen and the like needs to be recorded, the method needs to be matched with a list generation method. The generation method of each list needs to be modified at the time of client development. Specifically, a code field for recording the presentation attribute information of the list item is added to a code field of the generation method, so that when the added code field runs, the presentation attribute information of the list item can be recorded.
However, modification of the list generation method may affect generation of each list item, each client generally includes multiple list generation methods for switching use, and when attribute information of list items of multiple lists needs to be recorded, the multiple list generation methods need to be modified, but modification of the multiple list generation methods needs to be modified one by one, which affects development efficiency of a client program.
Disclosure of Invention
The embodiment of the disclosure provides a recording method, a recording device, a recording apparatus, and a storage medium for displaying attribute information of a list item, which avoid the problem that the display attribute information of the recorded list item needs to be modified for a list generation method in the prior art, thereby avoiding the influence on the list generation process, and also improving the development efficiency of a client.
In a first aspect, a method for determining attribute information of list item presentation in an embodiment of the present disclosure is applied to a client, and the method includes:
when original data of a list are acquired, generating at least one list according to the original data and a list generating method corresponding to the original data, wherein the list comprises at least one list item;
nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
displaying the target list in a screen through a client page according to user operation;
and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for determining attribute information of a list item presentation, where the apparatus is applied to a client, and the apparatus includes:
the device comprises a list generating module, a list generating module and a list generating module, wherein the list generating module is used for generating at least one list according to original data and a list generating method corresponding to the original data when the original data of the list is acquired, and the list comprises at least one list item;
the component nesting module is used for nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
the display module is used for displaying the target list in a screen through a client page according to user operation;
and the recording module is used for recording the display attribute information of the display container assembly of the target list in the screen as the display attribute information of the list items nested in the display container assembly in the screen in the process of displaying the target list in the screen.
In a third aspect, an embodiment of the present disclosure further provides an apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement a method for determining attribute information of a list item presentation provided by an embodiment of the present disclosure.
In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for determining attribute information of list item presentation provided in an embodiment of the present disclosure.
According to the technical scheme provided by the embodiment of the disclosure, a target list is obtained by nesting list items in a list in corresponding display container components, in the process of displaying the target list on a screen through a client interface, the display attribute information of the display container components is recorded and is used as the display attribute information of the list items nested in the display container components, that is, the list items are nested in the display container components, the display attribute information of the list items in the screen is determined by recording the display attribute information of the display container components in the screen, so that the problem that in the prior art, when the display attribute information of the list items needs to be recorded, a list generation method is modified is avoided, the influence of the modified list generation method on the list generation process can be avoided, and when the display attribute information of a plurality of lists needs to be recorded, the method avoids the modification of a plurality of list generation methods one by one, and can improve the development efficiency of the client.
Drawings
Fig. 1 is a flowchart of a method for determining attribute information of a list item presentation according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for determining attribute information of a list item presentation according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a structure of a device for determining attribute information of a list item presentation according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus provided by the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
Fig. 1 is a flowchart of a method for determining attribute information of a list item presentation according to an embodiment of the present disclosure, where the method is performed by a device for determining attribute information of a list item presentation, and the device is performed by software and/or hardware. The device can be configured in terminals such as smart phones and tablet computers. The method can be applied to the client installed on the terminal such as the smart phone and the tablet personal computer.
The method can be applied to a scene that a user browses a client page. The client page may be a browser page, among others. The browser may be an application program for a user to browse information.
As shown in fig. 1, the technical solution provided by the embodiment of the present disclosure includes:
s110: when the original data of a list is acquired, at least one list is generated according to the original data and a list generation method corresponding to the original data, and the list comprises at least one list item.
In the embodiment of the present disclosure, when the user opens the client, the client may obtain the raw data of the list, or the client may obtain the raw data of the list at intervals of a set time, and the set time may be determined as needed, or the condition for the client to obtain the raw data of the list may be other conditions.
The raw data may include user input data, data from a server, or local data, among others. The corresponding relationship between the original data and the list generation method can be configured as required. For example, the original data in the form of text and the original data in the form of picture may correspond to different list generation methods, and the original data in different storage addresses may correspond to different list generation methods, for example, the original data stored in different files may correspond to different list generation methods, where the correspondence between the original data and the list generation methods is not limited to the above correspondence.
The list generating method may include information such as color, layout, font, relationship between the original data and the generated list item content of the list, and may further include other information of the list. For example, the original data of the list items may be 1,2,3, and 4, respectively, and the list generation method may be x +1 ═ x +1, that is, 1 is added on a per original data basis, and then the result is obtained. Therefore, the first list item obtained may be 1+1 ═ 2, and the generation method of the other list items is based on this method.
In the disclosed embodiment, one raw data may correspond to at least one list generation method. The client may retrieve one or more raw data. Therefore, when the client receives the original data of the list, at least one list can be generated according to the list generation method corresponding to the original data.
S120: nesting each list item in the list into a corresponding display container component to obtain a target list; and the display container components corresponding to each list item are the same.
In the disclosed embodiment, the display container assembly may be a DIV assembly, wherein the display container assembly may be used to store content (text, pictures, elements, etc.). Wherein the target list includes each list item in the list and a display container component nesting each list item.
In the embodiment of the present disclosure, the attribute information such as the size and the color of the display container component may be customized as needed, for example, the color of the display container component may be transparent, and the size of the display container component may be the same as the size of the generated list item.
S130: and displaying the target list in a screen through a client page according to user operation.
In the embodiment of the present disclosure, the target list may be displayed in a client page, and displayed in a screen through the client page. When the number of the target lists is multiple, the multiple target lists can be presented at the client side simultaneously.
In the embodiment of the present disclosure, the user operation may be an operation of sliding the client page by the user, or may be another operation by the user. When the user slides the client page, the corresponding position area of the screen in the client page is determined, and the target list in the corresponding position area of the client page is displayed on the screen.
S140: and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen.
In the embodiment of the present disclosure, the presentation attribute information of the display container component of the target list in the screen may include at least one of the following: the display container component displays time information of starting to display on a screen, time information of leaving the screen, time information of staying on the screen, state information of whether to display on the screen and time information of displaying on the screen.
In the embodiment of the disclosure, each list item is nested in the display container component, and the display container component can store the content of the list item, so that each list item and the display container component nested in each list item can be simultaneously displayed on the screen, that is, the list item is nested in the display container component and is simultaneously displayed on the screen with the display container component. Therefore, by recording the presentation attribute information of the display container component in the screen, the presentation attribute information of the list items nested in the display container component in the screen can be taken as the presentation attribute information.
In the related art, the application client may generate a list according to the received original data and a corresponding method corresponding to the original data, where each list may include at least one list item, and for the client that may generate the list, the client may present lists in different forms, such as a picture form and a text form. The generation methods corresponding to the lists of different forms are also different. When attribute information such as the time of each list item in different forms of lists appearing on a screen, the time of leaving the screen and the like needs to be recorded, the method needs to be matched with a list generation method. The generation method of each list needs to be modified at the time of client development. Specifically, a code field for recording the presentation attribute information of the list item is added to a code field of the generation method, so that when the added code field runs, the presentation attribute information of the list item can be recorded.
However, modification of the list generation method may affect generation of each list item, each client generally includes multiple list generation methods for switching use, and when attribute information of list items of multiple lists needs to be recorded, the multiple list generation methods need to be modified, but modification of the multiple list generation methods needs to be modified one by one, which affects development efficiency of a client program.
According to the technical scheme provided by the embodiment of the disclosure, after the client generates the list, the list items in the list are nested in the corresponding display container components, and the display attribute information of the display container components is recorded and used as the display attribute information of the list items nested in the display container components, namely, the purpose of recording the display attribute information of the list nested in the display container components is realized through the definition of the display container components. According to the embodiment of the disclosure, the list items in the list are nested in the corresponding display container components, so that modification of the list generation method when the display attribute information of the list items needs to be recorded is avoided, and the influence of the modified list generation method on the list generation process can be avoided; when the display attribute information of a plurality of lists needs to be recorded, the display container components are controlled by nesting the list items in the corresponding display container components, each list generated by the client side has universality, the display attribute information of the list items in each list can be obtained, the problem that in the prior art, a plurality of list generation methods are modified one by one is solved, and the development efficiency of the client side is improved.
According to the technical scheme provided by the embodiment of the disclosure, a target list is obtained by nesting list items in a list in corresponding display container components, in the process of displaying the target list on a screen through a client interface, the display attribute information of the display container components is recorded and is used as the display attribute information of the list items nested in the display container components, that is, the list items are nested in the display container components, the display attribute information of the list items in the screen is determined by recording the display attribute information of the display container components in the screen, so that the problem that in the prior art, when the display attribute information of the list items needs to be recorded, a list generation method is modified is avoided, the influence of the modified list generation method on the list generation process can be avoided, and when the display attribute information of a plurality of lists needs to be recorded, the method avoids the modification of a plurality of list generation methods one by one, and can improve the development efficiency of the client.
Fig. 2 is a flowchart of a method for determining attribute information of list item presentation according to an embodiment of the present disclosure, where in this embodiment, optionally, the presenting the target list in a screen through a client page according to a user operation may include:
sliding the client page according to user operation, and determining a corresponding position area of the screen in the client page after the client page slides;
displaying the target list content of the client page in the corresponding position area in the screen;
the client page comprises one or more target lists, and the position area of the screen corresponds to at least partial list items of one target list and display container components nested in the at least partial list items.
As shown in fig. 2, the technical solution provided by the embodiment of the present disclosure includes:
s210: when the original data of a list is acquired, at least one list is generated according to the original data and a list generation method corresponding to the original data, and the list comprises at least one list item.
S220: nesting each list item in the list into a corresponding display container component to obtain a target list; and the display container components corresponding to each list item are the same.
S230: and sliding a client page according to user operation, and determining a corresponding position area of the screen in the client page after the client page slides.
In the embodiment of the disclosure, the client may display at least one target list in the client page, when it is detected that the user slides the client page, after the client page is slid, the corresponding position of each vertex of the screen in the client page is determined, and the corresponding position area of the screen in the client page is determined according to the corresponding position of each vertex in the client page. After the client page slides, the state of the client page may be a static state or a moving state.
S240: and displaying a target list of the client page in the corresponding position area in the screen.
In the embodiment of the disclosure, the client page comprises one or more target lists, the position area of the screen corresponds to at least partial list items of one target list and display container components nesting the at least partial list items.
S250: and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen.
In an implementation manner of the embodiment of the present disclosure, optionally, the recording of the display attribute information of the display container component of the target list in the screen may include: determining a location of each display container component in the client page; judging whether each display container component is displayed in a screen or not according to the position of each display container component in a client page and the corresponding position area of the screen in the client page in sequence; recording the state information displayed on the screen by each display container assembly according to the judgment result; recording the time information of the display container components displayed on the screen, and recording the time information of the display container components displayed on the screen.
Wherein the location of each display container component on the client page is determined when each display container component is rendered on the client page.
Optionally, sequentially determining whether each display container component is displayed in the screen according to the position of each display container component in the client page and the corresponding position area of the screen in the client page, where: and sequentially judging whether each display container component is displayed in the screen or not according to the sequence of each display container component in the target list. The method comprises the following steps: whether the position of each display container component in the client page is in a corresponding position area of the screen in the client page can be sequentially judged according to the sequence of each display component in the target list; if so, judging that the display container assembly is displayed in the screen, otherwise, judging that the display container assembly is not displayed in the screen.
The display state information of each display container component on the screen may be recorded according to the judgment result, for example, the display state information of the display container component on the screen may be recorded in an array form. For example, one target list includes four list items and display container components in which the four list items are nested, if the first display container component is displayed in the screen through the client page and other display container components are not displayed in the screen, the display state information of the display container components on the screen may be recorded in the following array form (1,0, 0, 0) according to the sequence of each display container component in the target list. Wherein 1 represents that the display container component is presented in the screen, and 0 represents that the presentation container component is not presented in the screen.
Because the list items are nested in the corresponding display container components, the list items and the corresponding display container components can be displayed on the screen at the same time, so that the state information of whether the display container components are displayed on the screen can be used as the state information of whether the list items are displayed on the screen, and the state information of whether the list items are displayed on the screen can be recorded in an array mode. Therefore, the state information whether to be displayed on the screen or not is recorded in an array mode, so that the space can be saved.
In the embodiment of the disclosure, when the display container component starts to be displayed on the screen through the client page, time information of the display container component starting to be displayed on the screen may be recorded, and information of the number of times each display container component is displayed on the screen may also be recorded.
In an implementation manner of the embodiment of the present disclosure, recording presentation attribute information of the display container component of the target list in a screen may further include: after the client page slides, recording time information of a target display container assembly leaving the screen, determining dwell time information of the target display container assembly on the screen according to the time information of the target display container assembly starting to be displayed on the screen and the time information of the target display container assembly leaving the screen, and recording; and the target display container component is a component displayed on the screen before the client page slides.
Therefore, in the process of sliding the client page based on user operation, the display attribute information of the display container assembly of the target list in the client page in the screen is recorded, the display attribute information of the list items nested in the display container assembly in the screen can be obtained, the control over the list items can be converted into the control over the display container assembly of the nested list items, the modification of a list generation method can be avoided, the display attribute information of the list items recorded in other lists can be universal, and data analysis is facilitated by recording the display attribute information of the list items, so that the requirements and preferences of users can be analyzed.
On the basis of the above embodiments, the technical solution provided by the embodiments of the present disclosure further includes: and sending the list item nested by the display container component displayed on the screen after the client page slides, the list item nested by the display container component and the display attribute information of the list item to a server from before the client page slides to after the client page slides and leaves the screen, so that the server performs data analysis.
In the embodiment of the present disclosure, when the client reports the display attribute information of the list item to the server, the state information displayed in the screen for the list item reported this time may adopt the following form:
in[1]
Out[]
where "in" may characterize being presented in the screen and "out" may characterize not being presented in the screen. In [1] indicates that the first list item is displayed on the screen, and Out [ ] indicates that no list item exits from the screen. When the server receives the data, the server can judge the change of the list items displayed in the screen according to the state information reported this time and the last time.
It should be noted that, in any embodiment of the present disclosure, when the original data of the list is acquired, at least one list is generated according to the original data and a list generation method corresponding to the original data, where the list includes at least one list item; nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same; the target list can be firstly displayed in the screen through the client page, then the target list of the screen in the corresponding position area of the client page is displayed in the screen according to the user operation, and in the process of displaying the target list in the screen, the display attribute information of the display container assembly of the target list in the screen is recorded and is used as the display attribute information of the list items nested in the display container assembly in the screen.
Fig. 3 is a block diagram of a structure of a device for determining attribute information of list item presentation according to an embodiment of the present disclosure, where the device is applied to a client, and the device includes: a list generation module 310, a component nesting module 320, a presentation module 330, and a recording module 340.
The list generating module 310 is configured to generate at least one list according to original data and a list generating method corresponding to the original data when the original data of the list is acquired, where the list includes at least one list item;
the component nesting module 320 is used for nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
the display module 330 is configured to display the target list in a screen through a client page according to a user operation;
the recording module 340 is configured to record, in the process of displaying the target list in the screen, the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen.
Optionally, the presentation module 330 is configured to slide the client page according to a user operation, and determine a corresponding position area of the screen in the client page after the client page slides;
displaying a target list of the client page in the corresponding position area in the screen;
the client page comprises one or more target lists, and the position area of the screen corresponds to at least partial list items of one target list and display container components nested in the at least partial list items.
Optionally, the recording module 340 is configured to determine a position of each display container component in the client page;
judging whether each display container component is displayed in a screen or not according to the position of each display container component in a client page and the corresponding position area of the screen in the client page in sequence;
recording the state information displayed on the screen by each display container assembly according to the judgment result;
recording time information of starting display of the display container components displayed on the screen, and recording the number of times each display container component is presented on the screen.
Optionally, the recording module 340 is configured to record, after the client page slides, time information when the target display container assembly leaves the screen, and determine, according to the time information when the target display container assembly starts to be displayed on the screen and the time information when the target display container assembly leaves the screen, information on a staying time of the target display container assembly on the screen, and record the information;
and the target display container component is a component displayed on the screen before the client page slides.
The device also comprises a reporting module which is used for sending the list item nested in the display container component displayed on the screen after the client page slides, the list item nested in the display container component and the display attribute information of the list item to a server from before the client page slides to after the client page slides and leaves the screen, so that the server can analyze the data.
Optionally, the state information of whether the list item is displayed on the screen is recorded in an array manner.
Optionally, the raw data includes data input by a user, data from a server, or local data.
The device can execute the method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Referring now to fig. 4, a block diagram of an electronic device (e.g., a terminal device) 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
when original data of a list are acquired, generating at least one list according to the original data and a list generating method corresponding to the original data, wherein the list comprises at least one list item;
nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
displaying the target list in a screen through a client page according to user operation;
and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. The modules and units described in the embodiments of the present disclosure may be implemented by software or hardware. The names of the modules and units do not limit the modules or units in some cases.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the particular embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (10)

1. A method for determining attribute information of list item presentation is applied to a client, and the method comprises the following steps:
when original data of a list are acquired, generating at least one list according to the original data and a list generating method corresponding to the original data, wherein the list comprises at least one list item;
nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
displaying the target list in a screen through a client page according to user operation;
and recording the display attribute information of the display container component of the target list in the screen as the display attribute information of the list items nested in the display container component in the screen in the process of displaying the target list in the screen.
2. The method according to claim 1, wherein the presenting the target list in the screen through a client page according to a user operation comprises:
sliding the client page according to user operation, and determining a corresponding position area of the screen in the client page after the client page slides;
displaying a target list of the client page in the corresponding position area in the screen;
the client page comprises one or more target lists, and the position area of the screen corresponds to at least partial list items of one target list and display container components nested in the at least partial list items.
3. The method according to claim 1 or 2, wherein the recording of the presentation property information of the display container component of the target list in a screen comprises:
determining a location of each display container component in the client page;
judging whether each display container component is displayed in a screen or not according to the position of each display container component in a client page and the corresponding position area of the screen in the client page in sequence;
recording the state information displayed on the screen by each display container assembly according to the judgment result;
recording the time information of the display container components displayed on the screen, and recording the time information of the display container components displayed on the screen.
4. The method of claim 3, wherein the displaying attribute information of the display container component recording the target list in a screen comprises:
after the client page slides, recording time information of a target display container assembly leaving the screen, determining dwell time information of the target display container assembly on the screen according to the time information of the target display container assembly starting to be displayed on the screen and the time information of the target display container assembly leaving the screen, and recording;
and the target display container component is a component displayed on the screen before the client page slides.
5. The method of claim 4, further comprising:
and sending the list item nested by the display container component displayed on the screen after the client page slides, the list item nested by the display container component and the display attribute information of the list item to a server from before the client page slides to after the client page slides, so that the server performs data analysis.
6. The method of claim 5,
and recording the state information of whether the list item is displayed on the screen in an array mode.
7. The method of claim 1, wherein the raw data comprises user-entered data, data from a server, or local data.
8. An apparatus for determining attribute information of list item presentation, the apparatus being applied to a client, the apparatus comprising:
the device comprises a list generating module, a list generating module and a list generating module, wherein the list generating module is used for generating at least one list according to original data and a list generating method corresponding to the original data when the original data of the list is acquired, and the list comprises at least one list item;
the component nesting module is used for nesting each list item in the list into a corresponding display container component to obtain a target list; wherein, the display container components corresponding to each list item are the same;
the display module is used for displaying the target list in a screen through a client page according to user operation;
and the recording module is used for recording the display attribute information of the display container assembly of the target list in the screen as the display attribute information of the list items nested in the display container assembly in the screen in the process of displaying the target list in the screen.
9. An apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method for determining presentation of attribute information for a list item as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for determining presentation attribute information for list items according to any one of claims 1 to 7.
CN201910243641.2A 2019-03-28 2019-03-28 Method, device, equipment and storage medium for determining list item display attribute information Active CN109976620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910243641.2A CN109976620B (en) 2019-03-28 2019-03-28 Method, device, equipment and storage medium for determining list item display attribute information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910243641.2A CN109976620B (en) 2019-03-28 2019-03-28 Method, device, equipment and storage medium for determining list item display attribute information

Publications (2)

Publication Number Publication Date
CN109976620A CN109976620A (en) 2019-07-05
CN109976620B true CN109976620B (en) 2020-09-01

Family

ID=67081297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910243641.2A Active CN109976620B (en) 2019-03-28 2019-03-28 Method, device, equipment and storage medium for determining list item display attribute information

Country Status (1)

Country Link
CN (1) CN109976620B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380955B (en) * 2019-07-23 2022-01-28 北京字节跳动网络技术有限公司 Message processing method and device and electronic equipment
CN110471592B (en) * 2019-08-23 2021-07-23 武汉斗鱼鱼乐网络科技有限公司 List view display method and device
CN111381689A (en) * 2020-03-12 2020-07-07 北京字节跳动网络技术有限公司 Applet input method and device, electronic equipment and storage medium
CN111414368A (en) * 2020-04-03 2020-07-14 中国建设银行股份有限公司 Method and device for processing data
CN113971060B (en) * 2020-07-23 2023-10-27 抖音视界有限公司 Interface display method, device, electronic equipment and medium
CN111984358A (en) * 2020-08-31 2020-11-24 贝壳技术有限公司 List page display method and device, electronic equipment and storage medium
CN112733063A (en) * 2021-01-15 2021-04-30 百果园技术(新加坡)有限公司 Personal post attribute list pulling method and device, electronic equipment and storage medium
CN112907324A (en) * 2021-02-26 2021-06-04 拉扎斯网络科技(上海)有限公司 Method for displaying entity object information list
CN113407088A (en) * 2021-05-11 2021-09-17 北京达佳互联信息技术有限公司 List display method and device, electronic equipment and storage medium
CN113867590A (en) * 2021-09-29 2021-12-31 五八同城信息技术有限公司 Information processing method and device for list items, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677789A (en) * 2012-09-25 2014-03-26 深圳市金正方科技有限公司 Table data displaying method and system based on GRID assembly
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102243559A (en) * 2010-05-13 2011-11-16 成都索贝数码科技股份有限公司 Method and system for managing media asset by using graphical interface
US8924007B2 (en) * 2010-12-17 2014-12-30 Oracle International Corporation Three dimensional load packing
US9678629B2 (en) * 2014-12-11 2017-06-13 Ariba, Inc. Focusing on multiple selected rows within a data table

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677789A (en) * 2012-09-25 2014-03-26 深圳市金正方科技有限公司 Table data displaying method and system based on GRID assembly
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"React中的展示与容器组件 Presentational和";亿仁网;《https://baijiahao.***.com/s?id=1613947467227857609》;20181010;全文 *

Also Published As

Publication number Publication date
CN109976620A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN109976620B (en) Method, device, equipment and storage medium for determining list item display attribute information
CN111399956B (en) Content display method and device applied to display equipment and electronic equipment
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN113191726B (en) Task detail interface display method, device, equipment and computer readable medium
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN111291244B (en) House source information display method, device, terminal and storage medium
CN109600656B (en) Video list display method and device, terminal equipment and storage medium
CN111444356B (en) Recommendation method and device based on search
CN109753332B (en) Method and device for displaying information
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN110619100B (en) Method and apparatus for acquiring data
EP4231143A1 (en) Information display method and apparatus, electronic device, and computer readable storage medium
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN110647369B (en) Page dynamic display method and device, mobile terminal and storage medium
CN114021016A (en) Data recommendation method, device, equipment and storage medium
CN110381356B (en) Audio and video generation method and device, electronic equipment and readable medium
CN110619101B (en) Method and apparatus for processing information
CN112256221A (en) Information display method and device and electronic equipment
CN111310086A (en) Page jump method and device and electronic equipment
CN114417782A (en) Display method and device and electronic equipment
CN114626332A (en) Content display method and device and electronic equipment
CN111274513A (en) Window display method, device, terminal and storage medium
CN112579218A (en) User interface display method and device, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant