CN106649724B - Information display method and device and user terminal - Google Patents
Information display method and device and user terminal Download PDFInfo
- Publication number
- CN106649724B CN106649724B CN201611204285.6A CN201611204285A CN106649724B CN 106649724 B CN106649724 B CN 106649724B CN 201611204285 A CN201611204285 A CN 201611204285A CN 106649724 B CN106649724 B CN 106649724B
- Authority
- CN
- China
- Prior art keywords
- data
- information
- name
- primary data
- array
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an information display method, an information display device and a user terminal, wherein the method comprises the following steps: acquiring rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; and sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style. The method can effectively distinguish and render all levels of data in the rendering information, so that the user can immediately pay attention to the information which is interested by the user, and the user experience is improved.
Description
Technical Field
The invention relates to the field of computer application, in particular to an information display method and device and a user terminal.
Background
With the rapid development of the internet and the explosive growth of information, a user needs to browse a large amount of information every day, how to effectively distinguish data of each level in rendering information in a terminal interface of the user and render the rendering information for more effective display is achieved, so that the user can immediately pay attention to information of interest, and the problem to be solved urgently is presented.
Disclosure of Invention
In view of the above, embodiments of the present invention provide an information display method, an information display apparatus and a user terminal to solve the above problems.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides an information display method, where the method includes: acquiring rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; and sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
In a second aspect, an embodiment of the present invention provides an information display apparatus, including: the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring rendering information, and the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; and the display module is used for sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
In a third aspect, an embodiment of the present invention provides a user terminal, where the user terminal includes a processor and a memory, where the memory is coupled to the processor, and the memory stores instructions that, when executed by the processor, cause the user terminal to: acquiring rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; and sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
Compared with the prior art, the information display method, the device and the user terminal provided by the embodiment of the invention have the advantages that the rendering information is classified, the data of different levels are sequentially analyzed and displayed in different display styles, and by the method, the data of each level in the rendering information can be effectively distinguished and rendered, so that a user can immediately pay attention to the information which the user is interested in, and the user experience degree is improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram of a user terminal interacting with a server according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a user terminal according to an embodiment of the present invention.
Fig. 3 is a flowchart of an information display method according to an embodiment of the present invention.
Fig. 4 is a partial flowchart of an information display method according to an embodiment of the present invention.
Fig. 5 is a schematic interface display diagram in an information display method according to an embodiment of the present invention.
Fig. 6 is a block diagram of an information display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic diagram illustrating an interaction between a server 200 and a user terminal 100 according to an embodiment of the present invention. The server 200 is communicatively coupled to one or more user terminals 100 via a network 300 for data communication or interaction. Server 200 may be a web server, a database server, or the like. The user terminal 100 may be a Personal Computer (PC), a tablet PC, a smart phone, a Personal Digital Assistant (PDA), a vehicle-mounted device, a wearable device, or the like.
Fig. 2 shows a block diagram of a user terminal 100 applicable to an embodiment of the present invention. As shown in fig. 2, the user terminal 100 includes a memory 102, a memory controller 104, one or more processors 106 (only one shown), a peripheral interface 108, a radio frequency module 110, an audio module 112, a touch screen 114, and the like. These components communicate with each other via one or more communication buses/signal lines 116.
The memory 102 may be used to store software programs and modules, such as program instructions/modules corresponding to the information display method and apparatus in the embodiment of the present invention, and the processor 106 executes various functional applications and data processing, such as the information display method provided in the embodiment of the present invention, by running the software programs and modules stored in the memory 102.
The memory 102 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. Access to the memory 102 by the processor 106, and possibly other components, may be under the control of the memory controller 104.
The peripherals interface 108 couples various input/output devices to the processor 106 as well as to the memory 102. In some embodiments, the peripheral interface 108, the processor 106, and the memory controller 104 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 110 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices.
The touch screen 114 provides both an output and an input interface between the user terminal 100 and a user. In particular, the touch screen 114 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof.
It is to be understood that the structure shown in fig. 2 is merely illustrative, and the user terminal 100 may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
In the embodiment of the present invention, the user terminal 100 is installed with a client, which may be a third-party application software, such as a browser or a calendar display, and corresponds to a Server (Server) end, and the client and the Server end jointly follow the same set of data protocol, so that the Server end and the client can mutually analyze data of each other, and provide a user interface display service for a user.
Fig. 3 is a flowchart illustrating an information display method according to an embodiment of the present invention, and referring to fig. 3, the embodiment describes a processing flow of a user terminal, where the method includes:
step S300, obtaining rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data.
The method for the user terminal to obtain the rendering information has various ways, for example, the user terminal may actively initiate a rendering request to the server and receive the rendering information returned by the server; or the server actively sends rendering information to the user terminal so that the user terminal displays according to the rendering information. Further, the server interacts with a JSON data format of the user terminal, encapsulates the data name, the primary data and the secondary data by the JSON data format, and when the user terminal receives the rendering information, firstly analyzes according to an analysis method of the JSON data format to obtain the data name, the primary data and the secondary data, and then further analyzes according to a preset analysis data name, primary data and secondary data mode. As the JSON (JavaScript Object Notification) is a lightweight data exchange format, the front-end interface of the user terminal is easy to analyze by adopting JavaScript by encapsulating through the JSON data format, and the information display speed of the user terminal is accelerated.
Rendering information, i.e. information to be rendered, refers to the content that is finally displayed on the user terminal interface. The rendering information includes a data name, primary data corresponding to the data name, and secondary data corresponding to the primary data. There are various embodiments of the data name, the primary data, and the secondary data corresponding to the primary data. For example, the primary data may be set as some basic data, and some data of the primary data that is more interesting and interesting to the user is taken as the secondary data, or some other information that may be interesting or interesting to the user is added on the basis of the partial data to be taken as the secondary data.
In one embodiment, the data name is a month name, the primary data is month date information, and the secondary data is holiday information corresponding to the month date information.
Furthermore, there may be a plurality of embodiments of the month and date information and the holiday information corresponding to the month and date information, and as an embodiment, the month and date information may include first information to be displayed corresponding to a date and a date, and the holiday information may include a holiday date and second information to be displayed.
The implementation modes of the first information to be displayed can be various, and different first information to be displayed can be set according to the requirements of users. As an embodiment, the first information to be displayed may be box office information. Of course, the first information to be displayed may also include information of theaters, names of movies showing on the day, and the like, without being limited thereto.
The implementation of the second information to be displayed may also be various, and different second information to be displayed may also be set according to the requirements of the user. As an embodiment, the second information to be displayed is box office information, holiday names, and/or movie names showing on the same day. Of course, the second information to be displayed may show the score corresponding to the movie name, the hot comment, the simple introduction of the movie scenario, and/or the information of available ticket cinema, etc. on the same day, but is not limited thereto.
For example, if the data name is 1 month, the corresponding primary data is the date of 1 month and the corresponding first data to be displayed, i.e., the box office data corresponding to 1 month 1 to 1 month 31 and each date. The corresponding secondary data is the second data to be displayed corresponding to the holiday date and the holiday date in 1 month, namely 1 month and 1 day of the 1 month and the second information to be displayed (the information of the box office of the day of the.
In another embodiment, the data name is a week name, the primary data is week date data, and the secondary data is preset reminding date information corresponding to the week date information. It can be understood that the user can set the concerned time according to the own requirement, and the server associates the concerned time of the user and the corresponding information to be displayed and sends the associated information to the user terminal, so that the method is more humanized.
The week and date data comprises date and third information to be displayed corresponding to the date, and the preset reminding date information comprises preset reminding date and fourth information to be displayed.
The third information to be displayed may be implemented in various ways, and different third information to be displayed may be set according to the requirements of the user. As an embodiment, the third information to be displayed may be box office information.
There may be a plurality of implementation manners of the fourth information to be displayed, and different fourth information to be displayed may also be set according to the requirements of the user. In one embodiment, the fourth information to be displayed is the name of the movie showing on the day and the score of the name of the movie showing on the day.
For example, if the data name is first week, the corresponding primary data is the date of the first week and the corresponding third data to be displayed, i.e., box office data corresponding to 1 month 1 to 1 month 7 and each date. The corresponding secondary data is the preset reminding date in the week from 1 month and 1 day to 1 month and 7 days and the name of the movie showing on the current day, for example, if the birthday of the user is 1 month and 4 days, 1 month and 3 days can be set as the preset reminding date in advance, and the corresponding secondary data is the scores of the name of the movie showing on the current day from 1 month and 4 days and the name of the movie showing on the current day from 1 month and 4 days.
By the method, the user can conveniently and quickly check the name of the movie showing on the birthday and the score of the name of the movie showing on the birthday through the user terminal in the birthday, so that the user can be helped to lock information, and the user experience is improved.
It is understood that the implementation of the data name, the primary data, and the secondary data is not limited to the above embodiment, and may be correspondingly set according to the requirement of the user.
The rendering information may be implemented in various ways, for example, the rendering information may include a data name, primary data corresponding to the data name, and secondary data corresponding to the primary data; the rendering information may also include a plurality of data names, a plurality of primary data corresponding to the plurality of data names, and a plurality of secondary data corresponding to the plurality of primary data.
It can be understood that, when the rendering information includes a plurality of data names, a plurality of primary data corresponding to the data names respectively, and a plurality of secondary data corresponding to the primary data respectively, the rendering information can be organized according to a preset data format, so that the user terminal can analyze the rendering information according to an analysis mode corresponding to the preset data format after receiving the rendering information, the analysis and display speed is increased, and the user experience is improved.
Rendering information as an embodiment includes a data name, primary data corresponding to the data name, and secondary data corresponding to the primary data; the primary data comprises a plurality of first one-dimensional arrays, the value of each array element in the first one-dimensional arrays sequentially corresponds to a preset header, and the number of the array elements in the first one-dimensional arrays is the same as that of the header elements in the preset header; the secondary data includes a second one-dimensional array, each array element in the second one-dimensional array being an object.
The preset gauge outfit is a preset gauge outfit in the preset interface, and the preset gauge outfit can be set according to the display requirements of the user. For example, the preset header may be set to sunday, monday, tuesday, wednesday, thursday, friday, saturday; the preset gauge heads can also be set to monday, tuesday, wednesday, thursday, friday, saturday and sunday; or not according to the period of one week as the preset header, and the setting can be carried out according to the display requirement of the user.
Further, if the preset header is determined, the size of the first one-dimensional array of the primary data is also determined.
The following description will be given with reference to an embodiment.
If the data name is a month name, the primary data is the date corresponding to the month name and the box office information corresponding to the date, and the secondary data is the holiday date and the holiday name corresponding to the primary data and/or the name of the movie showing on the current day.
If the rendering information includes a plurality of data names, the data names are respectively 1 month, 2 months,. Then, the rendering information includes [1 month, primary data corresponding to 1 month, secondary data corresponding to the primary data ], [2 month, primary data corresponding to 2 month, secondary data corresponding to the primary data ], [12 month, primary data corresponding to 12 month, secondary data corresponding to the primary data ].
The primary data corresponding to 1 month comprises a plurality of first one-dimensional arrays, if the preset header is determined to be sunday, monday, tuesday, wednesday, thursday, friday and saturday, the number of array elements in the first one-dimensional arrays is 7, and the value of each array element corresponds to sunday, monday, tuesday, wednesday, thursday, friday and saturday respectively; that is, if one first one-dimensional array is read each time, it is equivalent to reading data of one week once, and filling the data into corresponding positions in sequence. The mode reads one first one-dimensional array each time and displays the first one-dimensional array in sequence, and other data used for marking position information do not need to be transmitted or a complex analysis algorithm does not need to be set, so that the transmission quantity of the data can be reduced, the time for analyzing and displaying the data is reduced, and the user experience is improved.
The secondary data corresponding to the primary data comprises a second one-dimensional array, the number of elements in the second one-dimensional array is determined according to the number of holidays of the current month, for example, if only one holiday exists in a month, only one array element exists in the second one-dimensional array, the data format of the numerical element is an object, and holiday dates, holiday names and/or names of movies showing on the same day are packaged as an object, wherein the object means that some associated attributes are packaged as a whole, and the whole is an object. When an object is read each time, all information related to the holiday can be read, the time for analyzing and displaying the data can be further reduced, and the user experience is improved.
And S400, sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
The first display style and the second display style may be predefined, for example, the second display style and the first display style may be displayed by using characters and/or frames with different colors, but the first display style and the second display style are not limited to this, and may also be different ground colors, different texture patterns, and the like.
The display mode may be various, and for example, the display mode may be rendered in a Table or Div form. Both Table-type rendering and Div-type rendering are common ways for rendering a front-end interface, and are not described herein again.
Referring to fig. 5, a specific example is described below.
Assuming that the preset header information in the preset interface is sunday, monday, tuesday, wednesday, thursday, friday, and saturday, if the data name in the rendering information is 2 months, the data of the primary data corresponding to 2 months includes a plurality of first one-dimensional arrays, the number of array elements in the first one-dimensional arrays is 7, and the value of each array element corresponds to sunday, monday, tuesday, wednesday, thursday, friday, and saturday. The second-level data corresponding to the first-level data comprises a second one-dimensional array, and only one array element [ 14 days in 2 months, the valentine's day, the box office data of the current day of the valentine's day, and the showing time of the current day of the valentine's day ] is arranged in the second one-dimensional array.
Firstly, analyzing a data name in rendering information, namely 2 months, and inquiring a preset interface corresponding to 2 months; and then, analyzing the primary data corresponding to 2 months, taking each first one-dimensional array of the primary data as an array to be processed, traversing each array element of the array to be processed, and displaying the value of each array element of the array to be processed in sequence at a position corresponding to a preset header in a preset interface according to a first display style, namely displaying the first line in the table shown in fig. 5 according to the first display style by analyzing each first one-dimensional array. It will be appreciated that the values of the array elements in the first one-dimensional array may be null, i.e., empty elements are filled into corresponding locations. And finally, analyzing the secondary data, and sequentially displaying each array element in the second one-dimensional array of the secondary data in a preset interface corresponding to the data name according to a second display style. At the moment, only one array element is arranged in the second one-dimensional array, the corresponding position of the second one-dimensional array is found in the preset interface according to the date 2, month 14 and the holiday, and the information [ the valentine's day, the box-office data of the day of the valentine's day and the time of showing the day of the valentine's day ] in the secondary data is displayed at the corresponding position according to a second display style.
It can be understood that, when the cycle of the week, the monday, the tuesday, the wednesday, the thursday, the friday, the saturday, or the like is taken as a preset header in the preset interface, and the rendering information is sequentially analyzed and displayed, the user may also view the corresponding information by taking the interface finally rendered as a monthly calendar.
Further, referring to fig. 4, as an embodiment of step S400, the method may include:
in step S410, the data name is parsed.
Step S420, analyzing the primary data corresponding to the data name, and sequentially displaying each array element of each first one-dimensional array of the primary data in a preset interface corresponding to the data name according to a first display style.
When the primary data includes a plurality of first one-dimensional arrays, as an implementation manner of step S420, the method may include:
and taking each first one-dimensional array of the primary data as an array to be processed, traversing each array element of the array to be processed, and sequentially displaying the value of each array element of the array to be processed at a position corresponding to a preset header in a preset interface according to a first display style.
And step S430, analyzing the secondary data corresponding to the primary data, and sequentially displaying each array element in the second one-dimensional array of the secondary data in a preset interface corresponding to the data name according to a second display style.
The following description will be given taking a specific example.
Assume that the preset header information in the preset interface is sunday, monday, tuesday, wednesday, thursday, friday, and saturday. If the rendering information comprises a plurality of data names, the data names are respectively 1 month, 2 months,. Then, the rendering information includes [1 month, primary data corresponding to 1 month, secondary data corresponding to the primary data ], [2 month, primary data corresponding to 2 month, secondary data corresponding to the primary data ], [12 month, primary data corresponding to 12 month, secondary data corresponding to the primary data ]. The primary data corresponding to 1 month comprises a plurality of first one-dimensional arrays, if the preset header is determined to be sunday, monday, tuesday, wednesday, thursday, friday and saturday, the number of array elements in the first one-dimensional arrays is 7, and the value of each array element corresponds to sunday, monday, tuesday, wednesday, thursday, friday and saturday respectively. The secondary data corresponding to the primary data comprises a second one-dimensional array, and only one array element [1 month and 1 day, the day of the New year's day, the box office data of the day of the New year's day, and the time of showing the day of the New year's day ] is arranged in the second one-dimensional array. The first-level data and the second-level data corresponding to the rest of 2 months to 12 months are processed in the same way, and are not described herein again.
The data name is firstly analyzed, namely 12 data names are analyzed at the moment, one data name is analyzed each time, the primary data corresponding to the data name is analyzed, and finally the secondary data corresponding to the primary data is analyzed until all the secondary data are completely analyzed until the 12 data names and the primary data corresponding to the 12 data names.
The following description will take one of 12 data names "1 month" as an example of the element to be processed.
Firstly, analyzing a data name, namely 1 month, and inquiring a preset interface corresponding to 1 month; and then analyzing the primary data corresponding to 1 month, wherein the primary data comprises a plurality of first one-dimensional arrays, taking each first one-dimensional array of the primary data as an array to be processed, traversing each array element of the array to be processed, and displaying the value of each array element of the array to be processed in sequence at a position corresponding to a preset header in a preset interface according to a first display style, namely displaying the first line in the table shown in fig. 5 according to the first display style by analyzing one first one-dimensional array. It is understood that the values of the array elements in the first one-dimensional array may be null, i.e., empty array elements are filled into corresponding positions. And finally, analyzing the secondary data, and sequentially displaying each array element in the second one-dimensional array of the secondary data in a preset interface corresponding to the data name according to a second display style. At the moment, only one array element is arranged in the second one-dimensional array, the corresponding position of the second one-dimensional array is found in the preset interface according to the 1 st/1 st of the holiday, and the information [1 st/1 st, the New year day, the box-office data of the New year day, the time shown on the New year day ] in the secondary data is displayed at the corresponding position according to the second display style.
At this time, the second-level data analysis is completed for the first data name and the corresponding first-level data in the rendering information, the next data name in the rendering information is obtained as the element to be processed, and the display operation is performed, which is not described herein again, and so on until the display of all array elements in the rendering information is completed.
Furthermore, when the processing capacity of the server is strong, a plurality of threads can be divided, and the names of the data and the corresponding primary data and secondary data are analyzed at the same time, so that the analysis of the rendering information is completed.
When the rendering information analysis is completed, the information which carries the box-office information of each month in the year, the box-office information of the holiday in each month displayed by different display styles, the name of the movie shown on the holiday day and the like and is concerned by the user is formed.
It can be understood that, when the cycle of the week, the monday, the tuesday, the wednesday, the thursday, the friday, the saturday, or the like is used as a preset header in the preset interface, and the rendering information is sequentially parsed and displayed, the user may also use the interface finally rendered as an almanac to view corresponding information.
Furthermore, by means of the hierarchical rendering mode, the primary data can be rendered firstly in the rendering process, the user can obtain the primary data corresponding to the data name firstly, then the secondary data can be rendered by using different display styles, the user can distinguish more concerned information more intuitively, the user can capture interested information immediately, and user experience is improved.
According to the information display method provided by the embodiment of the invention, the rendering information is classified, the data of different levels are sequentially analyzed and displayed in different display styles, and by the way, the data of each level in the rendering information can be effectively distinguished and rendered, so that a user can immediately pay attention to the information which the user is interested in, and the user experience is improved.
Fig. 6 is a schematic functional block diagram of an information display apparatus 500 according to an embodiment of the present invention. The information display apparatus 500 operates in the user terminal 100, and the information display apparatus 500 includes an obtaining module 510 and a display module 520.
The obtaining module 510 is configured to obtain rendering information, where the rendering information includes a data name, primary data corresponding to the data name, and secondary data corresponding to the primary data.
The display module 520 is configured to sequentially parse the data name, the primary data, and the secondary data, display the primary data in a preset interface according to a first display style, and display the secondary data in the preset interface according to a second display style.
The above modules may be implemented by software codes, and in this case, the modules may be stored in the memory 102 of the user terminal 100. The above modules may also be implemented by hardware, such as an integrated circuit chip.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The information display device provided by the embodiment of the invention has the same implementation principle and technical effect as the method embodiment, and for the sake of brief description, no part of the embodiment of the device is mentioned, and reference may be made to the corresponding content in the method embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. 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.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. An information display method, characterized in that the method comprises:
acquiring rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; the primary data comprises a plurality of first one-dimensional arrays, the value of each array element in the first one-dimensional arrays sequentially corresponds to a preset header, and the number of array elements in the first one-dimensional arrays is the same as that of header elements in the preset header; the data name comprises a month name, and each array element in the first one-dimensional array comprises a date corresponding to the month name and first information to be displayed corresponding to the date; the first information to be displayed is set according to the requirements of a user;
and sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
2. The method of claim 1, wherein the rendering information comprises a data name, primary data corresponding to the data name, and secondary data corresponding to the primary data;
the secondary data comprises a second one-dimensional array, and each array element in the second one-dimensional array is an object.
3. The method according to claim 2, wherein the sequentially parsing the data name, the primary data, and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style comprises:
resolving the data name;
analyzing the primary data corresponding to the data name, and sequentially displaying each array element of each first one-dimensional array of the primary data in a preset interface corresponding to the data name according to a first display style;
and analyzing the secondary data corresponding to the primary data, and sequentially displaying each array element in a second one-dimensional array of the secondary data in a preset interface corresponding to the data name according to a second display style.
4. The method according to claim 3, wherein the analyzing the primary data corresponding to the data name and sequentially displaying each array element of each first one-dimensional array of the primary data in a preset interface corresponding to the data name according to a first display style includes:
and taking each first one-dimensional array of the primary data as an array to be processed, traversing each array element of the array to be processed, and sequentially displaying the value of each array element of the array to be processed at a position corresponding to the preset header in the preset interface according to a first display style.
5. The method of any of claims 2 to 4, wherein each array element in the second one-dimensional array includes a holiday date corresponding to the month name and a second information to be displayed.
6. The method according to claim 5, wherein the first information to be displayed is box office information.
7. The method according to claim 5, wherein the second information to be displayed is box office information, holiday names, and/or movie titles showing on the same day.
8. The method according to any one of claims 1 to 4, wherein the second display style is displayed with a different color of text and/or border than the first display style.
9. An information display apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring rendering information, and the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; the primary data comprises a plurality of first one-dimensional arrays, the value of each array element in the first one-dimensional arrays sequentially corresponds to a preset header, and the number of array elements in the first one-dimensional arrays is the same as that of header elements in the preset header; the data name comprises a month name, and each array element in the first one-dimensional array comprises a date corresponding to the month name and first information to be displayed corresponding to the date; the first information to be displayed is set according to the requirements of a user;
and the display module is used for sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
10. A user terminal, characterized in that the user terminal comprises a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the user terminal to:
acquiring rendering information, wherein the rendering information comprises a data name, primary data corresponding to the data name and secondary data corresponding to the primary data; the primary data comprises a plurality of first one-dimensional arrays, the value of each array element in the first one-dimensional arrays sequentially corresponds to a preset header, and the number of array elements in the first one-dimensional arrays is the same as that of header elements in the preset header; the data name comprises a month name, and each array element in the first one-dimensional array comprises a date corresponding to the month name and first information to be displayed corresponding to the date; the first information to be displayed is set according to the requirements of a user;
and sequentially analyzing the data name, the primary data and the secondary data, displaying the primary data in a preset interface according to a first display style, and displaying the secondary data in the preset interface according to a second display style.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611204285.6A CN106649724B (en) | 2016-12-22 | 2016-12-22 | Information display method and device and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611204285.6A CN106649724B (en) | 2016-12-22 | 2016-12-22 | Information display method and device and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106649724A CN106649724A (en) | 2017-05-10 |
CN106649724B true CN106649724B (en) | 2021-04-06 |
Family
ID=58827048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611204285.6A Active CN106649724B (en) | 2016-12-22 | 2016-12-22 | Information display method and device and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649724B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108629030B (en) * | 2018-05-09 | 2019-11-19 | 成都四方伟业软件股份有限公司 | Data display method and device |
CN110941949B (en) * | 2019-11-21 | 2020-12-11 | 望海康信(北京)科技股份公司 | Data table rendering control method and device, computer equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6064975A (en) * | 1997-10-22 | 2000-05-16 | Ericsson Inc. | Apparatus and method for highlighting holidays of a specified location in a calendar software application |
US20100088143A1 (en) * | 2008-10-07 | 2010-04-08 | Microsoft Corporation | Calendar event scheduling |
CN101872286B (en) * | 2010-06-22 | 2013-06-12 | 宇龙计算机通信科技(深圳)有限公司 | Switching method, device and mobile terminal for background of electronic calendar date |
KR102138506B1 (en) * | 2013-07-15 | 2020-07-28 | 엘지전자 주식회사 | Mobile terminal |
CN106156015A (en) * | 2015-03-23 | 2016-11-23 | Tcl集团股份有限公司 | A kind of method and system being checked application use record by calendar |
CN105827840A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Calendar information generation method and device |
-
2016
- 2016-12-22 CN CN201611204285.6A patent/CN106649724B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106649724A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11080658B2 (en) | Integrating rich media into a web-based display interface | |
US20110289207A1 (en) | Method and apparatus for processing network visualization | |
WO2017176900A1 (en) | Exhibition information presentation method and system | |
CN110619098A (en) | Information display method and device, electronic equipment and storage medium | |
CN113536136A (en) | Method, device and equipment for realizing search | |
US10089120B2 (en) | Widgets in digital dashboards | |
US20100131889A1 (en) | User interface to explore data objects and their related supplementary data objects | |
CN115421837B (en) | Information display method, device, computer equipment and storage medium | |
CN111291206B (en) | Method and device for marking house source, electronic equipment and storage medium | |
CN106708820B (en) | Information display method and device | |
CN104881774A (en) | Method and apparatus for automatically establishing schedule | |
CN109241507A (en) | A kind of chart generation method and device, a kind of calculating equipment and storage medium | |
CN109754285A (en) | Information processing method, device, electronic equipment and computer readable storage medium | |
CN106649724B (en) | Information display method and device and user terminal | |
CN112784529A (en) | Mobile terminal sorting table based on BetterScroll and construction method thereof | |
CN114268828A (en) | Method, device and equipment for processing large-screen page and storage medium | |
WO2016106232A1 (en) | Adaptive electronic document | |
CN106408381B (en) | Information publishing method, order page display method and device | |
CN114444478A (en) | Voucher visualization method and device, electronic equipment and storage medium | |
CN107483728A (en) | Application message notifies apparatus and method | |
CN114021016A (en) | Data recommendation method, device, equipment and storage medium | |
CN111898022A (en) | Trademark category recommendation method and device, storage medium and electronic equipment | |
CN111930927A (en) | Evaluation information display method and device, electronic equipment and readable storage medium | |
CN103970817A (en) | Data generation device, content reproduction device, and storage medium | |
CN111753177A (en) | Personalized recommendation method and device and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |