CN108460042B - Page display method, related equipment and system - Google Patents

Page display method, related equipment and system Download PDF

Info

Publication number
CN108460042B
CN108460042B CN201710090959.2A CN201710090959A CN108460042B CN 108460042 B CN108460042 B CN 108460042B CN 201710090959 A CN201710090959 A CN 201710090959A CN 108460042 B CN108460042 B CN 108460042B
Authority
CN
China
Prior art keywords
resource
messages
message
resource message
web page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710090959.2A
Other languages
Chinese (zh)
Other versions
CN108460042A (en
Inventor
韩威
艾米班
蒋特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710090959.2A priority Critical patent/CN108460042B/en
Publication of CN108460042A publication Critical patent/CN108460042A/en
Application granted granted Critical
Publication of CN108460042B publication Critical patent/CN108460042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

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)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a page display method, related equipment and a system, wherein the method comprises the following steps: the method comprises the steps that a browser sends a web page access request to a server, wherein the web page access request is used for obtaining M resource messages on a web page, M is a positive integer larger than 0, then the browser receives N resource messages sent by the server based on the web page access request, the N resource messages comprise part or all of the M resource messages and resource messages pushed by the server, and N is a positive integer larger than 0.

Description

Page display method, related equipment and system
Technical Field
The present invention relates to the field of information technologies, and in particular, to a page display method, related device, and system.
Background
With the continuous development of computer network technology, people can access thousands of websites and web pages through the network. With the continuous enrichment of browser-side services for web pages, there are more and more resource messages that can be displayed thereon, such as news, video, advertisements, and so on.
However, in practice, it is found that in the existing web page display scheme, a mechanism of obtaining a first display is mostly adopted, that is, the resource messages on the web page are randomly displayed on the browser according to the corresponding download speed. Based on this, in some network access peak periods or network congestion situations, it is easy to happen that the web resource messages which take a long time to download and display are not the message contents which are interested by the user; in addition, for some resource messages in which users are interested, long waiting display time is needed, and user experience is not good.
Disclosure of Invention
The embodiment of the invention discloses a page display method, related equipment and a system, which can solve the problem that resource information interested by a user cannot be displayed in time in the prior art and improve the practicability of page display.
In a first aspect, an embodiment of the present invention provides a method for displaying a page, including:
the method comprises the steps that a browser sends a web page access request to a server, wherein the web page access request is used for obtaining M resource messages on a web page, and M is a positive integer larger than 0;
the browser receives N resource messages sent by the server based on the web page access request, wherein the N resource messages comprise part or all of the M resource messages and resource messages pushed by the server, and N is a positive integer greater than 0;
and the browser displays part or all of the N resource messages on the web page according to the pre-stored resource message display priority.
According to the technical scheme, the browser sends a web page access request to the server, the web page access request is used for obtaining M resource messages on the web page, M is a positive integer larger than 0, then the browser receives N resource messages sent by the server based on the web page access request, the N resource messages comprise part or all resource messages in the M resource messages and resource messages pushed by the server, N is a positive integer larger than 0, and finally the browser displays part or all resource messages in the N resource messages on the web page according to the pre-stored resource message display priority.
In some optional schemes, the web page access request includes M resource message access requests, and the sending the web page access request to the server specifically includes: sending the M resource message access requests to the server according to the pre-stored resource message request priority; wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
By executing the steps, the browser can send the M resource message access requests in the web page access requests to the server according to the pre-stored resource message request priority, so that some resource messages which are interesting to the user or some resource messages with larger resource occupation, such as video messages and image messages, are downloaded and cached from the server preferentially, and the display time is shortened.
In some alternatives, the method further comprises: and under the condition that the cache time of a first resource message access request exceeds a preset time length, improving the request priority of the first resource message access request, wherein the first resource message access request belongs to the M resource message access requests.
By executing the steps, when the browser detects that the caching time of some first resource message access requests in the browser exceeds the preset time (such as 1 minute), the browser can increase the request priority of the first resource message access requests, so that the browser dispatches the first resource message access requests according to the increased request priority. Therefore, the problems that some resource message access requests with lower resource message request priority cannot be issued all the time due to network limitation (such as slow network speed and network congestion) or a large number of resource message access requests and the like can be avoided.
In some optional schemes, in a case that there are a plurality of second resource message access requests, and the second resource message access requests belong to a preset request type, the method further includes: and under the condition that the cache number of the second resource message access requests exceeds a preset number, improving the request priority of the second resource message access requests, wherein the second resource message access requests belong to the M resource message access requests.
By executing the steps, when the browser detects that the cache number of the second resource message access requests of a certain preset request type is more (exceeds the preset number), the browser can improve the request priority of the second resource message access requests so as to dispatch the second resource message access requests according to the improved request priority, and the practicability of page display is improved.
In some optional schemes, the displaying, according to a pre-stored resource message display priority, some or all of the N resource messages on the web page specifically includes: determining resource messages to be displayed from the N resource messages; and displaying the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
By executing the steps, the browser can select some resource messages to be displayed, which are interesting to the user, from the N resource messages, so that only the determined resource messages to be displayed are displayed on the web page according to the display priority of the pre-stored resource messages, and therefore the resource messages which are not interesting to the user, such as advertisement messages and the like, can be screened out (not displayed on the web page), and the practicability of page display is improved.
In some optional schemes, the browser may determine the display priority of the resource message to be displayed according to any one or more of the importance of the resource message to be displayed, the urgency, the aging time, the message size, or other information for determining the display priority of the resource message, and then display the resource message to be displayed on the web page according to the display priority of the resource message to be displayed. The aging time herein may refer to an effective life cycle, an effective acting time.
By executing the steps, the browser can automatically determine the display priority of the resource message to be displayed, and then display the resource message to be displayed on the web page according to the display priority of the resource message to be displayed, so that the intelligence, convenience and quickness of page display are improved.
In some optional schemes, the resource message includes an aging time, and the determining the resource message to be displayed from the N resource messages specifically includes: determining the resource message of which the resource message caching time does not exceed the aging time from the N resource messages as the resource message to be displayed; and discarding the resource message of which the resource message caching time exceeds the aging time.
By executing the steps, the browser selects the resource messages with the resource message caching time not exceeding the aging time as the resource messages to be displayed so as to be displayed on the web page subsequently; meanwhile, the resource messages with the resource message caching time exceeding the aging time can be discarded or deleted. Therefore, only some useful (in the effective life cycle) resource messages can be displayed on the web page, and some useless (exceeding the effective life cycle) resource messages are not managed or directly deleted, so that the practicability of page display is improved, and the memory space is saved.
In some optional schemes, the determining the resource message to be displayed from the N resource messages specifically includes: determining the resource message matched with the web page access request as a resource message to be displayed from the N resource messages; and discarding the resource message pushed by the server.
By executing the steps, the browser determines the resource message matched with the web page access request in the N resource messages as the resource message to be displayed so as to be displayed on the web page subsequently; at the same time, the browser may also delete resource messages that do not match the web page access request. Therefore, the browser can directly display the original resource information on the web page, and discard the resource information actively pushed to the browser by the server, so that the practicability of page display is improved, and the memory space is saved.
In some optional schemes, the determining the resource message to be displayed from the N resource messages specifically includes: determining the resource message with the resource message type as a preset message type as the resource message to be displayed from the N resource messages; and discarding the resource message of which the resource message type is not the preset message type.
By executing the steps, the browser determines the resource message of which the resource message type is the preset message type (such as a notification message type) in the N resource messages as the resource message to be displayed so as to be displayed on a web page subsequently; meanwhile, the resource message of which the resource message type is not the preset message type can be discarded. Therefore, the browser can only display the resource messages of some resource message types which are interested by the user on the web page, and discard the resource messages of other resource message types which are not interested by the user, so that the user service requirement can be well met, the page display practicability is improved, and the memory space is also saved.
In some optional schemes, after determining the resource message to be displayed from the N resource messages, the method further includes: and under the condition that the cache time of the resource message to be displayed exceeds the preset time length, improving the display priority of the resource message to be displayed.
By executing the steps, the browser can improve the display priority of the resource messages to be displayed, the cache time of which exceeds the preset time length, so that the subsequent browser can display the resource messages to be displayed on the web page according to the improved display priority of the resource messages to be displayed, and the problem that the resource messages to be displayed, the display priority of which is lower, cannot be displayed all the time in a period of time is avoided.
In some optional schemes, in a case that there are multiple resource messages to be displayed and the resource messages to be displayed belong to the same message type, after determining the resource messages to be displayed from the N resource messages, the method further includes: and under the condition that the cache number of the resource messages to be displayed exceeds the preset number, improving the display priority of the resource messages to be displayed.
By executing the steps, the browser can improve the display priority of the resource messages to be displayed under the condition that the number of the resource messages to be displayed, which belong to the same resource message type, is counted by the browser to exceed the preset number, so that the practicability of page display can be improved.
In some optional schemes, after determining the resource message to be displayed from the N resource messages, the method further includes: and under the condition that the message type of the resource message to be displayed is a preset message type, improving or reducing the display priority of the resource message to be displayed.
By executing the steps, the browser can improve or reduce the display priority of the resource message to be displayed, the resource message type of which is the preset message type, according to the actual requirement of the user, and the practicability of page display is improved.
In some optional solutions, the web page access request includes M resource message access requests, and after the sending the web page access request to the server, the method further includes: deleting a target resource message access request sent by the server based on the target resource message access request when the target resource message is received; wherein the target resource message access request belongs to the M resource message access requests, and the target resource message belongs to the N resource messages.
By executing the steps, the browser can delete the target resource message access requests one by one after receiving the target resource messages returned by the server based on the target resource message access requests, so that the memory space is saved.
In some optional solutions, the web page access request includes M resource message access requests, and after receiving N resource messages sent by the server based on the web page access request, the method further includes: deleting the M resource message access requests in the web page access request in case of receiving N resource messages sent by the server based on the M resource message access requests.
By executing the steps, after the browser receives the N resource messages returned by the server based on the M resource message access requests, the M resource message access requests can be deleted uniformly, so that the memory space is saved.
In a second aspect, an embodiment of the present invention provides a browser, including a functional unit configured to execute the method of the first aspect.
In a third aspect, an embodiment of the present invention provides a browser, including a storage unit, a communication interface, and a processor coupled to the storage unit and the communication interface; the storage unit is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other equipment under the control of the processor; wherein the processor, when executing the instructions, performs the method described in the first aspect above.
In a fourth aspect, a page display system is provided, which includes a browser and a server, where the server is configured to receive a web page access request sent by the browser; acquiring corresponding N resource messages according to the web page access request; sending the acquired N resource messages to the browser so that the browser can display part or all of the N resource messages according to the pre-stored resource message display priority; the browser may be a browser as described in the second or third aspects above.
In a fifth invention, a computer-readable storage medium storing program code for page display is provided. The program code comprises instructions for performing the method described in the first aspect above.
By implementing the embodiment of the invention, the problem that the resource information which is interested by the user cannot be displayed in time in the prior art can be solved, and the practicability of page display is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present invention;
FIG. 2 is a frame diagram of a browser according to an embodiment of the present invention;
FIG. 3 is a block diagram of a request controller according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a page display method according to an embodiment of the present invention;
FIG. 5 is a block diagram of a page display process according to an embodiment of the present invention;
FIG. 6 is a schematic interface diagram of a web site page provided by an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another page displaying method according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a browser according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another browser according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a network framework according to an embodiment of the present invention. The network architecture diagram includes browsers and servers, the number of the browsers and the servers may be one or more, and when the number of the browsers or the servers is two or more, the browsers or the servers may be the same or different browsers or servers, and the embodiment of the present invention is not limited.
Browsers may be deployed on clients (terminal devices), which may include, but are not limited to, IE browsers, 360 browsers, QQ browsers, 2345 accelerated browsers, and so forth. The server in the figure can also be replaced by other service hosts, service systems, service platforms and other service devices, and the illustration is only taken as the server. The browser can be in communication connection with the server through the Internet.
Fig. 1 is a schematic diagram of a network architecture, which may also be a schematic structural diagram of a page display system disclosed in an embodiment of the present invention. The page display system includes a browser and a server, and the server and the browser may be used to perform all or part of the implementation steps in the page display method provided in fig. 4 or fig. 7 as follows.
Referring to fig. 2, fig. 2 is a schematic diagram of a browser framework according to an embodiment of the present invention, based on the network architecture diagram shown in fig. 1. The browser includes a request controller, a policy manager, and a User Interface (UI). The UI interface is used for providing a user with a page display policy, which may also be referred to as setting of Quality of Service (QOS) policy, where the user may refer to a software user or a system developer. Meanwhile, the UI interface can also issue the set page display strategy to the strategy manager so as to store the relevant page display strategy.
It should be understood that the page display policy or QOS policy herein may include a resource message request priority level flexibly set by a user according to a requirement of the user on the UI interface, and a resource message display priority level on the web page, and may further include a display position, a display start time, a display end time, a display duration of the resource message on the web page, or other information for controlling the resource message to be displayed on the web page, and the embodiments of the present invention are not limited thereto.
It should be understood that a developer or a software user can automatically and flexibly configure the resource message request priority according to the requirements of the developer or the software user on a UI interface provided by the system. For example, for some advertisers, the request priority of an advertisement message may be set relatively high and the request priority of other resource messages not of interest (e.g., notification messages) may be set relatively low. For another example, for a general user, the request priority of a resource message with a large resource such as a video and an image may be set to be higher, and the request priority of a resource message with a small resource occupation (not exceeding a preset threshold) such as a text may be set to be relatively lower. Optionally, the user may set the request priority of a certain type of resource message to the same level on the UI interface; or, the present invention is set to different levels according to its actual requirements, and the embodiments of the present invention are not limited.
Similarly, a developer or a software user can flexibly set the display priority of the resource message on the web page according to the requirement of the developer or the software user on the UI interface. For example, for some advertisers, the display priority of advertisement messages may be set relatively high, and the display priority of other resource messages that are not of interest (e.g., notification messages) may be set relatively low. As another example, for a general user, the display priority of resource messages (e.g., news messages, warning messages) that some users are interested in may be set to be higher, the display priority of resource messages (e.g., maintenance notification messages) that some users are not interested in may be set to be lower, and even resource messages (e.g., advertisement messages) that some users are not interested in may be set to be not displayed, and so on. Optionally, to facilitate user operation, the user may set the display priority of a certain type of resource message according to the message type.
It should be understood that the requirements of page display policies, such as resource message request priority, resource message display priority, etc., set on the UI interface by different users are different. Therefore, when flexible setting is performed on the UI interface, user identification information, such as a user ID, a user name, a user mail (Email) address, and the like, can be carried to identify page display policies (QOS policies) set by different users.
It should be understood that the UI interface may be a human-computer interface, a set of configuration file entries developed by developers, or other types of configuration entries, and the embodiments of the present invention are not limited thereto.
The policy controller may be used to store page display policies set by different users to provide different page display policies for different users. The policy controller may further set a page display policy stored therein to the request controller, so that the request controller performs corresponding page display processing according to the corresponding page display policy. Optionally, the policy controller may also support operations such as adding, deleting, modifying, viewing, etc. to the page display policy stored therein.
The request controller is used for carrying out corresponding page display processing according to the page display strategy set by the strategy controller, such as resource message access request and dispatching of related resource messages. The request controller may include a request queue controller and a display queue controller, and specifically, referring to fig. 3, a schematic diagram of a framework of a request controller according to an embodiment of the present invention is shown.
The request queue controller is configured to manage a web page access request issued by a service logic of the browser, or manage a plurality of resource message access requests corresponding to a plurality of resource messages on the web page. Specifically, for example, the request queue controller may buffer a plurality of resource message access requests issued by the browser service logic in a queue form according to a pre-stored resource message request priority (here, the resource message request priority in the page display policy) in sequence from high to low or from low to high. For another example, when the browser needs to send the resource message access requests to the server, the request queue controller may sequentially send the resource message access requests to the server according to the previous caching order, so as to obtain the resource message corresponding to the resource message access request from the server. That is, the request controller may be responsible for correspondingly caching and dispatching the resource message access request issued by the browser service logic according to the pre-stored resource message request priority.
The display queue controller is used for managing a plurality of resource messages received from the server. Specifically, for example, the display queue controller may buffer a plurality of received resource messages sent by the server in sequence in a queue form according to the pre-stored resource message display priority from high to low or from low to high. For example, in the process of displaying resource messages on a web page, the display queue controller of the browser may render and display the resource messages on the web page in sequence according to the caching order of the resource messages cached therein. That is, the display queue controller is responsible for caching and rendering display of a plurality of resource messages received from the server according to the pre-stored display priority of the resource messages.
It should be understood that, for a plurality of resource message access requests buffered by the request queue controller, the corresponding resource message request priorities thereof may be distinguished by words such as "high, medium, and low", or by numbers such as "1, 2, 3, 4, and 5", or by other information for identifying and prioritizing resource message requests, and the embodiments of the present invention are not limited thereto. Similarly, the resource messages buffered by the display queue controller may also be prioritized for display according to the same identification manner as described above. Referring specifically to fig. 3, the words "1, 2, 3" are used for division and recognition.
It should be understood that the resource message request priority and the resource message display priority may be set on the UI interface according to the user's own needs. For the same resource message, the resource message request priority and the resource message display priority corresponding to the same resource message may be set to be the same or different, and the embodiment of the present invention is not limited.
Referring to fig. 4 based on the frame diagrams shown in fig. 1-3, fig. 4 is a flowchart illustrating a page display method according to an embodiment of the present invention, where the method includes, but is not limited to, the following steps.
S101, the browser sends a web page access request to a server, wherein the web page access request is used for acquiring M resource messages on the web page, and M is a positive integer larger than 0.
In the present application, a web page may include a plurality of resource messages, where M resource messages are assumed, M is greater than 0, and M is a positive integer. The resource messages may include, but are not limited to, news messages, advertisement messages, video messages, image messages, caption messages, notification messages, alert messages, and the like.
In one embodiment of the invention, the browser may send a web page access request to the server, the web page access request for obtaining the M resource messages on the web page. Wherein the web page access request may include a unique identification of the web page that needs to be accessed. The unique identifier herein may refer to a Uniform Resource Locator (URL), such as www.xxx.com/a/b/c; it may also refer to the uniform resource locator pattern Url-pattern, such as www.xxx.com/a/b/; it may also refer to some key information in the HTTP request header, such as value pair, request _ group: xxx; and other information identifying a web site page to be accessed, which is not limited in the embodiments of the present invention.
In another embodiment of the present invention, the web page access request includes M resource message access requests, and the specific implementation manner of step S101 is: sending the M resource message access requests to the server according to the pre-stored resource message request priority; wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
Specifically, since M resource messages are included in one web page, the browser may send resource message access requests to the server to obtain the M resource messages, where the M resource message access requests may be. It is also understood that the web page access request includes M resource message access requests. Then, the browser may sequentially send the M resource message access requests to the server according to a sequence of the pre-stored resource message request priorities from high to low, so as to obtain the corresponding resource messages from the server.
It should be understood that the resource message access request herein may include a unique identification of the resource message to be accessed, such as a URL or the like; and may also include a resource message request priority that is manually set by a user or automatically determined by the browser. Optionally, the resource message access request may further include user identification information, such as a user ID, so that the browser knows a page display policy pre-stored in the browser and corresponding to the user identification information, and then displays the resource message acquired from the server according to the corresponding page display policy.
In a specific implementation, with reference to the frame diagrams shown in fig. 2 and fig. 3, in the process of accessing a web page, the request queue controller may sequentially issue M resource message access requests issued by the browser service logic in a queue form according to a pre-stored priority of resource message requests from high to low, and then sequentially send the M resource message access requests to the server according to the cache order. That is, the request queue controller sends M resource message access requests issued by the browser service logic to the server according to the pre-stored resource message request priority, and specifically, refer to fig. 5, which is a frame diagram illustrating a page display process provided in an embodiment of the present invention.
For example, an existing user needs to access a web site page through a browser, where the web site page is composed of a news message, a video message, and a comment message, and specifically, as shown in fig. 6, an interface diagram of a web site page provided by an embodiment of the present invention is shown. Referring to the schematic diagrams of the frameworks shown in fig. 2 and fig. 3, it is assumed that, before considering that video messages and image messages generally have a large resource occupation (a large data packet), a long download cache time, news messages and comment messages both belong to subtitle messages, and have a small resource occupation and a short download cache time, on a UI interface, message request priorities corresponding to the video messages and the image messages are respectively set as a first priority and a second priority, and message request priorities corresponding to the news messages and the comment messages are set as a third priority. Wherein first priority > second priority > third priority.
In the web site page access process, a request queue controller receives 4 message access requests issued by browser service logic: a news message access request, a video message access request, and a comment message access request. Then, the request queue controller may cache the 4 message access requests according to the pre-stored message request priorities in a sequence from high to low, where the sequence is: a video message access request, an image message access request, a news message access request, and a comment message access request. When the subsequent request queue display controller sends the message access requests to the server, the subsequent request queue display controller can also send the video message access requests, the image message access requests, the news message access requests and the comment message access requests to the server in sequence according to the arrangement sequence of the message access requests in the request queue controller so as to obtain corresponding messages on the web site pages from the server.
In another embodiment of the present invention, the method further comprises: and under the condition that the cache time of a first resource message access request exceeds a preset time length, improving the request priority of the first resource message access request, wherein the first resource message access request belongs to the M resource message access requests.
Specifically, due to network limitations (such as slow network speed and network congestion) or a large number of resource message access requests, the browser cannot always issue resource message access requests with low priority for some resource message requests within a period of time. In order to solve the above problem, in the solution of the present application, when the browser detects that the caching time of some first resource message access requests in the browser exceeds a preset time length (e.g. 1 minute), the browser may increase the request priority of the first resource message access requests, so that the browser dispatches the first resource message access requests according to the increased request priority.
In another embodiment of the present invention, in a case that there are a plurality of second resource message access requests, and the second resource message access requests belong to a preset request type, the method further includes: and under the condition that the cache number of the second resource message access requests exceeds a preset number, improving the request priority of the second resource message access requests, wherein the second resource message access requests belong to the M resource message access requests.
Similarly, when the browser detects that the cache number of the second resource message access requests of a certain preset request type is more than the preset number, the browser can increase the request priority of the second resource message access requests, so as to dispatch the second resource message access requests according to the increased request priority.
In another embodiment of the present invention, the browser may further increase or decrease the request priority of some resource message access requests according to the actual needs of the user, so that the browser dispatches these resource message access requests according to the adjusted request priority. For example, a user may set request priorities for certain resource message access requests in setting a page display policy on a UI interface.
It should be understood that, with reference to the structural schematic diagrams shown in fig. 2 and fig. 3, when the browser or the request queue controller detects that the request priority of each resource message access request changes, the cache order of the resource message access requests in the request queue controller may be adjusted according to the changed request priority.
S102, correspondingly, the server receives the web page access request sent by the browser; and acquiring corresponding N resource messages according to the web page access request, wherein the N resource messages comprise part or all of the M resource messages corresponding to the web page access request and the resource messages pushed by the server, and N is a positive integer greater than 0.
S103, the server sends the acquired N resource messages to the browser.
In an embodiment of the present invention, after receiving a web page access request sent by a browser, a server obtains, according to a unique identifier of a web page carried in the web page access request, a part or all of resource messages in M resource messages on the web page and resource messages that the server needs to actively push to the browser, such as advertisement messages, notification messages, and the like, where it is assumed that N resource messages are obtained altogether. The server may send the acquired N resource messages to the browser.
In another embodiment of the present invention, the server may receive M resource message access requests sent by the browser based on a pre-stored resource message request priority, and then may obtain corresponding resource messages according to unique identifiers of resource messages to be accessed carried by the M resource message access requests, where it is assumed that N resource messages are obtained, and send the obtained N resource messages to the browser. Specifically, the server may determine the corresponding target resource message according to a mechanism of receiving and processing first and preferentially according to the unique identifier of the target resource message to be accessed in the target resource message access request received first, and then start a thread to send the target resource message to the browser. The target resource message access request belongs to a request in M resource message access requests, and the target resource message belongs to a message in N resource messages.
For example, referring to the example of fig. 6 in step S101 above, the server will receive a video message access request, an image message access request, a news message access request and a comment message access request which are sequentially sent by the browser (request queue controller) according to the priority of the resource message request from top to bottom. When the server receives a video message access request, the corresponding video message is determined according to the unique identification of the video message carried by the video message access request, and a path of thread is started to send the determined video message to a display queue controller in the browser. Similarly, when the server receives the other subsequent 3 message access requests, the server determines the corresponding message according to the message unique identifier carried by the corresponding message access request, and then starts a thread to sequentially send the corresponding message to the display queue controller of the browser. In consideration of the service authority or network packet loss of the server side, the messages sent by the server to the display queue controller in the browser may include all or part of video messages, image messages, news messages, comment messages, and messages actively pushed by the server, such as advertisement messages, warning messages, notification messages, and the like.
In another embodiment of the present invention, in a case that the server does not receive any web page access request or resource message access request sent by the browser, the server may also actively push N resource messages to the browser to display the N resource messages on the web page of the browser. That is, the N resource messages received by the browser may be actively pushed by the server.
S104, correspondingly, the browser receives N resource messages sent by the server based on the web page access request.
It should be understood that, due to the reasons of the network speed or the size of the resource request message, etc., the order in which the browser receives the N resource messages sent by the server may be arbitrary, and the resource messages sent by the server are not necessarily received according to the original order of the resource message request priority, for example, as shown in the above example in fig. 6, since the video message and the image message are relatively large and the downloading time is relatively long, and the news message and the comment message belong to the subtitle message and are relatively small, the browser may still be in the process of continuing to cache and download the video message and the image message after the news message and the comment message sent by the server are received.
In an embodiment of the present invention, the browser may determine the resource message display priorities corresponding to the N resource messages according to the urgency, importance, message type, or even aging time of the N resource messages, or other information for determining the resource message display priorities; then, the browser sequentially caches the N resource messages in the browser according to the determined display priority of the resource messages from high to low so as to further render and display the resource messages.
It should be understood that the aging time herein refers to the effective acting time, or effective lifecycle, of the resource message.
For example, in combination with the frame diagrams shown in fig. 2 and fig. 3, the server may send the acquired N resource messages to a display queue controller of the browser through the network, so that after receiving the N resource messages sent by the server, the display queue controller sequentially arranges and caches the N resource messages in a queue according to a sequence from high to low of a display priority of a pre-stored resource message (i.e., a display priority of a resource message in the QOS policy), so that a subsequent browser may render and display the resource messages on a web page according to a caching sequence (a display priority of a pre-stored resource message) in the display queue controller. Specifically, fig. 5 is a schematic diagram of a frame of page display processing according to an embodiment of the present invention.
In another embodiment of the present invention, after sending the web page access request to the server, the method further includes: deleting a target resource message access request sent by the server based on the target resource message access request when the target resource message is received; wherein the target resource message access request belongs to the M resource message access requests, and the target resource message belongs to the N resource messages.
Specifically, after the browser receives the target resource message sent by the server based on the target resource message access request, the browser may delete the target resource message access requests one by one, so as to save the memory space. Exemplarily, with reference to the frame diagrams shown in fig. 2 and fig. 3, after detecting/receiving a target resource message returned by a server based on a certain target resource message access request cached in a request queue controller, a browser may delete the target resource message access request cached in the request queue controller correspondingly, so as to achieve the purpose of saving a memory space.
In another embodiment of the present invention, the web page access request includes M resource message access requests, and after receiving N resource messages sent by the server based on the web page access request, the method further includes: deleting the M resource message access requests in the web page access request in case of receiving N resource messages sent by the server based on the M resource message access requests.
Specifically, after the browser receives N resource messages sent by the server based on the web page access request or the M resource message access requests, the browser may uniformly delete the web page access request or the M resource message access requests, so as to save the memory space. Exemplarily, with reference to the frame diagrams shown in fig. 2 and fig. 3, after detecting/receiving a resource message returned by a server based on all resource message access requests cached in a request queue controller, a browser may uniformly delete all resource message access requests cached in the request queue controller, so as to achieve the purpose of saving a memory space.
S105, the browser displays part or all of the N resource messages on the web page according to the pre-stored resource message display priority.
In an embodiment of the present invention, the browser may render and display all or a part of the N resource messages on the web page according to a pre-stored page display policy, such as a pre-stored resource message display priority, a pre-stored display time, a pre-stored display location, and the like. Illustratively, in conjunction with the frame diagrams shown in fig. 2 and fig. 3, the browser may render and display all or part of the N resource messages cached in the display queue controller onto the web page according to the pre-stored resource message display priority. That is, the display queue controller may render and display all or a portion of the N resource messages on the web page according to the buffering order of the N resource messages buffered therein.
In another embodiment of the present invention, please refer to fig. 7, which is a schematic flowchart illustrating another page display method according to an embodiment of the present invention, wherein step S105 specifically includes the following steps:
s106, the browser determines resource messages to be displayed from the N resource messages.
S107, the browser displays the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
Specifically, the browser may arbitrarily select one or more resource messages from the N resource messages as the resource messages to be displayed, so that the subsequent browser renders and displays the determined resource messages to be displayed on the web page according to the pre-stored page display policy, including the pre-stored resource message display priority. Illustratively, in conjunction with the frame diagrams shown in fig. 2 and fig. 3, the browser may cache the determined resource message arrangement to be displayed in the display queue controller according to the pre-stored resource message display priority in an order from high to low.
In another embodiment of the present invention, if the resource message includes an aging time, the specific implementation manner of step S106 is: and determining the resource message of which the resource message caching time does not exceed the aging time from the N resource messages as the resource message to be displayed.
In another embodiment of the present invention, the method further comprises: and if the resource message comprises the aging time, the browser discards the resource message of which the resource message caching time exceeds the aging time from the N resource messages.
Specifically, when the browser or the request controller receives N resource messages, a timer device such as a timer may be started to count the respective cache times of the N resource messages. If the received resource messages comprise aging time, the browser can judge whether the resource messages with the resource message cache time not exceeding the corresponding aging time exist in the N resource messages, and if the resource messages with the resource message cache time not exceeding the corresponding aging time exist in the N resource messages, the browser determines the resource messages with the resource message cache time not exceeding the corresponding aging time in the N resource messages as the resource messages to be displayed; in addition, the browser can also unmanage or directly discard the resource messages with the resource message cache time exceeding the corresponding aging time in the N resource messages.
In another embodiment of the present invention, the specific implementation manner of step S106 is: and the browser determines the resource message matched with the web page access request as the resource message to be displayed from the N resource messages.
In another embodiment of the present invention, the method further comprises: and the browser discards the resource message pushed by the server from the N resource messages.
Specifically, after the browser receives N resource messages, the browser may determine whether there is a resource message matching the web page access request or the M resource message access requests in the N resource messages; that is, the browser determines whether there are some or all resource messages in the M resource messages that need to be acquired in the N resource messages, and if there are some or all resource messages in the M resource messages, the browser may determine the resource message matched with the web page access request or the M resource message access request as the resource message to be displayed, that is, determine some or all resource messages in the M resource messages as the resource message to be displayed. In addition, the browser can unmanage or directly discard the resource message which is not matched with the web page access request or the M resource message access requests in the N resource messages, that is, the browser can unmanage or directly discard the resource message actively pushed by the server.
In another embodiment of the present invention, the specific implementation manner of step S106 is: and the browser determines the resource message with the resource message type as the preset message type as the resource message to be displayed from the N resource messages.
In another embodiment of the present invention, the method further comprises: and the browser discards the resource message of which the resource message type is not the preset message type from the N resource messages.
Specifically, after the browser receives the N resource messages, the browser may determine whether there is a resource message in the N resource messages, where the resource message is of a preset message type, and if so, the browser may determine the resource message in the N resource messages, where the resource message is of the preset message type, as the resource message to be displayed. In addition, the browser can also not manage or directly discard and delete the resource messages of which the resource message types are not the preset message types in the N resource messages.
In another embodiment of the present invention, after determining the resource message to be displayed from the N resource messages, the method further includes: and under the condition that the cache time of the resource message to be displayed exceeds the preset time length, improving the display priority of the resource message to be displayed.
Specifically, for the reasons that the resource of the client deployed by the browser is limited or the number of resource messages to be displayed is large, some resources to be displayed with low resource message display priority cannot be displayed all the time. In order to solve the above problem, in the present application, when the browser detects that the resource message caching time exceeds a preset duration (e.g., 5 minutes), the browser may increase the display priority of the resource messages to be displayed, for example, uniformly increase the display priority of the resource messages to be displayed to a preset display priority.
In another embodiment of the present invention, when the resource message to be displayed belongs to the same message type and there are a plurality of resource messages to be displayed, after determining the resource message to be displayed from the N resource messages, the method further includes: and under the condition that the cache number of the resource messages to be displayed exceeds the preset number, improving the display priority of the resource messages to be displayed.
Similarly, when the number of resource messages to be displayed of a certain message type exceeds a preset number (e.g., 10), the browser may uniformly increase the display priority of all resource messages to be displayed of the certain message type by a preset display priority, for example, uniformly increase the display priority of one resource message. A certain message type may be customized in the page display policy by the user in advance, such as a video message type, a notification message type, and so on.
In addition, the browser can also correspondingly adjust (increase or decrease) the display priority of the resource messages waiting for queuing display in the display queue controller according to the actual needs of the user, so that the subsequent browser renders and displays the resource messages on the web page according to the adjusted display priority of the resource messages.
It should be noted that the page display method, the request controller, and the policy management controller according to the present invention may be used as a software application function of a browser, and the deployment form of the page display method, the request controller, and the policy management controller may be used as a plug-in of the browser (e.g., a patch installation package), a software program process independent from the browser (e.g., a section of program code written into a system), or a software program process deployed in the browser (e.g., program code that implements a browser function), which is not limited in the embodiments of the present invention.
By implementing the embodiment of the invention, the problem that the resource information which is interested by the user can not be displayed or can not be displayed in time in the prior art can be solved, and the practicability of page display is improved.
Based on the same inventive concept, please refer to fig. 8, fig. 8 is a schematic structural diagram of a browser according to an embodiment of the present invention, where the browser 80 includes: a transmitting unit 801, a receiving unit 802, and a display unit 803, wherein,
the sending unit 801 is configured to send a web page access request to a server, where the web page access request is used to obtain M resource messages on the web page, and M is a positive integer greater than 0;
the receiving unit 802 is configured to receive N resource messages sent by the server based on the web page access request, where the N resource messages include part or all of the M resource messages and a resource message pushed by the server, and N is a positive integer greater than 0;
the display unit 803 is configured to display some or all of the N resource messages on the web page according to a pre-stored resource message display priority.
By operating the above units, the browser 80 sends a web page access request to a server, where the web page access request is used to obtain M resource messages on the web page, where M is a positive integer greater than 0, then receives N resource messages sent by the server based on the web page access request, where the N resource messages include part or all of the M resource messages and resource messages pushed by the server, where N is a positive integer greater than 0, and finally displays part or all of the N resource messages on the web page according to a pre-stored resource message display priority, so as to overcome a problem in the prior art that resource messages interested by a user cannot be displayed or cannot be displayed in time, and improve the practicability of page display.
In an optional scheme, the web page access request includes M resource message access requests, and the sending unit is specifically configured to send the M resource message access requests to the server according to a pre-stored resource message request priority; wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
In yet another optional scheme, the display unit specifically includes a determining unit and a display unit, and the determining unit is configured to determine the resource message to be displayed from the N resource messages; and the display unit is used for displaying the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
In another optional scheme, the resource message includes an aging time, and the determining unit is specifically configured to determine, from the N resource messages, a resource message whose resource message cache time does not exceed the aging time as a resource message to be displayed; and discarding the resource message of which the resource message caching time exceeds the aging time.
In yet another optional scheme, the determining unit is specifically configured to determine, from the N resource messages, a resource message matched with the web page access request as a resource message to be displayed; and discarding the resource message pushed by the server.
In another optional scheme, the determining unit is specifically configured to determine, from the N resource messages, a resource message whose resource message type is a preset message type as a resource message to be displayed; and discarding the resource message of which the resource message type is not the preset message type.
In another optional scheme, the browser further includes a first processing unit, and the first processing unit is specifically configured to, when the cache time of the resource message to be displayed exceeds a preset time length, increase the display priority of the resource message to be displayed.
In another optional scheme, when there are multiple resource messages to be displayed and the resource messages to be displayed belong to the same message type, the browser further includes a second processing unit, where the second processing unit is specifically configured to, when the cache number of the resource messages to be displayed exceeds a preset number, increase the display priority of the resource messages to be displayed.
It should be noted that the specific implementation of the browser shown in fig. 8 may also correspond to the corresponding description of the method embodiment shown in fig. 4 or fig. 7, and is not described herein again.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another browser according to an embodiment of the present invention, where the browser 80 includes: a storage unit 910, a communication interface 920, and a processor 930 coupled to the storage unit 910 and the communication interface 920. The storage unit 910 is configured to store instructions, the processor 920 is configured to execute the instructions, and the communication interface 920 is configured to communicate with other devices under the control of the processor 930. When the processor 930 executes the instructions, any one of the page display methods in the above embodiments of the present application may be executed according to the instructions.
Processor 930 may also be referred to as a Central Processing Unit (CPU). The memory unit 910 may include a read-only memory and a random access memory, and provides instructions and data, etc. to the processor 930. A portion of the storage unit 910 may also include a non-volatile random access memory. The components of the wallpaper changing apparatus in a particular application are coupled together, for example, by a bus system. The bus system may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For clarity of illustration, however, the various buses are identified in the figure as the bus system 940. The method disclosed in the above embodiments of the present invention can be applied to the processor 930 or implemented by the processor 930. Processor 930 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 90. The processor 930 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, discrete gate or transistor logic, or discrete hardware components, among others. Processor 930 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the storage unit 910, and the processor 930 for example can read the information in the storage unit 910, and complete the following steps in combination with the hardware:
sending a web page access request to a server, wherein the web page access request is used for acquiring M resource messages on the web page, and M is a positive integer greater than 0;
receiving N resource messages sent by the server based on the web page access request, wherein the N resource messages comprise part or all of the M resource messages and resource messages pushed by the server, and N is a positive integer greater than 0;
and displaying part or all of the N resource messages on the web page according to the pre-stored resource message display priority.
In an optional scenario, the web page access request includes M resource message access requests, and the processor 930 is specifically configured to: sending the M resource message access requests to the server according to the pre-stored resource message request priority; wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
In yet another alternative, the processor 930 is specifically configured to: determining resource messages to be displayed from the N resource messages; and displaying the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
In another optional scenario, the resource message includes an aging time, and the processor 930 is specifically configured to: determining the resource message of which the resource message caching time does not exceed the aging time from the N resource messages as the resource message to be displayed; and discarding the resource message of which the resource message caching time exceeds the aging time.
In yet another alternative, the processor 930 is specifically configured to: determining the resource message matched with the web page access request as a resource message to be displayed from the N resource messages; and discarding the resource message pushed by the server.
In yet another alternative, the processor 930 is specifically configured to: determining the resource message with the resource message type as a preset message type as the resource message to be displayed from the N resource messages; and discarding the resource message of which the resource message type is not the preset message type.
In yet another alternative, after determining the resource message to be displayed from the N resource messages, the processor 930 is further configured to: and under the condition that the cache time of the resource message to be displayed exceeds the preset time length, improving the display priority of the resource message to be displayed.
In yet another alternative, in a case that there are multiple resource messages to be displayed and the resource messages to be displayed belong to the same message type, after determining resource messages to be displayed from the N resource messages, the processor 930 is further configured to: and under the condition that the cache number of the resource messages to be displayed exceeds the preset number, improving the display priority of the resource messages to be displayed.
In yet another alternative, the web page access request includes M resource message access requests, and after the web page access request is sent to the server, the processor 930 is further configured to: deleting a target resource message access request sent by the server based on the target resource message access request when the target resource message is received; wherein the target resource message access request belongs to the M resource message access requests, and the target resource message belongs to the N resource messages.
In yet another optional scenario, the web page access request includes M resource message access requests, and after receiving N resource messages sent by the server based on the web page access request, the processor 930 is further configured to: deleting the M resource message access requests in the web page access request in case of receiving N resource messages sent by the server based on the M resource message access requests.
It should be noted that the specific implementation of the browser shown in fig. 9 may also correspond to the corresponding description of the method embodiment shown in fig. 4 or fig. 7, and is not described herein again.
In summary, by implementing the embodiment of the present invention, the problem that the resource information interested by the user cannot be displayed or cannot be displayed in time in the prior art can be overcome, and the practicability of page display is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Claims (22)

