CN109962920B - Method, device and system for determining split page number - Google Patents

Method, device and system for determining split page number Download PDF

Info

Publication number
CN109962920B
CN109962920B CN201910250038.7A CN201910250038A CN109962920B CN 109962920 B CN109962920 B CN 109962920B CN 201910250038 A CN201910250038 A CN 201910250038A CN 109962920 B CN109962920 B CN 109962920B
Authority
CN
China
Prior art keywords
target client
target
determining
client
characteristic parameter
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
CN201910250038.7A
Other languages
Chinese (zh)
Other versions
CN109962920A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910250038.7A priority Critical patent/CN109962920B/en
Publication of CN109962920A publication Critical patent/CN109962920A/en
Application granted granted Critical
Publication of CN109962920B publication Critical patent/CN109962920B/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/01Protocols

Abstract

The application provides a method, a device and a system for determining the number of pages, wherein the method for determining the number of pages is applied to a server, and comprises the steps of firstly obtaining a characteristic parameter value of a target client, and then determining a log in a preset format based on the characteristic parameter value. And then when the preset time is reached, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, training the characteristic parameters by the target training model, and determining the optimal mapping, wherein the output of the optimal mapping is the target paging number. Therefore, the target paging number can be determined according to characteristic parameter values of the client, such as load conditions, network conditions, system configuration information of the client and the like, so that the target paging number is more suitable for current target data transmission, the data transmission rate is further improved, the interface success rate is improved, and the user experience is improved.

Description

