CN114860330A - Page loading method and device - Google Patents

Page loading method and device Download PDF

Info

Publication number
CN114860330A
CN114860330A CN202210331569.0A CN202210331569A CN114860330A CN 114860330 A CN114860330 A CN 114860330A CN 202210331569 A CN202210331569 A CN 202210331569A CN 114860330 A CN114860330 A CN 114860330A
Authority
CN
China
Prior art keywords
link information
user
storage space
temporary storage
newly input
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
CN202210331569.0A
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.)
Zhuhai Baoqu Technology Co Ltd
Original Assignee
Zhuhai Baoqu 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 Zhuhai Baoqu Technology Co Ltd filed Critical Zhuhai Baoqu Technology Co Ltd
Priority to CN202210331569.0A priority Critical patent/CN114860330A/en
Publication of CN114860330A publication Critical patent/CN114860330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The invention discloses a method and a device for loading a page, and relates to the field of computer application. The method comprises the following steps: monitoring whether newly input link information which meets the standard link characteristics exists in the temporary storage space; if the newly input link information which accords with the standard link characteristics exists in the temporary storage space, starting a loading process, wherein the loading process is used for preloading the content of the link information; and when a viewing instruction input by a user is received, displaying the preloading result to the user. The invention realizes the purposes of helping the user to open the link efficiently, shortening the waiting time for page loading and obtaining better user experience.

Description