1. A method of page display, comprising:
the method comprises the steps that a browser sends a web page access request to a server, wherein the web page access request is used for obtaining M resource messages on a web page, and M is a positive integer larger than 0;
receiving N resource messages sent by the server based on the web page access request, wherein the N resource messages comprise part or all of the M resource messages and resource messages pushed by the server, and N is a positive integer greater than 0;
and according to the display priority of the pre-stored resource messages, sequentially arranging and caching the N resource messages in a queue form according to the sequence from high to low of the display priority, and rendering and displaying the N resource messages on the web page by the browser according to the caching sequence of the resource messages.
2. The method according to claim 1, wherein the web page access request includes M resource message access requests, and the sending the web page access request to the server specifically includes:
sending the M resource message access requests to the server according to the pre-stored resource message request priority;
wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
3. The method according to claim 1, wherein the displaying some or all of the N resource messages on the web page according to the pre-stored resource message display priority specifically comprises:
determining resource messages to be displayed from the N resource messages;
and displaying the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
4. The method according to claim 3, wherein the resource messages include aging time, and wherein the determining resource messages to be displayed from the N resource messages specifically comprises:
determining the resource message of which the resource message caching time does not exceed the aging time from the N resource messages as the resource message to be displayed;
and discarding the resource message of which the resource message caching time exceeds the aging time.
5. The method according to claim 3, wherein the determining resource messages to be displayed from the N resource messages specifically comprises:
determining the resource message matched with the web page access request as a resource message to be displayed from the N resource messages;
and discarding the resource message pushed by the server.
6. The method according to any one of claims 3 to 5, wherein the determining the resource message to be displayed from the N resource messages specifically comprises:
determining the resource message with the resource message type as a preset message type as the resource message to be displayed from the N resource messages;
and discarding the resource message of which the resource message type is not the preset message type.
7. The method according to any one of claims 3-5, wherein after determining the resource message to be displayed from the N resource messages, further comprising:
and under the condition that the cache time of the resource message to be displayed exceeds the preset time length, improving the display priority of the resource message to be displayed.
8. The method according to any one of claims 3-5, wherein in a case that there are a plurality of resource messages to be displayed and the resource messages to be displayed belong to the same message type, after determining the resource messages to be displayed from the N resource messages, the method further comprises:
and under the condition that the cache number of the resource messages to be displayed exceeds the preset number, improving the display priority of the resource messages to be displayed.
9. The method according to any one of claims 1-5, wherein the web page access request comprises M resource message access requests, and wherein after sending the web page access request to the server, further comprising:
deleting a target resource message access request sent by the server based on the target resource message access request when the target resource message is received;
wherein the target resource message access request belongs to the M resource message access requests, and the target resource message belongs to the N resource messages.
10. The method according to any one of claims 1-5, wherein the web page access request comprises M resource message access requests, and wherein after receiving N resource messages sent by the server based on the web page access request, the method further comprises:
deleting the M resource message access requests in the web page access request in case of receiving N resource messages sent by the server based on the M resource message access requests.
11. A page display apparatus, comprising:
the device comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a web page access request to a server, the web page access request is used for acquiring M resource messages on a web page, and M is a positive integer larger than 0;
a receiving unit, configured to receive N resource messages sent by the server based on the web page access request, where the N resource messages include part or all of the M resource messages and a resource message pushed by the server, and N is a positive integer greater than 0;
and the display unit is used for sequentially arranging and caching the N resource messages in a queue form according to the display priority of the prestored resource messages and the sequence from high to low of the display priority, and the browser renders and displays the N resource messages on the web page according to the caching sequence of the resource messages.
12. The apparatus of claim 11, wherein the web page access request comprises M resource message access requests,
the sending unit is specifically configured to send the M resource message access requests to the server according to a pre-stored resource message request priority;
wherein the resource message access request comprises a request priority and a unique identification of the resource message to be accessed.
13. The apparatus according to claim 11, wherein the display unit comprises in particular a determination subunit and a display subunit,
the determining subunit is configured to determine a resource message to be displayed from the N resource messages;
and the display subunit is used for displaying the determined resource message to be displayed on the web page according to the pre-stored resource message display priority.
14. The apparatus of claim 13, wherein the resource message comprises an aging time,
the determining subunit is specifically configured to determine, from the N resource messages, a resource message whose resource message cache time does not exceed the aging time as a resource message to be displayed; and discarding the resource message of which the resource message caching time exceeds the aging time.
15. The apparatus of claim 13,
the determining subunit is specifically configured to determine, from the N resource messages, a resource message matched with the web page access request as a resource message to be displayed; and discarding the resource message pushed by the server.
16. The apparatus according to any one of claims 13 to 15,
the determining subunit is specifically configured to determine, from the N resource messages, a resource message whose resource message type is a preset message type as a resource message to be displayed; and discarding the resource message of which the resource message type is not the preset message type.
17. The apparatus according to any of the claims 13-15, wherein the browser further comprises a first processing unit,
the first processing unit is specifically configured to, when the cache time of the resource message to be displayed exceeds a preset duration, increase the display priority of the resource message to be displayed.
18. The apparatus according to any of claims 13-15, wherein in case that there are multiple resource messages to be displayed and the resource messages to be displayed belong to the same message type, the browser further comprises a second processing unit,
the second processing unit is specifically configured to, when the cache number of the resource message to be displayed exceeds a preset number, increase the display priority of the resource message to be displayed.
19. The apparatus according to any of claims 11-15, wherein the web page access request comprises M resource message access requests, wherein the browser further comprises a deletion unit,
the deleting unit is specifically configured to delete the target resource message access request when receiving a target resource message sent by the server based on the target resource message access request;
wherein the target resource message access request belongs to the M resource message access requests, and the target resource message belongs to the N resource messages.
20. The apparatus according to any of claims 11-15, wherein the web page access request comprises M resource message access requests, wherein the browser further comprises a deletion unit,
the deleting unit is specifically configured to delete the M resource message access requests in the web page access request when receiving N resource messages sent by the server based on the M resource message access requests.
21. A page display apparatus, characterized in that the apparatus comprises:
a memory unit, a communication interface, and a processor coupled to the memory unit and the communication interface; the storage unit is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other equipment under the control of the processor;
wherein the processor executes the instructions to perform the steps of the method according to any one of claims 1 to 10.
22. A page display system comprising a browser and a server, wherein,
the browser comprises the page display device of any one of claims 11-20;
the server is used for receiving a web page access request sent by the browser; acquiring corresponding N resource messages according to the web page access request; and sending the acquired N resource messages to the browser so that the browser can display part or all of the N resource messages according to the pre-stored resource message display priority.
CN201710090959.2A 2017-02-20 2017-02-20 Page display method, related equipment and system Active CN108460042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710090959.2A CN108460042B (en) 2017-02-20 2017-02-20 Page display method, related equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710090959.2A CN108460042B (en) 2017-02-20 2017-02-20 Page display method, related equipment and system

