CN111193775B - Optimization method for mobile terminal network request - Google Patents

Optimization method for mobile terminal network request Download PDF

Info

Publication number
CN111193775B
CN111193775B CN201911261489.7A CN201911261489A CN111193775B CN 111193775 B CN111193775 B CN 111193775B CN 201911261489 A CN201911261489 A CN 201911261489A CN 111193775 B CN111193775 B CN 111193775B
Authority
CN
China
Prior art keywords
request
requests
mobile terminal
information
server
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
CN201911261489.7A
Other languages
Chinese (zh)
Other versions
CN111193775A (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.)
Shangketong Shangjing Information Technology Jiangsu Co ltd
Original Assignee
Shangketong Shangjing Information Technology Jiangsu 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 Shangketong Shangjing Information Technology Jiangsu Co ltd filed Critical Shangketong Shangjing Information Technology Jiangsu Co ltd
Priority to CN201911261489.7A priority Critical patent/CN111193775B/en
Publication of CN111193775A publication Critical patent/CN111193775A/en
Application granted granted Critical
Publication of CN111193775B publication Critical patent/CN111193775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Abstract

The invention provides an optimization method of a mobile terminal network request, which can effectively avoid a mobile terminal from repeatedly initiating a large number of similar requests in the same time so as to greatly save the communication flow of the mobile terminal and avoid the situation of data processing performance reduction of the mobile terminal.

Description