Page loading method and device
Technical Field
The invention relates to the field of computer application, in particular to a method and a device for loading a page.
Background
At present, a user often encounters some hyperlinks in the process of reading a document by using a computer or a tablet computer. Hyperlinks come from a variety of sources, such as mail, text files, document reading software (e.g., PDF documents), and so forth.
If the user wants to view the contents of the hyperlink, the general method is as follows: the user inputs a copy instruction, an open instruction, a paste instruction and a click instruction in sequence. Firstly, copying a hyperlink by the terminal according to a copying instruction, and opening a browser according to an opening instruction; then, the terminal pastes a hyperlink in an address bar of the browser according to the paste instruction; and finally, the terminal opens the hyperlink according to the single click instruction. And the browser loads the webpage corresponding to the hyperlink and displays the page content. Thus, the user can see the page content corresponding to the hyperlink.
In the process, a user needs to input instructions for many times, and when a webpage is loaded, the loading speed is influenced by factors such as the complexity of the webpage, the network speed and the like, so that the problems of low information acquisition efficiency, long waiting time and low user experience of the user are caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for loading a page, so as to solve the problems of low efficiency, long waiting time, and low user experience of the existing user for acquiring information.
In a first aspect, an embodiment of the present invention provides a method for loading a page, where the method is applied to a first process in an electronic device, and the method includes:
monitoring whether newly input link information which meets the standard link characteristics exists in the temporary storage space;
if the newly input link information which meets the standard link characteristics exists in the temporary storage space, starting a loading process, wherein the loading process is used for preloading the content of the link information;
and when a viewing instruction input by a user is received, displaying the preloading result to the user.
Optionally, before the monitoring whether the input link information exists in the temporary storage space, the method further includes:
and starting the first process, wherein the first process is specifically a browser.
Optionally, the monitoring whether the input link information exists in the temporary storage space specifically includes:
comparing whether the newly input content exists in the temporary storage space;
if the newly input content exists, identifying the type of the newly input content;
if the type of the newly input content is the link information, acquiring a first feature of the link information, and judging whether the first feature is matched with a second feature of standard link information;
and if the first characteristic is matched with the second characteristic, determining that the link information meets the standard link characteristic.
Optionally, if the link information that is newly input and meets the standard link characteristics already exists in the temporary storage space, starting a loading process, specifically including:
if the link information which is newly input and meets the standard link characteristics exists in the temporary storage space, extracting the link information from the temporary storage space;
starting the loading process, and transmitting the link information to the loading process, so that the loading process performs preloading operation on the link information on a system background, and caches the preloaded content;
when a viewing instruction input by a user is received, displaying a preloading result to the user, specifically comprising:
when the viewing instruction is received, the preloaded content is called from the cache;
displaying the preloaded content to the user.
Optionally, the viewing instruction includes a paste instruction and an open instruction;
when a viewing instruction input by a user is received, displaying a preloading result to the user, specifically comprising:
receiving the pasting instruction and the opening instruction input by the user, wherein the pasting instruction comprises the link information;
acquiring the preloading result matched with the link information according to the opening instruction;
displaying the pre-loaded results to the user.
Optionally, the temporary storage space is specifically a clipboard.
In a second aspect, an embodiment of the present invention provides an apparatus for loading a page, where the apparatus is applied to a first process in an electronic device, and the apparatus includes: the device comprises a monitoring unit, a starting unit, a receiving unit and a display unit;
the monitoring unit is used for monitoring whether the link information which is newly input and meets the standard link characteristics exists in the temporary storage space;
the starting unit is configured to start a loading process if newly input link information meeting a standard link characteristic already exists in the temporary storage space, where the loading process is used to preload content of the link information;
and the display unit is used for displaying the preloading result to the user when the receiving unit receives a viewing instruction input by the user.
Optionally, the starting unit is further configured to start the first process, where the first process is specifically a browser.
Optionally, the monitoring unit is specifically configured to compare whether newly input content exists in the temporary storage space;
if the newly input content exists, identifying the type of the newly input content;
if the type of the newly input content is the link information, acquiring a first feature of the link information, and judging whether the first feature is matched with a second feature of standard link information;
and if the first characteristic is matched with the second characteristic, determining that the link information meets the standard link characteristic.
Optionally, the starting unit is specifically configured to, if link information that is newly input and meets a standard link characteristic already exists in the temporary storage space, extract the link information from the temporary storage space;
starting the loading process, and transmitting the link information to the loading process, so that the loading process performs preloading operation on the link information on a system background, and caches the preloaded content;
the display unit is specifically configured to, when the viewing instruction is received, invoke the preloaded content from the cache;
displaying the preloaded content to the user.
Optionally, the viewing instruction includes a paste instruction and an open instruction;
the receiving unit is further configured to receive the paste instruction and the open instruction input by the user, where the paste instruction includes the link information;
the display unit is specifically configured to obtain the preloading result matched with the link information according to the opening instruction;
displaying the pre-loaded results to the user.
Optionally, the temporary storage space is specifically a clipboard.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing the method for loading the page as described in the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the method for loading a page according to the first aspect.
According to the method and the device for loading the page, provided by the embodiment of the invention, a first process in electronic equipment monitors whether link information which is newly input and meets standard link characteristics exists in a temporary storage space; if the newly input link information which meets the standard link characteristics exists in the temporary storage space, starting a loading process by the first process, wherein the loading process is used for preloading the content of the link information; when receiving a viewing instruction input by a user, the first process displays the preloading result to the user.
The scheme can solve the problems of low efficiency, long waiting time and low user experience of the conventional user for acquiring information. The method and the device realize high-efficiency hyperlink opening, shorten hyperlink loading and waiting time and improve user experience.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for loading a page according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for loading a page according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes a scheme provided by an embodiment of the present invention in detail with reference to fig. 1, where fig. 1 is a flowchart of a method for loading a page provided by an embodiment of the present invention, and an implementation subject in the embodiment of the present invention is an electronic device. The electronic device may be a terminal device, such as a personal computer, a desktop computer, or the like. The electronic device may also be a server. As shown in fig. 1, the method of this embodiment specifically includes the following steps: as shown in fig. 1, the method of this embodiment specifically includes the following steps:
step 110, monitoring whether the temporary storage space has link information which is newly input and meets the standard link characteristics.
In this step, a first process in the electronic device periodically monitors whether the content stored in the temporary storage space has a change.
Specifically, the first process periodically monitors the temporary storage space for the presence of newly entered link information that conforms to standard link characteristics. If the new input link information meeting the standard link characteristics exists in the temporary storage space, executing step 120; otherwise, the first process exits the process and waits for the next monitoring period to monitor again.
Optionally, before this step, the electronic device has started a first process, which may be specifically a browser. The state of the browser may be a foreground active state or a background resident state.
Optionally, in this step, the first process monitors whether there is link information that is input and meets the standard link characteristics in the temporary storage space, and the specific process is as follows:
the first process compares whether the newly input content exists in the temporary storage space; for example, the first process may determine whether the newly input content exists in the temporary storage space in the current monitoring period by comparing the content stored in the temporary storage space in the current monitoring period with the content stored in the temporary storage space in the previous monitoring period.
If the newly input content exists, the first process identifies the type of the newly input content; for example, the type of the newly input content may specifically include a link information type, a picture information type, a text information type, and the like.
If the type of the newly input content is the link information, the first process acquires a first feature of the link information and judges whether the first feature is matched with a second feature of the standard link information; for example, the link information may be embodied as a URL. The first feature may be embodied as a string included within the URL and the second feature may be embodied as a feature string. The first process may determine whether the first feature is a standard link by comparing a string included in the URL to the feature string.
If the first characteristic matches the second characteristic, the first process determines that the link information meets a standard link characteristic.
For example, the characteristic character string may be embodied as a character string of a fixed format such as "http: \ \", "www.", ". com". And if the character string included in the URL is the same as the character string in the fixed format and is in a fixed position, determining that the link information conforms to the standard link characteristic.
Optionally, in this step, the temporary storage space may be embodied as a clipboard.
Optionally, before this step, the method further includes a process that the electronic device opens the document reading software and starts the temporary storage space according to various operation instructions input by the user.
A user inputs a first open instruction to an electronic device using document reading software (e.g., a PDF document) in advance in the electronic device. It is to be understood that the open instruction may be an operation of double-clicking the PDF document by the user.
According to the first opening instruction, the electronic equipment opens and displays the PDF document. During reading the PDF document, a user needs to check the material link quoted by the PDF document. At this time, the user inputs a first copy instruction to the electronic device, the first copy instruction including a material link referred to by the PDF document, which may be referred to as link information later.
After the electronic equipment receives the first copying instruction and the copying instruction comprises the link information referenced by the PDF document, the electronic equipment determines that the user may need to acquire the content corresponding to the link subsequently. At this time, the electronic device starts the temporary storage space by itself, and stores the link information included in the first copy instruction into the temporary storage space.
Through the process, the electronic equipment stores the link information referenced by the PDF document to be checked by the user into the temporary storage space, so that the first process can periodically monitor whether the content stored in the temporary storage space is changed or not and determine whether the newly input link information is a standard link or not.
And 120, if the newly input link information which accords with the standard link characteristics exists in the temporary storage space, starting a loading process, wherein the loading process is used for preloading the content of the link information.
In this step, after the first process determines that the newly input link information meeting the standard link characteristics exists in the temporary storage space according to the identification in step 110, the first process starts a loading process, and the loading process is used for preloading the content of the link information.
It will be appreciated that the first process may preload the content of the link information in the background.
Optionally, in this step, if link information that is newly input and meets the standard link characteristics already exists in the temporary storage space, the first process starts the loading process, and the specific process is as follows:
if the link information which is newly input and meets the standard link characteristics exists in the temporary storage space, the first process extracts the link information from the temporary storage space; the first process starts the loading process and transmits the link information to the loading process. And after the loading process acquires the link information, preloading operation is carried out on the link information in a system background, and the preloaded content is cached.
The preloading operation of the loading process on the link information is completed in the background of the system, and the user does not perceive the operation of the loading process.
And step 130, when a viewing instruction input by a user is received, displaying the preloading result to the user.
In this step, the first process preloads the content of the link information in the background. At this time, the user inputs a start instruction to the electronic device, where the start instruction is used to switch the opened first process from the background resident state to the foreground active state.
And the electronic equipment switches the opened first process into a foreground active state according to the starting instruction. The user inputs a viewing instruction to the first process.
The first process receives a viewing instruction input by a user, and acquires a corresponding preloading result from the background according to the viewing instruction. The first process displays the pre-loaded results to the user.
It can be understood that the preloading result includes complete loading and complete partial loading according to the reasons of the page complexity, the current network speed, and the like. In one example, if the complexity of the page is high or the current network speed is low, the preloading result may be that the partial loading is completed, that is, the first process partially loads the content of the link information; in another example, if the complexity of the page is low or the current network speed is fast, the preloading result may be that all the loads are completed, that is, the first process completely loads the content of the link information.
When the first process displays the preloading result to the user, if the first process has completely loaded the content of the link information, the first process can display the completely loaded result to the user; if the first process has already partially loaded the content of the link information, at this time, although the first process has not completely loaded the content of the link information, the first process may display the result of the partial loading to the user, and after displaying to the user, continue loading the unloaded part.
Optionally, in this step, when the first process receives a viewing instruction input by a user, the first process calls the preloaded content from the cache; the first process displays the preloaded content called in the cache as a result of the preloading to the user.
Optionally, in this step, the viewing instruction input by the user includes a paste instruction and an open instruction;
the first process receives a paste instruction and an open instruction input by a user, wherein the paste instruction comprises link information. It is understood that the user enters the paste instruction at the address bar position included in the first process, that is, pastes the link information at the address bar position.
And according to the opening instruction, the first process acquires the preloading result matched with the link information and displays the preloading result to the user.
By applying the method for loading the page provided by the embodiment of the invention, a first process in the electronic equipment monitors whether link information which is newly input and meets the standard link characteristics exists in a temporary storage space; if the newly input link information which meets the standard link characteristics exists in the temporary storage space, starting a loading process by the first process, wherein the loading process is used for preloading the content of the link information; when a viewing instruction input by a user is received, the first process displays the preloading result to the user.
The scheme can solve the problems of low efficiency, long waiting time and low user experience of the conventional user for acquiring information. The method and the device realize high-efficiency hyperlink opening, shorten hyperlink loading and waiting time and improve user experience.
Fig. 2 is a schematic structural diagram of a device for loading a page according to an embodiment of the present invention, and as shown in fig. 2, the device for loading a page according to the embodiment may include: a monitoring unit 210, an activation unit 220, a receiving unit 230, and a display unit 240.
The monitoring unit 210 is configured to monitor whether link information that is newly input and meets a standard link characteristic exists in the temporary storage space;
the starting unit 220 is configured to start a loading process if link information which is newly input and meets a standard link characteristic already exists in the temporary storage space, where the loading process is used to preload content of the link information;
a display unit 240, configured to display the preloading result to the user when the receiving unit 230 receives a viewing instruction input by the user.
Optionally, the starting unit 220 is further configured to start the first process, where the first process is specifically a browser.
Optionally, the monitoring unit 210 is specifically configured to compare whether newly input content exists in the temporary storage space;
if the newly input content exists, identifying the type of the newly input content;
if the type of the newly input content is the link information, acquiring a first feature of the link information, and judging whether the first feature is matched with a second feature of standard link information;
and if the first characteristic is matched with the second characteristic, determining that the link information meets the standard link characteristic.
Optionally, the starting unit is specifically configured to, if link information that is newly input and meets a standard link characteristic already exists in the temporary storage space, extract the link information from the temporary storage space;
starting the loading process, and transmitting the link information to the loading process, so that the loading process performs preloading operation on the link information on a system background, and caches the preloaded content;
the display unit is specifically configured to, when the viewing instruction is received, invoke the preloaded content from the cache;
displaying the preloaded content to the user.
Optionally, the viewing instruction includes a paste instruction and an open instruction;
the receiving unit 230 is further configured to receive the paste instruction and the open instruction input by the user, where the paste instruction includes the link information;
the display unit 240 is specifically configured to obtain the preloading result matched with the link information according to the opening instruction;
displaying the pre-loaded results to the user.
Optionally, the temporary storage space is specifically a clipboard.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Correspondingly, the device for loading the page provided by the embodiment of the invention can also be realized by another structure. Fig. 3 is a schematic structural diagram of an embodiment of an electronic device provided by the present invention, which can implement the process of the embodiment shown in fig. 1 of the present invention, and as shown in fig. 3, the electronic device may include: the device comprises a shell 31, a processor 32, a memory 33, a circuit board 34 and a power circuit 35, wherein the circuit board 34 is arranged inside a space enclosed by the shell 31, and the processor 32 and the memory 33 are arranged on the circuit board 34; a power supply circuit 35 for supplying power to each circuit or device of the electronic apparatus; the memory 33 is used for storing executable program codes; the processor 32 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 33 for executing the method described in the foregoing embodiment.
The specific execution process of the above steps by the processor 32 and the steps further executed by the processor 32 by running the executable program code may refer to the description of the embodiment shown in fig. 1 of the present invention, and are not described herein again.
The electronic device: the device for providing computing services, the electronic device comprises a processor, a hard disk, a memory, a system bus and the like, the electronic device is similar to a general computer architecture, but the device has high requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because high-reliability services need to be provided.
It should be noted that, in this document, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof.
In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.