Publications (2)

Publication Number Publication Date
CN108460042A CN108460042A (en) 2018-08-28
CN108460042B true CN108460042B (en) 2022-04-12

Family

ID=63222065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710090959.2A Active CN108460042B (en) 2017-02-20 2017-02-20 Page display method, related equipment and system

Country Status (1)

Country Link
CN (1) CN108460042B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582899A (en) * 2018-10-26 2019-04-05 平安科技(深圳)有限公司 Page loading method, device, computer equipment and storage medium
CN112836158A (en) * 2021-03-09 2021-05-25 Vidaa美国公司 Resource loading method on display equipment and display equipment
CN115348219A (en) * 2022-08-11 2022-11-15 中国工商银行股份有限公司 Network quality of service queue setting method, device, equipment, medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921484A (en) * 2006-09-14 2007-02-28 南京中兴软创软件有限公司 User terminal/server framework based on browser
CN101369280A (en) * 2008-10-10 2009-02-18 深圳市茁壮网络技术有限公司 Method and device for web page browsing in digital television terminal
CN102591877A (en) * 2011-01-14 2012-07-18 深圳市同洲电子股份有限公司 Webpage resource request method for embedded browser and browsing device
CN102984275A (en) * 2012-12-14 2013-03-20 北京奇虎科技有限公司 Method and browser for web downloading
CN103024044A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and device for downloading web pages
CN103095737A (en) * 2011-10-27 2013-05-08 阿里巴巴集团控股有限公司 Handling method and device of browsing information through network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092646B (en) * 2013-10-28 2016-10-12 腾讯科技(深圳)有限公司 Operation synchronous method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921484A (en) * 2006-09-14 2007-02-28 南京中兴软创软件有限公司 User terminal/server framework based on browser
CN101369280A (en) * 2008-10-10 2009-02-18 深圳市茁壮网络技术有限公司 Method and device for web page browsing in digital television terminal
CN102591877A (en) * 2011-01-14 2012-07-18 深圳市同洲电子股份有限公司 Webpage resource request method for embedded browser and browsing device
CN103095737A (en) * 2011-10-27 2013-05-08 阿里巴巴集团控股有限公司 Handling method and device of browsing information through network
CN102984275A (en) * 2012-12-14 2013-03-20 北京奇虎科技有限公司 Method and browser for web downloading
CN103024044A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and device for downloading web pages