Method, device and system for determining split page number
Technical Field
The application relates to the technical field of data processing, in particular to a method, a device and a system for determining split page numbers.
Background
Generally, data interaction between a client and a background server is performed by paging data, specifically, the number of pages is preset, and then when data transmission is performed, the data is transmitted according to the set number of pages.
However, when the load of the background server is heavy or the network is weak, the data interaction rate between the background server and the client is slow, and at this time, the page of the client is jammed, and the user experience is poor.
Therefore, it is an urgent technical problem to be solved by those skilled in the art how to provide a method, an apparatus and a system for determining the number of split pages, which can improve the data transmission rate.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, and a system for determining a paging number, which are capable of determining a target paging number based on a characteristic parameter value of a client, so as to improve a data transmission rate and improve user experience.
In order to achieve the above purpose, the embodiments of the present application provide the following technical solutions:
a split page number determination method is applied to a server and comprises the following steps:
acquiring a characteristic parameter value of a target client, wherein the characteristic parameter value represents configuration information and an interface state of the target client;
determining a log with a preset format based on the characteristic parameter value;
and when the preset time is up, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, and determining the number of target pages.
Optionally, the method further includes:
and paging the target data according to the target paging number, and sending the paged subdata to the target client.
Optionally, the obtaining the characteristic parameter value of the target client includes:
and acquiring an interface request sent by the target client, wherein the interface request comprises a characteristic parameter value of the target client.
Optionally, the characteristic parameter values include one or more parameters of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client; the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, and a first weight of a residual electric quantity of the target client relative to an interface success rate of the target client and an interface response speed of the target client;
acquiring a second weight of the interface success rate of the target client and the interface response speed of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
Optionally, the determining the target page number based on the first weight and the second weight includes:
determining the page number corresponding to the maximum value of the sum of the first weight and the second weight as the target page number.
A split page number determining device is applied to a server and comprises:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a characteristic parameter value of a target client, and the characteristic parameter value represents configuration information and an interface state of the target client;
the determining module is used for determining a log with a preset format based on the characteristic parameter value;
and the pulling module is used for pulling the log and sending the characteristic parameter values included by the log to a preset target training model when the preset time is up, so as to determine the number of target pages.
Optionally, the method further includes:
and the sending module is used for paging the target data according to the target paging number and sending the paged subdata to the target client.
Optionally, the obtaining module includes:
a first obtaining unit, configured to obtain an interface request sent by the target client, where the interface request includes a characteristic parameter value of the target client.
Optionally, the characteristic parameter values include one or more parameters of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client; the pulling module comprises:
a second obtaining unit, configured to obtain a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a first weight of a remaining power of the target client with respect to an interface success rate of the target client and an interface response speed of the target client;
a third obtaining unit, configured to obtain a second weight, where the second weight is an interface success rate of the target client and an interface response speed of the target client relative to each sub-page number;
a first determining unit configured to determine that the page number corresponding to a maximum value of a sum of the first weight and the second weight is the target page number.
A system for determining the number of pages comprises a client and a server,
the server is used for obtaining a characteristic parameter value of a target client, wherein the characteristic parameter value represents configuration information and an interface state of the target client, determining a log in a preset format based on the characteristic parameter value, pulling the log and sending the characteristic parameter value included in the log to a preset target training model when preset time is reached, and determining the number of target pages;
and the client is used for receiving target data according to the target paging number.
Based on the technical scheme, the application provides a method, a device and a system for determining the paging number, the method for determining the paging number is applied to a server, and a characteristic parameter value of a target client is obtained firstly, wherein the characteristic parameter value represents configuration information and an interface state of the target client. And then determining the log with a preset format based on the characteristic parameter value. And then when the preset time is reached, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, training the characteristic parameters by the target training model, and determining the optimal mapping, wherein the output of the optimal mapping is the target paging number. Therefore, the target paging number can be determined according to characteristic parameter values of the client, such as load conditions, network conditions, system configuration information of the client and the like, so that the target paging number is more suitable for current target data transmission, the data transmission rate is further improved, the interface success rate is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a block diagram illustrating a structure of a system for determining a split page count according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a split number determination method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an example of an application score number determination method provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a target training model provided in an embodiment of the present application;
fig. 5 is a signaling flowchart of a method for determining a split number according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a split page number determining apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a split page number determining apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a split page number determining apparatus according to an embodiment of the present application;
fig. 9 is a schematic hardware structure diagram of a server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a block diagram of a system for determining a split page number according to an embodiment of the present disclosure, where the system for determining a split page number shown in the figure can be used to implement a method for determining a split page number according to an embodiment of the present disclosure. Referring to fig. 1, the system for determining the number of pages may include: a server 100 and a plurality of clients 200.
The server 100 determines a log in a preset format based on a characteristic parameter value for obtaining the characteristic parameter value of a target client, and when a preset time is reached, pulls the log and sends the characteristic parameter value included in the log to a preset target training model to determine a target service device with a number of pages, which may be a server cluster formed by a plurality of servers or a single server.
The client 200 is a program, such as APP, corresponding to the server 100, that provides local services to the user. In practical applications, the client 200 may be generally loaded on user devices such as a mobile phone, a tablet computer, and a notebook computer, and in this embodiment, the client 200 may be a video playing application, an audio playing application, or other applications capable of outputting audio and video files, which may include multiple platform versions.
Based on the system for determining the number of pages shown in fig. 1, the method for determining the number of pages provided by the present application is described below from the perspective of a server. As shown in fig. 2, a flowchart of a method for determining a number of pages according to an embodiment of the present application is applied to a server, and the method may include:
and S21, acquiring the characteristic parameter value of the target client.
And the characteristic parameter value represents the configuration information and the interface state of the target client. The characteristic parameters representing the configuration information of the target client comprise the memory utilization rate of the target client, the cpu hardware parameter of the target client, the memory hardware parameter of the target client, the storage capacity of the target client, the network speed parameter of the network where the target client is located, the networking mode of the target client and the residual electric quantity of the target client. The characteristic parameters for representing the interface state of the target client comprise the interface success rate of the target client and the interface response speed of the target client.
And S22, determining the log with the preset format based on the characteristic parameter value.
Specifically, as shown in fig. 3, in this embodiment, the obtained characteristic parameter values are printed into a log in a preset format according to a preset format, and then the log is stored.
And the server may call the interface and transmit the characteristic parameter value to the server when receiving an interface request of the target data sent by the target client, where the interface request includes the characteristic parameter value of the target client.
And S23, when the preset time is reached, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, and determining the number of target pages.
It should be noted that, in this embodiment, when the preset time is reached, the logs stored in the server may be pulled, and then the characteristic parameter values in the multiple logs are sent to a preset target training model, as shown in fig. 4, the target training model may determine the optimal mapping according to the input parameters, so as to obtain the target paging number.
Specifically, this embodiment further provides a specific implementation manner that sends the characteristic parameter values included in the log to a preset target training model to determine the number of target pages, including:
acquiring a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, and a first weight of a residual electric quantity of the target client relative to an interface success rate of the target client and an interface response speed of the target client;
acquiring a second weight of the interface success rate of the target client and the interface response speed of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
The weight is the importance degree of a certain factor or index relative to a certain event, which is different from the general specific gravity, and is not only the percentage of the certain factor or index, but also the relative importance degree of the factor or index is emphasized, and the contribution degree or importance is prone to be realized. In the scheme, firstly, the memory utilization rate of the corresponding client, the CPU utilization rate of the target client, the CPU hardware parameter of the target client, the memory hardware parameter of the target client, the storage capacity of the target client, the network speed parameter of the network where the target client is located, the networking mode of the target client and the parameter value of the residual electric quantity of the target client are obtained one by one under the success rate of each interface, then the weight of each parameter at the same interface success rate is determined, and the weight is determined to be a first weight.
For example, specific values of parameters under different interface success rates are obtained for multiple times, taking 4 interface success rates as an example, assuming that the obtained interface success rate 1 is 80%, the obtained interface success rate 2 is 90%, the obtained interface success rate 3 is also 80%, and the obtained interface success rate 4 is 30%.
And then, acquiring parameter values corresponding to the interface success rate 1 one by one, wherein the memory utilization rate of the target client is 50%, the CPU hardware parameter of the target client is a four-core processor, the memory hardware parameter of the target client is 4G, the storage capacity of the target client is 16G, the network speed parameter of the network where the target client is located is 1M/s, the networking mode of the target client is a mobile network, and the residual electric quantity of the target client is 60%.
Obtaining various parameter values corresponding to the interface success rate 2, for example, the memory utilization rate of the target client is 30%, the CPU hardware parameter of the target client is an eight-core processor, the memory hardware parameter of the target client is 6G, the storage capacity of the target client is 64G, the network speed parameter of the network where the target client is located is 3M/s, the networking mode of the target client is a Wifi network, and the remaining capacity of the target client is 95%.
Obtaining various parameter values corresponding to the interface success rate 3, for example, the memory utilization rate of the target client is 40%, the CPU utilization rate of the target client is 60%, the CPU hardware parameter of the target client is a four-core processor, the memory hardware parameter of the target client is 4G, the storage capacity of the target client is 16G, the network speed parameter of the network where the target client is located is 1.5M/s, the networking mode of the target client is a mobile network, and the remaining power of the target client is 50%.
Obtaining various parameter values corresponding to the interface success rate 4, for example, the memory utilization rate of the target client is 90%, the CPU hardware parameter of the target client is a dual-core processor, the memory hardware parameter of the target client is 2G, the storage capacity of the target client is 8G, the network speed parameter of the network where the target client is located is 0.5M/s, the networking mode of the target client is a mobile network, and the remaining power of the target client is 5%.
And then inputting the parameters into a neural network training model for training to obtain first weights of the parameters on the interface success rate. For example, when the memory utilization of the target client is less than 90%, the first weight of the memory utilization of the target client relative to the interface success rate is determined to be 1/8. When the memory utilization rate of the target client is greater than or equal to 90%, determining that the first weight of the memory utilization rate of the target client relative to the interface success rate is 1/16. As another example, when the networking mode of the target client is a mobile network, the first weight of the networking mode of the target client with respect to the interface success rate is 1/8. When the networking mode of the target client is the Wifi network, the first weight of the networking mode of the target client with respect to the interface success rate is 1/4.
And similarly, acquiring a first weight of each parameter relative to the interface response speed of the target client. Then, a second weight of the interface success rate of the target client and the interface response speed of the target client with respect to each number of split pages may be set. Or determining the interface success rate of the target client and a second weight of the interface response speed of the target client relative to each paging number according to the relationship between the corresponding interface success rate and the interface response speed under the paging data. Then, the target page number is determined based on the first weight and the second weight.
For example, the second weight of the interface success rate of the target client to each divided number may be set to 1/2, and the second weight of the interface response speed of the target client to each divided number may also be set to 1/2.
Alternatively, the interface success rate when the paging data is 2 is acquired is 80% and the interface corresponding speed is 2 s. The interface success rate when the paging data is 4 is obtained to be 80% and the interface corresponding speed is 1 s. The interface success rate when the paging data is 6 is obtained to be 100% and the interface response speed is 0.5 s.
And then fitting the data, and calculating to obtain the interface success rate of the target client and a second weight of the interface response speed of the target client relative to each sub-page number.
In addition, in this embodiment, the page number corresponding to the maximum value of the sum of the first weight and the second weight is determined as the target page number. For example, when the first weight is 1/2 and the second weight is 1/4, the corresponding page number is 2. When the first weight is 1/2, the second weight is 1/2, and the corresponding number of scores is 3, then, when the number of pages is 2, the sum of the first weight and the second weight is 1/2+1/4 equals 3/4, when the number of pages is 3, the sum of the first weight and the second weight is 1/2+1/2 equals 1, and 1 is greater than 3/4, then the number of pages 3 corresponding to the maximum value of the sum of the first weight and the second weight is determined as the target number of pages.
Therefore, the target paging number can be determined according to characteristic parameter values of the client, such as load conditions, network conditions, system configuration information of the client and the like, so that the target paging number is more suitable for current target data transmission, the data transmission rate is further improved, the interface success rate is improved, and the user experience is improved.
In addition, on the basis of the above embodiment, the target data may be paged according to the target paging number and sent to the target client. Namely, the target data is transmitted in pages according to the target page number.
In summary, as shown in fig. 5, fig. 5 is a signaling flowchart of a method for determining a split number according to an embodiment of the present invention. The method comprises the steps that a server obtains characteristic parameter values of a target client, a log with a preset format is determined based on the characteristic parameter values, when preset time is up, the log is pulled, the characteristic parameter values included in the log are sent to a preset target training model, and the number of target pages is determined. And the client receives the target data according to the target paging number.
In the following, a server provided in the embodiment of the present application is introduced, and the server described below and the method for determining the number of pages described in the server perspective are referred to correspondingly. As shown in fig. 6, a block diagram of a server provided in the embodiment of the present application is shown, and referring to fig. 6, the server may include
An obtaining module 61, configured to obtain a characteristic parameter value of a target client, where the characteristic parameter value represents configuration information and an interface state of the target client;
a determining module 62, configured to determine a log in a preset format based on the characteristic parameter value;
and the pulling module 63 is configured to, when the preset time is reached, pull the log and send the characteristic parameter values included in the log to a preset target training model to determine the number of target pages.
In addition, as shown in fig. 7, the apparatus for determining the number of pages to be paged provided in this embodiment further includes a sending module 71, where the sending module 71 is configured to page the target data according to the target page number, and send the paged sub data to the target client.
Specifically, as shown in fig. 8, the obtaining module 61 includes:
a first obtaining unit 81, configured to obtain an interface request sent by the target client, where the interface request includes a characteristic parameter value of the target client.
In addition, the characteristic parameter values include one or more of memory utilization rate of the target client, CPU hardware parameter of the target client, memory hardware parameter of the target client, storage capacity of the target client, network speed parameter of a network where the target client is located, networking mode of the target client, remaining power of the target client, interface success rate of the target client, and interface response speed of the target client; the pulling module comprises:
a second obtaining unit, configured to obtain a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a first weight of a remaining power of the target client with respect to an interface success rate of the target client and an interface response speed of the target client;
a third obtaining unit, configured to obtain a second weight, where the second weight is an interface success rate of the target client and an interface response speed of the target client relative to each sub-page number;
a first determining unit configured to determine that the page number corresponding to a maximum value of a sum of the first weight and the second weight is the target page number.
The working principle of the device is the same as that of the method embodiment, namely the target paging number can be determined according to characteristic parameter values of the client, such as load conditions, network conditions, system configuration information of the client and the like, so that the target paging number is more suitable for current target data transmission, the data transmission rate is further improved, the interface success rate is improved, and the user experience degree is improved.
The above describes the software functional module architecture of the server, and on the hardware structure of the server, the server can implement the determination scheme of the paging number by the following ways:
fig. 9 is a block diagram of a hardware structure of a server according to an embodiment of the present application, and referring to fig. 9, the server may include: a processor 111, a communication interface 112, a memory 113, and a communication bus 114;
the processor 111, the communication interface 112 and the memory 113 are communicated with each other through a communication bus 114;
alternatively, the communication interface 112 may be an interface of a communication module, such as an interface of a GSM module;
a processor 111 for executing programs;
a memory 113 for storing programs;
the program may include program code including computer operating instructions.
The processor 111 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present application.
The memory 113 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Among them, the procedure can be specifically used for:
acquiring a characteristic parameter value of a target client, wherein the characteristic parameter value represents configuration information and an interface state of the target client;
determining a log with a preset format based on the characteristic parameter value;
and when the preset time is up, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, and determining the number of target pages.
Optionally, the method further includes:
and paging the target data according to the target paging number, and sending the paged subdata to the target client.
Optionally, the obtaining the characteristic parameter value of the target client includes:
and acquiring an interface request sent by the target client, wherein the interface request comprises a characteristic parameter value of the target client.
Optionally, the characteristic parameter values include one or more parameters of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client; the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, and a first weight of a residual electric quantity of the target client relative to an interface success rate of the target client and an interface response speed of the target client;
acquiring a second weight of the interface success rate of the target client and the interface response speed of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
Optionally, the determining the target page number based on the first weight and the second weight includes:
determining the page number corresponding to the maximum value of the sum of the first weight and the second weight as the target page number.
The working principle of the server please refer to the above method embodiment, which is not repeated herein, and the target paging number is determined according to characteristic parameter values of the client, such as load condition, network condition, system configuration information of the client, and the like, so that the target paging number is more suitable for current target data transmission, and further, the data transmission rate is increased, the interface success rate is increased, and the user experience is improved.
In summary, the present application provides a method, an apparatus, and a system for determining a paging number, where the method for determining a paging number is applied to a server, and first obtains a characteristic parameter value of a target client, where the characteristic parameter value includes one or more parameters of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client. And then determining the log with a preset format based on the characteristic parameter value. And then when the preset time is reached, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, training the characteristic parameters by the target training model, and determining the optimal mapping, wherein the output of the optimal mapping is the target paging number. Therefore, the target paging number can be determined according to characteristic parameter values of the client, such as load conditions, network conditions, system configuration information of the client and the like, so that the target paging number is more suitable for current target data transmission, the data transmission rate is further improved, the interface success rate is improved, and the user experience is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this 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 application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for determining the number of pages is applied to a server and comprises the following steps:
acquiring a characteristic parameter value of a target client, wherein the characteristic parameter value represents configuration information and an interface state of the target client; the characteristic parameters representing the configuration information of the target client comprise characteristic parameters representing the current load condition of the target client, characteristic parameters representing the system configuration of the target client and/or characteristic parameters representing the network condition of the target client;
determining a log with a preset format based on the characteristic parameter value;
when the preset time is up, pulling the log, sending the characteristic parameter values included in the log to a preset target training model, and determining the number of target pages;
the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a first weight of a characteristic parameter value representing the configuration information of the target client relative to a characteristic parameter value representing the interface state of the target client;
acquiring a second weight of a characteristic parameter value representing the interface state of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
2. The method for determining the number of pages as claimed in claim 1, further comprising:
and paging the target data according to the target paging number, and sending the paged subdata to the target client.
3. The method for determining the number of pages as claimed in claim 1, wherein the obtaining the characteristic parameter value of the target client comprises:
and acquiring an interface request sent by the target client, wherein the interface request comprises a characteristic parameter value of the target client.
4. The method for determining the page number according to claim 1, wherein the characteristic parameter values include one or more of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client;
the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, and a first weight of a residual electric quantity of the target client relative to an interface success rate of the target client and an interface response speed of the target client;
acquiring a second weight of the interface success rate of the target client and the interface response speed of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
5. The method for determining the number of pages as claimed in claim 4, wherein the determining the target number of pages based on the first weight and the second weight comprises:
determining the page number corresponding to the maximum value of the sum of the first weight and the second weight as the target page number.
6. A split page number determination apparatus, applied to a server, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a characteristic parameter value of a target client, and the characteristic parameter value represents configuration information and an interface state of the target client; the characteristic parameters representing the configuration information of the target client comprise characteristic parameters representing the current load condition of the target client, characteristic parameters representing the system configuration of the target client and/or characteristic parameters representing the network condition of the target client;
the determining module is used for determining a log with a preset format based on the characteristic parameter value;
the pulling module is used for pulling the log and sending the characteristic parameter values included in the log to a preset target training model when preset time is reached, so as to determine the number of target pages;
the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a first weight of a characteristic parameter value representing the configuration information of the target client relative to a characteristic parameter value representing the interface state of the target client;
acquiring a second weight of a characteristic parameter value representing the interface state of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
7. The apparatus for determining the page count according to claim 6, further comprising:
and the sending module is used for paging the target data according to the target paging number and sending the paged subdata to the target client.
8. The apparatus for determining the page count according to claim 6, wherein the obtaining module includes:
a first obtaining unit, configured to obtain an interface request sent by the target client, where the interface request includes a characteristic parameter value of the target client.
9. The device for determining the page count according to claim 6, wherein the characteristic parameter values include one or more of a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a remaining power of the target client, an interface success rate of the target client, and an interface response speed of the target client; the pulling module comprises:
a second obtaining unit, configured to obtain a memory utilization rate of the target client, a CPU hardware parameter of the target client, a memory hardware parameter of the target client, a storage capacity of the target client, a network speed parameter of a network where the target client is located, a networking mode of the target client, a first weight of a remaining power of the target client with respect to an interface success rate of the target client and an interface response speed of the target client;
a third obtaining unit, configured to obtain a second weight, where the second weight is an interface success rate of the target client and an interface response speed of the target client relative to each sub-page number;
a first determining unit configured to determine that the page number corresponding to a maximum value of a sum of the first weight and the second weight is the target page number.
10. A system for determining the number of pages comprises a client and a server,
the server is used for obtaining a characteristic parameter value of a target client, wherein the characteristic parameter value represents configuration information and an interface state of the target client, determining a log in a preset format based on the characteristic parameter value, pulling the log and sending the characteristic parameter value included in the log to a preset target training model when preset time is reached, and determining the number of target pages;
the client is used for receiving target data according to the target paging number;
the characteristic parameters representing the configuration information of the target client comprise characteristic parameters representing the current load condition of the target client, characteristic parameters representing the system configuration of the target client and/or characteristic parameters representing the network condition of the target client;
the step of sending the characteristic parameter values included in the log to a preset target training model and determining the number of target pages comprises the following steps:
acquiring a first weight of a characteristic parameter value representing the configuration information of the target client relative to a characteristic parameter value representing the interface state of the target client;
acquiring a second weight of a characteristic parameter value representing the interface state of the target client relative to each sub-page number;
and determining the target paging number based on the first weight and the second weight.
CN201910250038.7A 2019-03-29 2019-03-29 Method, device and system for determining split page number Active CN109962920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910250038.7A CN109962920B (en) 2019-03-29 2019-03-29 Method, device and system for determining split page number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910250038.7A CN109962920B (en) 2019-03-29 2019-03-29 Method, device and system for determining split page number

