CN115842865A - Method for mobile terminal to dynamically control network request - Google Patents

Method for mobile terminal to dynamically control network request Download PDF

Info

Publication number
CN115842865A
CN115842865A CN202211475333.0A CN202211475333A CN115842865A CN 115842865 A CN115842865 A CN 115842865A CN 202211475333 A CN202211475333 A CN 202211475333A CN 115842865 A CN115842865 A CN 115842865A
Authority
CN
China
Prior art keywords
request
interface
processor
network
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.)
Pending
Application number
CN202211475333.0A
Other languages
Chinese (zh)
Inventor
李俊
刘云峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unicloud Technology Co Ltd
Original Assignee
Unicloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unicloud Technology Co Ltd filed Critical Unicloud Technology Co Ltd
Priority to CN202211475333.0A priority Critical patent/CN115842865A/en
Publication of CN115842865A publication Critical patent/CN115842865A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for dynamically controlling network request by a mobile terminal, which comprises the following steps: s1, starting an application program to enter a functional interface A; s2, sending a network request a.b.c; s3, the user jumps out of the interface A and enters the interface B; s4, canceling the unfinished request (b.c) of the interface A; and S5, sending a request (d, e) of the interface B, and finishing the request. The invention has the beneficial effects that: the scheme discloses a method for dynamically controlling a network request by a mobile terminal, which can dynamically control the change of a network request pool, save mobile network data and reduce the pressure of a server.

Description

Method for mobile terminal to dynamically control network request
Technical Field
The invention belongs to the field of data processing, and particularly relates to a method for dynamically controlling a network request by a mobile terminal.
Background
The method includes that a mobile terminal sends a request for controlling the operation and maintenance of a project to a mobile terminal, and the mobile terminal sends a request for controlling the operation and maintenance of the project to the mobile terminal.
Disclosure of Invention
In view of the above, the present invention is directed to a method for a mobile station to dynamically control a network request, so as to solve at least one of the problems in the background art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for mobile terminal to dynamically control network request includes the following steps:
s1, starting an application program to enter a functional interface A;
s2, sending a network request a.b.c;
s3, the user jumps out of the interface A and enters the interface B;
s4, canceling the unfinished request (b.c) of the interface A;
and S5, sending a request (d, e) of the interface B, and finishing the request.
Further, in step S2, the application requests three request processes a, b, and c according to the interface function requirement.
Further, in step S2, the identifier is identified by the interface name bit, and a is requested to correspond to the identifier A1, and so on.
Further, in step S3, the request pool is requested to search for the relevant request of the interface a according to the request identifier.
Further, in step S4, it is determined that the request b, the request c is not completed according to the request identifier specification, and at this time, the interface a is already hidden and does not need to return data, so that the cancellation request b, c is triggered.
Further, in step S5, a request related to the interface B is made, and the request identifier is named as the interface a.
Further, in step S5, other interface request specifications are as above, and then the application is killed.
Furthermore, the present disclosure discloses an electronic device, which includes a processor and a memory, wherein the memory is communicatively connected to the processor and is configured to store executable instructions of the processor, and the processor is configured to perform a method for dynamically controlling a network request by a mobile terminal.
Further, the present disclosure discloses a server, which includes at least one processor, and a memory communicatively connected to the processor, where the memory stores instructions executable by the at least one processor, and the instructions are executed by the processor to cause the at least one processor to execute a method for dynamically controlling a network request by a mobile terminal.
Further, the present disclosure discloses a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements a method for a mobile terminal to dynamically control a network request.
Compared with the prior art, the method for dynamically controlling the network request by the mobile terminal has the following beneficial effects:
the method for dynamically controlling the network request by the mobile terminal can dynamically control the change of the network request pool, save mobile network data and reduce server pressure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flowchart illustrating a process of receiving and sending a user-controlled network request of a method for dynamically controlling a network request by a mobile terminal according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention mainly solves a scheme for reducing server pressure and user network data consumption.
Some relevant explanations are made with respect to the invention:
1. starting an application program to enter a functional interface A, requesting three request processes of a, b and c according to interface function requirements, respectively requesting a corresponding identifier A1 for the identifier by using an interface name bit identifier, and so on.
2. And the user jumps out of the interface A and enters the interface B, and the request pool is searched for the relevant request of the interface A according to the request identifier.
3. And judging the request b according to the request identification specification, wherein the request c is not completed, and at the moment, the interface A is hidden and does not need to return data, so that the cancellation requests b and c are triggered.
4. And carrying out related requests required by the interface B, wherein the request identification is consistent with the name of the interface A.
5. Other interface request specifications are as above.
6. The application program is killed
By the scheme, the network data resource cost can be fully saved when the application with complex functions is met, and the pressure on the server when the user quantity is large is reduced.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of clearly illustrating the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed method and system may be implemented in other ways. For example, the above described division of elements is merely a logical division, and other divisions may be realized, for example, multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not executed. The units may or may not be physically separate, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for mobile terminal to dynamically control network request is characterized in that the method comprises the following steps:
s1, starting an application program to enter a functional interface A;
s2, sending a network request a.b.c;
s3, the user jumps out of the interface A and enters the interface B;
s4, canceling an incomplete request of the interface A (b.c);
and S5, sending a request (d, e) of the interface B, and finishing the request.
2. The method of claim 1, wherein the mobile end dynamically controls the network request, and comprises: in step S2, the application requests three request processes a, b, and c according to the interface function requirement.
3. The method of claim 1, wherein the mobile end dynamically controls the network request, and comprises: in step S2, the identifier is identified by the interface name bit, and a is requested to correspond to the identifier A1, and so on.
4. The method of claim 1, wherein the mobile end dynamically controls the network request, and comprises: in step S3, the request pool is requested to search for the relevant request of the interface a according to the request identifier.
5. The method of claim 1, wherein the mobile end dynamically controls the network request, and comprises: in step S4, it is determined that the request b, the request c is not completed according to the request identifier specification, and at this time, the interface a is already hidden and does not need to return data, thereby triggering cancellation of the requests b, c.
6. The method of claim 1, wherein the method comprises: in step S5, a request related to the interface B is made, and the request identifier is named as the interface a.
7. The method of claim 1, wherein the mobile end dynamically controls the network request, and comprises: in step S5, other interface request specifications are as above, and the application is killed.
8. An electronic device comprising a processor and a memory communicatively coupled to the processor and configured to store processor-executable instructions, wherein: the processor is configured to perform the method for dynamically controlling network requests of a mobile terminal according to any one of claims 1 to 7.
9. A server, characterized by: comprising at least one processor, and a memory communicatively coupled to the processor, the memory storing instructions executable by the at least one processor, the instructions being executable by the processor to cause the at least one processor to perform a method for dynamically controlling network requests by a mobile terminal as recited in any of claims 1-7.
10. A computer-readable storage medium storing a computer program, characterized in that: the computer program is executed by a processor to implement a method for dynamically controlling network requests of a mobile terminal according to any one of claims 1 to 7.
CN202211475333.0A 2022-11-23 2022-11-23 Method for mobile terminal to dynamically control network request Pending CN115842865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211475333.0A CN115842865A (en) 2022-11-23 2022-11-23 Method for mobile terminal to dynamically control network request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211475333.0A CN115842865A (en) 2022-11-23 2022-11-23 Method for mobile terminal to dynamically control network request

