CN112632432B - Terminal-based page refreshing method and device, computer equipment and storage medium - Google Patents

Terminal-based page refreshing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112632432B
CN112632432B CN202011609550.5A CN202011609550A CN112632432B CN 112632432 B CN112632432 B CN 112632432B CN 202011609550 A CN202011609550 A CN 202011609550A CN 112632432 B CN112632432 B CN 112632432B
Authority
CN
China
Prior art keywords
page
refreshing
page refreshing
value
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011609550.5A
Other languages
Chinese (zh)
Other versions
CN112632432A (en
Inventor
董力刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Securities Co Ltd
Original Assignee
Ping An Securities 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 Ping An Securities Co Ltd filed Critical Ping An Securities Co Ltd
Priority to CN202011609550.5A priority Critical patent/CN112632432B/en
Publication of CN112632432A publication Critical patent/CN112632432A/en
Application granted granted Critical
Publication of CN112632432B publication Critical patent/CN112632432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a page refreshing method and a related device based on a terminal, wherein the method comprises the following steps: receiving a page refresh command for a target page; acquiring a device score of the mobile terminal; determining a specified request interval of the mobile terminal according to the equipment score; after the first time corresponding to the designated request interval is passed, sending a page refreshing request corresponding to the page refreshing command to a server; receiving page refreshing data corresponding to a page refreshing request returned by a server; acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time; and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value. The method and the device can ensure that the target page is refreshed rapidly and the smooth operation of the mobile terminal. Furthermore, the present invention also relates to blockchain techniques, which device scores may be stored in the blockchain.

Description

Terminal-based page refreshing method and device, computer equipment and storage medium
Technical Field
The present invention relates to a blockchain technology, and is applied to the field of computer technologies, in particular, to a terminal-based page refreshing method, a device, a computer device, and a storage medium.
Background
With the rapid development of network technology and communication technology, mobile internet services have been rapidly increased. The mobile internet has the characteristics of rich information and convenient use, and a user can enjoy a large amount of rich information through the mobile internet.
When a user browses network information through the mobile internet, the user needs to network the terminal and connect data such as page resource files, pictures and the like in the terminal. For some pages with a certain real-time performance, such as social applications, news information and the like, users can frequently refresh the pages to see the latest content in time. When receiving the page refreshing operation sent by the user, the terminal can immediately request the latest data from the server, and immediately analyze the data and refresh the page after obtaining the latest data. Since terminals have various models, and hardware facilities of terminals of different models are also different. For the first type of terminal with excellent hardware facilities and belonging to the high-end machine type, after receiving the page refreshing operation sent by the user, the latest data is requested to the server immediately, and after the latest data is obtained, the data is immediately analyzed and page refreshing is carried out. However, for the second type of terminal of the middle-low end type with common hardware facilities, if the latest data is requested to the server immediately after the page refreshing operation sent by the user is received, and the data is also analyzed immediately and page refreshing is performed after the latest data is obtained, so that the real-time data refreshing processing can realize the real-time refreshing of the page, but the real-time and frequent data refreshing processing flow can cause excessive rendering of the page due to the low performance of the terminal of the middle-low end type, and more system hardware resources of the terminal can be occupied, so that the operation flow of the second type of terminal is seriously influenced, the second type of terminal has a clamping phenomenon in the page refreshing process, and the user experience is poor. Therefore, it is needed to design a page refreshing method applicable to terminals of different models, which can ensure that the terminal can refresh the page rapidly and operate smoothly without jamming when performing the page refreshing process.
Disclosure of Invention
The main purpose of the application is to provide a terminal-based page refreshing method, a device, computer equipment and a storage medium, and aims to solve the technical problems that the method can be suitable for terminals of different types, and the method can ensure that the terminal can realize quick page refreshing and smooth operation without the occurrence of a clamping phenomenon when the terminal performs page refreshing processing.
The application provides a page refreshing method based on a terminal, which is applied to a mobile terminal, and comprises the following steps:
receiving a page refreshing command for a target page triggered by a user;
acquiring a device score corresponding to the mobile terminal according to the page refreshing command;
determining a specified request interval corresponding to the mobile terminal according to the equipment score;
after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server;
receiving page refreshing data corresponding to the page refreshing request returned by the server;
acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
And executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value.
Optionally, the step of obtaining the device score corresponding to the mobile terminal according to the page refresh command includes:
acquiring operation configuration data corresponding to the mobile terminal according to the page refreshing command, wherein the operation configuration data at least comprises an operation memory, an operating system version and CPU performance;
acquiring cardinalities corresponding to the operation configuration data respectively; the method comprises the steps of,
acquiring weight values respectively corresponding to the operation configuration data;
carrying out weighted summation processing on the base number and the weight value, and calculating a device score corresponding to the mobile terminal;
the step of calculating the equipment score corresponding to the mobile terminal after the step of carrying out weighted summation processing on the base number and the weight value comprises the following steps:
the device score is stored on a blockchain of a blockchain system.
Optionally, the step of determining the specified request interval corresponding to the mobile terminal according to the equipment score includes:
Acquiring a preset request interval-interval range value mapping table;
screening a designated interval range value corresponding to the equipment score from the request interval-interval range value mapping table according to the equipment score;
extracting a specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value;
the step of extracting the specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value includes:
the specified request interval is stored on a blockchain of the blockchain system.
Optionally, after the step of determining the specified request interval corresponding to the mobile terminal according to the device score, the method includes:
starting a preset daemon thread;
polling the real-time operation data of the mobile terminal according to a preset time interval through the daemon thread to obtain a corresponding polling result;
and according to the polling result, adjusting the designated request interval corresponding to the polling result.
Optionally, the real-time running data includes a remaining available memory value, and the step of adjusting the specified request interval corresponding to the polling result according to the polling result includes:
Judging whether the residual available memory value is smaller than a preset memory threshold value according to the polling result;
if the residual available memory value is smaller than the preset memory threshold value, performing first degradation processing on the appointed request interval to obtain an updated first request interval;
and if the residual available memory value is not less than the preset memory threshold value, limiting the change of the specified request interval.
Optionally, the real-time operation data includes a remaining available power value, and the step of adjusting the specified request interval corresponding to the polling result according to the polling result includes:
judging whether the residual available electric quantity value is smaller than a preset electric quantity threshold value or not;
if the residual available electric quantity value is judged to be smaller than a preset electric quantity threshold value, performing second degradation processing on the appointed request interval to obtain an updated second request interval;
and if the residual available electric quantity value is not smaller than the preset electric quantity threshold value, limiting to change the specified request interval.
Optionally, the step of executing the page refreshing process corresponding to the page refreshing data on the target page according to the first difference and a preset refreshing threshold and a preset rule includes:
Judging whether the first difference value is smaller than the refresh threshold value;
if the first difference value is not smaller than the refresh threshold value, rendering the target page by adopting the page refresh data to finish the page refresh processing of the target page;
if the first difference value is smaller than the refresh threshold value, calculating a second difference value obtained by subtracting the first difference value from the refresh threshold value;
and after a second time corresponding to the second difference value, rendering the target page by adopting the page refreshing data to finish the page refreshing processing of the target page.
The application also provides a page refreshing device based on the terminal, which is applied to the mobile terminal and comprises the following steps:
the first receiving module is used for receiving a page refreshing command for a target page triggered by a user;
the first acquisition module is used for acquiring the equipment score corresponding to the mobile terminal according to the page refreshing command;
the determining module is used for determining a specified request interval corresponding to the mobile terminal according to the equipment score;
the sending module is used for sending a page refreshing request corresponding to the page refreshing command to the server after the first time corresponding to the specified request interval passes;
The second receiving module is used for receiving page refreshing data corresponding to the page refreshing request returned by the server;
the computing module is used for acquiring the adjacent last page refreshing time and the current time and computing a first difference value obtained by subtracting the last page refreshing time from the current time;
and the processing module is used for executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule and a preset refreshing threshold value according to the first difference value.
The application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of the above method when executing the computer program.
The present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method.
The page refreshing method, the page refreshing device, the computer equipment and the storage medium based on the terminal have the following beneficial effects:
the method, the device, the computer equipment and the storage medium for refreshing the page based on the terminal, provided by the application, receive a page refreshing command for a target page triggered by a user; acquiring a device score corresponding to the mobile terminal according to the page refreshing command; determining a specified request interval corresponding to the mobile terminal according to the equipment score; after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server; receiving page refreshing data corresponding to the page refreshing request returned by the server; acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time; and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value. When a user has a page refreshing requirement on a target page in the mobile terminal, the mobile terminal can dynamically acquire the appointed request interval corresponding to the equipment performance according to the equipment performance condition of the user, and then intelligently determines a page refreshing processing mode suitable for the target page according to the appointed request interval, so that the smooth operation of the mobile terminal can be ensured while the target page can be quickly refreshed, and the use experience of the user is effectively improved.
Drawings
FIG. 1 is a flow diagram of a terminal-based page refreshing method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal-based page refreshing device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Referring to fig. 1, a terminal-based page refreshing method according to an embodiment of the present application includes:
s1: receiving a page refreshing command for a target page triggered by a user;
s2: acquiring a device score corresponding to the mobile terminal according to the page refreshing command;
s3: determining a specified request interval corresponding to the mobile terminal according to the equipment score;
s4: after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server;
s5: receiving page refreshing data corresponding to the page refreshing request returned by the server;
S6: acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
s7: and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value.
As described in steps S1 to S7, the execution body of the embodiment of the method is a terminal-based page refreshing device. In practical applications, the terminal-based page refreshing device may be implemented by a virtual device, for example, a software code, or may be implemented by an entity device in which related execution codes are written or integrated, and may perform man-machine interaction with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device, where the terminal-based page refreshing device may be specifically a mobile terminal. The terminal-based page refreshing device provided by the embodiment can effectively ensure the normal and smooth operation of the mobile terminal in the refreshing process of rapidly executing page refreshing. Specifically, a page refresh command triggered by a user for a target page is first received. The page refresh command refers to a page refresh operation performed by a user on a target page, for example, an operation of clicking a refresh control of the page for the user, and when the page refresh operation is received, the mobile terminal determines that the page refresh command is detected. In addition, the target page refers to a page that the user needs to perform a page refresh operation. And then, according to the page refreshing command, acquiring the equipment score corresponding to the terminal mobile terminal. The device score of the mobile terminal can be calculated through a preset weighted summation calculation formula according to the operation configuration data corresponding to the mobile terminal, the base number and the weight value corresponding to the operation configuration data. And then determining a specified request interval corresponding to the mobile terminal according to the equipment score. Wherein, a pre-created request interval-interval range value mapping table can be called and queried to determine the specified request interval. And when the specified time interval is obtained, after the first time corresponding to the specified request interval is passed, sending a page refresh request corresponding to the page refresh command to a server. The method comprises the steps that a specified request interval corresponding to the equipment score of the mobile terminal is obtained, and after the first time corresponding to the specified request interval is passed, a page refreshing request is sent to the server instead of sending the page refreshing request to the server immediately after a page refreshing instruction triggered by a user is received, so that the triggering of page refreshing of the mobile terminal is effectively delayed, and the mobile terminal can keep better performance. And then receiving page refreshing data corresponding to the page refreshing request returned by the server. The page refreshing request carries version information of current page data of a target page, wherein the page data of the target page refer to specific content contained in the target page, and the version information of the page data is used for distinguishing different page data corresponding to different moments of the same page; the version information may be a number, english letter, or the like. In addition, the page refreshing request is used for enabling the server to detect whether the page data of the target page is updated according to the version information, the server obtains the version information corresponding to the latest page data of the target page, then compares the version information of the latest page data with the version information sent by the mobile terminal, and if the version information of the latest page data is different from the version information sent by the mobile terminal, the server determines that the page data of the target page is updated, and returns the latest page refreshing data corresponding to the page refreshing request; and if the version information of the latest page data is the same as the version information sent by the mobile terminal, indicating that the page data of the target page is not updated, the server sends corresponding non-updated state information to the mobile terminal. Further, the server may also determine whether the contents of the page before and after the refresh have changed by a hash operation, for example, a hash operation, that is, determine whether the page data of the target page has been updated by taking the source files (Html codes) of the pages before and after the refresh and determining whether the hash operation values are the same. And after receiving the page refreshing data, acquiring the adjacent last page refreshing time and the current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time. And finally, when the first difference value is obtained, executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule and a preset refreshing threshold value, namely executing corresponding page refreshing processing on the target page by using the page refreshing data according to the preset rule. After the first time, a page refreshing request is circularly sent to the server (the server is a data source of data required for page refreshing), and after a data reply returned by the server, namely the page refreshing data, is obtained, and a preset condition is met between a first difference value and a preset refreshing threshold value, the page refreshing data returned by an interface is displayed on a current target page, so that synchronous refreshing processing of the target page is completed. In addition, the setting of the refresh threshold value can be set according to actual demands, and particularly can be obtained by setting according to the rule of page refresh change which can be reacted by the naked eyes of a normal human body. The preset rule refers to a rule that a preset condition is satisfied between the first difference value and a preset refresh threshold value, and the preset condition refers to a condition that the first difference value is not smaller than the refresh threshold value. And only when the current time is greater than the refresh threshold value from the last adjacent page refresh time, that is, the first difference value is not smaller than the refresh threshold value, the user can normally find the refresh variation generated by the target page according to the target page subjected to the page refresh processing. When a user has a page refreshing requirement on a target page in the mobile terminal, the mobile terminal can dynamically acquire the designated request interval corresponding to the equipment performance according to the equipment performance condition of the user, and then intelligently determine a page refreshing processing mode suitable for the target page according to the designated request interval, so that the smooth operation of the mobile terminal can be ensured while the target page can be quickly refreshed, and the use experience of the user is effectively improved.
Further, in an embodiment of the present application, the step S2 includes:
s200: acquiring operation configuration data corresponding to the mobile terminal according to the page refreshing command, wherein the operation configuration data at least comprises an operation memory, an operating system version and CPU performance;
s201: acquiring cardinalities corresponding to the operation configuration data respectively; the method comprises the steps of,
s202: acquiring weight values respectively corresponding to the operation configuration data;
s203: carrying out weighted summation processing on the base number and the weight value, and calculating a device score corresponding to the mobile terminal;
after the step S203 of calculating the device score corresponding to the mobile terminal, the step of performing weighted summation processing on the cardinal number and the weight value includes:
s204: the device score is stored on a blockchain of a blockchain system.
As described in the above steps S200 to S204, the step of obtaining the device score corresponding to the mobile terminal according to the page refresh command may specifically include: firstly, according to the page refreshing command, operation configuration data corresponding to the mobile terminal is obtained. The operation configuration data at least comprises an operation memory, an operating system version and CPU performance. Then, acquiring the cardinalities corresponding to the operation configuration data respectively; and acquiring weight values respectively corresponding to the operation configuration data. The base corresponding to the operation configuration data can be divided and set according to specific software and hardware models, sizes and version numbers of the mobile terminal. For example, the radix corresponding to the running memory 2G is set to 1, the radix corresponding to the running memory 4G is set to 2, and the radix corresponding to the running memory 6G and above is set to 3. Similarly, for the setting mode of the base number corresponding to the operating system version and the CPU performance of the mobile terminal, the setting can be performed only by following the rule that the newer the version information of the operating system version is, the larger the base number is, and the higher the CPU performance is, and the setting mode of the base number of the running memory can be specifically referred to, and will not be described herein. In addition, the specific value of the weight value corresponding to the operation configuration data can be set according to the actual situation, and can be automatically generated by the device or can be input after being set by a user according to the actual requirement. For example, the weight corresponding to the running memory may be set to 0.4, the weight corresponding to the operating system version may be set to 0.2, and the weight corresponding to the CPU performance may be set to 0.4. And finally, carrying out weighted summation processing on the base number and the weight value, and calculating the equipment score corresponding to the mobile terminal so as to quickly and conveniently determine the appointed request interval corresponding to the mobile terminal according to the equipment score. For example, if the running memory, the operating system version and the corresponding cardinality of the CPU performance corresponding to the mobile terminal are in order: 2,4,2, and the weight values of the running memory, the operating system version and the CPU performance corresponding to the mobile terminal are 0.4,0.2,0.4 in sequence, then by performing weighted summation processing on the base number and the weight values, the equipment score corresponding to the mobile terminal can be calculated as follows: 2 x 0.4+4 x 0.2+2 x 0.4=2.4. Further, after the step of calculating the device score corresponding to the mobile terminal by performing weighted summation processing on the base number and the weight value, the method may further include: the device scores are stored on a blockchain of the blockchain system. By using the blockchain to store and manage the equipment scores corresponding to the mobile terminals, the safety and the non-falsifiability of the equipment scores are effectively ensured.
Further, in an embodiment of the present application, the step S3 includes:
s300: acquiring a preset request interval-interval range value mapping table;
s301: screening a designated interval range value corresponding to the equipment score from the request interval-interval range value mapping table according to the equipment score;
s302: extracting a specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value;
after the step S302 of extracting the specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value, the method includes:
s303: the specified request interval is stored on a blockchain of the blockchain system.
As described in steps S300 to S303, the step of determining the specified request interval corresponding to the mobile terminal according to the device score may specifically include: firstly, a preset request interval-interval range value mapping table is obtained. The request interval-interval range value mapping table can be developed and generated by related personnel according to actual demands, namely according to model grades corresponding to different terminals. For example, the low frequency request interval may be set to 1000ms, and the range value corresponding to the low frequency request interval is 0-5; the medium frequency request interval can be set to 600ms, and the interval range value corresponding to the medium frequency request interval is 6-9; the high frequency request interval may be set to 200ms, and the range value of the interval corresponding to the high frequency request interval is 10 and above. And then, according to the equipment score, screening out a designated interval range value corresponding to the equipment score from the request interval-interval range value mapping table. With reference to the previous embodiment, if the device score corresponding to the mobile terminal is 2.4, the specified interval range value corresponding to the device score is 0-5 through table lookup. After the specified interval range value is found, a specified request interval corresponding to the specified interval range value is extracted from the request interval-interval range value mapping table according to the specified interval range value, so that page refreshing processing corresponding to the page refreshing command can be intelligently executed according to the specified request interval corresponding to the mobile terminal obtained by inquiry, and smooth operation of the mobile terminal in the process of carrying out real-time page refreshing is effectively ensured, and user experience is ensured. For example, if the specified interval range value is 0-5, the specified request interval corresponding to the specified interval range value is 1000ms through table lookup. Further, after the step of extracting the specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value, the method may further include: the specified request interval is stored on the blockchain of the blockchain system. The block chain of the block chain system is used for storing and managing the specified request interval corresponding to the specified interval range value, so that the safety and the non-falsifiability of the specified request interval are effectively ensured.
Further, in an embodiment of the present application, after the step S3, the method includes:
s310: starting a preset daemon thread;
s311: polling the real-time operation data of the mobile terminal according to a preset time interval through the daemon thread to obtain a corresponding polling result;
s312: and according to the polling result, adjusting the designated request interval corresponding to the polling result.
As described in steps S310 to S312, after the determination process of determining the specified request interval corresponding to the mobile terminal according to the device score is performed, the specified request interval may be further adaptively adjusted according to the real-time operation data of the mobile terminal, so that the mobile terminal may not generate a click phenomenon during the subsequent page refreshing process, and the smooth operation of the mobile terminal may be ensured while the page is ensured to be refreshed quickly. Specifically, a preset daemon thread is first started. The daemon thread is a special process running in the background of the mobile terminal, is independent of the control terminal and periodically executes certain tasks or waits for processing certain events occurring, and is a pre-created special thread for inquiring the running data of the mobile terminal. And after the daemon is successfully started, polling the real-time running data of the mobile terminal according to a preset time interval through the daemon thread to obtain a corresponding polling result. The time interval is not particularly limited, and may be set according to actual requirements, for example, 60s. And finally, according to the polling result, adjusting the specified request interval corresponding to the polling result so as to carry out page refreshing processing suitable for the target page according to the adjusted specified request interval. When determining the specified request interval corresponding to the mobile terminal, the embodiment can also intelligently and dynamically adjust the specified request interval in combination with the current actual running state of the mobile terminal, and then the page refreshing processing of the target page is executed according to the adjusted specified request interval, so that the mobile terminal can be effectively ensured to maintain good performance to realize flow running in the process of rapidly refreshing the page, and the use experience of a user is ensured.
Further, in an embodiment of the present application, the real-time running data includes a remaining available memory value, and step S312 includes:
s3120: judging whether the residual available memory value is smaller than a preset memory threshold value according to the polling result;
s3121: if the residual available memory value is smaller than the preset memory threshold value, performing first degradation processing on the appointed request interval to obtain an updated first request interval;
s3122: and if the residual available memory value is not less than the preset memory threshold value, limiting the change of the specified request interval.
As described in the above steps S3120 to S3122, the operation data may include a remaining available memory value, and the step of adjusting the specified request interval according to the polling result may specifically include: firstly, according to the polling result, judging whether the residual available memory value is smaller than a preset memory threshold value. The value of the memory threshold is not particularly limited, and may be set according to actual requirements, for example, may be set to 1/6 of the running memory. If the remaining available memory value is smaller than the preset memory threshold value, performing first degradation processing on the specified request interval to obtain an updated first request interval, so that page refreshing processing corresponding to the page refreshing command is performed according to the updated first request interval, and therefore smooth operation of the mobile terminal in the process of performing real-time page refreshing is effectively ensured, and user experience is ensured. The first degradation process may correspond to a preset minimum request interval, that is, the first request interval, for example, the minimum request interval may be set to 1000ms. In addition, the first degradation process may further represent that a base corresponding to the operation configuration data of the original software and hardware of the mobile terminal is subjected to a down-adjustment operation to obtain an updated base, then a corresponding updated device score is calculated according to the updated base, and finally the updated first request interval is determined according to the updated device score and the request interval-interval range value mapping table. If the remaining available memory value is not less than the preset memory threshold value, which indicates that the current mobile terminal is in a normal running state, the modification of the specified request interval is limited, that is, the specified request interval is reserved, and then the page refreshing process corresponding to the page refreshing command can be directly executed according to the specified request interval.
In an embodiment of the present application, the real-time operation data includes a remaining available power value, and step S312 includes:
s3123: judging whether the residual available electric quantity value is smaller than a preset electric quantity threshold value or not;
s3124: if the residual available electric quantity value is judged to be smaller than a preset electric quantity threshold value, performing second degradation processing on the appointed request interval to obtain an updated second request interval;
s3125: and if the residual available electric quantity value is not smaller than the preset electric quantity threshold value, limiting to change the specified request interval.
As described in the above steps S3123 to S3125, the operation data may include a remaining available power value, and the step of adjusting the specified request interval according to the polling result may specifically include: firstly, according to the polling result, judging whether the residual available electric quantity value is smaller than a preset electric quantity threshold value. The above values are not particularly limited, and may be set according to actual needs, for example, 10%. If the residual available electric quantity value is smaller than the preset electric quantity threshold value, performing second degradation processing on the appointed request interval to obtain an updated second request interval so as to execute page refreshing processing corresponding to the page refreshing command according to the updated second request interval, thereby effectively ensuring that the mobile terminal can keep smooth operation in the process of carrying out real-time page refreshing and ensuring the use experience of a user. The specific processing procedure of the second degradation process may refer to the processing procedure of the first degradation process, which is not described herein. If the remaining available power value is not less than the preset power threshold, the current mobile terminal is in a normal running state, the specified request interval is limited to be changed, namely the specified request interval is reserved, and page refreshing processing corresponding to the page refreshing command can be executed directly according to the specified request interval.
Further, in an embodiment of the present application, the step S7 includes:
s700: judging whether the first difference value is smaller than the refresh threshold value;
s701: if the first difference value is not smaller than the refresh threshold value, rendering the target page by adopting the page refresh data to finish the page refresh processing of the target page;
s702: if the first difference value is smaller than the refresh threshold value, calculating a second difference value obtained by subtracting the first difference value from the refresh threshold value;
s703: and after a second time corresponding to the second difference value, rendering the target page by adopting the page refreshing data to finish the page refreshing processing of the target page.
As described in steps S700 to S703, the step of performing the page refresh process corresponding to the page refresh data on the target page according to the first difference and a preset refresh threshold and a preset rule may specifically include: firstly, judging whether the first difference value is smaller than a preset refreshing threshold value. The refreshing threshold is set according to a page refreshing change rule which can be responded by naked eyes of a normal human body. Since the human eye can only substantially reflect a change in pattern or number once in a page within 300ms, the refresh threshold can be set to 300ms. If the first difference value is not smaller than the preset refresh threshold value, and the last page refresh time adjacent to the current time is larger than the refresh threshold value, the page refresh processing corresponding to the page refresh data is directly executed on the target page, namely the page refresh data is utilized to conduct rendering processing on the target page, so that the page refresh processing on the target page is completed, and a user can normally find refresh changes generated by the target page according to the target page subjected to the page refresh processing. After the rendering processing of the target page by using the page refreshing data is completed, the page refreshing data and version information corresponding to the page refreshing data may be further stored in a local storage space of the mobile terminal. And if the first difference value is smaller than the preset refresh threshold value, the fact that the current time is away from the last page refresh time adjacent to the last page refresh time does not reach the refresh threshold value is indicated, namely that the condition of carrying out page refresh processing on the target page is not met currently. And then, calculating a second difference value obtained by subtracting the first difference value from the refresh threshold value, and after a second time corresponding to the second difference value, executing page refresh processing corresponding to the page refresh data on the target page, namely, adopting the page refresh data to perform rendering processing on the target page so as to complete the page refresh processing on the target page. If the first difference value is smaller than the preset refresh threshold value, the target page is subjected to page refresh processing, which means that under the condition that the network is blocked for a short period and multiple pieces of data may be returned at the same time, if the meaning of continuously refreshing the multiple pieces of data in the target page is not great, a user may not be able to normally perceive refresh changes generated by the page subjected to the page refresh processing, and meanwhile, the operation pressure of the mobile terminal may be too great. According to the method and the device, only when the fact that the first difference value of the current time minus the adjacent last page refreshing time is not smaller than the preset refreshing threshold value is ensured, the page refreshing data are used for carrying out refreshing processing on the target page, the fact that a user can normally find refreshing changes generated by the target page according to the target page subjected to the page refreshing processing is effectively ensured, and the use experience of the user is ensured.
Referring to fig. 2, an embodiment of the present application further provides a terminal-based page refreshing device, which is applied to a mobile terminal, and includes:
the first receiving module 1 is used for receiving a page refreshing command for a target page triggered by a user;
the first acquisition module 2 is used for acquiring the equipment score corresponding to the mobile terminal according to the page refreshing command;
a determining module 3, configured to determine a specified request interval corresponding to the mobile terminal according to the device score;
a sending module 4, configured to send a page refresh request corresponding to the page refresh command to a server after a first time corresponding to the specified request interval elapses;
the second receiving module 5 is used for receiving page refreshing data corresponding to the page refreshing request returned by the server;
the calculating module 6 is used for obtaining the adjacent last page refreshing time and the current time and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
and the processing module 7 is configured to execute, according to a preset rule, page refreshing processing corresponding to the page refreshing data on the target page according to the first difference value and a preset refresh threshold.
In this embodiment, the implementation process of the functions and roles of the first receiving module, the first acquiring module, the determining module, the sending module, the second receiving module, the calculating module and the processing module in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S1 to S7 in the terminal-based page refreshing method, which is not described herein again.
Further, in an embodiment of the present application, the first obtaining module includes:
the first acquisition unit is used for acquiring operation configuration data corresponding to the mobile terminal according to the page refreshing command, wherein the operation configuration data at least comprises an operation memory, an operating system version and CPU performance;
a second obtaining unit, configured to obtain cardinalities corresponding to the operation configuration data respectively; the method comprises the steps of,
a third obtaining unit, configured to obtain weight values corresponding to the operation configuration data respectively;
the first calculation unit is used for carrying out weighted summation processing on the base number and the weight value and calculating the equipment score corresponding to the mobile terminal;
the first acquisition module further includes:
and the first storage unit is used for storing the equipment score to a blockchain of the blockchain system.
In this embodiment, the implementation process of the functions and roles of the first acquiring unit, the second acquiring unit, the third acquiring unit, the first calculating unit and the first storage unit in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S200 to S204 in the terminal-based page refreshing method, and will not be described herein.
Further, in an embodiment of the present application, the determining module includes:
a fourth obtaining unit, configured to obtain a preset request interval-interval range value mapping table;
a screening unit, configured to screen, according to the device score, a specified interval range value corresponding to the device score from the request interval-interval range value mapping table;
an extracting unit, configured to extract a specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value;
the determining module further includes:
and the second storage unit is used for storing the specified request interval to a block chain of the block chain system.
In this embodiment, the implementation process of the functions and actions of the fourth acquiring unit, the filtering unit, the extracting unit and the second storage unit in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S300 to S303 in the terminal-based page refreshing method, which is not described herein.
Further, in an embodiment of the present application, the terminal-based page refreshing device includes:
the starting module is used for starting a preset daemon thread;
the polling module is used for polling the real-time operation data of the mobile terminal according to a preset time interval through the daemon thread to obtain a corresponding polling result;
and the adjustment module is used for adjusting the specified request interval according to the polling result and corresponding to the polling result.
In this embodiment, the implementation process of the functions and actions of the opening module, the polling module and the adjusting module in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S310 to S312 in the terminal-based page refreshing method, and will not be described herein.
Further, in an embodiment of the present application, the real-time operation data includes a remaining available memory value, and the adjusting module includes:
the first judging unit is used for judging whether the residual available memory value is smaller than a preset memory threshold value according to the polling result;
the first processing unit is used for performing first degradation processing on the appointed request interval to obtain an updated first request interval if the residual available memory value is judged to be smaller than a preset memory threshold value;
And the second processing unit is used for limiting the change of the specified request interval if judging that the residual available memory value is not smaller than the preset memory threshold value.
In this embodiment, the implementation process of the functions and roles of the first determining unit, the first processing unit, and the second processing unit in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S3120 to S3122 in the terminal-based page refreshing method, which is not described herein.
Further, in an embodiment of the present application, the real-time operation data includes a remaining available power value, and the adjusting module includes:
the second judging unit is used for judging whether the residual available electric quantity value is smaller than a preset electric quantity threshold value or not;
the third processing unit is used for performing second degradation processing on the appointed request interval to obtain an updated second request interval if the residual available electric quantity value is judged to be smaller than a preset electric quantity threshold value;
and the fourth processing unit is used for limiting the change of the specified request interval if the residual available electric quantity value is judged to be not smaller than a preset electric quantity threshold value.
In this embodiment, the implementation process of the functions and roles of the second determining unit, the third processing unit and the fourth processing unit in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S3123 to S3125 in the terminal-based page refreshing method, and will not be described herein.
Further, in an embodiment of the present application, the processing module includes:
a third judging unit, configured to judge whether the first difference is smaller than the refresh threshold;
the first rendering unit is used for rendering the target page by adopting the page refreshing data if the first difference value is not smaller than the refreshing threshold value, so as to finish the page refreshing processing of the target page;
the second calculating unit is used for calculating a second difference value obtained by subtracting the first difference value from the refresh threshold value if the first difference value is judged to be smaller than the refresh threshold value;
and the second rendering unit is used for rendering the target page by adopting the page refreshing data after a second time corresponding to the second difference value so as to finish the page refreshing processing of the target page.
In this embodiment, the implementation process of the functions and roles of the third determining unit, the first rendering unit, the second calculating unit, and the second rendering unit in the terminal-based page refreshing device is specifically described in the implementation process corresponding to steps S700 to S703 in the terminal-based page refreshing method, which is not described herein.
Referring to fig. 3, a computer device is further provided in the embodiment of the present application, where the computer device may be a server, and the internal structure of the computer device may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing device scores, specified request intervals, page refresh data, first difference values and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a terminal-based page refresh method.
The processor executes the steps of the terminal-based page refreshing method:
receiving a page refreshing command for a target page triggered by a user;
Acquiring a device score corresponding to the mobile terminal according to the page refreshing command;
determining a specified request interval corresponding to the mobile terminal according to the equipment score;
after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server;
receiving page refreshing data corresponding to the page refreshing request returned by the server;
acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value.
Those skilled in the art will appreciate that the structures shown in fig. 3 are only block diagrams of portions of structures that may be associated with the aspects of the present application and are not intended to limit the scope of the apparatus, or computer devices on which the aspects of the present application may be implemented.
An embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements a terminal-based page refreshing method, specifically:
Receiving a page refreshing command for a target page triggered by a user;
acquiring a device score corresponding to the mobile terminal according to the page refreshing command;
determining a specified request interval corresponding to the mobile terminal according to the equipment score;
after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server;
receiving page refreshing data corresponding to the page refreshing request returned by the server;
acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value.
In summary, the terminal-based page refreshing method, the terminal-based page refreshing device, the computer equipment and the storage medium provided by the embodiment of the application receive a page refreshing command for a target page, which is triggered by a user; acquiring a device score corresponding to the mobile terminal according to the page refreshing command; determining a specified request interval corresponding to the mobile terminal according to the equipment score; after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server; receiving page refreshing data corresponding to the page refreshing request returned by the server; acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time; and executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refreshing threshold value. When a user has a page refreshing requirement on a target page in the mobile terminal, the mobile terminal can dynamically acquire the appointed request interval corresponding to the equipment performance according to the equipment performance condition of the user, and then intelligently determines a page refreshing processing mode suitable for the target page according to the appointed request interval, so that the smooth operation of the mobile terminal can be ensured while the target page can be quickly refreshed, and the use experience of the user is effectively improved.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by hardware associated with a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
Further, the computer-usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The blockchain underlying platform may include processing modules for user management, basic services, smart contracts, operation monitoring, and the like. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management) and the like, and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, for a new service request, the basic service firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information; the intelligent contract module is responsible for registering and issuing contracts, triggering contracts and executing contracts, a developer can define contract logic through a certain programming language, issue the contract logic to a blockchain (contract registering), invoke keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide a function of registering contract upgrading; the operation monitoring module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, monitoring network conditions, monitoring node device health status, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (7)

