CN111381819B - List creation method and device, electronic equipment and computer-readable storage medium - Google Patents

List creation method and device, electronic equipment and computer-readable storage medium Download PDF

Info

Publication number
CN111381819B
CN111381819B CN201811628687.8A CN201811628687A CN111381819B CN 111381819 B CN111381819 B CN 111381819B CN 201811628687 A CN201811628687 A CN 201811628687A CN 111381819 B CN111381819 B CN 111381819B
Authority
CN
China
Prior art keywords
list
attributes
specific
preset
attribute
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
CN201811628687.8A
Other languages
Chinese (zh)
Other versions
CN111381819A (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 Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision 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 Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811628687.8A priority Critical patent/CN111381819B/en
Publication of CN111381819A publication Critical patent/CN111381819A/en
Application granted granted Critical
Publication of CN111381819B publication Critical patent/CN111381819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a list creation method and device, electronic equipment and a computer readable storage medium, and relates to the field of information processing. The method comprises the following steps: after a request for creating a list is received, interface parameters of the list are determined based on the list type contained in the request, common attributes are obtained from a preset parent database based on the list type, preset specific attributes are obtained based on the list type, and then the list is created based on the common attributes, the specific attributes and the interface parameters. Therefore, no matter which type of list is created, the common attributes can be multiplexed, and codes corresponding to the common attributes do not need to be repeatedly written when corresponding codes are written, so that code redundancy is avoided, and hardware resources are saved.

Description

List creation method and device, electronic equipment and computer-readable storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a list creation method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of the internet, communication modes of people are more and more diversified, for example, instant communication can be performed through application programs such as QQ and WeChat, and messages or comments can be published on platforms such as websites and forums.
Generally speaking, the messages or comments are displayed in a list manner, and for convenience of description, the messages or comments are called a "comment list," and for example, the comment list may be a comment list of a certain website and a message area in a forum on a browser, a message area in a certain page in an application program, or a message area in other forms in which a user can post comments.
The comment list may include a first-level list and a second-level list, where the second-level list is a sub-list of the first-level list, specifically, if there is no message left in a certain forum message area, there is no comment list in the message area, at this time, the user a clicks a "comment" button and issues a message a, then the message a issued by the user a is displayed through the comment list and also through the first-level list, and if the user a or another user comments on the message a or replies a message b, the message b is displayed through the second-level list; if user A or another user has re-published the message c, the message c is still presented via a primary list.
Whether a primary list or a secondary list, will contain some of the same element information, such as the user's avatar element, time format of publication element, font element, etc. In the prior art, no matter whether a primary list or a secondary list is created, rules of each element, such as a head portrait size, a published time format, a font size, and the like, are set in advance, that is, what the rules of each element in the primary list are set in advance, what the rules of each element in the secondary list are set in advance, and most of the rules of the same elements are the same, even all of the rules are the same, so that the same rules need to be written repeatedly when corresponding codes are written, code redundancy is caused, and hardware resources are wasted.
Disclosure of Invention
The application provides a list creation method and device, electronic equipment and a computer readable storage medium, which are used for solving the technical problem of hardware resource waste caused by code redundancy when creating a list.
In a first aspect, a method for creating a list is provided, where the method includes:
receiving a request to create the list, the request including a list type for the list;
determining interface parameters of the list based on the list type, acquiring common attributes from a preset parent database based on the list type, and acquiring preset specific attributes based on the list type;
creating the list based on the common attribute, the specific attribute, and the interface parameter.
In a second aspect, an apparatus for creating a list is provided, the apparatus comprising:
a receiving module for receiving a request to create the list, the request including a list type of the list;
the acquisition module is used for determining interface parameters of the list based on the list type, acquiring common attributes from a preset parent database based on the list type and acquiring preset specific attributes based on the list type;
a generating module to create the list based on the common attribute, the specific attribute, and the interface parameter.
In a third aspect, an electronic device is provided, which includes:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to execute the list creation method shown in the first aspect of the present application by calling the operation instruction.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the method for creating a list as shown in the first aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
in the embodiment of the invention, after a request for creating a list is received, interface parameters of the list are determined based on a list type contained in the request, common attributes are obtained from a preset parent database based on the list type, preset specific attributes are obtained based on the list type, and then the list is created based on the common attributes, the specific attributes and the interface parameters. Therefore, no matter which type of list is created, the common attributes can be multiplexed, and codes corresponding to the common attributes do not need to be repeatedly written when corresponding codes are written, so that code redundancy is avoided, and hardware resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a flowchart illustrating a method for creating a list according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for creating a list according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a list creation apparatus according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device for creating a list according to another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The list in the application may be a comment list, for example, a comment list of a certain website and a message area in a forum on a browser, a message area in a certain page in an application program, or a message area in other forms in which a user can post comments.
The browser or the application program can be installed in the terminal, and the terminal can have the following characteristics:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (WIreless-Fidelity), WiMAX (world Interoperability for Microwave Access), etc., thereby adapting to various systems of networks, not only supporting voice service, but also supporting various WIreless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
In the application, the comment list may include a first-level list and a second-level list, where the second-level list is a sub-list of the first-level list, specifically, if there is no message left in a certain forum message area, the message area has no comment list, and at this time, the user a clicks a "comment posting" button and posts a message a, then the message a posted by the user a is shown through the comment list and also through the first-level list, and if the user a or another user comments on the message a or replies a message b, the message b is shown through the second-level list; if user A or another user has re-published the message c, the message c is still presented via a primary list.
Whether a primary list or a secondary list, will contain some of the same element information, such as the user's avatar element, time format of publication element, font element, etc. In the prior art, no matter whether a primary list or a secondary list is created, rules of each element, such as a head portrait size, a published time format, a font size, and the like, are set in advance, that is, what the rules of each element in the primary list are set in advance, what the rules of each element in the secondary list are set in advance, and most of the rules of the same elements are the same, even all of the rules are the same, so that the same rules need to be written repeatedly when corresponding codes are written, code redundancy is caused, and hardware resources are wasted.
In addition, in the present application, if the user a or another user has published the message d for the message b, the user a or another user does not continue to create the third-level list but continues to create the second-level list, but the difference is that the second-level list showing the message b is called a "second-level original list", and the second-level list showing the message d is called a "second-level comment list", that is, the second-level list further includes two types of lists, namely, the "second-level original list" and the "second-level comment list".
The list creation method, device, electronic equipment and computer-readable storage medium provided by the application aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, a method for creating a list is provided, as shown in fig. 1, the method including:
step S101, receiving a request for creating the list, wherein the request comprises the list type of the list;
specifically, the request for creating the list is triggered by the user, for example, the user clicks a "comment" button in a message leaving area of a certain page, the page pops up a message input box, and after the user inputs information in the message box, the user clicks the "comment" button, which indicates that the request for creating the list is initiated. If the user directly clicks a 'comment' button in a message leaving area, the 'comment making' is to create a primary list, and if the user replies to a message, the user creates a secondary list.
Further, if the user commends or replies to the messages in the primary list, a secondary original list is created, and if the user commends or replies to the secondary original list, a secondary comment list is created.
Therefore, in the present application, each "comment" button has its own list type identifier, and a user clicks the "comment" button of a different list type identifier, and accordingly creates a different type of list, for example, the list type identifier of a certain "comment" button is a "secondary original list", and then after the user clicks the corresponding "comment posting" button, the user initiates a request for creating a "secondary original list". That is, after a user initiates a request for creating a list through a certain action or instruction, the user generates a request for creating a list according to the identifier of the list type corresponding to the action or instruction.
It should be noted that the "comment" and "comment" buttons are only used for illustration, and the form that can be used to trigger the request for creating the list is applicable to the present application, and the present application is not limited to this.
Step S102, determining interface parameters of the list based on the list type, acquiring common attributes from a preset parent database based on the list type, and acquiring preset specific attributes based on the list type;
after receiving a request for generating a creation list triggered by a user, the terminal can create the list based on the list type in the request, and if the list type is a primary list, the terminal can acquire interface parameters corresponding to the primary list, acquire common attributes corresponding to the primary list from a preset parent database, and acquire preset specific attributes corresponding to the primary list; if the list type is a secondary list, the interface parameters corresponding to the secondary list can be obtained, the common attributes corresponding to the secondary list are obtained from a preset parent database, and the preset specific attributes corresponding to the secondary list are obtained.
Further, the secondary list further includes a secondary original list and a secondary comment list, and interface parameters, common attributes, and specific attributes of the secondary original list and the secondary comment list may be different, so that when the secondary list is created, a specific type of the secondary list needs to be judged, and then the secondary list is created based on the specific type of the secondary list, and the creating manner is the same as the creating manner of the primary list and the secondary list, which is not described herein again.
In the present application, the interface parameters may include parameters such as length, height, coordinates, etc. of the created list, for example, a secondary original list with length of 80 and height of 40 is created at a (120, 250) position of the page.
The common attributes comprise default multimedia contents displayed in the list, default display parameters of the multimedia contents, and display and hidden attributes of the multimedia contents. For example, the default multimedia content may include text, picture, audio, video, etc., the default rendering parameters may include font style of text, font size, picture size, audio/video duration, etc., and the rendering attributes of the multimedia content may include whether to display any multimedia content, such as whether to display a picture. The text may include, among other things, the user ID, the time of publication of the comment, etc.
The specific attributes comprise specific multimedia content different from default multimedia content, specific presentation parameters different from default presentation parameters, and specific presentation and concealment attributes different from presentation and concealment attributes of the multimedia content. For example, a picture is displayed in the primary list and not displayed in the secondary list; or the font style of a certain text in the primary list is a regular font, and the font style of the certain text in the secondary list is a song font, and the like.
It should be noted that creating the list in this application means that the user has already input the content to be published and then determines to publish the content before creating the list. If the user does not want to publish after inputting, and clicks exit, then a list will not be created; or after the user clicks the comment, no content is input in the popped-up message input box, and the user clicks the published comment, so that the list is still not created.
Therefore, before creating the list, it is determined whether the list to be created contains valid content, if so, the list is created, otherwise, the list is not created. The effective content may be any form of character or character string.
Step S103, creating the list based on the common attribute, the specific attribute and the interface parameter.
Specifically, frames of the list are generated by adopting the interface parameters, then the common attributes are added into the frames, and then the specific attributes are added into the frames, so that the frames can be displayed in the page. Of course, the creation of the list presupposes that there is valid content in the list to be created.
In practical applications, the specific attribute may contain the same category as the common attribute, but the attributes are different, so that when the specific attribute is added to the framework, it is sufficient to overwrite the common attribute with the specific attribute. For example, the common attribute and the specific attribute both include a time font style, but the time font style in the common attribute is a regular font, and the time font style in the secondary original list is a song style, so that when the secondary original list is created, the common attribute is added first, that is, the time font style is set to be the regular font, and then the specific attribute is added, that is, the time font style is adjusted from the regular font to the song style.
If the specific attribute does not contain the same category as the common attribute, it is sufficient to add the specific attribute directly to the frame when creating the list. For example, attribute a is not included in the common attribute, but attribute a is included in the secondary comment list, that is, attribute a is a specific attribute of the secondary comment list, and then, when creating the secondary comment list, it is sufficient to add the common attribute and the specific attribute including attribute a to the frame in sequence.
In the embodiment of the invention, after a request for creating a list is received, interface parameters of the list are determined based on a list type contained in the request, common attributes are obtained from a preset parent database based on the list type, preset specific attributes are obtained based on the list type, and then the list is created based on the common attributes, the specific attributes and the interface parameters. Therefore, no matter which type of list is created, the common attributes can be multiplexed, and codes corresponding to the common attributes do not need to be repeatedly written when corresponding codes are written, so that code redundancy is avoided, and hardware resources are saved.
In another embodiment, another possible implementation is provided, as shown in fig. 2, the method includes:
step S201, all attributes of each list to be processed are respectively extracted;
step S202, common attributes are extracted from all the attributes of each list to generate the parent database;
step S203, extracting non-common attributes from all the attributes of each list to generate a specific attribute database;
step S204, detecting whether the specific attribute set is updated according to a preset time interval;
step S205, if yes, judging whether the same item exists in each specific attribute;
step S206, if yes, extracting the same item, and storing the same item to the parent database;
in practical application, an administrator may preset all attributes required for creating each type of list, such as which all attributes of a primary list are, which all attributes of a secondary original list are, and which all attributes of a secondary comment list are, then extract at least one same attribute from all attributes of each type of list as a common attribute, then generate a parent database, and store each common attribute in the parent database. The common attributes in the parent database are all "parent", and the created list inherits the attributes of the "parent", and thus belongs to the "child" of the "parent".
And then generating a specific attribute database, and storing the non-common attributes which are not extracted from each list to the parent database, namely specific attributes, in the specific attribute database, wherein the non-common attributes may or may not be extracted.
For example, creating a primary list requires list attribute A, B, C, D, creating a secondary original list requires list attribute A, B, E, creating a secondary review list requires list attribute A, B, then matching three types of list attributes, list attribute A, B being the same item, then generating a parent database, and storing list attribute A, B as a common attribute into it, generating a specific attribute database, and storing list attribute C, D, E as a specific attribute into it. Then the specific attribute is C, D for the primary list, E for the secondary original list, but there is no specific attribute for the secondary review list.
Further, the administrator can adjust the attributes required for creating the lists of various types according to actual requirements, if the adjusted specific attributes are specific attributes, the parent database and/or the specific attribute library can be updated manually after the adjustment is completed, or whether the specific attribute database is updated can be detected automatically after a preset time interval is reached, if yes, whether the specific attributes have the same items or not is further judged, and if yes, the same items are extracted and stored in the parent database; if the administrator directly adjusts the common attributes, it is not necessary to detect if the common attributes are updated (the administrator has manually updated).
Step S207, receiving a request for creating the list, where the request includes a list type of the list;
step S208, determining interface parameters of the list based on the list type, acquiring common attributes from a preset parent database based on the list type, and acquiring preset specific attributes based on the list type;
step S209, creating the list based on the common attribute, the specific attribute and the interface parameter.
In the embodiment of the present invention, before a request for creating a list is received, a common attribute database, that is, a parent database and a specific attribute database, which are required for creating a list are generated in advance, and then whether the specific attribute database is updated or not is periodically detected, if the specific attribute database is updated and at least one identical item exists in each specific attribute, each identical item is stored in the parent database, and after the request for creating a list is received, a list can be created according to the updated parent database and the updated specific attribute database. Therefore, code redundancy is further avoided and hardware resources are saved by periodically updating the parent database and the specific attribute database.
Fig. 3 is a schematic structural diagram of a list creating apparatus according to another embodiment of the present application, and as shown in fig. 3, the apparatus of this embodiment may include:
a receiving module 301, configured to receive a request for creating the list, where the request includes a list type of the list;
an obtaining module 302, configured to determine interface parameters of the list based on the list type, obtain a common attribute from a preset parent database based on the list type, and obtain a preset specific attribute based on the list type;
a generating module 303, configured to create the list based on the common attribute, the specific attribute, and the interface parameter.
In a preferred embodiment of the present invention, the list type includes: a primary list, or, a secondary list;
the acquisition module includes:
the first obtaining sub-module is used for obtaining interface parameters corresponding to the primary list, obtaining common attributes corresponding to the primary list from a preset parent database, and obtaining preset specific attributes corresponding to the primary list;
and the second obtaining sub-module is used for obtaining the interface parameters corresponding to the secondary list, obtaining the common attributes corresponding to the secondary list from a preset parent database, and obtaining the preset specific attributes corresponding to the secondary list.
In a preferred embodiment of the present invention, the common attribute includes a default multimedia content displayed in the list, a default display parameter of the multimedia content, and a display/hidden attribute of the multimedia content; the specific attributes comprise specific multimedia content different from the default multimedia content, specific presentation parameters different from the default presentation parameters, and specific presentation and concealment attributes different from presentation and concealment attributes of the multimedia content.
In a preferred embodiment of the present invention, the apparatus further includes:
the first extraction module is used for respectively extracting all attributes of each list to be processed;
the second extraction module is used for extracting common attributes from all the attributes of the lists to generate the parent database;
and the third extraction module is used for extracting non-common attributes from all the attributes of each list to generate a specific attribute set.
In a preferred embodiment of the present invention, the apparatus further includes:
the detection module is used for detecting whether the specific attribute database is updated according to a preset time interval;
the judging module is used for judging whether the same item exists in each specific attribute;
and the storage module is used for extracting the same item and storing the same item to the parent database.
Referring now to FIG. 4, a block diagram of an electronic 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 perform the method of creating a list as shown in the above-described method embodiments.
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 systems, 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 units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".
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.

Claims (10)

1. A method for creating a list, comprising:
receiving a request to create the list, the request including a list type for the list; the list types include: a primary list, or, a secondary list; the secondary list is a sub-list of the primary list;
determining interface parameters of the list based on the list type, acquiring common attributes corresponding to the list type from a preset parent database based on the list type, and acquiring preset specific attributes based on the list type; the obtaining of the preset specific attribute based on the list type includes: acquiring a preset specific attribute corresponding to the primary list or acquiring a preset specific attribute corresponding to the secondary list;
creating the list based on the common attribute, the specific attribute, and the interface parameter.
2. The method for creating a list according to claim 1, wherein the step of determining the interface parameters of the list based on the list type, and the step of obtaining the common attributes from a preset parent database based on the list type comprises:
acquiring interface parameters corresponding to the primary list, and acquiring common attributes corresponding to the primary list from a preset parent database;
or the like, or, alternatively,
and acquiring interface parameters corresponding to the secondary list, and acquiring common attributes corresponding to the secondary list from a preset parent database.
3. The list creation method according to claim 1, wherein the common attribute includes default multimedia content to be presented in the list, default presentation parameters of the multimedia content, and a presentation/concealment attribute of the multimedia content; the specific attributes comprise specific multimedia content different from the default multimedia content, specific presentation parameters different from the default presentation parameters, and specific presentation and concealment attributes different from presentation and concealment attributes of the multimedia content.
4. The method of creating a list according to claim 1 or 2, wherein before the receiving the request to create the list, further comprising:
respectively extracting all attributes of each list to be processed;
extracting common attributes from all the attributes of each list to generate the parent database;
non-common attributes are extracted from all the attributes of the respective lists to generate a specific attribute set.
5. The list creation method of claim 4, further comprising:
detecting whether the specific attribute database is updated according to a preset time interval;
if yes, judging whether the same item exists in each specific attribute;
and if so, extracting the same item, and storing the same item to the parent database.
6. An apparatus for creating a list, comprising:
a receiving module for receiving a request to create the list, the request including a list type of the list; the list types include: a primary list, or, a secondary list; the secondary list is a sub-list of the primary list;
the acquisition module is used for determining interface parameters of the list based on the list type, acquiring common attributes corresponding to the list type from a preset parent database based on the list type, and acquiring preset specific attributes based on the list type; the obtaining of the preset specific attribute based on the list type includes: acquiring a preset specific attribute corresponding to the primary list or acquiring a preset specific attribute corresponding to the secondary list;
a generating module to create the list based on the common attribute, the specific attribute, and the interface parameter.
7. Apparatus for creating lists according to claim 6, in which the list types include: a primary list, or, a secondary list;
the acquisition module includes:
the first obtaining sub-module is used for obtaining interface parameters corresponding to the primary list, obtaining common attributes corresponding to the primary list from a preset parent database, and obtaining preset specific attributes corresponding to the primary list;
and the second obtaining sub-module is used for obtaining the interface parameters corresponding to the secondary list, obtaining the common attributes corresponding to the secondary list from a preset parent database, and obtaining the preset specific attributes corresponding to the secondary list.
8. The list creation apparatus according to claim 6, wherein the common attribute includes default multimedia content to be presented in the list, default presentation parameters of the multimedia content, and a presentation/concealment attribute of the multimedia content; the specific attributes comprise specific multimedia content different from the default multimedia content, specific presentation parameters different from the default presentation parameters, and specific presentation and concealment attributes different from presentation and concealment attributes of the multimedia content.
9. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to execute the list creation method according to any one of claims 1 to 5 by calling the operation instruction.
10. A computer-readable storage medium for storing computer instructions which, when executed on a computer, cause the computer to perform the method of creating a list as claimed in any one of claims 1 to 5.
CN201811628687.8A 2018-12-28 2018-12-28 List creation method and device, electronic equipment and computer-readable storage medium Active CN111381819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811628687.8A CN111381819B (en) 2018-12-28 2018-12-28 List creation method and device, electronic equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811628687.8A CN111381819B (en) 2018-12-28 2018-12-28 List creation method and device, electronic equipment and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111381819A CN111381819A (en) 2020-07-07
CN111381819B true CN111381819B (en) 2021-11-26

Family

ID=71216386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811628687.8A Active CN111381819B (en) 2018-12-28 2018-12-28 List creation method and device, electronic equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111381819B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112084759A (en) * 2020-09-11 2020-12-15 北京中油瑞飞信息技术有限责任公司 List construction method and device based on industrial application platform
CN112711414B (en) * 2020-12-28 2022-10-11 浪潮通用软件有限公司 Form interface adaptation display method and device and storage medium
CN114793298B (en) * 2022-03-30 2023-08-18 海信视像科技股份有限公司 Display device and menu display method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008106251A1 (en) * 2007-02-27 2008-09-04 Motorola Inc. Methods and devices for abridged contact list creation based on communication history
CN101345721A (en) * 2008-08-14 2009-01-14 腾讯科技(深圳)有限公司 Method and system for creating list
US8396900B1 (en) * 2008-05-12 2013-03-12 Adobe Systems Incorporated System and method for editing an item list in electronic content
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106681698A (en) * 2015-11-05 2017-05-17 阿里巴巴集团控股有限公司 Dynamic list generating method and device
CN107291454A (en) * 2017-05-27 2017-10-24 北京思特奇信息技术股份有限公司 A kind of method and Commentary Systems that comment is added in the comment list of event
CN108509188A (en) * 2018-03-30 2018-09-07 武汉斗鱼网络科技有限公司 A kind of method for building up of list, device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193038B (en) * 2007-06-08 2010-12-22 腾讯科技(深圳)有限公司 Method and system for reply subject message, view reply message and interactive subject message
US8732179B2 (en) * 2008-12-22 2014-05-20 Sandisk Il Ltd. Method for providing a suggested read list of digital data to a host device
EP2675136A1 (en) * 2012-06-11 2013-12-18 Grand City Hotels GmbH Method for enabling contact via a virtual communication platform and communication system
CN103581280B (en) * 2012-08-30 2017-02-15 网易传媒科技(北京)有限公司 Method and device for interface interaction based on micro blog platform
US20140188997A1 (en) * 2012-12-31 2014-07-03 Henry Will Schneiderman Creating and Sharing Inline Media Commentary Within a Network
CN106383833A (en) * 2016-08-27 2017-02-08 威海兴达信息科技有限公司 Personal blog system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008106251A1 (en) * 2007-02-27 2008-09-04 Motorola Inc. Methods and devices for abridged contact list creation based on communication history
US8396900B1 (en) * 2008-05-12 2013-03-12 Adobe Systems Incorporated System and method for editing an item list in electronic content
CN101345721A (en) * 2008-08-14 2009-01-14 腾讯科技(深圳)有限公司 Method and system for creating list
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106681698A (en) * 2015-11-05 2017-05-17 阿里巴巴集团控股有限公司 Dynamic list generating method and device
CN107291454A (en) * 2017-05-27 2017-10-24 北京思特奇信息技术股份有限公司 A kind of method and Commentary Systems that comment is added in the comment list of event
CN108509188A (en) * 2018-03-30 2018-09-07 武汉斗鱼网络科技有限公司 A kind of method for building up of list, device and electronic equipment

Also Published As

Publication number Publication date
CN111381819A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
EP2699029B1 (en) Method and device for providing a message function
CN109725975B (en) Method and device for prompting read state of message and electronic equipment
US20130246920A1 (en) Method of enabling voice input for a visually based interface
CN111580879A (en) Applet running method and device, electronic equipment and computer storage medium
JP2014519632A (en) Customized launch of application
CN111381819B (en) List creation method and device, electronic equipment and computer-readable storage medium
CN112040330B (en) Video file processing method and device, electronic equipment and computer storage medium
CN109684589B (en) Client comment data processing method and device and computer storage medium
CN109491742B (en) Page table rendering method and device
CN113157153A (en) Content sharing method and device, electronic equipment and computer readable storage medium
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
CN113010698B (en) Multimedia interaction method, information interaction method, device, equipment and medium
CN111459364B (en) Icon updating method and device and electronic equipment
US11818491B2 (en) Image special effect configuration method, image recognition method, apparatus and electronic device
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
CN110148024B (en) Method and device for providing comment input mode
CN112328094A (en) Information input method, cloud input method system and client
CN109683889B (en) Message display frame multiplexing method and device, electronic equipment and readable storage medium
CN110379406B (en) Voice comment conversion method, system, medium and electronic device
CN111694629A (en) Information display method and device and electronic equipment
WO2023131263A1 (en) Group member adding method and apparatus, device, and medium
CN109683726B (en) Character input method, character input device, electronic equipment and storage medium
CN112307393A (en) Information issuing method and device 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