Optimization method for mobile terminal network request
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method for optimizing a network request of a mobile terminal.
Background
The current mobile communication mode is mainly based on that the mobile terminal sends a request signal to the server terminal, and the server terminal feeds back corresponding response data to the mobile terminal according to the request signal, so that data interactive communication between the mobile terminal and the server terminal is realized. The mobile communication mode can ensure that the server side can perform data interactive communication with the mobile side timely, quickly and accurately. However, in an actual communication process, the mobile end does not only send one request signal to the server end, but usually sends multiple request signals to the server end sequentially, which requires the server end to perform adaptive data response feedback according to the request contents of different request signals after receiving different request signals, which requires the server end to process a large number of request signals in a short time, and there are a large number of repeated request signals with similar contents in the request signals, which not only causes a reduction in data processing performance of the mobile end, but also consumes a large amount of data processing memory of the server end, thereby reducing the use experience of the mobile end and the response efficiency of the server end; in addition, the existing mobile terminal network request mode also causes the mobile terminal to be in a network-free state in certain scenes, so that the mobile terminal cannot normally perform a data system to further influence user experience.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an optimization method of a mobile terminal network request, which comprises the steps of S1, obtaining request attribute information corresponding to a plurality of requests initiated by a mobile terminal to a server, caching the requests according to the request attribute information, S2, obtaining data interaction state information between the mobile terminal and the server based on the plurality of requests cached currently, and S3, performing adjustment processing on the plurality of requests cached currently according to the data interaction state information and/or the mobile network state information The optimization method can effectively improve the communication quality of the mobile terminal and the service terminal and improve the communication experience of users.
The invention provides a method for optimizing a mobile terminal network request, which comprises the following steps:
step S1, obtaining request attribute information corresponding to a plurality of requests sent to a server by a mobile terminal, and caching the plurality of requests according to the request attribute information;
step S2, based on the plurality of current cached requests, acquiring data interaction state information between the mobile terminal and the server terminal;
step S3, adjusting several current buffer requests according to the data exchange state information and/or mobile network state information;
further, in step S1, the obtaining request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the server, and the caching processing of the plurality of requests according to the request attribute information specifically includes,
step S101, acquiring request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the server and local request attribute information locally existing in the server;
step S102, calculating and analyzing the request attribute information corresponding to the plurality of requests and/or the local request attribute information according to a preset rule;
step S103, caching the plurality of requests according to the result of the calculation analysis processing;
further, in the step S101, the obtaining of the request attribute information corresponding to the plurality of requests initiated by the mobile terminal to the server and the local request attribute information locally existing in the server specifically includes,
step S1011, performing signal transmission state acquisition processing on the request communication link between the mobile terminal and the service terminal to obtain request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the service terminal;
step S1012, performing screening processing on the data information locally stored by the server to determine the local request data information stored by the server, and then analyzing the local request data information to obtain the local request attribute information;
further, in the step S102, the performing, calculating, analyzing and processing on the request attribute information and/or the local request attribute information corresponding to the plurality of requests specifically includes,
step S1021, request page feature extraction processing is carried out on the request attribute information corresponding to the plurality of requests, so that page feature information corresponding to each of the plurality of requests is obtained;
step S1022, according to the page feature information, calculating a page importance evaluation value corresponding to each of the plurality of requests;
step S1023, obtaining request priority level information about the requests according to the page importance evaluation value;
step S1024, according to the request attribute information corresponding to the plurality of requests and the local request attribute information, performing similarity evaluation processing on the plurality of requests and the local request corresponding to the server;
step S1025, according to the result of the similarity evaluation processing, executing the adaptive request replacement processing to obtain the corresponding request replacement result;
further, in the step S1023, the obtaining of the request priority level information about the plurality of requests according to the page importance evaluation value specifically includes,
according to the page importance evaluation value, corresponding ascending or descending arrangement is carried out on the plurality of requests, so that the request priority level information is obtained;
alternatively, the first and second liquid crystal display panels may be,
in step S1025, according to the result of the similarity evaluation processing, an adaptive request replacement processing is performed to obtain a corresponding request replacement result specifically including,
if the similarity judgment result indicates that the similarity exists between a certain request locally existing at the server and a certain request corresponding to one of the plurality of current requests, replacing the certain request with the certain request corresponding to one of the plurality of current requests, and otherwise, maintaining the certain request locally existing at the server unchanged;
further, in the step S103, the caching the plurality of requests according to the result of the calculation analysis process specifically includes,
according to the result of the calculation analysis processing, carrying out structure sequencing on priority levels or replacement on similarity on the requests so as to update the requests, and then carrying out caching processing on the updated requests;
further, in step S2, the obtaining of the data interaction state information between the mobile terminal and the server terminal based on the currently cached requests specifically includes,
step S201, based on a plurality of current cached requests, indicating the mobile terminal to trigger resident request service;
step S202, acquiring a corresponding request sending state of the mobile terminal in the resident request service process to generate corresponding request sending process information;
step S203, sending process information according to the request, and adaptively acquiring data interaction state information between the mobile terminal and the server terminal;
further, in the step S201, based on the currently cached requests, the instructing the mobile terminal to trigger the resident request service specifically includes,
step S2011, acquiring request priority level information corresponding to a plurality of currently cached requests, and taking one of the requests as a starting request of the mobile terminal according to the request priority level information;
step S2012, instructing the mobile terminal to trigger the formation of the resident request service according to the start request;
alternatively, the first and second electrodes may be,
in step S202, obtaining a request sending status corresponding to the mobile terminal in the resident request service process to generate corresponding request sending process information specifically includes,
step S2021, performing a labeling process on each request sent by the mobile terminal in the resident request service process, so as to obtain corresponding sending time series information;
step S2022, generating corresponding request sending process information according to the sending time sequence information;
alternatively, the first and second liquid crystal display panels may be,
in step S203, the adaptively acquiring the data interaction state information between the mobile terminal and the service terminal according to the request sending process information specifically includes,
according to the request sending process information, after determining to obtain data fed back to the mobile terminal by the server terminal aiming at a certain request, clearing the certain request in a cache state;
further, in the step S3, the performing, according to the data interaction state information and/or the mobile network state information, an adjustment process on the currently cached multiple requests specifically includes,
step S301, determining whether a mobile network corresponding to the mobile terminal is currently in a working state, if so, gradually performing data interaction operation related to the plurality of requests according to the data interaction state information;
step S302, determining whether the mobile network corresponding to the mobile terminal is currently in a working state, if not, repeatedly detecting the mobile network at a preset time interval, and executing the step S301 again under the condition that the mobile network is in the working state again;
further, in the step S301, it is determined whether a mobile network corresponding to the mobile terminal is currently in a working state, if yes, performing data interaction operations on the plurality of requests step by step according to the data interaction state information specifically includes,
step S3011, when the mobile network corresponding to the mobile terminal is in a working state, according to the sending sequence of the plurality of requests, instructing the server to gradually perform the data interaction operation until all the requests are finished;
step S3012, in the process of executing the data interaction operation, if the mobile terminal initiates a request again, the step S1 is executed at the same time;
step S3013, perform cloud caching on the result of the data interaction operation, and display the result of the cloud caching on a page corresponding to the mobile terminal when the mobile terminal is activated.
Compared with the prior art, the optimization method of the mobile segment network request comprises the steps of S1, obtaining request attribute information corresponding to a plurality of requests initiated by a mobile terminal to a server, caching the requests according to the request attribute information, S2, obtaining data interaction state information between the mobile terminal and the server based on the current cached requests, and S3, performing adjustment processing on the current cached requests according to the data interaction state information and/or the mobile network state information When the method is normally used, the optimization method can effectively improve the communication quality of the mobile terminal and the server terminal and improve the communication experience of users.
Further, in step S2, the obtaining of the data interaction state information between the mobile terminal and the server terminal based on the plurality of currently cached requests specifically includes the following steps:
step A201, obtaining data interaction state information X between the mobile terminal and the server terminal by using a formula (1)i
Figure BDA0002311720810000061
Wherein, XiData interaction state information between the mobile terminal and the server terminal obtained by the ith request representing the current cache, n represents the total number of the requests of the current cache, tiIndicating the request time of the ith request currently cached, fiIndicating locally stored local request data information corresponding to the ith request, DiThe screening time for screening the locally stored local request data information corresponding to the ith request from all the data information locally stored by the server is represented;
in step S3, the adjusting process executed on the plurality of requests currently cached according to the data interaction status information and/or the mobile network status information specifically includes,
step A301: obtaining a plurality of request priority values P of the current cache by using a formula (2)i
Figure BDA0002311720810000071
Wherein P isiIndicates the priority value of the ith request, f indicatesThe total number of data information locally stored by the server;
step A302: optimizing the formula (2) by the formula (3) according to the data interaction state information between the mobile terminal and the server terminal obtained by the formula (1) to obtain the adjusted priority value Pi':
Figure BDA0002311720810000072
Wherein P isi' indicates the priority value of the ith request after the optimization adjustment process.
When P is presentiWhen' is equal to 0, the similarity exists between a certain request locally existing at the server and the current ith request, and the request needs to be removed or replaced in the caching process;
when P isiIf' ≠ 0, it indicates that there is similarity between a request without local existence of the server and the current ith request, according to PiThe order of the' value from large to small corresponds to a plurality of requests of the current cache, the requests are sorted and cached, and then the requests are sequentially requested according to the sorting order, so that the optimization is completed.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
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 embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a method for optimizing a network request of a mobile terminal according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 1 is a schematic structural diagram of a method for optimizing a network request of a mobile terminal according to an embodiment of the present invention. The optimization method of the mobile terminal network request comprises the following steps:
step S1, obtaining request attribute information corresponding to a plurality of requests sent by the mobile terminal to the server, and performing caching processing on the plurality of requests according to the request attribute information.
Preferably, in step S1, the obtaining of the request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the server, and the caching of the plurality of requests according to the request attribute information specifically includes,
step S101, acquiring request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the server and local request attribute information locally existing in the server;
step S102, calculating and analyzing the request attribute information corresponding to the plurality of requests and/or the local request attribute information according to a preset rule;
step S103, performing cache processing on the plurality of requests according to the result of the calculation analysis processing.
Preferably, in step S101, the obtaining of the request attribute information corresponding to the plurality of requests initiated by the mobile terminal to the server and the local request attribute information locally existing at the server specifically includes,
step S1011, performing signal transmission state acquisition processing on the request communication link between the mobile terminal and the service terminal to obtain request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the service terminal;
step S1012, performing screening processing on the data information locally stored by the server to determine the local request data information stored by the server, and then analyzing the local request data information to obtain the local request attribute information.
Preferably, in step S102, the performing of the calculation analysis processing on the request attribute information and/or the local request attribute information corresponding to the plurality of requests specifically includes,
step S1021, request page feature extraction processing is carried out on the request attribute information corresponding to the plurality of requests, so as to obtain page feature information corresponding to each of the plurality of requests;
step S1022, calculating a page importance evaluation value corresponding to each of the plurality of requests according to the page feature information;
step S1023, according to the evaluation value of the importance of the page, obtaining the request priority level information of the plurality of requests;
step S1024, according to the request attribute information corresponding to the plurality of requests and the local request attribute information, performing similarity evaluation processing on the plurality of requests and the local request corresponding to the server;
step S1025, according to the result of the similarity evaluation processing, executes an adaptive request replacement processing to obtain a corresponding request replacement result.
Preferably, in the step S1023, the obtaining of the request priority level information about the several requests according to the page importance evaluation value specifically includes,
and performing corresponding ascending or descending arrangement on the plurality of requests according to the page importance evaluation value so as to obtain the request priority level information.
Preferably, in the step S1025, according to the result of the similarity evaluation processing, the performing of the adaptive request replacement processing to obtain the corresponding request replacement result specifically includes,
if the similarity judgment result indicates that the similarity exists between a certain request locally existing at the server and a certain request corresponding to one of the plurality of current requests, replacing the certain request with the certain request corresponding to the certain request in the plurality of current requests, and otherwise, maintaining the certain request locally existing at the server unchanged.
Preferably, in step S103, according to the result of the calculation analysis process, the caching the plurality of requests specifically includes,
according to the result of the calculation analysis processing, structure sequencing related to priority levels or replacement related to similarity is carried out on the requests, so that the requests are updated, and then the updated requests are cached.
Step S2, based on the several current cached requests, obtaining the data interaction status information between the mobile terminal and the server terminal.
Preferably, in step S2, the obtaining of the data interaction state information between the mobile terminal and the server terminal based on the currently cached requests specifically includes,
step S201, based on a plurality of current cached requests, indicating the mobile terminal to trigger resident request service;
step S202, obtaining the corresponding request sending state of the mobile terminal in the resident request service process to generate corresponding request sending process information;
step S203, sending process information according to the request, and adaptively acquiring data interaction state information between the mobile terminal and the server terminal.
Preferably, in step S201, based on the currently cached requests, instructing the mobile terminal to trigger the resident request service specifically includes,
step S2011, acquiring request priority level information corresponding to a plurality of currently cached requests, and taking one of the requests as a starting request of the mobile terminal according to the request priority level information;
step S2012, instruct the mobile terminal to trigger the formation of the resident request service according to the initiation request.
Preferably, in the step S202, acquiring a request sending status corresponding to the mobile terminal in the resident request service process, so as to generate corresponding request sending process information specifically includes,
step S2021, performing a labeling process on each request sent by the mobile terminal in the resident request service process, so as to obtain corresponding sending time sequence information;
step S2022, generating corresponding request sending process information according to the sending time series information.
Preferably, in step S203, the adaptively acquiring the data interaction state information between the mobile terminal and the service terminal according to the request sending process information specifically includes,
and sending process information according to the request, and clearing the certain request in a cache state after determining to obtain data fed back to the mobile terminal by the server terminal aiming at the certain request.
Step S3, adjusting several current cached requests according to the data interaction status information and/or the mobile network status information.
Preferably, in step S3, the performing, according to the data interaction state information and/or the mobile network state information, an adjustment process on the currently cached requests specifically includes,
step S301, determining whether a mobile network corresponding to the mobile terminal is currently in a working state, if so, gradually performing data interaction operation related to the plurality of requests according to the data interaction state information;
step S302, determining whether the mobile network corresponding to the mobile terminal is currently in an operating state, if not, repeatedly detecting the mobile network at a predetermined time interval, and executing step S301 again when the mobile network is in the operating state again.
Preferably, in step S301, it is determined whether a mobile network corresponding to the mobile terminal is currently in an operating state, if yes, performing data interaction operations on the plurality of requests step by step according to the data interaction state information specifically includes,
step S3011, when the mobile network corresponding to the mobile terminal is in a working state, according to the sending sequence of the plurality of requests, instructing the server to gradually perform the data interaction operation until all the requests are finished;
step S3012, in the process of executing the data interaction operation, if the mobile terminal initiates a request again, then the step S1 is executed at the same time;
step S3013, perform cloud caching on the result of the data interaction operation, and display the result of the cloud caching on a page corresponding to the mobile terminal when the mobile terminal is activated.
As can be seen from the above description of the embodiments, the method for optimizing a mobile segment network request includes step S1, obtaining request attribute information corresponding to a plurality of requests initiated by a mobile terminal to a server, and performing cache processing on the plurality of requests according to the request attribute information, step S2, obtaining data interaction state information between the mobile terminal and the server based on the plurality of requests currently cached, step S3, performing adjustment processing on the plurality of requests currently cached according to the data interaction state information and/or the mobile network state information, and the method can effectively avoid the mobile terminal from repeatedly initiating a large number of similar requests at the same time, so as to greatly save communication traffic of the mobile terminal and avoid the mobile terminal from suffering data processing performance degradation The optimization method can effectively improve the communication quality of the mobile terminal and the service terminal and improve the communication experience of the user.
Preferably, in the step S2, the obtaining of the data interaction state information between the mobile terminal and the server terminal based on the currently cached multiple requests specifically includes the following steps:
step A201, obtaining the product by using the formula (1)Data interaction state information X between the mobile terminal and the server terminali
Figure BDA0002311720810000121
Wherein XiData interaction state information between the mobile terminal and the server terminal obtained by the ith request representing the current cache, n represents the total number of the requests of the current cache, tiRepresents the request time of the ith request currently cached, fiIndicating locally stored local request data information corresponding to the ith request, DiThe screening time for screening the locally stored local request data information corresponding to the ith request from all the data information locally stored by the server is represented;
in step S3, the adjusting process executed on the plurality of requests currently cached according to the data interaction status information and/or the mobile network status information specifically includes,
step A301: obtaining a plurality of request priority values P of the current cache by using a formula (2)i
Figure BDA0002311720810000122
Wherein P isiThe priority value of the ith request is represented, and f represents the total number of data information locally stored by the server;
step A302: optimizing the formula (2) by the formula (3) according to the data interaction state information between the mobile terminal and the server terminal obtained by the formula (1) to obtain the adjusted priority value Pi':
Figure BDA0002311720810000131
Wherein P isi' indicates the priority value of the ith request after being processed by the optimization adjustment.
When P isiWhen'' is 0, it means the clothesA request locally existing at a server has similarity with the current ith request, and the request needs to be removed or replaced in the caching process;
when P isi' ≠ 0, which indicates that there is no similarity between a request locally existed at the server and the current ith request, according to PiThe sequence of the' value from big to small is corresponding to a plurality of requests currently cached for sequencing and caching, and then the requests are sequentially requested according to the sequencing sequence, thereby completing the optimization.
The beneficial effects of the above technical scheme are: the priority values of the plurality of requests cached at present are obtained, the queuing speed is optimized by using the priority values to sort the requests firstly and then reject and screen the requests, the priority values are optimized by using data interaction state information between the servers, the similarity of each request can be detected, the comprehensiveness of the network requests of the mobile terminal is ensured, whether the requests need to be rejected or replaced can also be judged by using the sorting values, the efficiency is improved, the time is shortened, and the reliability of the system is ensured.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for optimizing a mobile terminal network request is characterized by comprising the following steps:
step S1, obtaining request attribute information corresponding to a plurality of requests initiated by a mobile terminal to a server, and caching the plurality of requests according to the request attribute information, wherein the step S101 comprises obtaining the request attribute information corresponding to the plurality of requests initiated by the mobile terminal to the server and local request attribute information existing locally at the server; step S102, calculating and analyzing the request attribute information corresponding to the plurality of requests and/or the local request attribute information according to a preset rule; step S103, caching the plurality of requests according to the result of the calculation analysis processing;
step S2, acquiring data interaction state information between the mobile terminal and the server terminal based on the plurality of currently cached requests, including: step S201, based on a plurality of current cached requests, indicating the mobile terminal to trigger resident request service; step S202, acquiring a corresponding request sending state of the mobile terminal in the resident request service process to generate corresponding request sending process information; step S203, according to the request sending process information, adaptively acquiring data interaction state information between the mobile terminal and the server terminal;
step S3, according to the data interaction state information and/or the mobile network state information, performing adjustment processing on a plurality of currently cached requests, including: step S301, determining whether a mobile network corresponding to the mobile terminal is currently in a working state, if so, gradually performing data interaction operation on the plurality of requests according to the data interaction state information; step S302, determining whether the mobile network corresponding to the mobile terminal is currently in a working state, if not, repeatedly detecting the mobile network at a predetermined time interval, and executing step S301 again when the mobile network is in the working state again.
2. The method for optimizing network requests of a mobile terminal of claim 1 wherein:
in step S101, the obtaining of the request attribute information corresponding to the plurality of requests initiated by the mobile terminal to the server and the local request attribute information existing locally at the server specifically includes,
step S1011, performing signal transmission state acquisition processing on a request communication link between the mobile terminal and the service terminal, so as to obtain request attribute information corresponding to a plurality of requests initiated by the mobile terminal to the service terminal;
step S1012, performing screening processing on the data information locally stored by the server to determine the local request data information stored by the server, and then analyzing the local request data information to obtain the local request attribute information.
3. The method for optimizing network requests of a mobile terminal of claim 1 wherein:
in step S102, the performing, on the request attribute information and/or the local request attribute information corresponding to the plurality of requests, calculation analysis processing related to a preset rule specifically includes,
step S1021, request page feature extraction processing is carried out on the request attribute information corresponding to the plurality of requests, so that page feature information corresponding to each of the plurality of requests is obtained;
step S1022, according to the page feature information, calculating a page importance evaluation value corresponding to each of the plurality of requests;
step S1023, obtaining request priority level information about the requests according to the page importance evaluation value;
step S1024, according to the request attribute information corresponding to the plurality of requests and the local request attribute information, performing similarity evaluation processing on the plurality of requests and the local request corresponding to the server;
and S1025, executing adaptive request replacement processing according to the result of the similarity evaluation processing so as to obtain a corresponding request replacement result.
4. The method for optimizing network requests of a mobile terminal according to claim 3, characterized in that:
in the step S1023, acquiring the request priority level information about the plurality of requests according to the page importance evaluation value specifically includes,
according to the page importance evaluation value, corresponding ascending or descending arrangement is carried out on the plurality of requests, so that the request priority level information is obtained;
alternatively, the first and second electrodes may be,
in step S1025, according to the result of the similarity evaluation processing, an adaptive request replacement processing is performed to obtain a corresponding request replacement result specifically including,
if the similarity judgment result indicates that the similarity exists between a certain request locally existing at the server and a certain request corresponding to the current several requests, replacing the certain request with the certain request corresponding to the current several requests, and otherwise, maintaining the certain request locally existing at the server unchanged.
5. A method for optimizing network requests of a mobile terminal according to claim 3, characterized in that:
in step S103, the caching the plurality of requests according to the result of the calculation and analysis process specifically includes,
and according to the result of the calculation analysis processing, carrying out structure sequencing on the priority levels or replacement on similarity on the requests so as to update the requests, and then carrying out caching processing on the updated requests.
6. The method for optimizing network requests of a mobile terminal of claim 1 wherein:
in step S201, based on the currently cached requests, instructing the mobile terminal to trigger a resident request service specifically includes,
step S2011, obtaining request priority level information corresponding to a plurality of currently cached requests, and taking one of the requests as a start request of the mobile terminal according to the request priority level information;
step S2012, instructing the mobile terminal to trigger the formation of the resident request service according to the start request;
alternatively, the first and second electrodes may be,
in step S202, obtaining a request sending status corresponding to the mobile terminal in the resident request service process to generate corresponding request sending process information specifically includes,
step S2021, performing a labeling process on each request sent by the mobile terminal in the resident request service process, so as to obtain corresponding sending time series information;
step S2022, generating corresponding request sending process information according to the sending time sequence information;
alternatively, the first and second electrodes may be,
in step S203, the adaptively acquiring the data interaction state information between the mobile terminal and the service terminal according to the request sending process information specifically includes,
and according to the request sending process information, after determining to obtain data fed back to the mobile terminal by the server terminal aiming at a certain request, clearing the certain request in a cache state.
7. The method for optimizing a network request of a mobile terminal according to claim 1, wherein:
in step S301, it is determined whether a mobile network corresponding to the mobile terminal is currently in a working state, if yes, the step-by-step performing data interaction operations related to the plurality of requests according to the data interaction state information specifically includes,
step S3011, when the mobile network corresponding to the mobile terminal is in a working state, according to the sending sequence of the plurality of requests, instructing the server to gradually perform the data interaction operation until all the requests are finished;
step S3012, in the process of executing the data interaction operation, if the mobile terminal initiates a request again, the step S1 is executed at the same time;
and step S3013, performing cloud caching on the data interaction operation result, and displaying the cloud caching result on a page corresponding to the mobile terminal under the condition that the mobile terminal is activated.
8. The method for optimizing a network request of a mobile terminal according to claim 1, wherein:
in the step S2, the obtaining of the data interaction state information between the mobile terminal and the server terminal based on the currently cached multiple requests specifically includes the following steps:
step A201, obtaining data interaction state information X between the mobile terminal and the server terminal by using a formula (1)i
Figure FDA0003604640720000051
Wherein XiData interaction state information between the mobile terminal and the server terminal obtained by the ith request of the current cache is represented, n represents the total number of the requests of the current cache, tiIndicating the request time of the ith request currently cached, fiRepresents locally stored local request data information corresponding to the ith request, DiThe screening time for screening the locally stored local request data information corresponding to the ith request from all the data information locally stored by the server is represented;
in step S3, the adjusting process performed on the plurality of requests currently cached according to the data interaction status information and/or the mobile network status information specifically includes,
step A301: obtaining a plurality of request priority values P of the current cache by using a formula (2)i
Figure FDA0003604640720000052
Wherein P isiThe priority value of the ith request is represented, and f represents the total number of data information locally stored by the server;
step A302: optimizing the formula (2) by the formula (3) according to the data interaction state information between the mobile terminal and the server terminal obtained by the formula (1) to obtain the adjusted priority value Pi':
Figure FDA0003604640720000061
Wherein P isi' represents the priority value of the ith request after the optimization adjustment processing;
when P is presentiWhen' is 0, the similarity exists between a certain request locally existing at the server and the current ith request, and the request needs to be removed or replaced in the caching process;
when P isiIf' ≠ 0, it indicates that there is similarity between a request without local existence of the server and the current ith request, according to PiThe sequence of the' value from big to small is corresponding to a plurality of requests currently cached for sequencing and caching, and then the requests are sequentially requested according to the sequencing sequence, thereby completing the optimization.
CN201911261489.7A 2019-12-10 2019-12-10 Optimization method for mobile terminal network request Active CN111193775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261489.7A CN111193775B (en) 2019-12-10 2019-12-10 Optimization method for mobile terminal network request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261489.7A CN111193775B (en) 2019-12-10 2019-12-10 Optimization method for mobile terminal network request