1. The page refreshing method based on the terminal is characterized by being applied to the mobile terminal and comprising the following steps:
receiving a page refreshing command for a target page triggered by a user;
acquiring a device score corresponding to the mobile terminal according to the page refreshing command;
Determining a specified request interval corresponding to the mobile terminal according to the equipment score;
after the first time corresponding to the specified request interval passes, sending a page refreshing request corresponding to the page refreshing command to a server;
receiving page refreshing data corresponding to the page refreshing request returned by the server;
acquiring adjacent last page refreshing time and current time, and calculating a first difference value obtained by subtracting the last page refreshing time from the current time;
according to the first difference value and a preset refreshing threshold value, executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule;
the step of obtaining the device score corresponding to the mobile terminal according to the page refreshing command comprises the following steps:
acquiring operation configuration data corresponding to the mobile terminal according to the page refreshing command, wherein the operation configuration data at least comprises an operation memory, an operating system version and CPU performance;
acquiring cardinalities corresponding to the operation configuration data respectively; the method comprises the steps of,
acquiring weight values respectively corresponding to the operation configuration data;
Carrying out weighted summation processing on the base number and the weight value, and calculating a device score corresponding to the mobile terminal;
the step of calculating the equipment score corresponding to the mobile terminal after the step of carrying out weighted summation processing on the base number and the weight value comprises the following steps:
storing the device score on a blockchain of a blockchain system;
the step of determining the specified request interval corresponding to the mobile terminal according to the equipment score comprises the following steps:
acquiring a preset request interval-interval range value mapping table;
screening a designated interval range value corresponding to the equipment score from the request interval-interval range value mapping table according to the equipment score;
extracting a specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value;
the step of extracting the specified request interval corresponding to the specified interval range value from the request interval-interval range value mapping table according to the specified interval range value includes:
storing the specified request interval to a blockchain of a blockchain system;
After the step of determining the specified request interval corresponding to the mobile terminal according to the equipment score, the method comprises the following steps:
starting a preset daemon thread;
polling the real-time operation data of the mobile terminal according to a preset time interval through the daemon thread to obtain a corresponding polling result;
and according to the polling result, adjusting the designated request interval corresponding to the polling result.
2. The terminal-based page refreshing method according to claim 1, wherein the real-time running data includes a remaining available memory value, and the step of adjusting the specified request interval according to the polling result to correspond to the polling result includes:
judging whether the residual available memory value is smaller than a preset memory threshold value according to the polling result;
if the residual available memory value is smaller than the preset memory threshold value, performing first degradation processing on the appointed request interval to obtain an updated first request interval;
and if the residual available memory value is not less than the preset memory threshold value, limiting the change of the specified request interval.
3. The terminal-based page refreshing method according to claim 1, wherein the real-time operation data includes a remaining available power value, and the step of adjusting the specified request interval according to the polling result to correspond to the polling result includes:
judging whether the residual available electric quantity value is smaller than a preset electric quantity threshold value or not;
if the residual available electric quantity value is judged to be smaller than a preset electric quantity threshold value, performing second degradation processing on the appointed request interval to obtain an updated second request interval;
and if the residual available electric quantity value is not smaller than the preset electric quantity threshold value, limiting to change the specified request interval.
4. The terminal-based page refreshing method according to claim 1, wherein the step of executing the page refreshing process corresponding to the page refreshing data on the target page according to a preset rule according to the first difference value and a preset refresh threshold value comprises:
judging whether the first difference value is smaller than the refresh threshold value;
if the first difference value is not smaller than the refresh threshold value, rendering the target page by adopting the page refresh data to finish the page refresh processing of the target page;
If the first difference value is smaller than the refresh threshold value, calculating a second difference value obtained by subtracting the first difference value from the refresh threshold value;
and after a second time corresponding to the second difference value, rendering the target page by adopting the page refreshing data to finish the page refreshing processing of the target page.
5. A terminal-based page refreshing device for implementing the method of any one of claims 1 to 4, characterized in that it is applied to a mobile terminal, said device comprising:
the first receiving module is used for receiving a page refreshing command for a target page triggered by a user;
the first acquisition module is used for acquiring the equipment score corresponding to the mobile terminal according to the page refreshing command;
the determining module is used for determining a specified request interval corresponding to the mobile terminal according to the equipment score;
the sending module is used for sending a page refreshing request corresponding to the page refreshing command to the server after the first time corresponding to the specified request interval passes;
the second receiving module is used for receiving page refreshing data corresponding to the page refreshing request returned by the server;
The computing module is used for acquiring the adjacent last page refreshing time and the current time and computing a first difference value obtained by subtracting the last page refreshing time from the current time;
and the processing module is used for executing page refreshing processing corresponding to the page refreshing data on the target page according to a preset rule and a preset refreshing threshold value according to the first difference value.
6. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 4.
7. A storage medium having a computer program stored thereon, characterized in that the computer program
The steps of the method of any one of claims 1 to 4 when executed by a processor.
CN202011609550.5A 2020-12-30 2020-12-30 Terminal-based page refreshing method and device, computer equipment and storage medium Active CN112632432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011609550.5A CN112632432B (en) 2020-12-30 2020-12-30 Terminal-based page refreshing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011609550.5A CN112632432B (en) 2020-12-30 2020-12-30 Terminal-based page refreshing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112632432A CN112632432A (en) 2021-04-09
CN112632432B true CN112632432B (en) 2023-07-18

