CN112913267B - Resource processing method, device, terminal, server and readable storage medium - Google Patents

Resource processing method, device, terminal, server and readable storage medium Download PDF

Info

Publication number
CN112913267B
CN112913267B CN201880096263.3A CN201880096263A CN112913267B CN 112913267 B CN112913267 B CN 112913267B CN 201880096263 A CN201880096263 A CN 201880096263A CN 112913267 B CN112913267 B CN 112913267B
Authority
CN
China
Prior art keywords
terminal
target
server
resolution
target resource
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
CN201880096263.3A
Other languages
Chinese (zh)
Other versions
CN112913267A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112913267A publication Critical patent/CN112913267A/en
Application granted granted Critical
Publication of CN112913267B publication Critical patent/CN112913267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

A resource processing method, device, terminal, server and computer readable storage medium. The method comprises the following steps: determining first resolution information, the first resolution information being indicative of a resolution of the terminal (402); sending a download request to the server, the download request including the first resolution information (404); and receiving a target data packet corresponding to the downloading request by the server, wherein the target data packet carries one or more target resources, and the target resources are all suitable for the first resolution (406).

Description

Resource processing method, device, terminal, server and readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a resource processing method, apparatus, terminal, server, and computer-readable storage medium.
Background
Electronic devices are often provided with a display screen for interface display. Because the resolution of each electronic device display screen is different, pictures with different formats and different sizes can be displayed in the display screens with different resolutions. Therefore, in order to adapt to display screens with different resolutions, a plurality of sets of different resolution resources are often stored in the electronic device for adapting to the display screens with different resolutions.
However, the conventional multi-resolution resource adaptation method may increase the size of the storage space of the electronic device, resulting in excessive occupation of the storage space of the electronic device.
Disclosure of Invention
The embodiment of the application provides a resource processing method, a resource processing device, a terminal, a server and a computer readable storage medium.
A resource processing method is applied to a terminal and comprises the following steps:
determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal;
sending a downloading request to a server, wherein the downloading request comprises the first resolution information;
and receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
A resource processing method is applied to a server and comprises the following steps:
acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal;
searching a corresponding target data packet according to the downloading request, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution;
and sending the target data packet to the terminal.
A terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to: determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; sending a downloading request to a server, wherein the downloading request comprises the first resolution information; and receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
A server comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to: acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; searching a corresponding target data packet according to the downloading request, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution; and sending the target data packet to the terminal.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to: determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; sending a downloading request to a server, wherein the downloading request comprises the first resolution information; and receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to: acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; searching a corresponding target data packet according to the downloading request, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution; and sending the target data packet to the terminal.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment of a resource handling method in one embodiment;
FIG. 2 is a block diagram of a terminal in one embodiment;
FIG. 3 is a schematic diagram of an embodiment of a server architecture;
FIG. 4 is a flow diagram of a method for resource handling in one embodiment;
FIG. 5 is a flowchart illustrating a method for determining a target resource version, according to one embodiment;
FIG. 6 is a flow diagram of a method for resource handling in another embodiment;
FIG. 7 is a flow diagram of a method for finding a destination packet in one embodiment;
FIG. 8 is a flow diagram illustrating interaction between a terminal and a server in one embodiment;
FIG. 9 is a block diagram showing the structure of a resource processing apparatus according to one embodiment;
FIG. 10 is a block diagram showing the construction of a resource processing apparatus according to another embodiment;
fig. 11 is a block diagram showing a part of the structure of a cellular phone according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first version number could be termed a second version number, and, similarly, a second version number could be termed a first version number, without departing from the scope of the present application. Both the first version number and the second version number are version numbers, but they are not the same version number.
FIG. 1 is a diagram illustrating an application environment of a resource processing method according to an embodiment. As shown in fig. 1, the application environment includes a terminal 110 and a server 120, where the terminal 110 may determine first resolution information and send a download request to the server 120, and after receiving the download request sent by the terminal 110, the server 120 may search for a corresponding target data packet according to the download request and send the searched target data packet to the terminal 110. It is understood that the terminal 110 may be a smart phone, a tablet computer, a personal digital assistant, etc., and the server 120 may be a cloud server, a stand-alone server, or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a schematic diagram of the internal structure of a terminal is provided. The terminal includes a processor, a memory, a display, and a network interface connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole terminal. The memory is used for storing data, programs, and/or instruction codes, and the like, and the memory stores at least one computer program which can be executed by the processor to realize the resource processing method suitable for the terminal provided in the embodiment of the application. The Memory may include a non-volatile Memory medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access Memory (RAM). For example, in one embodiment, the memory includes non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a resource processing method provided by various embodiments of the present application. The internal memory provides a cached execution environment for the operating system and computer programs in the non-volatile storage medium. The display may be used to display information, e.g., to display various interfaces, etc. The network interface may be an ethernet card or a wireless network card, etc., and is used for communicating with an external electronic device, such as a server.
Fig. 3 is a schematic diagram of an internal structure of the server in one embodiment. As shown in fig. 3, the server includes a processor, a memory, and a network interface connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole server. The memory may include non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a resource processing method provided by the embodiment of the application. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, and is used for communicating with an external electronic device, for example, may be used for communicating with other servers and terminals. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
It will be understood by those skilled in the art that the configurations shown in fig. 2 and 3 are only block diagrams of a part of the configurations related to the present application, and do not constitute a limitation of the terminal or server to which the present application is applied, and a specific terminal or server may include more or less components than those shown in the figures, or may combine some components, or have different arrangements of components.
In an embodiment, a resource processing method is provided and is exemplified by being applied to the terminal, as shown in fig. 4, the method includes the following operations:
in operation 402, first resolution information is determined, the first resolution information being indicative of a resolution of the terminal.
Resolution refers to the precision of the display screen, i.e. the number of pixels of the image that can be displayed by the display screen. The resolution may be composed of a horizontal component and a vertical component, wherein the horizontal component and the vertical component may be specific numerical values. For example, the resolution of the display screen may be 1024 × 786, the horizontal component is 1024, and the vertical component is 786. The first resolution information comprises a first resolution, and the first resolution in the first resolution information is used for indicating the current resolution of the terminal display screen. The terminal may determine the current first resolution of the display screen of the terminal, for example, the current resolution of the terminal is 1024 × 786, and the terminal may determine the current first resolution of the display screen of the terminal is 1024 × 786.
In operation 404, a download request is sent to the server, where the download request includes the first resolution information.
The download request is a terminal-generated request for downloading data from a server. The download request may include information such as the first resolution information, the terminal identification of the terminal, etc. The terminal identifier of the terminal is used for distinguishing different terminals.
The terminal can establish a connection relation with the server through the network interface. Specifically, the terminal and the server may perform data transmission according to a HyperText Transfer Protocol (HTTP) Protocol, may also perform data transmission according to a Buffer Protocol (PB) Protocol, and may also perform data transmission according to the HTTP Protocol and the PB Protocol. The terminal may send the download request to the server through at least one of an HTTP protocol and a PB protocol.
In operation 406, a target data packet corresponding to the download request is received from the server, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
The target data packet carries one or more target resources, the target resources refer to resolution resources used for adapting to the first resolution, and the target resources may include pictures or character strings. The target resource is adapted to the first resolution, which means that the target resource can be displayed on the terminal with the current resolution being the first resolution. For example, the first resolution of the terminal is 1024 × 786, and the target resource with the resolution of 1024 × 786, that is, the picture with the resolution of 1024 × 786, may be displayed on the terminal.
After sending a download request to a server, a terminal may receive a target data packet corresponding to the download request sent by the server, where one or more target resources are stored in the target data packet. In one embodiment, the terminal may install the received target data packet after receiving the target data packet, and the terminal may perform display according to a target resource in the target data packet when running the target data packet.
In this embodiment, by determining first resolution information, where the first resolution information is used to indicate a resolution of a terminal, a download request is sent to a server, where the download request includes the first resolution information, and a target data packet corresponding to the download request is received from the server, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution. The terminal can receive the target data packet which is sent by the server and corresponds to the downloading request, and because one or more target resources are stored in the target data packet, a plurality of target resources do not need to be stored locally in the terminal, so that the storage space of the terminal can be saved.
In one embodiment, a plurality of applications may be installed on the terminal, and the applications may display pictures through a display screen of the terminal. The terminal can obtain the target resource from the target data packet after receiving the target data packet sent from the server. And the target resources acquired by the terminal are used by the target application program during running. For example, the target application installed on the terminal is a photo application, the target resource in the target data packet acquired by the terminal from the server is a target resource with a resolution of 1024 × 786, and the terminal may use the target resource with the resolution of 1024 × 786 when running the photo application.
In one embodiment, the provided resource processing method may further include a process of generating a download request, where the specific process includes: and judging whether the target resource is stored locally in the terminal, and if the target resource is not stored locally in the terminal, generating a downloading request.
The terminal can judge whether the target resource is stored locally or not by itself and obtain a judgment result. When the judgment result obtained by the terminal is that the target resource is not stored locally in the terminal, the terminal indicates that the terminal needs to acquire the target resource from the server, and the terminal can generate a downloading request for requesting the server to download the target resource; when the terminal obtains the judgment result that the terminal locally stores the target resource, the terminal does not need to acquire the target resource from the server, and the terminal does not need to generate a downloading request.
In one embodiment, the terminal may determine whether the target resource is stored locally by detecting the running of the application. Specifically, the terminal may detect whether the application program is running for the first time, and when the terminal detects that the application program is running for the first time, it indicates that the target resource is not stored locally in the terminal, and the terminal may generate a download request for requesting the server to download the target resource.
In one embodiment, the terminal may determine whether the terminal locally stores the target resource by detecting the running data in the target application. The running data in the target application program comprises target resources. Specifically, the terminal may determine whether the operation data in the target application is cleared, and when the target application is restarted after the operation data is cleared, the target resource on the terminal is cleared, that is, the terminal may determine that the target resource is not stored locally in the terminal.
In this embodiment, by determining whether the target resource is stored locally in the terminal, if the target resource is not stored locally in the terminal, the download request is generated. By judging whether the target resource is locally stored in the terminal or not, if the target resource is locally stored in the terminal, the terminal does not need to generate a downloading request, and resources can be saved.
In another embodiment, the terminal may determine whether the target resource stored locally at the terminal is the latest version, and obtain a determination result. When the judgment result obtained by the terminal indicates that the target resource locally stored by the terminal is not the latest version, the terminal needs to acquire the target resource from the server, and then the terminal can generate a downloading request for requesting the server to download the target resource; when the judgment result obtained by the terminal is that the target resource locally stored by the terminal is the latest version, the target resource does not need to be acquired from the server by the terminal, and the terminal does not generate a downloading request.
In an embodiment, when the latest version of the target resource exists on the server, the terminal may receive the version number of the target resource pushed by the server, and the terminal may determine whether the target resource locally stored by the terminal is the latest version according to the version number of the target resource pushed by the server.
In one embodiment, when the latest version of the target resource exists on the server, the terminal may receive the latest version of the target resource from the server for adapting the first resolution.
In one embodiment, the terminal may send the version number of the target resource stored locally in the terminal to the server, the server determines whether the target resource stored in the terminal is the latest version of the target resource, and when the server determines that the target resource stored in the terminal is not the latest version of the target resource, the server may send the latest version of the target resource to the terminal.
In another embodiment, as shown in fig. 5, the provided resource processing method may further include a process of determining whether a target resource locally stored in the terminal is a latest version, and the specific operations include:
operation 502 sends a version number request to the server.
The terminal may send a version number request to the server before sending a download request to the server. The version number request is generated by the terminal for requesting the version number of the target resource stored in the server.
At operation 504, a version number request is received from the server for a corresponding first version number, where the first version number is used to represent a version of the target resource stored in the server.
The target resource stored in the server may have multiple versions, each of which may be tagged with a version number. The first version number is used to represent the version of the target resource stored in the server. The first version number may be a string of numbers. For example, the first version number of the target resource in the server may be V1.1.1.5. After sending the version number request to the server, the terminal may receive the first version number of the target resource in the server sent by the server.
In operation 506, the first version number is compared with a second version number, where the second version number is used to indicate a version of a target resource locally stored by the terminal.
The second version number refers to a version number of a target resource locally stored by the terminal. The terminal stores the target broken resource and a second version number corresponding to the target resource, and the terminal can compare the received first version number of the target resource stored in the server with the second version number of the target resource in the terminal. For example, the second version number of the target resource in the terminal is v1.1.1.2, the first version number of the target resource in the server is v1.1.1.5, the terminal may compare the first version number v1.1.1.5 with the second version number v1.1.1.2, compare from the first bit of the version number, compare the second bit of the version number when the first bit of the version number is the same, compare the third bit of the version number when the second bit of the version number is the same, and so on.
When the terminal compares the first version number with the second version number, the first version number and the second version number are compared from the first bit of the version number, and when all the digits of the version numbers are the same, the first version number and the second version number are the same. For example, the first version number is v1.1.1.5, the second version number is v1.1.1.5, the terminal first compares the first bit of the first version number with the first bit of the second version number, the first bit of the first version number and the first bit of the second version number are both 1, the second bit of the first version number and the second bit of the second version number are both 1, the third bit of the first version number and the third bit of the second version number are both 1, the fourth bit of the first version number and the fourth bit of the second version number are both 5, and then the first version number is the same as the second version number. When the terminal compares the first version number with the second version number, the first bit of the first version number is compared with the first bit of the second version number, and when the first bit of the first version number is larger than the first bit of the second version number, the first version number is larger than the second version number; when the first bit of the first version number is smaller than the first bit of the second version number, the first version number is smaller than the second version number; when the first digit of the first version number is equal to the first digit of the second version number, the terminal may combine the second digit of the first version number with the second digit of the second version number, and so on. For example, the first version number is v1.1.1.5, the second version number is v1.1.1.2, the terminal may sequentially compare the first bit, the second bit, and the third bit of the first version number with the first bit, the second bit, and the third bit of the second version number, and when the terminal obtains that the third bit of the first version number is the same as the third bit of the second version number, the terminal may compare the fourth bit of the first version number with the fourth bit of the second version number, where the fourth bit of the first version number is 5, the fourth bit of the second version number is 2, the fourth bit of the first version number is greater than the fourth bit of the second version number, and the first version number is greater than the second version number.
In operation 508, when the first version number is greater than the second version number, it is determined that the target resource stored locally by the terminal is not the latest version.
After the terminal compares the first version number with the second version number, a comparison result can be obtained. For example, the first version number of the target resource in the server received by the terminal is v1.1.1.5, the second version number of the target resource in the terminal is v1.1.1.2, and the terminal may compare the first version number v1.1.1.5 with the second version number v1.1.1.2 to obtain a comparison result that the first version number is greater than the second version number.
When the comparison result obtained by the terminal is that the first version number is greater than the second version number, the terminal can determine that the target resource locally stored by the terminal is not the latest version; when the comparison result obtained by the terminal is that the first version number is less than or equal to the second version number, the terminal may determine that the target resource locally stored by the terminal is the latest version.
In this embodiment, a version number request is sent to a server, a first version number corresponding to the version number request is received from the server, the first version number is used to indicate a version of a target resource stored in the server, the first version number is compared with a second version number, the second version number is used to indicate a version of the target resource locally stored in a terminal, and when the first version number is greater than the second version number, it is determined that the target resource locally stored in the terminal is not the latest version. When the comparison result obtained by the terminal is that the first version number is greater than the second version number, the target resource stored in the terminal is not the latest version, the terminal can generate a downloading request for requesting the target resource of the latest version to the server, the target resources of all versions do not need to be stored in the terminal, and the storage space of the terminal is saved.
In an embodiment, the provided resource processing method may further include a process of sending a download request to the server according to the use frequency and the current time of the target application program, and specifically includes: acquiring the use frequency of a target application program, and acquiring corresponding reference time from the established corresponding relation between the use frequency of the target application program and the reference time according to the use frequency; acquiring the current moment; and when the current time reaches the reference time, sending a downloading request to the server.
The usage frequency of the target application refers to the number of times the target application is used per unit time length. For example, the frequency of use of the target application is 3 times per month. The reference time may be a specific time. For example, the reference time may be 1 month, 1 day, 9 o' clock, 30 minutes. The terminal can pre-establish the corresponding relation between the use frequency of the target application program and the reference time, and the higher the use frequency of the target application program is, the more forward the corresponding reference time is. The terminal can count the use frequency of the target application program in unit time, determine the update frequency of the target application program according to the use frequency of the target application program in unit time, and determine the reference time according to the update frequency of the target application program. For example, when the usage frequency of the target application program in 1 month is counted by the terminal to be 10 times, the update frequency of the target application program can be determined to be updated once a month; when the usage frequency of the target application program in 1 month is counted by the terminal to be 5 times, the update frequency of the target application program can be determined to be updated once in two months. When the update frequency of the target application is updated once a month, the terminal may determine the reference time to be 8 o' clock 30 on the first day of each month; when the update frequency of the target application is once updated for two months, the terminal may determine the reference time to be 8 o' clock 30 on the first day every two months.
The terminal can acquire the use frequency of the target application program, search in a pre-established corresponding relation between the use frequency of the target application program and the reference time according to the acquired use frequency, and search for the reference time corresponding to the acquired use frequency.
The terminal can also obtain the current time through a built-in timer. For example, the current time recorded by the timer is 16 o 'clock and 30 minutes, and the terminal can acquire that the current time is 16 o' clock and 30 minutes through the timer.
After the terminal acquires the current time, the acquired current time can be compared with the reference time. When the comparison result obtained by the terminal is that the current time reaches the reference time, the terminal may send a download request to the server. For example, the terminal may send a download request to the server when the current time acquired by the terminal is 16: 30 minutes and the reference time is also 16: 30 minutes.
The method comprises the steps of obtaining the use frequency of a target application program, obtaining corresponding reference time from the established corresponding relation between the use frequency of the target application program and the reference time according to the use frequency, obtaining the current time, and sending a downloading request to a server when the current time reaches the reference time. The terminal sends the downloading request to the server according to the use frequency of the target application program and the current moment, so that the frequency of sending the downloading request to the server by the terminal can be reduced, and the power consumption of the terminal is reduced.
In an embodiment, the provided resource processing method may further include a process of verifying the target resource, and specifically includes: acquiring a first verification code obtained by calculation according to a target resource locally stored by a terminal; receiving a second verification code which is sent by the server and corresponds to a target resource and stored in the server; and when the first verification code is the same as the second verification code, performing the operation of receiving the target data packet corresponding to the downloading request from the server.
The terminal may calculate the first check code according to a target resource locally stored by the terminal. Specifically, the terminal may convert a hash value of any length into an MD5 value of a fixed length using an MD5 algorithm. That is, the terminal may calculate the MD5 value of the target resource stored locally by the terminal using the MD5 algorithm.
When the server sends the target data packet, the server may send the second check code corresponding to the target resource in the target data packet to the terminal together. The second check code may be generated according to the target resource, and may be placed at the forefront of the target data packet or at the rearmost of the target data packet.
The terminal may compare the calculated first check code of the target resource locally stored by the terminal with the received second check code of the target resource stored in the server, and when the first check code is completely the same as the second check code, it indicates that the target data packet received by the terminal is complete, and there is no modified target data packet.
The method comprises the steps of obtaining a first verification code obtained through calculation according to a target resource locally stored in a terminal, receiving a second verification code which is sent by a server and corresponds to the target resource stored in the server, and executing the operation of receiving a target data packet corresponding to a downloading request from the server when the first verification code is the same as the second verification code. The terminal verifies the target resource, so that the safety and the integrity of the target resource in the received target data packet are ensured.
In an embodiment, the provided resource processing method may further include a process of determining whether to send a download request to the server according to the network connection state by the terminal, and specifically includes: acquiring the size of a target data packet sent by a server; detecting the network type of a network connected with a terminal, and acquiring a corresponding resource threshold value according to the network type; and when the size of the target data packet is smaller than the resource threshold value, executing the operation of sending a downloading request to the server.
The size of the destination packet may be a specific value, for example, the size of the destination packet may be 56MB (MByte). The network type of the network may be a wireless network type, a 3G data traffic type, a 4G data traffic type, etc., and is not limited herein. The resource threshold may be a specific value, for example, the resource threshold may be 1024MB. The terminal may store a resource threshold corresponding to the network type, for example, the resource threshold corresponding to the wireless network type is 1024MB, the resource threshold corresponding to the 4G data traffic type is 100MB, and the resource threshold corresponding to the 3G data traffic type is 20MB. The resource threshold corresponding to the network type may be set by the user through the terminal itself, or may be generated by the terminal.
Before the terminal sends a download request to the server, the terminal may obtain the size of the target data packet sent by the server. The terminal can detect the network type of the network connected with the terminal and acquire the corresponding resource threshold value according to the network type. For example, the terminal detects that the network type of the network to which the terminal is connected is a 4G data traffic type, and the terminal may acquire that the resource threshold corresponding to the 4G data traffic type is 100MB. After acquiring the size of the target data packet sent by the server and the resource threshold corresponding to the network type, the terminal may compare the size of the target data packet with the resource threshold, and when the size of the target data packet is smaller than the resource threshold, the terminal may execute an operation of sending a download request to the server. For example, the size of a target data packet sent by the server and acquired by the terminal is 50MB, the network type of the network to which the terminal is connected is a 4G data traffic type, the corresponding resource threshold is 100MB, the size of the target data packet is 50MB smaller than the resource threshold 100MB, and the terminal may perform an operation of sending a download request to the server.
In this embodiment, the network type of the network to which the terminal is connected is detected by obtaining the size of the target data packet sent by the server, and the corresponding resource threshold value is obtained according to the network type, and when the size of the target data packet is smaller than the resource threshold value, the operation of sending the download request to the server is executed. The network type of the network connected with the terminal corresponds to the resource threshold, and the terminal executes the operation of sending the downloading request to the server only when the size of the target data packet is smaller than the resource threshold, so that the power consumption of the terminal can be reduced.
In another embodiment, a resource processing method is provided and is exemplified by being applied to the server, as shown in fig. 6, the method includes the following operations:
in operation 602, a download request including first resolution information sent by a terminal is obtained, where the first resolution information is used to indicate a resolution of the terminal.
The server can establish a connection relation with the terminal through the network interface. Specifically, the terminal and the server can perform data transmission through a hypertext transfer protocol HTTP protocol, can also perform data transmission through a buffer protocol PB protocol, and the server can also perform data transmission with the terminal according to the HTTP protocol and the PB protocol.
The terminal may transmit the download request to the server with first resolution information indicating a resolution of the terminal. The server can obtain the download request sent by the terminal through at least one data transmission protocol of an HTTP protocol and a PB protocol.
In operation 604, a corresponding target data packet is searched according to the download request, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
The target data packet carries one or more target resources, the target resources refer to resolution resources used for adapting to the first resolution, and the target resources may include pictures or character strings. The target resource is adapted to the first resolution means that the target resource can be displayed on the terminal with the current resolution being the first resolution.
The download request includes the first resolution information. The target data packet carries one or more target resources, and the target resources are adapted to the first resolution. After receiving the download request sent by the terminal, the server may extract the first resolution information in the download request, search for the corresponding target resource according to the first resolution information, and then search for the corresponding target data packet according to the target resource.
In operation 606, the destination data packet is sent to the terminal.
After the server finds the target data packet corresponding to the downloading request, the server can send the found target data packet to the terminal.
In this embodiment, a download request including first resolution information sent by a terminal is obtained, where the first resolution information is used to indicate a resolution of the terminal, a corresponding target data packet is searched according to the download request, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution, and the target data packet is sent to the terminal. The server can search the corresponding target data packet according to the downloading request sent by the terminal, so that the terminal can acquire the target resource in the target data packet without downloading various target data packets, and the storage space of the terminal can be saved.
As shown in fig. 7, in an embodiment, the provided resource processing method may further include a process of searching for a corresponding target data packet according to the download request, where the specific operations include:
in operation 702, first resolution information in the download request is extracted.
The first resolution information is used to indicate a resolution of the terminal. After the server receives the download request sent by the terminal, the server may extract the first resolution information in the download request.
In operation 704, second resolution information is searched for which the difference with the first resolution information is minimum, and the second resolution information is used for representing the resolution of the target resource in the server.
The second resolution information is used to indicate the resolution of the target resource in the server, and since the target data packet of the server carries one or more target resources, a plurality of pieces of second resolution information may be stored in the server. After extracting the first resolution information in the download request, the server may obtain the difference between the first resolution information and the second resolution information. The server may compare the plurality of acquired difference values and acquire the second resolution information having the smallest difference value from the first resolution information.
In operation 706, a target data packet where the target resource corresponding to the second resolution information is located is obtained.
After the server acquires the second resolution information with the minimum difference value with the first resolution information, the server can search the target resource corresponding to the second resolution information, and acquire the target data packet of the target resource according to the searched target resource.
In this embodiment, by extracting the first resolution information in the download request, the second resolution information with the smallest difference with the first resolution information is searched, where the second resolution information is used to indicate the resolution of the target resource in the server, and the target data packet where the target resource corresponding to the second resolution information is located is obtained. The server searches the corresponding target data packet according to the first resolution information in the downloading request sent by the terminal, and can quickly and accurately search the target data packet needing to be sent to the terminal, so that the efficiency of searching the target data packet by the server is improved.
In an embodiment, the provided resource processing method may further include a process of searching for a target resource, and the specific operations include: receiving a version number request sent by a terminal; searching a first version number corresponding to the version number request, wherein the first version number is used for representing the version of the target resource stored in the server; and sending the first version number to the terminal.
The target resource may have multiple versions, each of which may be tagged with a version number. The first version number refers to a version number of a target resource stored in the server, and the first version number may be a string of numbers. For example, the first version number of the target resource may be V1.1.1.5.
After receiving the version number request of the terminal, the server can search the target resource of the latest version in the target resources stored in the server, and acquire the first version number of the target resource of the latest version. The server can send the acquired first version number of the target resource of the latest version to the terminal.
In an embodiment, the provided resource processing method may further include a process of searching for second resolution information having a minimum difference with the first resolution information, and the specific operations include: and respectively acquiring the difference between the resolution in each piece of second resolution information and the resolution in the first resolution information, and acquiring the second resolution information corresponding to the resolution with the minimum difference.
The server may store a plurality of target resources, and the target resources may correspond to the second resolution information. After extracting the first resolution information in the download request sent by the terminal, the server may respectively calculate a difference between the resolution in the second resolution information and the resolution in the first resolution information of the target resource stored in the server. Wherein the server calculates an absolute value of a difference between the resolution in the second resolution information and the resolution in the first resolution information.
For example, the server stores 4 target resources, which are respectively a target resource a, a target resource B, a target resource C, and a target resource D, where the resolution in the second resolution information of the target resource a is 640 × 480, the resolution in the second resolution information of the target resource B is 640 × 460, the resolution in the second resolution information of the target resource C is 640 × 440, the resolution in the second resolution information of the target resource D is 640 × 420, and the resolution in the first resolution information in the download request sent by the terminal extracted by the server is 640 490. The server may calculate absolute values of the resolution in the second resolution information for target resource a, the resolution in the second resolution information for target resource B, the resolution in the second resolution information for target resource C, and the difference between the resolution in the second resolution information for target resource D and the resolution in the first resolution information, respectively, to be 10, 30, 50, and 70, respectively. The server may obtain the second resolution information corresponding to the resolution with the minimum absolute value of the difference, for example, the minimum absolute value of the difference is 10, the corresponding resolution is the second resolution information of the target resource a, and the server may obtain the resolution 640 × 480 in the second resolution information of the target resource a.
In an embodiment, the provided resource processing method may further include a process of acquiring, according to the horizontal component of the resolution, second resolution information corresponding to the resolution with the minimum difference, specifically including: and respectively extracting a first horizontal component of the resolution in the second resolution corresponding to each target resource and a second horizontal component of the resolution in the first resolution information, respectively calculating a difference value between the first horizontal component and the second horizontal component, and acquiring the resolution in the second resolution information corresponding to the first horizontal component with the minimum difference value.
The resolution may be composed of a horizontal component and a vertical component, wherein the horizontal component and the vertical component may be specific numerical values. For example, the resolution of the display screen may be 1024 × 786, the horizontal component is 1024, and the vertical component is 786. The first horizontal component refers to a horizontal component of the resolution of the target resource stored in the server, and the second horizontal component refers to a horizontal component of the resolution in the first resolution information transmitted by the terminal. The target data packet of the server may have a plurality of target resources stored therein, and the server may extract the first level component of the resolution of the stored target resources, respectively. The difference between the first horizontal component and the second horizontal component calculated by the server may be an absolute value of the difference.
For example, the target resources stored in the server include a target resource a, a target resource B, and a target resource C, where the resolution of the target resource a is 1024 × 786, the resolution of the target resource B is 800 × 600, the resolution of the target resource C is 1152 × 864, the server may extract that the first horizontal component of the resolution of the target resource a is 1024, the first horizontal component of the resolution of the target resource B is 800, the first horizontal component of the target resource C is 1152, the resolution in the first resolution information sent by the terminal received by the server is 1280, and the server may extract that the second horizontal component of the resolution in the first resolution information is 1280. The server may calculate the absolute value of the difference between the first horizontal component and the second horizontal component, respectively, for example, the server may calculate the absolute value of the difference between the second horizontal component 1280 and the first horizontal component 1024 of the target resource a as 156, the absolute value of the difference between the second horizontal component 1280 and the first horizontal component 800 of the target resource B as 480, and the absolute value of the difference between the second horizontal component 1280 and the first horizontal component 1152 of the target resource C as 128, and the server may acquire that the absolute value of the difference between the first horizontal component and the second horizontal component is the smallest absolute value of the difference between the second horizontal component and the first horizontal component of the target resource C, and the server may acquire the resolution 1152 × 864 of the target resource C.
In an embodiment, the provided resource processing method may further include a process of obtaining, according to a vertical component of the resolution, a resolution in the second resolution information with the smallest difference, and specifically includes: and respectively extracting a first vertical component of the resolution in the second resolution information corresponding to each target resource and a second vertical component of the resolution in the first resolution information, respectively calculating a difference value between the first vertical component and the second vertical component, and acquiring the resolution in the second resolution information corresponding to the first vertical component with the minimum difference value.
The first vertical component refers to a vertical component of a resolution in second resolution information corresponding to the target resource in the server, and the second vertical component refers to a vertical component of a resolution in the first resolution information received by the server and sent by the terminal. The server stores a plurality of target resources, and the server may extract a vertical component of the resolution in the second resolution information of the stored plurality of target resources, and may also extract a vertical component of the resolution in the first resolution information transmitted by the terminal.
For example, the server stores target resource a, target resource B, and target resource C, where the resolution of target resource a is 1024 × 786, the resolution of target resource B is 800 × 600, the resolution of target resource C is 1152 × 864, the server may extract that the first vertical component of the resolution of target resource a is 786, the first vertical component of target resource B is 600, the first vertical component of target resource C is 864, the resolution of the first resolution information sent by the terminal that the server receives is 1280 × 960, and the server may extract that the second vertical component of the resolution of the first resolution information is 960. The server may calculate the absolute value of the difference between the first vertical component and the second vertical component, respectively, for example, the server may calculate the absolute value of the difference between the second vertical component 960 and the first vertical component 786 of the target resource a as 174, the absolute value of the difference between the second vertical component 960 and the first vertical component 600 of the target resource B as 360, the absolute value of the difference between the second vertical component 960 and the first vertical component 864 of the target resource C as 96, the server may obtain that the absolute value of the difference between the first vertical component and the second vertical component is the smallest absolute value of the difference between the second vertical component and the first vertical component of the target resource C, and the server may obtain the resolution 1152 × 864 in the second resolution information of the target resource C.
In an embodiment, the provided resource processing method may further include a process of obtaining, according to the horizontal component and the vertical component of the resolution, the resolution in the second resolution information with the smallest difference, and specifically includes: respectively extracting a first horizontal component and a first vertical component of the resolution in the second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of the resolution in the first resolution information; respectively calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component; calculating the sum of the horizontal difference and the vertical difference; the resolution in the second resolution information whose sum value is the smallest is acquired.
The first horizontal component and the first vertical component refer to a horizontal component and a vertical component of resolution in second resolution information of a target resource stored in the server, and the second horizontal component and the second vertical component refer to a horizontal component and a vertical component of resolution in the first resolution information transmitted by the terminal and received by the server. Wherein, the horizontal difference refers to the absolute value of the difference between the first horizontal component and the second horizontal component, and the vertical difference refers to the absolute value of the difference between the first vertical component and the second vertical component. The server may extract a first horizontal component and a first vertical component of the resolution in the stored second resolution information of the target resource, respectively, and at the same time, the server may extract a second horizontal component and a second vertical component of the resolution in the first resolution information that the terminal transmits to the server.
For example, a target resource a, a target resource B, and a target resource C are stored in the server, where the resolution of the target resource a is 1024 × 786, the resolution of the target resource B is 800 × 600, the resolution of the target resource C is 1152 × 864, the server may extract that the first horizontal component of the target resource a is 1024, the first vertical component is 786, the first horizontal component of the target resource B is 800, the first vertical component is 600, the first horizontal component of the target resource C is 1152, the first vertical component is 864, the resolution in the first resolution information sent by the terminal received by the server is 1280 × 960, the server may extract that the second horizontal component of the resolution in the first resolution information is 1280, and the second vertical component is 960. The server may also calculate that the absolute value of the level difference between the second horizontal component 1280 and the first horizontal component 1024 of the target resource a is 156, the absolute value of the vertical difference between the second vertical component 960 and the first vertical component 786 of the target resource a is 174, the absolute value of the level difference between the second horizontal component 1280 and the first horizontal component 800 of the target resource B is 480, the absolute value of the vertical difference between the second vertical component 960 and the first vertical component 600 of the target resource B is 360, the absolute value of the level difference between the second horizontal component 1280 and the first horizontal component 1152 of the target resource C is 128, and the absolute value of the vertical difference between the second vertical component 960 and the first vertical component 864 of the target resource C is 96. The server may also calculate a sum of the horizontal difference and the vertical difference, the server may calculate a sum of the horizontal difference 156 and the vertical difference 174 for the target resource a as 330, a sum of the horizontal difference 480 and the vertical difference 360 for the target resource B as 840, and a sum of the horizontal difference 128 and the vertical difference 96 for the target resource C as 224, where the sum is a minimum of 224, and the server may obtain a resolution 1152 864 for the target resource C with the sum of a minimum of 224.
In an embodiment, the provided resource processing method may further include a process of calculating a sum of the horizontal difference and the vertical difference, and specifically includes: a sum of the horizontal difference value multiplied by the first coefficient and the vertical difference value multiplied by the second coefficient is calculated.
The first coefficient and the second coefficient may be specific values set by the user, for example, the first coefficient is set to 0.3, the second coefficient is set to 0.7, and the like. The server may calculate the sum of the horizontal difference multiplied by the first coefficient and the vertical difference multiplied by the second coefficient, for example, the server may calculate the sum of the horizontal difference calculated by the server as 156, the vertical difference calculated by the server as 174, the first coefficient as 0.3, and the second coefficient as 0.7, the sum of the horizontal difference calculated by the server as 156 multiplied by the first coefficient as 0.3 and the vertical difference calculated by 174 multiplied by the second coefficient as 0.7 is 168.6, and similarly, the sum of the horizontal difference calculated by the server as 480, the vertical difference calculated by the server as 360, the first coefficient as 0.3, and the second coefficient as 0.7 is 396, the sum of the horizontal difference calculated by the server as 480 and the vertical difference calculated by 360 as 360 is 360, the sum of the target resource a calculated by the server as 168.6, the sum of the target resource B as 396, and the sum of the target resource a is minimal, and the server may obtain the resolution of the target resource a as 1024 × 786.
As shown in fig. 8, in an embodiment, the provided resource processing method may further include a process of interaction between the terminal and the server, and the specific operations include:
in operation 802, the terminal determines first resolution information indicating a resolution of the terminal.
In operation 804, when the running data in the target application program is cleared and then started, the terminal determines that the target resource is not stored locally in the terminal.
In operation 806, the terminal sends a version number request to the server.
In operation 808, the server searches for a first version number corresponding to the version number request, where the first version number is used to indicate a version of the target resource stored in the server.
In operation 810, the server transmits the first version number to the terminal.
In operation 812, the terminal compares the first version number with a second version number, which is used to indicate a version of the target resource locally stored by the terminal.
In operation 814, when the first version number is greater than the second version number, the terminal determines that the target resource locally stored by the terminal is not the latest version.
In operation 816, the terminal generates a download request and sends the download request to the server, where the download request includes the first resolution information.
In operation 818, the server searches a corresponding target data packet according to the download request, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
In operation 820, the server transmits the destination packet to the terminal.
In operation 822, the terminal receives a target data packet corresponding to the download request from the server, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
It should be understood that, although the operations in the above-described flowcharts are sequentially shown as indicated by arrows, the operations are not necessarily performed sequentially as indicated by the arrows. The operations may be performed in other sequences without a strict order of limitation unless explicitly stated otherwise. Moreover, at least a part of the operations in the above flowcharts may include multiple sub-operations or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-operations or the stages is not necessarily sequential, but may be performed alternately or alternately with other operations or at least a part of the sub-operations or stages of other operations.
Fig. 9 is a block diagram of a resource processing apparatus according to an embodiment, and as shown in fig. 9, the apparatus includes: an information determining module 910, a request sending module 920 and a target data packet receiving module 930, wherein:
an information determining module 910, configured to determine first resolution information, where the first resolution information is used to indicate a resolution of the terminal.
The request sending module 920 is configured to send a download request to the server, where the download request includes the first resolution information.
A destination data packet receiving module 930, configured to receive a destination data packet corresponding to the download request from the server, where the destination data packet carries one or more destination resources, and the destination resources are all adapted to the first resolution.
In one embodiment, a resource processing apparatus is provided, in which a terminal is installed with a target application, and a target resource is used for representing a resource used by the target application when running.
In an embodiment, a resource processing module provided may further include a first target resource determining module, a second target resource determining module, and a download request generating module, where:
and the first target resource judging module is used for judging whether the terminal stores the target resource locally.
And the download request generation module is used for generating a download request if the target resource is not stored locally in the terminal.
And the second target resource judging module is used for judging whether the target resource locally stored in the terminal is the latest version.
And the download request generation module is also used for generating a download request if the target resource locally stored by the terminal is not the latest version.
In an embodiment, the first target resource determining module is further configured to determine that the target resource is not stored locally in the terminal when the running data in the target application is started after being cleared, where the running data includes the target resource.
In one embodiment, the second target resource determining module is further configured to send a version number request to the server, receive, from the server, a first version number corresponding to the version number request, where the first version number is used to indicate a version of a target resource stored in the server, compare the first version number with a second version number, where the second version number is used to indicate a version of the target resource locally stored in the terminal, and determine that the target resource locally stored in the terminal is not the latest version when the first version number is greater than the second version number.
As shown in fig. 10, in another embodiment, a resource processing apparatus is provided, which may include: a download request obtaining module 1010, a target data packet searching module 1020, and a target data packet sending module 1030, wherein:
a download request obtaining module 1010, configured to obtain a download request that includes first resolution information and is sent by a terminal, where the first resolution information is used to indicate a resolution of the terminal.
And a target data packet searching module 1020, configured to search a corresponding target data packet according to the download request, where the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
A destination data packet sending module 1030, configured to send a destination data packet to a terminal.
In an embodiment, the target packet searching module 1020 is further configured to extract the first resolution information in the download request, search for second resolution information with a smallest difference from the first resolution information, where the second resolution information is used to indicate a resolution of a target resource in the server, and obtain a target packet where the target resource corresponding to the second resolution information is located.
The division of the modules in the resource processing apparatus is only for illustration, and in other embodiments, the processing apparatus of the application program may be divided into different modules as needed to complete all or part of the functions of the resource processing apparatus.
For the specific limitation of the resource processing device, reference may be made to the above limitation of the resource processing method, which is not described herein again. The modules in the resource processing apparatus may be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the terminal or the server, and can also be stored in a memory in the terminal or the server in a software form, so that the processor can call and execute operations corresponding to the modules.
The embodiment of the application further provides the electronic equipment. As shown in fig. 11, for convenience of description, only the portions related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portion of the embodiments of the present application. Take an electronic device as a mobile phone as an example:
fig. 11 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 11, the cellular phone includes: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1110 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the downlink information to the processor 1180; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE)), e-mail, short Messaging Service (SMS), and the like.
The memory 1120 may be used to store software programs and modules, and may also be used to store an application installation package, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1100. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, which may also be referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. In one embodiment, the touch panel 1131 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 1140 may perform display according to resolution. The display unit 1140 may include a display panel 1141. In one embodiment, the Display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1131 can cover display panel 1141, and when touch panel 1131 detects a touch operation thereon or nearby, the touch operation is transmitted to processor 1180 to determine the type of touch event, and then processor 1180 provides a corresponding visual output on display panel 1141 according to the type of touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1100 can also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, can detect the magnitude of acceleration in each direction through the acceleration sensor, can detect the magnitude and the direction of gravity when the mobile phone is static, and can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), vibration identification related functions (such as pedometer and knocking) and the like; in addition, the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1160, speaker 1161 and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, and the electrical signal is received by the audio circuit 1160 and then converted into audio data, and then the audio data is processed by the audio data output processor 1180, and then the audio data is sent to another mobile phone through the RF circuit 1110, or the audio data is output to the memory 1120 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although a WiFi module 1170 is shown in fig. 11, it is understood that it is not a required component of the cell phone 1100 and may be omitted as desired.
The processor 1180 is a control center of the mobile phone, and connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by running or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Processor 1180 may also perform application updates based on the application installation package. In one embodiment, the processor 1180 may include one or more processing units. In one embodiment, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The cell phone 1100 also includes a power supply 1190 (e.g., a battery) for providing power to various components, which may be logically coupled to the processor 1180 via a power management system, such that the power management system may be configured to manage charging, discharging, and power consumption.
In one embodiment, the cell phone 1100 can also include a camera, a bluetooth module, and the like.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the resource processing method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform a resource handling method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (24)

1. A resource processing method is applied to a terminal, and the method comprises the following steps:
determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal;
acquiring the size of a target data packet sent by a server; detecting the network type of a network connected with a terminal, and acquiring a corresponding resource threshold value according to the network type; when the size of the target data packet is smaller than a resource threshold value, sending a downloading request to a server so that the server searches a corresponding target data packet according to the downloading request, wherein the downloading request comprises the first resolution information; wherein, the searching for the corresponding target data packet according to the download request includes: extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located;
acquiring a first verification code obtained by calculation according to a target resource locally stored by a terminal; receiving a second verification code corresponding to a target resource stored in the server and sent by the server; and when the first verification code is the same as the second verification code, receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
2. The method according to claim 1, wherein the terminal is installed with a target application program, and the target resource is used for representing the resource used by the target application program in operation.
3. The method of claim 2, wherein prior to said sending a download request to a server, the method further comprises:
judging whether the terminal locally stores the target resource;
if the target resource is not stored locally in the terminal, the downloading request is generated;
or the like, or, alternatively,
judging whether the target resource locally stored by the terminal is the latest version;
and if the target resource locally stored by the terminal is not the latest version, generating the downloading request.
4. The method of claim 3, wherein the determining whether the terminal locally stores the target resource comprises:
when the running data in the target application program is cleared and then started, determining that the target resource is not stored locally in the terminal;
wherein, the running data comprises the target resource.
5. The method according to claim 3, wherein the determining whether the target resource stored locally by the terminal is the latest version comprises:
sending a version number request to the server;
receiving a first version number corresponding to the version number request from the server, wherein the first version number is used for representing the version of a target resource stored in the server;
comparing the first version number with a second version number, wherein the second version number is used for representing the version of a target resource locally stored by the terminal;
when the first version number is larger than the second version number, determining that the target resource locally stored by the terminal is not the latest version.
6. A resource processing method is applied to a server, and the method comprises the following steps:
acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; the downloading request is sent when the terminal judges that the size of a target data packet is smaller than a resource threshold value corresponding to the network type of a network connected with the terminal, and the size of the target data packet is sent to the terminal by the server;
extracting the first resolution information in the download request;
respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server;
acquiring the target data packet where the target resource corresponding to the second resolution information is located, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution;
sending a second verification code corresponding to the stored target resource to the terminal, so that the terminal sends the target data packet to the terminal when judging that the second verification code is the same as the first verification code; the first verification code is obtained by the terminal through calculation according to the target resource locally stored by the terminal.
7. A resource processing apparatus, applied to a terminal, the apparatus comprising: the device comprises an information determining module, a request sending module and a target data packet receiving module, wherein:
the information determining module is configured to determine first resolution information, where the first resolution information is used to indicate a resolution of the terminal;
the request sending module is used for obtaining the size of a target data packet sent by the server; detecting the network type of a network connected with a terminal, and acquiring a corresponding resource threshold value according to the network type; when the size of a target data packet is smaller than a resource threshold value, sending a downloading request to a server so that the server searches a corresponding target data packet according to the downloading request, wherein the downloading request comprises the first resolution information; wherein, the searching for the corresponding target data packet according to the download request comprises: extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located;
the target data packet receiving module is used for acquiring a first verification code calculated according to a target resource locally stored by the terminal; receiving a second verification code which is sent by the server and corresponds to a target resource and stored in the server; and when the first verification code is the same as the second verification code, receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution ratio.
8. The apparatus according to claim 7, wherein the terminal is installed with a target application, and the target resource is used for representing the resource used by the target application when running.
9. The apparatus of claim 8, further comprising a first target resource determining module, a second target resource determining module, and a download request generating module, wherein:
the first target resource judging module is configured to judge whether the terminal locally stores the target resource;
the download request generation module is configured to generate the download request if the target resource is not stored locally in the terminal;
or the like, or a combination thereof,
the second target resource judging module is configured to judge whether the target resource locally stored in the terminal is the latest version;
the download request generation module is further configured to generate the download request if the target resource locally stored by the terminal is not the latest version.
10. The apparatus according to claim 9, wherein the first target resource determining module is further configured to determine that the target resource is not stored locally in the terminal when the running data in the target application is cleared and then started; wherein, the running data comprises the target resource.
11. The apparatus of claim 9, wherein the second target resource determining module is further configured to send a version number request to the server; receiving a first version number corresponding to the version number request from the server, wherein the first version number is used for representing the version of a target resource stored in the server; comparing the first version number with a second version number, wherein the second version number is used for representing the version of a target resource locally stored by the terminal; when the first version number is larger than the second version number, determining that the target resource locally stored by the terminal is not the latest version.
12. A resource processing apparatus, applied to a server, the apparatus comprising: download request acquisition module, target data package search module and target data package sending module, wherein:
the download request acquisition module is configured to acquire a download request including first resolution information sent by a terminal, where the first resolution information is used to indicate a resolution of the terminal; the downloading request is sent when the terminal judges that the size of a target data packet is smaller than a resource threshold value corresponding to the network type of a network connected with the terminal, and the size of the target data packet is sent to the terminal by the server;
the target data packet searching module is used for extracting the first resolution information in the downloading request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution;
the target data packet sending module is configured to send a second verification code corresponding to a stored target resource to the terminal, so that the terminal sends the target data packet to the terminal when determining that the second verification code is the same as the first verification code; the first verification code is obtained by the terminal through calculation according to the target resource locally stored by the terminal.
13. A terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to:
determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; acquiring the size of a target data packet sent by a server; detecting the network type of a network connected with a terminal, and acquiring a corresponding resource threshold value according to the network type; when the size of a target data packet is smaller than a resource threshold value, sending a downloading request to a server so that the server searches a corresponding target data packet according to the downloading request, wherein the downloading request comprises the first resolution information; wherein, the searching for the corresponding target data packet according to the download request includes: extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located; acquiring a first verification code obtained by calculation according to a target resource locally stored by a terminal; receiving a second verification code corresponding to a target resource stored in the server and sent by the server; and when the first verification code is the same as the second verification code, receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution ratio.
14. The terminal according to claim 13, wherein the terminal is installed with a target application, and the target resource is used for representing the resource used by the target application when running.
15. The terminal according to claim 14, wherein the computer program, when executed by the processor, further performs the following prior to performing the sending of the download request to the server:
judging whether the terminal locally stores the target resource; if the target resource is not stored locally in the terminal, generating the downloading request; or, judging whether the target resource stored locally by the terminal is the latest version; and if the target resource locally stored by the terminal is not the latest version, generating the downloading request.
16. A terminal according to claim 15, wherein the computer program, when executed by the processor, causes the processor, when performing the determining whether the target resource is stored locally at the terminal, to further:
when the running data in the target application program is cleared and then started, determining that the target resource is not stored locally in the terminal; wherein the running data comprises the target resource.
17. A terminal according to claim 15, wherein the computer program, when executed by the processor, causes the processor, when performing the determining whether the target resource stored locally at the terminal is a latest version, further performs the following:
sending a version number request to the server; receiving a first version number corresponding to the version number request from the server, wherein the first version number is used for representing the version of a target resource stored in the server; comparing the first version number with a second version number, wherein the second version number is used for representing the version of a target resource locally stored by the terminal; and when the first version number is larger than the second version number, determining that the target resource locally stored by the terminal is not the latest version.
18. A server comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to:
acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; the downloading request is sent when the terminal judges that the size of a target data packet is smaller than a resource threshold value corresponding to the network type of a network connected with the terminal, and the size of the target data packet is sent to the terminal by the server; extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component, and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution; sending a second verification code corresponding to the stored target resource to the terminal, so that the terminal sends the target data packet to the terminal when judging that the second verification code is the same as the first verification code; the first verification code is obtained by the terminal through calculation according to the target resource locally stored by the terminal.
19. A computer-readable storage medium applied to a terminal, having a computer program stored thereon, which, when executed by a processor, causes the processor to:
determining first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; acquiring the size of a target data packet sent by a server; detecting the network type of a network connected with a terminal, and acquiring a corresponding resource threshold value according to the network type; when the size of the target data packet is smaller than a resource threshold value, sending a downloading request to a server so that the server searches a corresponding target data packet according to the downloading request, wherein the downloading request comprises the first resolution information; wherein, the process that the server searches the corresponding target data packet according to the downloading request comprises the following steps: extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component, and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located; acquiring a first verification code obtained by calculation according to a target resource locally stored by a terminal; receiving a second verification code which is sent by the server and corresponds to a target resource and stored in the server; and when the first verification code is the same as the second verification code, receiving a target data packet corresponding to the downloading request from the server, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution.
20. The computer-readable storage medium of claim 19, wherein the terminal is installed with a target application, and wherein the target resource is used to represent a resource used by the target application when running.
21. The computer-readable storage medium of claim 20, wherein when the computer program is executed by the processor, the processor further performs the following prior to performing the sending a download request to a server:
judging whether the terminal locally stores the target resource; if the target resource is not stored locally in the terminal, generating the downloading request; or, judging whether the target resource stored locally by the terminal is the latest version; and if the target resource locally stored by the terminal is not the latest version, generating the downloading request.
22. The computer-readable storage medium according to claim 21, wherein the computer program, when executed by the processor, causes the processor, when performing the determining whether the terminal locally stores the target resource, further performs:
when the running data in the target application program is cleared and then started, determining that the target resource is not stored locally in the terminal; wherein, the running data comprises the target resource.
23. The computer-readable storage medium of claim 21, wherein the computer program, when executed by the processor, causes the processor, when performing the determining whether the target resource stored locally at the terminal is a latest version, further performs the following:
sending a version number request to the server; receiving a first version number corresponding to the version number request from the server, wherein the first version number is used for representing the version of a target resource stored in the server; comparing the first version number with a second version number, wherein the second version number is used for representing the version of a target resource locally stored by the terminal; and when the first version number is larger than the second version number, determining that the target resource locally stored by the terminal is not the latest version.
24. A computer-readable storage medium for a server, having a computer program stored thereon, which, when executed by a processor, causes the processor to:
acquiring a downloading request which is sent by a terminal and comprises first resolution information, wherein the first resolution information is used for representing the resolution of the terminal; the downloading request is sent when the terminal judges that the size of a target data packet is smaller than a resource threshold value corresponding to the network type of a network connected with the terminal, and the size of the target data packet is sent to the terminal by the server; extracting the first resolution information in the download request; respectively extracting a first horizontal component and a first vertical component of resolution in second resolution information corresponding to each target resource, and a second horizontal component and a second vertical component of resolution in the first resolution information; calculating a horizontal difference value between the first horizontal component and the second horizontal component and a vertical difference value between the first vertical component and the second vertical component, respectively; calculating a sum of the horizontal difference multiplied by a first coefficient and the vertical difference multiplied by a second coefficient; acquiring second resolution information with the minimum sum value; the second resolution information is used for representing the resolution of a target resource in the server; acquiring the target data packet where the target resource corresponding to the second resolution information is located, wherein the target data packet carries one or more target resources, and the target resources are all adapted to the first resolution; sending a second verification code corresponding to the stored target resource to the terminal, so that the terminal sends the target data packet to the terminal when judging that the second verification code is the same as the first verification code; the first verification code is obtained by the terminal through calculation according to the target resource locally stored by the terminal.
CN201880096263.3A 2018-09-25 2018-09-25 Resource processing method, device, terminal, server and readable storage medium Active CN112913267B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/107218 WO2020061731A1 (en) 2018-09-25 2018-09-25 Resource processing method, electronic device, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112913267A CN112913267A (en) 2021-06-04
CN112913267B true CN112913267B (en) 2023-01-31

