CN111258800A - Page processing method and device and electronic equipment - Google Patents

Page processing method and device and electronic equipment Download PDF

Info

Publication number
CN111258800A
CN111258800A CN202010079436.XA CN202010079436A CN111258800A CN 111258800 A CN111258800 A CN 111258800A CN 202010079436 A CN202010079436 A CN 202010079436A CN 111258800 A CN111258800 A CN 111258800A
Authority
CN
China
Prior art keywords
page
information data
manager
target page
deleted
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
CN202010079436.XA
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.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Infinite Light Field Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Infinite Light Field Technology Co Ltd filed Critical Beijing Infinite Light Field Technology Co Ltd
Priority to CN202010079436.XA priority Critical patent/CN111258800A/en
Publication of CN111258800A publication Critical patent/CN111258800A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a page processing method, a page processing device and electronic equipment, wherein the method comprises the following steps: in response to the fact that the current time is detected to be in an idle state, loading information data of a target page; generating a target page according to the information content and the network view included in the information data, and storing the information data in a manager; in response to receiving a browsing request sent by a user for browsing a target page, extracting the target page from a manager for displaying; and responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted. According to the method and the device, the information data loaded in the idle state are managed through the manager, the target page is generated in advance, the target page can be rapidly displayed to a user, and the condition of white screen is avoided. When the information data in the manager overflows, part of the information data can be deleted, and autonomous management is realized.

Description