Family

ID=75286613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011609550.5A Active CN112632432B (en) 2020-12-30 2020-12-30 Terminal-based page refreshing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112632432B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688146A (en) * 2021-08-23 2021-11-23 猪八戒股份有限公司 Distributed architecture high-concurrency order search engine data refreshing method and system
CN114943516A (en) * 2022-05-27 2022-08-26 深圳市君润众乐企业管理咨询有限公司 Method, system, device and storage medium for establishing electronic resume database of enterprise talents

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010132491A2 (en) * 2009-05-11 2010-11-18 Boopsie, Inc. Dynamic menus for multi-prefix interactive mobile searches using predictive text to yield targeted advertisements
CN101894136A (en) * 2010-06-13 2010-11-24 优视科技有限公司 Page refreshing processing method based on mobile terminal and system thereof
CN103488735A (en) * 2013-09-17 2014-01-01 深圳Tcl新技术有限公司 Method and terminal for refreshing and displaying pages of terminal browser
CN104035875A (en) * 2014-06-30 2014-09-10 北京安兔兔科技有限公司 Method, system and terminal equipment for testing performance of browser and performance testing method of terminal equipment
CN106528247A (en) * 2016-11-30 2017-03-22 北京小米移动软件有限公司 Data refreshing method and device
CN109639413A (en) * 2018-12-10 2019-04-16 四川大学 A kind of block catenary system based on mobile ad hoc network
US10356387B1 (en) * 2018-07-26 2019-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Bookmarking system and method in 360° immersive video based on gaze vector information
CN110472168A (en) * 2019-07-05 2019-11-19 中国平安财产保险股份有限公司 Page data update method, device, computer equipment and storage medium
CN112149024A (en) * 2020-10-16 2020-12-29 深圳创维-Rgb电子有限公司 Self-adaptive configuration method, device, equipment and storage medium for homepage

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2499534B (en) * 2010-11-01 2018-09-19 Seven Networks Llc Caching adapted for mobile application behavior and network conditions

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010132491A2 (en) * 2009-05-11 2010-11-18 Boopsie, Inc. Dynamic menus for multi-prefix interactive mobile searches using predictive text to yield targeted advertisements
CN101894136A (en) * 2010-06-13 2010-11-24 优视科技有限公司 Page refreshing processing method based on mobile terminal and system thereof
CN103488735A (en) * 2013-09-17 2014-01-01 深圳Tcl新技术有限公司 Method and terminal for refreshing and displaying pages of terminal browser
CN104035875A (en) * 2014-06-30 2014-09-10 北京安兔兔科技有限公司 Method, system and terminal equipment for testing performance of browser and performance testing method of terminal equipment
CN106528247A (en) * 2016-11-30 2017-03-22 北京小米移动软件有限公司 Data refreshing method and device
US10356387B1 (en) * 2018-07-26 2019-07-16 Telefonaktiebolaget Lm Ericsson (Publ) Bookmarking system and method in 360° immersive video based on gaze vector information
CN109639413A (en) * 2018-12-10 2019-04-16 四川大学 A kind of block catenary system based on mobile ad hoc network
CN110472168A (en) * 2019-07-05 2019-11-19 中国平安财产保险股份有限公司 Page data update method, device, computer equipment and storage medium
CN112149024A (en) * 2020-10-16 2020-12-29 深圳创维-Rgb电子有限公司 Self-adaptive configuration method, device, equipment and storage medium for homepage