Claims (10)

1. A method for loading a page, the method being applied to a first process in an electronic device, the method comprising:
monitoring whether newly input link information which meets the standard link characteristics exists in the temporary storage space;
if the newly input link information which meets the standard link characteristics exists in the temporary storage space, starting a loading process, wherein the loading process is used for preloading the content of the link information;
and when a viewing instruction input by a user is received, displaying the preloading result to the user.
2. The method of claim 1, wherein prior to monitoring whether the entered link information is present in the temporary storage space, the method further comprises:
and starting the first process, wherein the first process is specifically a browser.
3. The method according to claim 1, wherein the monitoring whether the input link information meeting the standard link characteristics exists in the temporary storage space specifically comprises:
comparing whether the newly input content exists in the temporary storage space;
if the newly input content exists, identifying the type of the newly input content;
if the type of the newly input content is the link information, acquiring a first feature of the link information, and judging whether the first feature is matched with a second feature of standard link information;
and if the first characteristic is matched with the second characteristic, determining that the link information meets the standard link characteristic.
4. The method according to claim 1, wherein if the newly input link information meeting the standard link characteristics already exists in the temporary storage space, starting a loading process, specifically comprising:
if the link information which is newly input and meets the standard link characteristics exists in the temporary storage space, extracting the link information from the temporary storage space;
starting the loading process, and transmitting the link information to the loading process, so that the loading process performs preloading operation on the link information on a system background, and caches the preloaded content;
when a viewing instruction input by a user is received, displaying a preloading result to the user, specifically comprising:
when the viewing instruction is received, the preloaded content is called from the cache;
displaying the preloaded content to the user.
5. The method of claim 1, wherein the viewing instructions include a paste instruction and an open instruction;
when a viewing instruction input by a user is received, displaying a preloading result to the user, specifically comprising:
receiving the pasting instruction and the opening instruction input by the user, wherein the pasting instruction comprises the link information;
acquiring the preloading result matched with the link information according to the opening instruction;
displaying the pre-loaded results to the user.
6. The method according to claim 1, wherein the temporary storage space is embodied as a clipboard.
7. An apparatus for loading a page, the apparatus being applied to a first process in an electronic device, the apparatus comprising: the device comprises a monitoring unit, a starting unit, a receiving unit and a display unit;
the monitoring unit is used for monitoring whether the link information which is newly input and meets the standard link characteristics exists in the temporary storage space;
the starting unit is configured to start a loading process if newly input link information meeting a standard link characteristic already exists in the temporary storage space, where the loading process is used to preload content of the link information;
and the display unit is used for displaying the preloading result to the user when the receiving unit receives a viewing instruction input by the user.
8. The apparatus according to claim 7, wherein the starting unit is further configured to start the first process, and the first process is specifically a browser.
9. The apparatus according to claim 7, wherein the monitoring unit is specifically configured to compare whether newly input content exists in the temporary storage space;
if the newly input content exists, identifying the type of the newly input content;
if the type of the newly input content is the link information, acquiring a first feature of the link information, and judging whether the first feature is matched with a second feature of standard link information;
and if the first characteristic is matched with the second characteristic, determining that the link information meets the standard link characteristic.
10. The method according to claim 6, wherein the starting unit is specifically configured to, if there is link information that is newly input and meets a standard link characteristic already in the temporary storage space, extract the link information from the temporary storage space;
starting the loading process, and transmitting the link information to the loading process, so that the loading process performs preloading operation on the link information on a system background, and caches the preloaded content;
the display unit is specifically configured to, when the viewing instruction is received, invoke the preloaded content from the cache;
displaying the preloaded content to the user.
CN202210331569.0A 2022-03-31 2022-03-31 Page loading method and device Pending CN114860330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210331569.0A CN114860330A (en) 2022-03-31 2022-03-31 Page loading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210331569.0A CN114860330A (en) 2022-03-31 2022-03-31 Page loading method and device