Publications (1)

Publication Number Publication Date
CN115842865A true CN115842865A (en) 2023-03-24

Family

ID=85575948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211475333.0A Pending CN115842865A (en) 2022-11-23 2022-11-23 Method for mobile terminal to dynamically control network request

Country Status (1)

Country Link
CN (1) CN115842865A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574721A (en) * 2017-08-11 2018-09-25 北京金山云网络技术有限公司 A kind of login method, device and server, user terminal, readable storage medium storing program for executing
CN109474459A (en) * 2018-10-16 2019-03-15 平安普惠企业管理有限公司 Domain name configuring management method, device, computer equipment and storage medium
CN110769017A (en) * 2018-07-27 2020-02-07 北京国双科技有限公司 Data request processing method and device, storage medium and processor
CN111090515A (en) * 2019-11-22 2020-05-01 拉扎斯网络科技(上海)有限公司 Access control method, device, terminal equipment and storage medium
CN111479334A (en) * 2020-03-20 2020-07-31 平安国际智慧城市科技股份有限公司 Network request retry method, device and terminal equipment
CN113434241A (en) * 2021-07-22 2021-09-24 北京京东振世信息技术有限公司 Page skipping method and device
CN114139079A (en) * 2021-11-30 2022-03-04 苏州沁游网络科技有限公司 API request processing method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574721A (en) * 2017-08-11 2018-09-25 北京金山云网络技术有限公司 A kind of login method, device and server, user terminal, readable storage medium storing program for executing
CN110769017A (en) * 2018-07-27 2020-02-07 北京国双科技有限公司 Data request processing method and device, storage medium and processor
CN109474459A (en) * 2018-10-16 2019-03-15 平安普惠企业管理有限公司 Domain name configuring management method, device, computer equipment and storage medium
CN111090515A (en) * 2019-11-22 2020-05-01 拉扎斯网络科技(上海)有限公司 Access control method, device, terminal equipment and storage medium
CN111479334A (en) * 2020-03-20 2020-07-31 平安国际智慧城市科技股份有限公司 Network request retry method, device and terminal equipment
CN113434241A (en) * 2021-07-22 2021-09-24 北京京东振世信息技术有限公司 Page skipping method and device
CN114139079A (en) * 2021-11-30 2022-03-04 苏州沁游网络科技有限公司 API request processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108595207B (en) Gray scale publishing method, rule engine, system, terminal and storage medium
US20170047069A1 (en) Voice processing method and device
CN104252501A (en) Computing equipment and method for executing database operating command
EP4287023A1 (en) Service processing method and device
CN105791254A (en) Network request processing method, device and terminal
CN110190997A (en) Configuration information obtaining method, device, equipment and computer readable storage medium
CN105447092A (en) Caching method and apparatus
CN104486111A (en) 1553B data bus system network management method
WO2021128918A1 (en) Terminal device control method, terminal device, and storage medium
CN109086136A (en) A kind of request processing method and relevant apparatus of Samba software
CN103138965B (en) A kind of methods, devices and systems inquiring about internet of things equipment state
CN115842865A (en) Method for mobile terminal to dynamically control network request
CN112241418B (en) Distributed database preprocessing method, agent layer, system and storage medium
CN112434037A (en) Data processing method, processing device, data processing apparatus, and storage medium
CN107346308B (en) Method and device for calling data in cluster system
CN115033656B (en) Data processing method and device based on map caching technology and electronic device
CN109445698A (en) Inquire the method, apparatus and computer readable storage medium of multi-disc flash state
CN110865845B (en) Method for improving interface access efficiency and storage medium
CN110647330B (en) Web-oriented just-in-time compiling method and tool
CN110543349B (en) Application starting acceleration method and device and computer readable storage medium
CN114281281A (en) Interaction method and device for printer and intelligent equipment
CN109800229B (en) Data access method and related equipment
CN107493316B (en) Application operation management method, server and computer readable storage medium
CN109840156B (en) Data caching method and equipment, storage medium and terminal thereof
WO2021259108A1 (en) Resource allocation method and apparatus, server, 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