Also Published As

Publication number Publication date
CN108460042A (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN109474688B (en) Method, device, equipment and medium for sending instant communication network request message
CN110830564B (en) CDN scheduling method, device, system and computer readable storage medium
JP4521003B2 (en) Apparatus and associated method for facilitating delivery and processing of push content
WO2020094034A1 (en) Wireless network connection method for terminal
CN111614736A (en) Network content resource scheduling method, domain name scheduling server and electronic equipment
CN107547629B (en) Method and device for downloading client static resources, electronic equipment and readable medium
US10862770B2 (en) NF service consumer restart detection using direct signaling between NFs
WO2021237433A1 (en) Message pushing method and apparatus, and electronic device and computer-readable medium
EP2787742A1 (en) Method and system for transmitting network video
CN108460042B (en) Page display method, related equipment and system
US8762488B2 (en) Client-selected network services
CN108200132B (en) Resource acquisition method, device, equipment and computer readable storage medium
CN111159233B (en) Distributed caching method, system, computer equipment and storage medium
CN113517985B (en) File data processing method and device, electronic equipment and computer readable medium
CN107959667A (en) A kind of method for pushing of media slicing, server and client
CN112653736A (en) Parallel source returning method and device and electronic equipment
CN114301848B (en) CDN-based communication method, system, equipment and storage medium
CN116961918A (en) Token acquisition method and device
CN113596105B (en) Content acquisition method, edge node and computer readable storage medium
CN104809122A (en) Method and device for visiting web pages
CN111245874B (en) Information pushing method, device, server and storage medium
CN113438313B (en) Video continuous playing processing method, related device and readable storage medium
US10652352B2 (en) Server, client device and methods therein for handling
CN111193692A (en) Request response method, device, edge node and authentication system
CN113612676B (en) Social group message synchronization method, device, 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
GR01 Patent grant
GR01 Patent grant