Publications (1)

Publication Number Publication Date
CN114860330A true CN114860330A (en) 2022-08-05

Family

ID=82629987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210331569.0A Pending CN114860330A (en) 2022-03-31 2022-03-31 Page loading method and device

Country Status (1)

Country Link
CN (1) CN114860330A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031117A (en) * 2007-03-23 2007-09-05 华为技术有限公司 Method for processing mobile terminal and webpage link address
CN103618936A (en) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 Smart television, as well as method and device for pre-downloading link pages in browser of smart television
CN106095999A (en) * 2016-06-22 2016-11-09 腾讯科技(深圳)有限公司 Obtain the method and device of content of pages
CN108763525A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 electronic device, terminal page loading method and storage medium
CN111930442A (en) * 2020-10-09 2020-11-13 北京三快在线科技有限公司 Page view loading method and device, storage medium and electronic equipment
CN113094194A (en) * 2021-04-28 2021-07-09 维沃移动通信(杭州)有限公司 Clipboard information processing method and device
CN114117265A (en) * 2021-11-25 2022-03-01 首约科技(北京)有限公司 Method for reducing page loading time

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031117A (en) * 2007-03-23 2007-09-05 华为技术有限公司 Method for processing mobile terminal and webpage link address
CN103618936A (en) * 2013-12-16 2014-03-05 乐视致新电子科技(天津)有限公司 Smart television, as well as method and device for pre-downloading link pages in browser of smart television
CN106095999A (en) * 2016-06-22 2016-11-09 腾讯科技(深圳)有限公司 Obtain the method and device of content of pages
CN108763525A (en) * 2018-05-31 2018-11-06 康键信息技术(深圳)有限公司 electronic device, terminal page loading method and storage medium
CN111930442A (en) * 2020-10-09 2020-11-13 北京三快在线科技有限公司 Page view loading method and device, storage medium and electronic equipment
CN113094194A (en) * 2021-04-28 2021-07-09 维沃移动通信(杭州)有限公司 Clipboard information processing method and device
CN114117265A (en) * 2021-11-25 2022-03-01 首约科技(北京)有限公司 Method for reducing page loading time