Publications (2)

Publication Number Publication Date
CN111193775A CN111193775A (en) 2020-05-22
CN111193775B true CN111193775B (en) 2022-07-15

Family

ID=70709221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261489.7A Active CN111193775B (en) 2019-12-10 2019-12-10 Optimization method for mobile terminal network request

Country Status (1)

Country Link
CN (1) CN111193775B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454457B1 (en) * 2000-02-07 2008-11-18 Parallel Networks, Llc Method and apparatus for dynamic data flow control using prioritization of data requests
CN101478798A (en) * 2009-01-23 2009-07-08 深圳华为通信技术有限公司 Communication method, apparatus and system
WO2018076812A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Data request response method and device, storage medium, server and system
CN110311986A (en) * 2019-07-10 2019-10-08 中国民航信息网络股份有限公司 The treating method and apparatus of mobile terminal request

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7454457B1 (en) * 2000-02-07 2008-11-18 Parallel Networks, Llc Method and apparatus for dynamic data flow control using prioritization of data requests
CN101478798A (en) * 2009-01-23 2009-07-08 深圳华为通信技术有限公司 Communication method, apparatus and system
WO2018076812A1 (en) * 2016-10-25 2018-05-03 广东欧珀移动通信有限公司 Data request response method and device, storage medium, server and system
CN110311986A (en) * 2019-07-10 2019-10-08 中国民航信息网络股份有限公司 The treating method and apparatus of mobile terminal request