Family

ID=69950314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880096263.3A Active CN112913267B (en) 2018-09-25 2018-09-25 Resource processing method, device, terminal, server and readable storage medium

Country Status (2)

Country Link
CN (1) CN112913267B (en)
WO (1) WO2020061731A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124924A (en) * 2020-08-25 2022-03-01 深圳市欢太科技有限公司 Method, equipment and system for determining configuration information
CN116781976B (en) * 2023-08-28 2023-12-22 深圳市华曦达科技股份有限公司 Program display method, device and system for intelligent television box

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825938A (en) * 2014-01-26 2014-05-28 北京卓易讯畅科技有限公司 Method of downloading resources and device
CN106598678A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Method and device for supplying application installation packages to terminal equipment
WO2018120429A1 (en) * 2016-12-28 2018-07-05 平安科技(深圳)有限公司 Resource update method, terminal, computer readable storage medium and resource update device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050124317A1 (en) * 2003-11-21 2005-06-09 Diego Kaplan System and method for wireless connectivity toolkit
CN101312567A (en) * 2007-05-25 2008-11-26 上海美通无线网络信息有限公司 Method for J2M3 customer terminal of mobile phone to use dynamic updated data resource
CN102137390A (en) * 2010-12-13 2011-07-27 华为软件技术有限公司 Method, equipment and system for downloading mobile phone software
JP2014233068A (en) * 2013-04-30 2014-12-11 株式会社リコー Communication management system, communication management method and program
US9537784B2 (en) * 2014-06-05 2017-01-03 International Business Machines Corporation Network-specific data downloading to a mobile device
KR101630524B1 (en) * 2014-08-26 2016-06-14 삼성에스디에스 주식회사 Web service system and method for multi-language support
CN106162316A (en) * 2015-04-15 2016-11-23 腾讯科技(深圳)有限公司 The data processing method of a kind of video flowing, device and system
CN105278995B (en) * 2015-11-03 2019-03-15 努比亚技术有限公司 Management method, system, server and the mobile terminal of application program
CN105959799A (en) * 2016-05-27 2016-09-21 北京金山安全软件有限公司 Video compression method and device and electronic equipment
CN108363817B (en) * 2018-03-21 2020-08-18 Oppo广东移动通信有限公司 File processing method and device, mobile terminal and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825938A (en) * 2014-01-26 2014-05-28 北京卓易讯畅科技有限公司 Method of downloading resources and device
CN106598678A (en) * 2016-12-20 2017-04-26 北京小米移动软件有限公司 Method and device for supplying application installation packages to terminal equipment
WO2018120429A1 (en) * 2016-12-28 2018-07-05 平安科技(深圳)有限公司 Resource update method, terminal, computer readable storage medium and resource update device