Page processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a page processing method and apparatus, and an electronic device.
Background
With the continuous development of terminal devices, various mobile devices (such as mobile phones, tablet computers, and the like) are becoming popular, and more users download various Applications (APPs) on the mobile devices. The user obtains different information through different types of APPs, and the user experience is directly influenced by the updating speed of the APP.
Disclosure of Invention
This disclosure is provided to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a page processing method and device and electronic equipment. When the information data in the manager overflows, part of the information data can be deleted, and autonomous management is realized.
In a first aspect, an embodiment of the present disclosure provides a page processing method, where the method includes: in response to the fact that the current time is in an idle state, loading information data of a target page, wherein the target page is a related page of a current display page; generating the target page according to the information content and the network view included in the information data, and storing the information data in a manager; in response to receiving a browsing request sent by a user for browsing the target page, extracting the target page from the manager for displaying; and responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted.
In a second aspect, an embodiment of the present disclosure provides a page processing apparatus, including: the loading module is used for loading the information data of a target page in response to the fact that the current time is detected to be in an idle state, wherein the target page is a related page of a current display page; the generating module is used for generating the target page according to the information content and the network view included in the information data and storing the information data in a manager; the extraction module is used for responding to a browsing request sent by a user for browsing the target page, and extracting the target page from the manager for displaying; and the management module is used for responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and indicating the manager to delete the information data corresponding to the page to be deleted.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the page processing method of the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer readable medium, on which a computer program is stored, which when executed by a processor implements the steps of the page processing method according to the first aspect.
According to the page processing method, the page processing device and the electronic equipment, information data of a target page is loaded in response to the fact that the target page is detected to be in an idle state at the current moment, wherein the target page is a related page of a current display page; then, generating the target page according to the information content and the network view included in the information data, and storing the information data in a manager; secondly, in response to receiving a browsing request sent by a user for browsing the target page, extracting the target page from the manager for displaying; and finally, responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted. The information data loaded in the idle state is managed through the manager, the target page is generated in advance, the target page can be rapidly displayed to the user, and the condition of white screen is avoided. When the information data in the manager overflows, part of the information data can be deleted, and autonomous management is realized.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a flow diagram of one embodiment of a page processing method according to the present disclosure;
FIG. 2 is a schematic block diagram of one embodiment of a page processing apparatus according to the present disclosure;
FIG. 3 is an exemplary system architecture to which the page processing method of one embodiment of the present disclosure may be applied;
fig. 4 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, a flowchart of one embodiment of a page processing method according to the present disclosure is shown, and as shown in fig. 1, the page processing method includes the following steps 101 to 104.
Step 101, in response to detecting that the current time is in an idle state, loading information data of a target page, where the target page is a related page of a currently displayed page.
The target page and the current display page may be Web pages or pages of an application program.
The information data may be, for example, an object such as a reaction root view (ReactRootView), a reaction instance management class (ReactInstanceManager), or the like. For example, when a load request for a target page is received as a load nighttime mode, the information data may be some objects of a black subject. In some application scenarios, the information data may also be objects such as picture information and text information.
The manager may manage the information data after the information data is loaded. For example, the manager may perform a management operation of deleting or continuing saving the information data according to whether the target page is deleted.
In some application scenarios, the manager may be established in a local storage area. In these application scenarios, when the loading request is received, the information data corresponding to the target page may be loaded, and a manager for managing the information data may be simultaneously constructed, and then the loaded information data may be stored in the manager, so as to be managed by the manager.
The terminal device may load the information data in the system idle state according to a declaration period callback opportunity provided by the queue idle interface (IdleHandler) and not available to the operating system (for example, android system). The idle state may be that the terminal device detects that no task is executed at the current time, where the task may be running some application, or executing a task indicated by other message, etc.
When the terminal device obtains the task to process, it may find that there is no task that can be processed, for example, the task queue at the current time is empty, there is only a delay message and there is no asynchronous message when there is no time or when there is synchronous blocking, and the IdleHandler will detect these situations, and inform the terminal device that the above-mentioned loading operation can be executed, and load the information data corresponding to the target page in the idle time.
In the prior art, most terminal devices perform the operation of loading information data only when a target page enters, so that the problems of long loading time consumption, influence on page loading performance and the like exist. Through step 101, the information data can be loaded when the terminal device is idle, and the execution speed of other tasks is not slowed down.
And 102, generating a target page according to the information content and the network view included in the information data, and storing the information data in a manager.
The terminal device may cache the information data in the corresponding target page after the information data is loaded. Thus, the generated target page can be in a page state capable of being immediately displayed. Here, a plurality of information data may be included in the target page, and one information data may correspond to only one target page. Since the information data exists based on the target page, when the target page is deleted, all the information data corresponding to the target page may be deleted. For example, when the target page is an author introduction page showing an article (the above-mentioned currently displayed page), information data such as name information, academic background information, and excellent event information in the author introduction information may be cached in the target page in advance. Therefore, when a user requests to browse the target page, the target page can be quickly responded to the request and extracted for the user to browse.
In some optional implementation manners, each target page may store environment parameter information corresponding to a currently displayed page, and the step 102 may specifically include the following steps:
and searching the environmental parameter information corresponding to the current page, and storing the information data into a target page according to the environmental parameter information to generate the target page.
The Context information (Context) may be a core function class for maintaining the normal operation of each component in the operating system. By caching the objects such as the ReactRootView, ReactInstanceManager and the like with the Context as the key information, the interactive process with the operating system can be represented more truly. In addition, if a plurality of objects exist in the current display page, Context can be used for splicing with the identity identification code of each object, and then the spliced splice body is used as key information for object caching operation. The key information can be extracted from the currently displayed page according to the context information.
Step 103, in response to receiving a browsing request sent by a user to browse a target page, extracting the target page from the manager for displaying.
Here, the target page may be saved in a certain memory space, which may be, for example, a local memory area. When receiving the browsing request, the terminal device may extract the corresponding target page from the local cache region to generate the target page.
Because the target page is loaded in advance, the target page can be opened instantly when the target page is generated, and the condition of white screen cannot occur.
And step 104, responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted.
In some application scenarios, the terminal device may determine that the information data in the manager overflows in response to monitoring that the memory of the manager is insufficient.
That is, when the storage space inside the manager is not enough to store the information data to be stored, the terminal device may instruct the manager to delete the information data corresponding to the page to be deleted. When the manager receives the instruction, the corresponding information data may be deleted.
For example, the storage space of the manager is only 1GB, and when the terminal device monitors that the manager cannot store the information data of the target page corresponding to the load request again in response to the load request, the page to be deleted corresponding to the current time may be determined, and the manager may be instructed to perform an operation of deleting the information data corresponding to the page to be deleted, so that the information data corresponding to the target page may be placed in the manager.
In other application scenarios, the terminal device may determine that the information data in the manager overflows in response to monitoring that the number of the information data in the manager exceeds a preset number.
The terminal device may set the number (i.e., the preset number) of information data stored in the manager in advance, and when the terminal device monitors that the number of the information data in the manager reaches the preset number, the terminal device may also instruct the manager to delete the corresponding information data, so as to store the information data corresponding to the current target page. The preset number here may be, for example, 100 or 200 set in advance.
For example, the terminal device may set in advance that only 100 objects (i.e., the above-mentioned information data) can be stored in the manager. When responding to the loading request, the number of the objects in the manager is found to exceed 100 if the information data generated by the loading target page is placed in the manager. The terminal device monitors the situation, can determine the page to be deleted at the current moment, and can instruct the manager to execute the operation of deleting the information data corresponding to the page to be deleted.
In some optional implementations, when the terminal device determines that the page is to be deleted, the step 104 may specifically include the following steps:
step 1041, for each target page, counting a storage duration of the target page from the last time the target page is accessed to the current time.
The storage time period may be, for example, 1 minute, 20 minutes, 1 hour, or the like. The probability of accessing a certain target page can be determined by counting the storage time length of each target page, and if the storage time length is longer, the probability of accessing the target page is lower, that is, the target page is not frequently accessed, and the terminal device can instruct the manager to delete the target page.
Step 1042, determining the target page with the longest storage time at the current moment as the page to be deleted.
The terminal device may determine the target page with the longest unused time as the page to be deleted and delete the target page. Then, the manager may delete all information data corresponding to the page to be deleted, correspondingly. For example, for an article page introducing multiple celebrities, the corresponding target page may have a first target page introducing a first celebrity, a target page introducing a second celebrity, and the like. The information data corresponding to the first target page and the second target page can be names, character backgrounds and the like. If the first target page is accessed every half hour on average, and the second target page is accessed every 10 minutes on average, the terminal device may delete the first target page, and may instruct the manager to delete the information data such as the name, the character background, and the like corresponding to the first target page.
In the prior art, the preloaded information data is not managed, so that the information data is disordered, more manpower is required to be provided for sorting the information data, and meanwhile, too much workload is brought to workers.
The method comprises the steps of firstly, responding to the situation that the current time is in an idle state, loading information data of a target page, wherein the target page is a related page of a current display page; then, generating a target page according to the information content and the network view included in the information data, and storing the information data in a manager; secondly, in response to receiving a browsing request sent by a user for browsing a target page, extracting the target page from the manager for displaying; and finally, responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted. The information data loaded in the idle state is managed through the manager, the target page is generated in advance, the target page can be rapidly displayed to the user, and the condition of white screen is avoided. When the information data in the manager overflows, part of the information data can be deleted, and autonomous management is realized.
The overall process of the present disclosure is illustrated below by a specific example.
Firstly, the terminal device receives website information input by a user, and can analyze corresponding page information in the website according to the website information, wherein the page information is used for indicating a target page corresponding to the website.
If the page currently browsed by the user is an article page, the article page can jump to an author page (namely, the target page), and it is assumed that the author page can build a colorful user interface (ReactNative) through an explicit component mechanism, that is, a native mobile application can be written only by using a transliteration scripting language (JavaScript).
If at the present moment, the terminal device judges that the user may click on the author page, that is, starts to load information data such as author name, identity background, theme color and the like corresponding to the author page, forms an author page state (i.e., the target page) which can be displayed immediately, and stores the information data in the manager.
If the user indicates to open the author page at the current moment, the author page after loading can be extracted and fed back to the user. When the user exits from the author page, the manager may not delete the information data corresponding to the author page, but continue to store the author page after the loading is completed, and continue to store the information data corresponding to the author page in the manager. Therefore, when the user indicates to open the author page next time, the loaded author page can be directly extracted and quickly fed back to the user.
If the user does not indicate to open the author page at the present time, it is intended to indicate to open other pages such as related articles. The terminal equipment can load the information data required by the relevant article page in advance to form a target page of the relevant article which can be displayed immediately, and can store the information data in the manager. Then when the user really indicates to open the page of the related article, the page can be opened instantly, and the condition of white screen can not occur.
The operation of opening the author page and the operation of opening the related article page by the intention indication in the prejudgment can be judged by detecting whether the information currently browsed by the user contains the information of the author page or the related article page.
By analogy, a plurality of target pages which the user may browse can be loaded in advance, and the information data corresponding to the target pages is managed through the manager.
When the storage space in the manager is insufficient or the number of the information data reaches the pre-stored number, the page to be deleted can be determined by the LRU method, and the manager is instructed to delete the information data corresponding to the page to be deleted.
In some application scenarios requiring hot update capability, a management system can be formed according to the page processing method disclosed by the present disclosure to manage the target page and the information data, so as to quickly respond to a browsing request sent by a user and display the target page. Meanwhile, the target page which is not accessed frequently can be deleted according to the current state of the manager, so that autonomous management is realized, and the burden of workers is reduced.
Referring to fig. 2, a schematic structural diagram of an embodiment of a page processing apparatus according to the present disclosure is shown, and as shown in fig. 2, the page processing apparatus includes a loading module 201, a generating module 202, an extracting module 203, and a managing module 204. The loading module 201 is configured to, in response to detecting that the current time is in an idle state, load information data of a target page, where the target page is a page associated with a currently displayed page; the generating module 202 is configured to generate a target page according to information content and a network view included in the information data, and store the information data in the manager; the extracting module 203 is configured to, in response to receiving a browsing request sent by a user to browse a target page, extract the target page from the manager for display; the management module 204 is configured to determine, in response to monitoring that information data in the manager overflows, a page to be deleted corresponding to the current time, and instruct the manager to delete the information data corresponding to the page to be deleted.
It should be noted that specific processing of the loading module 201, the generating module 202, the extracting module 203, and the managing module 204 of the page processing apparatus and technical effects thereof can refer to the related descriptions of step 101 to step 104 in the corresponding embodiment of fig. 1, and are not described herein again.
In some optional implementations of this embodiment, the management module 204 is further configured to: and in response to the fact that the memory shortage of the manager is monitored, determining that the information data in the manager overflows.
In some optional implementations of this embodiment, the management module 204 is further configured to: and determining that the information data in the manager overflows in response to the fact that the number of the information data in the manager exceeds the preset number.
In some optional implementations of this embodiment, the management module 204 is further configured to: for each target page, counting the storage duration of the target page from the last time the target page is accessed to the current time; and determining the target page with the longest storage time at the current time as the page to be deleted.
In some optional implementations of this embodiment, each target page stores therein environment parameter information corresponding to the page, and the generating module 202 is further configured to: and searching the environmental parameter information corresponding to the current page, and storing the information data into a target page according to the environmental parameter information to generate the target page.
Referring to fig. 3, an exemplary system architecture to which the page processing method of one embodiment of the present disclosure may be applied is shown.
As shown in fig. 3, the system architecture may include terminal devices 301, 302, 303, a network 304, and a server 305. The network 304 serves as a medium for providing communication links between the terminal devices 301, 302, 303 and the server 305. Network 304 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices and servers described above may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., Ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The terminal devices 301, 302, 303 may interact with a server 305 over a network 304 to receive or send messages or the like. The terminal devices 301, 302, 303 may have various client applications installed thereon, such as a video distribution application, a search-type application, and a news-information-type application.
The terminal devices 301, 302, 303 may be hardware or software. When the terminal devices 301, 302, 303 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like. When the terminal device 301, 302, 303 is software, it can be installed in the electronic devices listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 305 may be a server that can provide various services, for example, receives a picture acquisition request transmitted by the terminal device 301, 302, 303, performs analysis processing on the picture acquisition request, and transmits an analysis processing result (for example, picture data corresponding to the above-described acquisition request) to the terminal device 301, 302, 303.
It should be noted that the page processing method provided by the embodiment of the present disclosure may be executed by a server or a terminal device, and accordingly, the page processing apparatus may be disposed in the server or the terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 3 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 4, shown is a schematic diagram of an electronic device (e.g., the server of FIG. 3) suitable for use in implementing embodiments of the present disclosure. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates an electronic device having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the fact that the current time is in an idle state, information data of a target page is loaded, wherein the target page is a related page of a current display page; generating a target page according to the information content and the network view included in the information data, and storing the information data in a manager; in response to receiving a browsing request sent by a user for browsing a target page, extracting the target page from a manager for displaying; and responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of the module does not constitute a limitation on the unit itself in some cases, for example, the loading module 201 may also be described as "a module for loading the information data of the target page in response to detecting that the current time is in the idle state".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A page processing method is characterized by comprising the following steps:
in response to the fact that the current time is in an idle state, loading information data of a target page, wherein the target page is a related page of a current display page;
generating the target page according to the information content and the network view included in the information data, and storing the information data in a manager;
in response to receiving a browsing request sent by a user for browsing the target page, extracting the target page from the manager for displaying;
and responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and instructing the manager to delete the information data corresponding to the page to be deleted.
2. The method according to claim 1, wherein the determining the page to be deleted corresponding to the current time in response to monitoring the overflow of the information data in the manager comprises:
and in response to the fact that the memory of the manager is insufficient, determining that the information data in the manager overflows.
3. The method according to claim 1, wherein the determining the page to be deleted corresponding to the current time in response to monitoring the overflow of the information data in the manager comprises:
and determining that the information data in the manager overflows in response to the fact that the number of the information data in the manager exceeds the preset number.
4. The method according to claim 2 or 3, wherein the determining the page to be deleted corresponding to the current time in response to monitoring the overflow of the information data in the manager comprises:
for each target page, counting the storage duration of the target page from the last time the target page is accessed to the current time;
and determining the target page with the longest storage duration at the current moment as the page to be deleted.
5. The method of claim 1, wherein each target page has stored therein environment parameter information corresponding to the currently displayed page, and
the generating the target page according to the information content and the network view included in the information data includes:
and searching the environmental parameter information corresponding to the current display page, and storing the information data into a target page according to the environmental parameter information to generate the target page.
6. A page processing apparatus, comprising:
the loading module is used for loading the information data of a target page in response to the fact that the current time is detected to be in an idle state, wherein the target page is a related page of a current display page;
the generating module is used for generating the target page according to the information content and the network view included in the information data and storing the information data in a manager;
the extraction module is used for responding to a browsing request sent by a user for browsing the target page, and extracting the target page from the manager for displaying;
and the management module is used for responding to the monitored overflow of the information data in the manager, determining the page to be deleted corresponding to the current moment, and indicating the manager to delete the information data corresponding to the page to be deleted.
7. The apparatus of claim 6, wherein the management module is further configured to:
and in response to the fact that the memory of the manager is insufficient, determining that the information data in the manager overflows.
8. The apparatus of claim 6, wherein the management module is further configured to:
and determining that the information data in the manager overflows in response to the fact that the number of the information data in the manager exceeds the preset number.
9. The apparatus of claim 7 or 8, wherein the management module is further configured to:
for each target page, counting the storage duration of the target page from the last time the target page is accessed to the current time;
and determining the target page with the longest storage duration at the current moment as the page to be deleted.
10. The apparatus of claim 6, wherein each target page has stored therein environment parameter information corresponding to the page, and
the generation module is further to:
and searching the environmental parameter information corresponding to the current page, and storing the information data into a target page according to the environmental parameter information to generate the target page.
11. An electronic device, comprising:
one or more processors;
storage means having one or more programs stored thereon which, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-5.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202010079436.XA 2020-02-03 2020-02-03 Page processing method and device and electronic equipment Pending CN111258800A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010079436.XA CN111258800A (en) 2020-02-03 2020-02-03 Page processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010079436.XA CN111258800A (en) 2020-02-03 2020-02-03 Page processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111258800A true CN111258800A (en) 2020-06-09