Publications (2)

Publication Number Publication Date
CN109962920A CN109962920A (en) 2019-07-02
CN109962920B true CN109962920B (en) 2022-02-08

Family

ID=67025312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910250038.7A Active CN109962920B (en) 2019-03-29 2019-03-29 Method, device and system for determining split page number

Country Status (1)

Country Link
CN (1) CN109962920B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8090911B2 (en) * 2009-04-16 2012-01-03 International Business Machines Corporation Selecting a target number of pages for allocation to a partition
CN104063392A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Loading method and device for reading content
CN105843956A (en) * 2016-04-14 2016-08-10 北京搜狐新媒体信息技术有限公司 Paging query method and system
CN107145551A (en) * 2017-04-27 2017-09-08 努比亚技术有限公司 A kind of server and data export method
CN108287868A (en) * 2017-12-19 2018-07-17 北京国电通网络技术有限公司 A kind of data base querying, data block division methods and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100476820C (en) * 2006-02-27 2009-04-08 株式会社日立制作所 Access server and method for generating client interface on client terminals
US9106721B2 (en) * 2012-10-02 2015-08-11 Nextbit Systems Application state synchronization across multiple devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8090911B2 (en) * 2009-04-16 2012-01-03 International Business Machines Corporation Selecting a target number of pages for allocation to a partition
CN104063392A (en) * 2013-03-20 2014-09-24 腾讯科技(深圳)有限公司 Loading method and device for reading content
CN105843956A (en) * 2016-04-14 2016-08-10 北京搜狐新媒体信息技术有限公司 Paging query method and system
CN107145551A (en) * 2017-04-27 2017-09-08 努比亚技术有限公司 A kind of server and data export method
CN108287868A (en) * 2017-12-19 2018-07-17 北京国电通网络技术有限公司 A kind of data base querying, data block division methods and device