Also Published As

Publication number Publication date
WO2020061731A1 (en) 2020-04-02
CN112913267A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN106161628B (en) Shooting file uploading method and device
CN107679559B (en) Image processing method, image processing device, computer-readable storage medium and mobile terminal
CN110147237B (en) Redundant resource removing method and device
CN111313500B (en) Charging management method and device, electronic equipment and computer readable storage medium
US10587741B2 (en) Communication event processing method and apparatus
CN107766747B (en) Method for verifying integrity of application program installation package, mobile terminal and server
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
CN108549698B (en) File processing method and device, mobile terminal and computer readable storage medium
CN107562539B (en) Application program processing method and device, computer equipment and storage medium
CN108834132B (en) Data transmission method and equipment and related medium product
CN112148579B (en) User interface testing method and device
US10621259B2 (en) URL error-correcting method, server, terminal and system
WO2018049935A1 (en) Data migration method and terminals
WO2018161540A1 (en) Fingerprint registration method and related product
CN108563754B (en) File processing method and device, mobile terminal and computer readable storage medium
CN112913267B (en) Resource processing method, device, terminal, server and readable storage medium
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN109144596B (en) Quick starting method, device, terminal, server and system
WO2018228206A1 (en) Method, device and nonvolatile computer-readable medium for image composition
CN106020945B (en) Shortcut item adding method and device
CN108256466B (en) Data processing method and device, electronic equipment and computer readable storage medium
US9826568B2 (en) Method, system and computer-readable storage medium for reducing data transmission delay
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
CN110753914B (en) Information processing method, storage medium and mobile terminal
CN108881969B (en) Method and device for drawing bullet screen and mobile terminal

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