CN110708386A - Page display method, terminal device and server - Google Patents

Page display method, terminal device and server Download PDF

Info

Publication number
CN110708386A
CN110708386A CN201910973319.5A CN201910973319A CN110708386A CN 110708386 A CN110708386 A CN 110708386A CN 201910973319 A CN201910973319 A CN 201910973319A CN 110708386 A CN110708386 A CN 110708386A
Authority
CN
China
Prior art keywords
recommended
data
server
functional module
acquisition request
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.)
Pending
Application number
CN201910973319.5A
Other languages
Chinese (zh)
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.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201910973319.5A priority Critical patent/CN110708386A/en
Publication of CN110708386A publication Critical patent/CN110708386A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a page display method, a terminal device and a server, wherein the method applied to the terminal device comprises the following steps: sending a parameter acquisition request to a server so that the server sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended; receiving parameter information; sending a data acquisition request to a server, wherein the parameter acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to terminal equipment according to the data acquisition request; and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended. The complexity of the user operation process is reduced, and the user can conveniently and timely acquire data.

Description

Page display method, terminal device and server
Technical Field
The present application relates to the field of communications technologies, and in particular, to a page display method, a terminal device, and a server.
Background
With the continuous development of terminal technology, terminal devices such as mobile phones and tablet computers are widely developed and applied. The user can install a required Application program (APP for short) on the terminal device, and obtain information through a page displayed by the APP. For example, a news-like APP is generally composed of a plurality of functional modules, such as video, music, live broadcast, interactive communication, and the like.
In the prior art, each functional module is unrelated, and a user needs to click and switch among the functional modules to obtain a page corresponding to each functional module, wherein each page only includes data under one functional module.
However, in the prior art, each functional module may be recommended corresponding to urgent data, and thus if the user needs to perform continuous click switching to check the urgent data according to the prior art, the user operation process is cumbersome, and the user is not favorable to timely acquire the urgent data, and the user experience is poor.
Disclosure of Invention
The application provides a page display method, terminal equipment and a server, which reduces the complexity of a user operation process and facilitates the user to obtain data in time.
In a first aspect, the present application provides a page display method applied to a terminal device, including:
sending a parameter acquisition request to a server so that the server sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
receiving parameter information sent by the server;
sending a data acquisition request to the server, wherein the data acquisition request carries the types of the at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request;
receiving data to be recommended corresponding to each functional module to be recommended, which is sent by the server;
and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
Further, after the receiving the parameter information sent by the server, and before generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended, the method further includes:
determining a display style corresponding to the type of each function module to be recommended according to the corresponding relation between the preset display style and the type of the function module;
the generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended includes:
and generating and displaying a page according to the data to be recommended, the display position information and the display style corresponding to each functional module to be recommended.
Further, the sending a parameter obtaining request to the server includes:
and when a first trigger instruction or a second trigger instruction is received, sending the parameter acquisition request to the server, wherein the first trigger instruction is used for indicating to start a target application program on the terminal equipment, and the second trigger instruction is used for indicating to update a currently displayed page of the target application program.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, where the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, and the data identifier is sent to the terminal device by the server;
and the data to be recommended corresponding to each functional module to be recommended is determined in sequence from a preset data list corresponding to each functional module to be recommended by the server according to the data identification corresponding to each functional module to be recommended.
In a second aspect, the present application provides a page display method, applied to a server, including:
receiving a parameter acquisition request sent by terminal equipment, and sending parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
receiving a data acquisition request sent by the terminal equipment;
and determining and sending to-be-recommended data corresponding to each to-be-recommended function module to the terminal equipment according to the data acquisition request, wherein the data acquisition request carries the types of the at least two to-be-recommended function modules, so that the terminal equipment generates and displays a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, where the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, and the data identifier is sent to the terminal device by the server;
determining and sending the data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request, wherein the data to be recommended corresponding to each functional module to be recommended comprises the following steps:
determining the number of data display pieces corresponding to the type of each function module to be recommended according to the corresponding relation between the preset number of data display pieces and the type of the function module;
and according to the data identification corresponding to each function module to be recommended, determining the data to be recommended in the corresponding data display number corresponding to each function module to be recommended in sequence from the data list corresponding to each function module to be recommended, and sending the data to be recommended to the terminal equipment.
In a third aspect, the present application provides a terminal device, including:
the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending a parameter obtaining request to a server so that the server sends parameter information to the terminal equipment according to the parameter obtaining request, and the parameter information comprises types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
the first receiving unit is used for receiving the parameter information sent by the server;
a second sending unit, configured to send a data acquisition request to the server, where the data acquisition request carries the types of the at least two function modules to be recommended, so that the server determines and sends, to the terminal device, to-be-recommended data corresponding to each function module to be recommended according to the data acquisition request;
the second receiving unit is used for receiving the data to be recommended corresponding to each functional module to be recommended, which is sent by the server;
and the processing unit is used for generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
Further, the terminal device further includes:
the determining unit is used for determining a display style corresponding to the type of each function module to be recommended according to a preset corresponding relationship between the display style and the type of the function module after the first receiving unit receives the parameter information sent by the server and before the processing unit generates and displays a page according to the data to be recommended and the display position information corresponding to each function module to be recommended;
the processing unit is specifically configured to generate and display a page according to the data to be recommended, the display position information, and the display style corresponding to each functional module to be recommended.
Further, the first sending unit is specifically configured to send the parameter obtaining request to the server when a first trigger instruction or a second trigger instruction is received, where the first trigger instruction is used to instruct to start a target application on the terminal device, and the second trigger instruction is used to instruct to update a currently displayed page of the target application.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, where the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, and the data identifier is sent to the terminal device by the server;
and the data to be recommended corresponding to each functional module to be recommended is determined in sequence from a preset data list corresponding to each functional module to be recommended by the server according to the data identification corresponding to each functional module to be recommended. In a fourth aspect, the present application provides a server, comprising:
the first receiving unit is used for receiving a parameter obtaining request sent by terminal equipment and sending parameter information to the terminal equipment according to the parameter obtaining request, wherein the parameter information comprises types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
a second receiving unit, configured to receive a data acquisition request sent by the terminal device, where the data acquisition request carries types of the at least two function modules to be recommended;
the determining unit is used for determining the data to be recommended corresponding to each functional module to be recommended according to the data acquisition request;
and the sending unit is used for sending the data to be recommended corresponding to each functional module to be recommended to the terminal equipment so that the terminal equipment generates and displays a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, where the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, and the data identifier is sent to the terminal device by the server;
the determining unit is specifically configured to determine, according to a correspondence between a preset data display number and a type of a function module, a data display number corresponding to the type of each function module to be recommended; and according to the data identification corresponding to each function module to be recommended, determining the data to be recommended in the corresponding data display number corresponding to each function module to be recommended in sequence from the data list corresponding to each function module to be recommended, and sending the data to be recommended to the terminal equipment.
In a fifth aspect, the present application provides a terminal device, including: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement the method as in any one of the implementations of the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program for execution by a processor to perform the method according to any of the embodiments of the first aspect.
In a seventh aspect, the present application provides a server, including: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement the method as in any one of the implementations of the second aspect.
In an eighth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any of the embodiments of the second aspect.
The application provides a page display method, terminal equipment and a server, wherein the method is applied to the terminal equipment, the terminal equipment sends a parameter acquisition request to the server so that the server sends parameter information to the terminal equipment according to the parameter acquisition request, and the parameter information comprises types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended; after receiving the parameter information sent by the server, the terminal equipment sends a data acquisition request to the server, wherein the data acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request; the method comprises the steps that terminal equipment receives data to be recommended, corresponding to each functional module to be recommended, sent by a server; and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended, namely displaying the data to be recommended corresponding to at least two functional modules to be recommended on the page, so that the process that a user needs to click and switch among the functional modules is avoided, the complexity of the operation process of the user is reduced, and the user can conveniently and timely obtain the data to be recommended under each functional module to be recommended through the page.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of a page display system according to the present application;
fig. 2 is a flowchart of a page display method according to an embodiment of the present application;
fig. 3 is a flowchart of a page display method according to a second embodiment of the present application;
fig. 4 is a flowchart of a page display method provided in the third embodiment of the present application;
fig. 5 is a flowchart of a page display method according to the fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present application;
fig. 9 is a schematic structural diagram of a terminal device according to an eighth embodiment of the present application;
fig. 10 is a schematic structural diagram of a server according to a ninth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic structural diagram of a page display system provided in the present application, and as shown in fig. 1, the page display system includes a terminal device 101 and a server 102, where the terminal device 101 may obtain parameter information and data to be recommended through the server 102, so that the terminal device 101 generates and displays a page according to the obtained parameter information and the data to be recommended.
Fig. 2 is a flowchart of a page display method provided in an embodiment of the present application, where the method is applied to a terminal device, and as shown in fig. 2, the method includes:
step 201: and sending a parameter acquisition request to a server so that the server sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended.
In this embodiment, the server may be configured with parameter information in advance, so that when the terminal device needs to generate a page, the terminal device may first send a parameter obtaining request to the server, so that the server returns parameter information to the terminal device according to the parameter obtaining request, where the parameter information may include types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended, where the type of the function module to be recommended refers to a name (or called an identifier) of the function module to be recommended, such as video, music, live broadcast, interactive communication, and the like; the display position information corresponding to the function module to be recommended may refer to relative position information of the function module to be recommended on the page to be generated, such as left, right, upper, lower, middle, and the like.
Illustratively, when a user starts a certain news APP on the terminal device (for example, the user triggers an icon corresponding to the news APP on the terminal device with a finger), the terminal device sends a parameter acquisition request to the server, so that the server returns parameter information to the terminal device according to the parameter acquisition request, for example, the parameter information includes types of two function modules to be recommended, which are respectively video and music, and the parameter information further includes display position information corresponding to each function module to be recommended, for example, the display position information corresponding to the function module of video is up, and the display position information corresponding to the function module of music is down.
In this embodiment, when sending the parameter obtaining request to the server, the terminal device may specifically send the parameter obtaining request to the server by calling an interface.
Step 202: and receiving the parameter information sent by the server.
Step 203: and sending a data acquisition request to a server, wherein the parameter acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request.
In this embodiment, after receiving the parameter information sent by the server, the terminal device may request the server for the data to be recommended corresponding to each functional module to be recommended. Specifically, the terminal device sends a data acquisition request carrying types of at least two function modules to be recommended to the server, so that the server determines data to be recommended corresponding to each function module to be recommended after receiving the data acquisition request, and sends the determined data to be recommended corresponding to each function module to be recommended to the terminal device.
Continuing with the example in step 201, the terminal device sends a data acquisition request to the server, where the data acquisition request carries video and music, so that after receiving the data acquisition request, the server determines at least one piece of data to be recommended, such as data to be recommended 1 and data to be recommended 2, corresponding to the video function module, and determines at least one piece of data to be recommended, such as data to be recommended 3, data to be recommended 4 and data to be recommended 5, corresponding to the music function module, and then the server sends the data to be recommended, corresponding to each function module to be recommended, to the terminal device.
Step 204: and receiving data to be recommended corresponding to each functional module to be recommended sent by the server.
Step 205: and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
In this embodiment, after receiving the data to be recommended corresponding to each functional module to be recommended sent by the server, the terminal device may generate and display a page according to the data to be recommended corresponding to each functional module to be recommended and the display position information corresponding to each functional module to be recommended in the received parameter information, where the page may simultaneously display the data to be recommended corresponding to each functional module to be recommended.
Continuing with the example in step 203, after receiving the data to be recommended 1 and the data to be recommended 2 corresponding to the video, and the data to be recommended 3, the data to be recommended 4, and the data to be recommended 5 corresponding to the music sent by the server, the terminal device may generate and display a page according to the data to be recommended 1, the data to be recommended 2, and the display position information corresponding to the video, and the data to be recommended 3, the data to be recommended 4, the data to be recommended 5, and the display position information corresponding to the music as the lower part, that is, when the user starts the news APP on the terminal device, the user displays the page to the user, wherein the data to be recommended 1 and the data to be recommended 2 are displayed on the upper side of the page, and the data to be recommended 3, the data to be recommended 4, and the data to be recommended 5 are displayed on the lower side of the page.
The embodiment of the application provides a page display method, which is applied to a terminal device, wherein the terminal device sends a parameter acquisition request to a server so that the server sends parameter information to the terminal device according to the parameter acquisition request, wherein the parameter information comprises types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended; after receiving the parameter information sent by the server, the terminal equipment sends a data acquisition request to the server, wherein the data acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request; the method comprises the steps that terminal equipment receives data to be recommended, corresponding to each functional module to be recommended, sent by a server; and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended, namely displaying the data to be recommended corresponding to at least two functional modules to be recommended on the page, so that the process that a user needs to click and switch among the functional modules is avoided, the complexity of the operation process of the user is reduced, and the user can conveniently and timely obtain the data to be recommended under each functional module to be recommended through the page.
Fig. 3 is a flowchart of a page display method provided in the second embodiment of the present application, and as shown in fig. 3, the method may include:
step 301: and when a first trigger instruction or a second trigger instruction is received, sending a parameter acquisition request to the server, wherein the first trigger instruction is used for indicating to start a target application program on the terminal equipment, and the second trigger instruction is used for indicating to update a currently displayed page of the target application program.
In this embodiment, an application scenario is as follows: when the terminal device receives a first trigger instruction, the terminal device determines that a page needs to be generated, and at this time, the terminal device sends a parameter acquisition request to the server, wherein the first trigger instruction is used for indicating to start a target application program (also called a client) on the terminal device. For example, the target application is a certain news APP installed on the terminal device, for example, if the user triggers an icon corresponding to the news APP with a finger on the terminal device (assuming that the user is in an un-started state before), the terminal device receives the first trigger instruction, and then the terminal device sends a parameter acquisition request to the server.
Another application scenario is as follows: and when the terminal equipment receives a second trigger instruction, the terminal equipment determines that the page needs to be generated, and at the moment, the terminal equipment sends a parameter acquisition request to the server, wherein the second trigger instruction is used for indicating to update the currently displayed page of the target application program. For example, the target application program is also a certain news APP installed on the terminal device, and if the news APP is already started, that is, a page is currently displayed to the user, when the user needs to update the currently displayed page, the user may perform a pull-down operation on the current page, and the like, and at this time, the terminal will receive the second trigger instruction, so that the terminal device will send a parameter acquisition request to the server next.
Step 302: and receiving parameter information sent by the server, wherein the parameter information comprises the types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended.
For example, the parameter information received by the terminal device includes types of two to-be-recommended function modules, which are videos and music, and also includes display position information corresponding to each to-be-recommended function module, where the display position information corresponding to the function module of the video is up and the display position information corresponding to the function module of the music is down.
Step 303: and determining the display style corresponding to the type of each function module to be recommended according to the corresponding relation between the preset display style and the type of the function module.
In this embodiment, in order to improve the display effect of the page, a corresponding relationship between the presentation style and the type of the function module may be preset, where the presentation style may include multiple styles, such as a squared style, a square style, a list, and the like.
For example, the correspondence between the preset presentation style in the terminal device and the type of the function module includes: the video corresponds to a display style 1, the music corresponds to a display style 2, the interactive communication corresponds to a display style 3, and the live broadcast corresponds to a display style 4. Taking the example in step 303 above as an example, after the parameter information received by the terminal device includes video and music, the display style corresponding to the video is determined to be display style 1, and the display style corresponding to the music is determined to be display style 2 according to the correspondence.
Step 304: and sending a data acquisition request to a server, wherein the parameter acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request.
In this embodiment, in order to obtain unrepeated data to be recommended from the server, the data request further carries a data identifier corresponding to each functional module to be recommended, where the data identifier is an identifier of the last data to be recommended, which is sent to the terminal device by the server and corresponds to each functional module to be recommended; and the data to be recommended corresponding to each functional module to be recommended is determined in sequence from a preset data list corresponding to each functional module to be recommended by the server according to the data identification corresponding to each functional module to be recommended.
For example, a data list 1 is provided in the server for a functional module of music, where the data list 1 includes 10 pieces of data to be recommended, such as data to be recommended 1 and 2 … 10, each piece of data to be recommended corresponds to a data identifier, and the data identifier may specifically be an ID number, and the 10 pieces of data in the data list 1 may sequentially increase from top to bottom according to the ID number, and for convenience of explanation, 1 and 2 … 10 are determined as ID numbers. Assuming that the data obtaining request carries the data identifier 3 corresponding to the music, that is, the server has previously sent the data to be recommended 1, the data to be recommended 2, and the data to be recommended 3 to the terminal device, the server then determines the data to be recommended corresponding to the music from the data to be recommended 4 in the data list 1.
Step 305: and receiving data to be recommended corresponding to each functional module to be recommended sent by the server.
Step 306: and generating and displaying a page according to the data to be recommended, the display position information and the display style corresponding to each functional module to be recommended.
In this embodiment, it is assumed that after receiving data to be recommended 13, data to be recommended 14, and data to be recommended 15 corresponding to the function module of the video, and data to be recommended 4, data to be recommended 5, and data to be recommended 6 corresponding to the function module of the music sent by the server, the terminal device may generate and display a page according to the data to be recommended 13, the data to be recommended 14, the data to be recommended 15, the display position information upper display style 1, and the data to be recommended 4, the data to be recommended 5, the data to be recommended 6, and the display position information lower display style 2 corresponding to the function module of the video, that is, when the user starts the APP on the terminal device, the page is displayed to the user, wherein news, and data to be recommended 14 are displayed on the upper edge of the page in the display style 1, And the data to be recommended 15, and the data to be recommended 3, the data to be recommended 4 and the data to be recommended 5 are displayed in the display style 2 on the lower side of the page.
In this embodiment, when receiving a first trigger instruction, a terminal device sends a parameter acquisition request to a server to acquire parameter information through the server, and then the terminal device sends a data acquisition request to the server to acquire data to be recommended corresponding to each function module to be recommended through the server, so that a page can be generated and displayed according to the parameter information and the data to be recommended of each function module to be recommended, where the first trigger instruction is used to display a target application program on the terminal device, that is, after the target application program is started, the data to be recommended of each function module to be recommended is displayed to a user through the page at the first time. Especially for newspaper industry, the eyeball of the user is grasped in the simplest mode, various data are intuitively and softly popularized, various types of information which are popular, called by the nation and required by people are enhanced and publicized with high efficiency, and the interactive experience of the newspaper industry and the user is improved.
Fig. 4 is a flowchart of a page display method provided in the third embodiment of the present application, where the method is applied to a server, and as shown in fig. 4, the method includes:
step 401: the method comprises the steps of receiving a parameter obtaining request sent by terminal equipment, and sending parameter information to the terminal equipment according to the parameter obtaining request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended.
In this embodiment, the server may be configured with parameter information in advance, so as to send the parameter information to the terminal device after receiving the parameter acquisition request sent by the terminal device.
Step 402: and receiving a data acquisition request sent by the terminal equipment, wherein the data acquisition request carries the types of at least two functional modules to be recommended.
Step 403: and determining to-be-recommended data corresponding to each to-be-recommended function module according to the data acquisition request, and sending the to-be-recommended data corresponding to each to-be-recommended function module to the terminal equipment, so that the terminal equipment generates and displays a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module.
In this embodiment, the server may further be configured with data that needs to be recommended urgently and corresponds to each functional module to be recommended, that is, data to be recommended, so that after the server receives the data acquisition request, the data to be recommended corresponding to each functional module to be recommended may be determined from the configured data to be recommended, and then the data to be recommended corresponding to each functional module to be recommended is sent to the terminal device.
In addition, in order to avoid recommending repeated data to a user, the data request also carries a data identifier corresponding to each functional module to be recommended, wherein the data identifier is an identifier of the last data to be recommended, which is sent to the terminal device by the server and corresponds to each functional module to be recommended; in step 403, according to the data obtaining request, determining and sending to the terminal device data to be recommended corresponding to each functional module to be recommended, which may specifically include: determining the number of data display pieces corresponding to the type of each function module to be recommended according to the corresponding relation between the preset number of data display pieces and the type of the function module; and according to the data identification corresponding to each function module to be recommended, determining the data to be recommended in the corresponding data display number corresponding to each function module to be recommended in sequence from the data list corresponding to each function module to be recommended, and sending the data to be recommended to the terminal equipment.
For example, the number of data presentations corresponding to music is 3, a data list 1 is provided in the server for the functional module of music, the data list 1 includes 10 pieces of data to be recommended, such as data to be recommended 1 and 2 … 10, each piece of data to be recommended corresponds to a data identifier, the data identifier may specifically be an ID number, the 10 pieces of data in the data list 1 may sequentially increase from top to bottom according to the ID number, and for convenience of explanation, 1 and 2 … 10 are determined as ID numbers. Assuming that the data obtaining request carries the data identifier 3 corresponding to the music, that is, the server has sent the data to be recommended 1, the data to be recommended 2, and the data to be recommended 3 to the terminal device, the server then determines the data to be recommended corresponding to 3 pieces of music, that is, the data to be recommended 4, the data to be recommended 5, and the data to be recommended 6, in the data list 1 in sequence from the data to be recommended 4.
The embodiment of the application provides a page display method, which is applied to a server, receives a parameter acquisition request sent by terminal equipment, and sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended; receiving a data acquisition request sent by terminal equipment, wherein the data acquisition request carries the types of at least two functional modules to be recommended; according to the data acquisition request, determining to-be-recommended data corresponding to each to-be-recommended function module, and sending the to-be-recommended data corresponding to each to-be-recommended function module to the terminal device, so that the terminal device generates and displays a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module, namely, the to-be-recommended data corresponding to at least two to-be-recommended function modules are displayed on the page generated and displayed by the terminal device, the process that a user needs to click and switch among the function modules is avoided, the complexity of the user operation process is reduced, and the user can conveniently acquire the to-be-recommended data under each to-be-recommended function module in time through the page.
Fig. 5 is a flowchart of a page display method according to a fourth embodiment of the present application, and as shown in fig. 5, the method includes:
step 501: and the terminal equipment sends a parameter acquisition request to the server.
In this embodiment, step 501 may specifically include sending a parameter obtaining request to the server when receiving a first trigger instruction or a second trigger instruction, where the first trigger instruction is used to instruct to start the target application on the terminal device, and the second trigger instruction is used to instruct to update the currently displayed page of the target application.
Step 502: and the server receives a parameter acquisition request sent by the terminal equipment.
Step 503: and the server sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended.
Step 504: and the terminal equipment receives the parameter information sent by the server.
Step 505: and the terminal equipment determines the display style corresponding to the type of each function module to be recommended according to the corresponding relation between the preset display style and the type of the function module.
Step 506: the terminal equipment sends a data acquisition request to the server, wherein the data acquisition request carries the types of at least two functional modules to be recommended.
Step 507: and the server receives a data acquisition request sent by the terminal equipment.
Step 508: and the server determines the data to be recommended corresponding to each functional module to be recommended according to the data acquisition request.
Step 509: and the server sends the data to be recommended corresponding to each functional module to be recommended to the terminal equipment.
Step 510: and the terminal equipment receives the data to be recommended corresponding to each functional module to be recommended, which is sent by the server.
Step 511: and the terminal equipment generates and displays a page according to the data to be recommended, the display position information and the display style corresponding to each functional module to be recommended.
The above steps 501 to 511 may refer to the explanations of the first to third embodiments, and are not repeated herein.
The embodiment of the application provides a page display method, wherein a terminal device sends a parameter acquisition request to a server so that the server sends parameter information to the terminal device according to the parameter acquisition request, wherein the parameter information comprises types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended; after receiving the parameter information sent by the server, the terminal equipment sends a data acquisition request to the server, wherein the data acquisition request carries the types of at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request; the method comprises the steps that terminal equipment receives data to be recommended, corresponding to each functional module to be recommended, sent by a server; and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended, namely displaying the data to be recommended corresponding to at least two functional modules to be recommended on the page, so that the process that a user needs to click and switch among the functional modules is avoided, the complexity of the operation process of the user is reduced, and the user can conveniently and timely obtain the data to be recommended under each functional module to be recommended through the page.
Fig. 6 is a schematic structural diagram of a terminal device provided in the fifth embodiment of the present application, and as shown in fig. 6, the terminal device includes:
a first sending unit 601, configured to send a parameter obtaining request to a server, so that the server sends parameter information to a terminal device according to the parameter obtaining request, where the parameter information includes types of at least two to-be-recommended function modules and display position information corresponding to each to-be-recommended function module;
a first receiving unit 602, configured to receive parameter information sent by a server;
a second sending unit 603, configured to send a data acquisition request to the server, where the data acquisition request carries types of at least two function modules to be recommended, so that the server determines and sends to-be-recommended data corresponding to each function module to be recommended to the terminal device according to the data acquisition request;
a second receiving unit 604, configured to receive data to be recommended, which is sent by the server and corresponds to each functional module to be recommended;
and the processing unit 605 is configured to generate and display a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module.
The terminal device provided in this embodiment is the same as the technical solution for implementing the page display method provided in the first embodiment, and the implementation principle and technical effect thereof are similar and will not be described again.
Fig. 7 is a schematic structural diagram of a terminal device according to a sixth embodiment of the present application, and based on the fifth embodiment, as shown in fig. 7,
the terminal device further includes: a determining unit 701, configured to determine, after the first receiving unit 602 receives the parameter information sent by the server, a display style corresponding to the type of each to-be-recommended function module according to a preset corresponding relationship between a display style and the type of the function module before the processing unit 605 generates and displays a page according to-be-recommended data and display position information corresponding to each to-be-recommended function module;
the processing unit 605 is specifically configured to generate and display a page according to the to-be-recommended data, the display position information, and the display style corresponding to each to-be-recommended function module.
Further, the first sending unit 601 is specifically configured to send a parameter obtaining request to the server when receiving a first trigger instruction or a second trigger instruction, where the first trigger instruction is used to instruct to start the target application on the terminal device, and the second trigger instruction is used to instruct to update the currently displayed page of the target application.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, wherein the data identifier is an identifier of the last data to be recommended, which is sent to the terminal device by the server and corresponds to each functional module to be recommended; and the data to be recommended corresponding to each functional module to be recommended is determined in sequence from a preset data list corresponding to each functional module to be recommended by the server according to the data identification corresponding to each functional module to be recommended.
The terminal device provided in this embodiment is the same as the technical solution for implementing the page display method provided in the second embodiment, and the implementation principle and technical effect are similar and are not described again.
Fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present application, where the server includes:
the first receiving unit 801 is configured to receive a parameter obtaining request sent by a terminal device, and send parameter information to the terminal device according to the parameter obtaining request, where the parameter information includes types of at least two function modules to be recommended and display position information corresponding to each function module to be recommended;
a second receiving unit 802, configured to receive a data acquisition request sent by a terminal device, where the data acquisition request carries types of at least two function modules to be recommended;
a determining unit 803, configured to determine, according to the data acquisition request, to-be-recommended data corresponding to each to-be-recommended function module;
the sending unit 804 is configured to send the data to be recommended corresponding to each functional module to be recommended to the terminal device, so that the terminal device generates and displays a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
Further, the data request also carries a data identifier corresponding to each functional module to be recommended, wherein the data identifier is an identifier of the last data to be recommended, which is sent to the terminal device by the server and corresponds to each functional module to be recommended;
the determining unit 803 is specifically configured to determine, according to a correspondence between a preset data display number and a type of a function module, a data display number corresponding to the type of each function module to be recommended; and according to the data identification corresponding to each function module to be recommended, determining the data to be recommended in the corresponding data display number corresponding to each function module to be recommended in sequence from the data list corresponding to each function module to be recommended, and sending the data to be recommended to the terminal equipment.
Fig. 9 is a schematic structural diagram of a terminal device according to an eighth embodiment of the present application, where the terminal device includes: a memory 901 and a processor 902;
a memory 901 for storing a computer program;
wherein the processor 902 executes the computer program in the memory 901 to implement the method in the above embodiments.
The present application provides a computer-readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method in the above-described embodiments.
Fig. 10 is a schematic structural diagram of a server according to a ninth embodiment of the present application, where the server includes: a memory 1001 and a processor 1002;
a memory 1001 for storing a computer program;
wherein the processor 1002 executes the computer program in the memory 1001 to implement the method in the above-described embodiments.
The present application provides a computer-readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method in the above-described embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A page display method is applied to terminal equipment and comprises the following steps:
sending a parameter acquisition request to a server so that the server sends parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
receiving parameter information sent by the server;
sending a data acquisition request to the server, wherein the data acquisition request carries the types of the at least two functional modules to be recommended, so that the server determines and sends data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request;
receiving data to be recommended corresponding to each functional module to be recommended, which is sent by the server; and generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
2. The method according to claim 1, wherein after receiving the parameter information sent by the server and before generating and displaying a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module, the method further comprises:
determining a display style corresponding to the type of each function module to be recommended according to the corresponding relation between the preset display style and the type of the function module;
the generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended includes:
and generating and displaying a page according to the data to be recommended, the display position information and the display style corresponding to each functional module to be recommended.
3. The method of claim 1, wherein sending a parameter acquisition request to a server comprises:
and when a first trigger instruction or a second trigger instruction is received, sending the parameter acquisition request to the server, wherein the first trigger instruction is used for indicating to start a target application program on the terminal equipment, and the second trigger instruction is used for indicating to update a currently displayed page of the target application program.
4. The method according to any one of claims 1 to 3, wherein the data request further carries a data identifier corresponding to each functional module to be recommended, wherein the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, which is sent to the terminal device by the server;
and the data to be recommended corresponding to each functional module to be recommended is determined in sequence from a preset data list corresponding to each functional module to be recommended by the server according to the data identification corresponding to each functional module to be recommended.
5. A page display method is applied to a server and comprises the following steps:
receiving a parameter acquisition request sent by terminal equipment, and sending parameter information to the terminal equipment according to the parameter acquisition request, wherein the parameter information comprises the types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
receiving a data acquisition request sent by the terminal equipment, wherein the data acquisition request carries the types of the at least two functional modules to be recommended;
and determining to-be-recommended data corresponding to each to-be-recommended function module according to the data acquisition request, and sending the to-be-recommended data corresponding to each to-be-recommended function module to the terminal equipment, so that the terminal equipment generates and displays a page according to the to-be-recommended data and the display position information corresponding to each to-be-recommended function module.
6. The method according to claim 5, wherein the data request further carries a data identifier corresponding to each functional module to be recommended, wherein the data identifier is an identifier of the last data to be recommended corresponding to each functional module to be recommended, which is sent to the terminal device by the server;
determining and sending the data to be recommended corresponding to each functional module to be recommended to the terminal equipment according to the data acquisition request, wherein the data to be recommended corresponding to each functional module to be recommended comprises the following steps:
determining the number of data display pieces corresponding to the type of each function module to be recommended according to the corresponding relation between the preset number of data display pieces and the type of the function module;
and according to the data identification corresponding to each function module to be recommended, determining the data to be recommended in the corresponding data display number corresponding to each function module to be recommended in sequence from the data list corresponding to each function module to be recommended, and sending the data to be recommended to the terminal equipment.
7. A terminal device, comprising:
the system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending a parameter obtaining request to a server so that the server sends parameter information to the terminal equipment according to the parameter obtaining request, and the parameter information comprises types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
the first receiving unit is used for receiving the parameter information sent by the server;
a second sending unit, configured to send a data acquisition request to the server, where the data acquisition request carries the types of the at least two function modules to be recommended, so that the server determines and sends, to the terminal device, to-be-recommended data corresponding to each function module to be recommended according to the data acquisition request;
the second receiving unit is used for receiving the data to be recommended corresponding to each functional module to be recommended, which is sent by the server;
and the processing unit is used for generating and displaying a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
8. The terminal device according to claim 7, wherein the terminal device further comprises:
the determining unit is used for determining a display style corresponding to the type of each function module to be recommended according to a preset corresponding relationship between the display style and the type of the function module after the first receiving unit receives the parameter information sent by the server and before the processing unit generates and displays a page according to the data to be recommended and the display position information corresponding to each function module to be recommended;
the processing unit is specifically configured to generate and display a page according to the data to be recommended, the display position information, and the display style corresponding to each functional module to be recommended.
9. The terminal device according to claim 7, wherein the first sending unit is specifically configured to send the parameter obtaining request to the server when a first trigger instruction or a second trigger instruction is received, where the first trigger instruction is used to instruct to start a target application on the terminal device, and the second trigger instruction is used to instruct to update a currently displayed page of the target application.
10. A server, comprising:
the first receiving unit is used for receiving a parameter obtaining request sent by terminal equipment and sending parameter information to the terminal equipment according to the parameter obtaining request, wherein the parameter information comprises types of at least two functional modules to be recommended and display position information corresponding to each functional module to be recommended;
a second receiving unit, configured to receive a data acquisition request sent by the terminal device, where the data acquisition request carries types of the at least two function modules to be recommended;
the determining unit is used for determining the data to be recommended corresponding to each functional module to be recommended according to the data acquisition request;
and the sending unit is used for sending the data to be recommended corresponding to each functional module to be recommended to the terminal equipment so that the terminal equipment generates and displays a page according to the data to be recommended and the display position information corresponding to each functional module to be recommended.
CN201910973319.5A 2019-10-14 2019-10-14 Page display method, terminal device and server Pending CN110708386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910973319.5A CN110708386A (en) 2019-10-14 2019-10-14 Page display method, terminal device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910973319.5A CN110708386A (en) 2019-10-14 2019-10-14 Page display method, terminal device and server