Family

ID=70954674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010079436.XA Pending CN111258800A (en) 2020-02-03 2020-02-03 Page processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111258800A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797350A (en) * 2020-06-24 2020-10-20 北京字节跳动网络技术有限公司 Data processing method and device and electronic equipment
CN112416458A (en) * 2020-11-20 2021-02-26 平安普惠企业管理有限公司 Preloading method and device based on ReactNative, computer equipment and storage medium
CN115391687A (en) * 2022-07-29 2022-11-25 盐城金堤科技有限公司 Page returning method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864173A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Terminal page caching method, system and readable storage medium storing program for executing
CN107870920A (en) * 2016-09-23 2018-04-03 腾讯科技(深圳)有限公司 Browser resource pulls method and device in advance
US20180300086A1 (en) * 2017-04-17 2018-10-18 EMC IP Holding Company Method and manager for managing storage system
CN109684574A (en) * 2018-08-20 2019-04-26 平安普惠企业管理有限公司 Page loading method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870920A (en) * 2016-09-23 2018-04-03 腾讯科技(深圳)有限公司 Browser resource pulls method and device in advance
US20180300086A1 (en) * 2017-04-17 2018-10-18 EMC IP Holding Company Method and manager for managing storage system
CN107864173A (en) * 2017-06-26 2018-03-30 平安普惠企业管理有限公司 Terminal page caching method, system and readable storage medium storing program for executing
CN109684574A (en) * 2018-08-20 2019-04-26 平安普惠企业管理有限公司 Page loading method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797350A (en) * 2020-06-24 2020-10-20 北京字节跳动网络技术有限公司 Data processing method and device and electronic equipment
CN112416458A (en) * 2020-11-20 2021-02-26 平安普惠企业管理有限公司 Preloading method and device based on ReactNative, computer equipment and storage medium
CN115391687A (en) * 2022-07-29 2022-11-25 盐城金堤科技有限公司 Page returning method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11119812B2 (en) Method and device for processing application program page according to a common interface container
US9374407B2 (en) Mobile device application streaming
EP3452907B1 (en) Control of applications that use system resources
KR102045602B1 (en) Live tiles without application-code execution
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN112528595B (en) Document processing method and device and electronic equipment
CN111258800A (en) Page processing method and device and electronic equipment
CN110658961A (en) Information display method and device and electronic equipment
CN113741756A (en) Information processing method, device, terminal and storage medium
CN111258736A (en) Information processing method and device and electronic equipment
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN111694629A (en) Information display method and device and electronic equipment
CN115470432A (en) Page rendering method and device, electronic equipment and computer readable medium
CN113032172B (en) Abnormality detection method and device and electronic equipment
CN112732302A (en) Configuration updating method and device of application program and electronic equipment
CN111353296B (en) Article processing method, apparatus, electronic device and computer readable storage medium
CN112256370A (en) Information display method and device and electronic equipment
CN111797353A (en) Information pushing method and device and electronic equipment
CN110765386A (en) Webpage image monitoring method and device, electronic equipment and readable storage medium
CN110717126A (en) Page browsing method and device, electronic equipment and computer readable storage medium
CN112307393A (en) Information issuing method and device and electronic equipment
CN111026504B (en) Processing method and device for configuring instruction for acquiring processor information in virtual machine, CPU chip, system on chip and computer
CN111596987A (en) Page display method and device and electronic equipment
CN111770385A (en) Card display method and device, electronic equipment and medium
CN110795670A (en) Webpage image monitoring method and device, electronic equipment and readable 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230506

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Applicant after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081

Applicant before: Beijing infinite light field technology Co.,Ltd.