Similar Documents

Publication Publication Date Title
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN109101228B (en) Application program execution method and device
CN105988837B (en) Application program installation method and device
CN107479868B (en) Interface loading method, device and equipment
CN113407383B (en) Main and standby system switching method and device, server and main and standby system
CN107045546B (en) Webpage processing method and device and intelligent terminal
CN106919690B (en) Information shielding method and device and electronic equipment
CN105426549A (en) Method and device for reading webpage resources and electronic equipment
CN111367595A (en) Data processing method, program running method, device and processing equipment
CN112182442A (en) Page processing method and device, electronic equipment and computer readable storage medium
CN113392358A (en) Static resource preloading method and device
CN106899755B (en) Information sharing method, information sharing device and terminal
CN115357834A (en) Page jump method, device, equipment and storage medium
CN109740014B (en) Screenshot management method, terminal device and storage medium
CN114356479A (en) Page rendering method and device
CN111611505B (en) Method for accessing multimedia resources in electronic book, computing device and storage medium
CN113626441A (en) Text management method, device and equipment based on scanning equipment and storage medium
CN110909155B (en) Book order generation method, calculation device and computer storage medium
CN114860330A (en) Page loading method and device
CN112307386A (en) Information monitoring method, system, electronic device and computer readable storage medium
CN109446451B (en) Webpage display method, device, medium and computing equipment
CN111291288A (en) Webpage link extraction method and system
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN116304403A (en) Webpage access method and device, computer equipment and storage medium
CN112182446A (en) Page display method and device, terminal equipment and computer 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