Publications (1)

Publication Number Publication Date
CN110708386A true CN110708386A (en) 2020-01-17

Family

ID=69198831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910973319.5A Pending CN110708386A (en) 2019-10-14 2019-10-14 Page display method, terminal device and server

Country Status (1)

Country Link
CN (1) CN110708386A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259174A (en) * 2020-01-19 2020-06-09 北京字节跳动网络技术有限公司 Multimedia transmission method, device, electronic equipment and medium
CN114117195A (en) * 2020-08-31 2022-03-01 北京达佳互联信息技术有限公司 Content recommendation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123308A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Webpage generation method and webpage generation device
CN104484362A (en) * 2014-12-02 2015-04-01 百度在线网络技术(北京)有限公司 Search result display method and device
KR20160020739A (en) * 2014-08-14 2016-02-24 인포뱅크 주식회사 Mobile communication terminal for changing app icon position according to receiving push message and the app program stored in medium for executing the method
CN107045541A (en) * 2017-02-23 2017-08-15 北京小米移动软件有限公司 data display method and device
CN107908747A (en) * 2017-11-17 2018-04-13 深圳市泉眼网络科技有限公司 A kind of page generation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123308A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Webpage generation method and webpage generation device
KR20160020739A (en) * 2014-08-14 2016-02-24 인포뱅크 주식회사 Mobile communication terminal for changing app icon position according to receiving push message and the app program stored in medium for executing the method
CN104484362A (en) * 2014-12-02 2015-04-01 百度在线网络技术(北京)有限公司 Search result display method and device
CN107045541A (en) * 2017-02-23 2017-08-15 北京小米移动软件有限公司 data display method and device
CN107908747A (en) * 2017-11-17 2018-04-13 深圳市泉眼网络科技有限公司 A kind of page generation method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111259174A (en) * 2020-01-19 2020-06-09 北京字节跳动网络技术有限公司 Multimedia transmission method, device, electronic equipment and medium
CN111259174B (en) * 2020-01-19 2021-05-11 北京字节跳动网络技术有限公司 Multimedia transmission method, device, electronic equipment and medium
CN114117195A (en) * 2020-08-31 2022-03-01 北京达佳互联信息技术有限公司 Content recommendation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108595137B (en) Wireless screen projection method and device and screen projector
US9519409B2 (en) Application program interface display method, device, terminal and readable storage medium
EP3252591A1 (en) Group chat method and device
US9110738B2 (en) Method and apparatus for calling back a program
CN111163326A (en) Virtual gift presenting method, virtual gift presenting device, medium, and electronic apparatus
CN104380769A (en) Information reminding method, apparatus, and electronic terminal
CN108027725B (en) Method, device and equipment for guiding terminal equipment operation
CN112286667A (en) Application program control method and device, electronic equipment and medium
EP3176995A1 (en) Method, device, server, and system for synchronizing member benefits among multiple devices
CN107765976B (en) Message pushing method, terminal and system
US10924572B2 (en) Information push method and apparatus, information sending method and apparatus, system, and storage medium
CN111506283A (en) Image display method, device and system
CN105630525A (en) Page synchronization method and apparatus
CN110708386A (en) Page display method, terminal device and server
CN104994427A (en) Method and system for configuring and managing self-start-up of smart television desktop
CN111796885A (en) Display method and device of cloud application program and electronic equipment
CN108933947B (en) Bullet screen display method and device
CN105630498A (en) Application program display method and device and electronic equipment
CN113346973B (en) Event prompting method and device, electronic equipment and computer readable storage medium
US20170171266A1 (en) Method and electronic device based on android platform for multimedia resource play
CN103023730A (en) Systems and methods for performing quick link communications
CN113741754A (en) Task creation method and device, electronic equipment and computer-readable storage medium
CN104683483A (en) Information and Internet of things intercommunicating method and device
CN109195021B (en) Screenshot sharing method and device
CN112395029A (en) Application program interface display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117