Also Published As

Publication number Publication date
CN111193775A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
US10812358B2 (en) Performance-based content delivery
US10027739B1 (en) Performance-based content delivery
CN110308995B (en) Edge cloud node deployment device of edge cloud computing service system
CN107592345B (en) Transaction current limiting device, method and transaction system
CN103370709A (en) A cache manager for segmented multimedia and corresponding method for cache management
CN109981715B (en) Session management method and device
CN110266514A (en) Journal obtaining method, device, terminal and storage medium
CN111638948B (en) Multi-channel high-availability big data real-time decision making system and decision making method
CN111611129B (en) Performance monitoring method and device of PaaS cloud platform
CN110764936A (en) Data acquisition method and device
US20220417154A1 (en) Data transmission method and apparatus, device, storage medium, and computer program product
CN111586126A (en) Method, device and equipment for pre-downloading small program and storage medium
CN109710490A (en) Acquisition method, device, storage medium and the electronic equipment of client log
CN111245684A (en) Traffic scheduling method and device, electronic equipment and computer readable medium
CN105763595A (en) Method of improving data processing efficiency and server
US11347646B2 (en) Method, device and computer program product for managing cache based on matching API
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
US9600251B1 (en) Enhancing API service schemes
CN111193775B (en) Optimization method for mobile terminal network request
CN114285838A (en) File uploading method, device, system, storage medium and electronic equipment
CN114064394A (en) Safety monitoring method and device based on edge calculation and terminal equipment
CN113676531B (en) E-commerce flow peak clipping method and device, electronic equipment and readable storage medium
CN111311014A (en) Service data processing method and device, computer equipment and storage medium
CN115774602A (en) Container resource allocation method, device, equipment and storage medium
CN111049919B (en) User request processing method, device, equipment and storage medium

Legal Events

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