Also Published As

Publication number Publication date
CN109962920A (en) 2019-07-02

Similar Documents

Publication Publication Date Title
CN109451002B (en) CDN node selection method and equipment
CN111008075B (en) Load balancing system, method, device, equipment and medium
CN110471749B (en) Task processing method, device, computer readable storage medium and computer equipment
CN109889451B (en) Network speed limiting system and method and server
CN110933136A (en) Service node selection method, device, equipment and readable storage medium
CN110445632B (en) Method and device for preventing client from crashing
CN112311720B (en) Data transmission method and device
CN104202305A (en) Transcoding processing method and device, server
CN113905091B (en) Method and device for processing access request
CN110248211B (en) Live broadcast room message current limiting method and device, electronic equipment and storage medium
CN109962920B (en) Method, device and system for determining split page number
CN107592553A (en) A kind of compression of images agency balance processing method and processing device
CN110196805B (en) Data processing method, data processing apparatus, storage medium, and electronic apparatus
CN110266814B (en) Transmission method and transmission device
CN108521382A (en) A kind of message method, apparatus and system
CN114363379A (en) Vehicle data transmission method and device, electronic equipment and medium
CN114339252A (en) Data compression method and device
CN114090927A (en) Page loading method and device, computer equipment and storage medium
CN113746920A (en) Data forwarding method and device, electronic equipment and computer readable storage medium
CN111401490A (en) Two-dimensional code obtaining method and related device
CN115314160B (en) Mobile communication data traffic management method and device
CN114827281B (en) Method, system and device for sending and receiving network request
CN115348231B (en) Message processing method, device, server side and storage medium
CN113472842B (en) User state perception method in mobile edge computing network and related equipment
CN114969800A (en) Data mean value statistical method and device for privacy protection

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