Also Published As

Publication number Publication date
CN112632432A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN112632432B (en) Terminal-based page refreshing method and device, computer equipment and storage medium
CN111026319B (en) Intelligent text processing method and device, electronic equipment and storage medium
CN109787882A (en) Information push method, device, computer equipment and storage medium
CN109614318A (en) Automated testing method, device, electronic equipment and computer-readable medium
CN112613067A (en) User behavior data acquisition method and device, computer equipment and storage medium
CN112395390B (en) Training corpus generation method of intention recognition model and related equipment thereof
CN111460394A (en) Copyright file verification method and device and computer readable storage medium
CN114996675A (en) Data query method and device, computer equipment and storage medium
CN109783589A (en) The method, apparatus and storage medium of electronic map parsing address
CN109670100B (en) Page data capturing method and device
CN117251228A (en) Function management method, device, computer equipment and storage medium
CN111142728A (en) Vehicle-mounted environment intelligent text processing method and device, electronic equipment and storage medium
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN112989044B (en) Text classification method, device, equipment and storage medium
CN114358775A (en) Internet of things source tracing method based on Fabric and IPFS and related equipment thereof
CN114371969A (en) Page performance testing method and device, electronic equipment and storage medium
CN113760983A (en) Data processing method, system and non-transitory computer readable storage medium
CN114020765A (en) Performance data extraction method and device, computer equipment and storage medium
CN106657024B (en) Method and device for preventing cookie from being tampered
US10671505B2 (en) System and method for monitoring service
CN114398441B (en) Data export method, device, computer equipment and storage medium
CN107528896A (en) A kind of access information processing method, device and computer-readable storage medium
CN113658290A (en) Method, device and equipment for determining page dominant hue and storage medium
CN117635146A (en) Account management method, account management device, computer equipment and storage medium
CN116932486A (en) File generation method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant