CN109753207B - Information processing method and device and storage medium - Google Patents

Information processing method and device and storage medium Download PDF

Info

Publication number
CN109753207B
CN109753207B CN201711066456.8A CN201711066456A CN109753207B CN 109753207 B CN109753207 B CN 109753207B CN 201711066456 A CN201711066456 A CN 201711066456A CN 109753207 B CN109753207 B CN 109753207B
Authority
CN
China
Prior art keywords
multimedia data
target application
application program
terminal
display
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
CN201711066456.8A
Other languages
Chinese (zh)
Other versions
CN109753207A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711066456.8A priority Critical patent/CN109753207B/en
Publication of CN109753207A publication Critical patent/CN109753207A/en
Application granted granted Critical
Publication of CN109753207B publication Critical patent/CN109753207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses an information processing method, which comprises the following steps: detecting that a target application program requests multimedia data; acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of a terminal operating the target application program; acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal; and determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or image processing characteristics represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter. The embodiment of the invention also discloses an information processing device and a storage medium.

Description

Information processing method and device and storage medium
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method, an information processing apparatus, and a storage medium.
Background
An image resolution adaptation scheme of an existing application program (APP) is generally determined according to the resolution of a hardware screen, that is, under the condition that the resolution of the hardware screen is fixed, an image resolution adaptation rule of the APP is also fixed and unchanged; for example, for a screen with a resolution of 1080P, when the APP makes an image request to the background, the request message may carry the resolution of the screen, and after receiving the request message, the background may determine the image resolution matched with the screen resolution based on the carried screen resolution, and then feed back the determined image resolution to the APP, so that the APP can obtain an image with the resolution. Obviously, the existing image resolution adaptation scheme is relatively fixed and cannot be adjusted according to the real-time situation, so that poor experience is brought to the user.
Disclosure of Invention
In order to solve the technical problems in the prior art, embodiments of the present invention provide an information processing method, an information processing apparatus, and a storage medium, which can at least solve the above problems in the prior art.
The technical scheme of the embodiment of the invention is realized as follows:
a first aspect of an embodiment of the present invention provides an information processing method, including:
detecting that a target application program requests multimedia data;
acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of a terminal operating the target application program;
acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
and determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or image processing characteristics represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter.
A second aspect of an embodiment of the present invention provides an information processing apparatus, including:
a detection unit for detecting that a target application requests multimedia data;
an obtaining unit, configured to obtain an operating environment feature of the target application, where the operating environment feature can at least represent resource occupation information of a terminal that operates the target application; acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
and the processing unit is used for determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or the image processing characteristics represented by the terminal capability, so that the target application program can acquire the multimedia data matched with the first display parameter.
A third aspect of an embodiment of the present invention provides an information processing apparatus, including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned method.
The information processing method, the device and the storage medium thereof in the embodiment of the invention can determine the display parameters required by displaying the multimedia data by utilizing the operating environment characteristics of the target application program and the terminal capability of the terminal operating the target application program, thus realizing the purpose of dynamically adjusting the display parameters, and not only referring to the characteristics of the terminal, but also referring to the operating environment of the target application program in the adjusting process, therefore, the embodiment of the invention is more intelligent, and lays a foundation for meeting the user requirements to the maximum and improving the user experience.
Drawings
Fig. 1 is a schematic diagram of a first implementation flow of a multi-resolution adaptation scheme for a conventional network picture;
fig. 2 is a schematic diagram illustrating a second implementation flow of a multi-resolution adaptation scheme for a network picture in the prior art;
FIG. 3 is a schematic flow chart of an implementation of an information processing method according to an embodiment of the present invention;
FIG. 4 is an information interaction diagram between an APP and a server in an application scenario according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a flow chart of an implementation of an information processing method in an application scenario according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating an implementation of calculating a target resolution indicator by using an information processing method according to an embodiment of the present invention;
FIG. 7 is a block diagram of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
The following is a specific application example of the image resolution adaptation scheme; in particular, the amount of the solvent to be used,
example one, the still image resolution adaptation scheme, namely: storing image resources meeting various screen resolutions in an Android installation Package (APK) in advance, and storing the image resources in a resource folder based on the resolutions of the image resources; for example, the screen resolution corresponding to the folder dracable-mdpi is 320 × 480, the screen resolution corresponding to the folder dracable-hdpi is 480 × 720, the screen resolution corresponding to the folder dracable-xhdpi is 720 × 1280, and the screen resolution corresponding to the folder dracable-xxhdpi is 1080 × 1920; therefore, the image resolution matched with the screen resolution can be selected based on the local image request and the local screen resolution, so that the static image resolution can be adapted.
In a second example, as shown in fig. 1, an APP enters a page and sends an image request to a background, where the image request carries parameters representing screen resolution, for example, 1080 × 1920, the background determines an image resolution matching with 1080 × 1920 according to the carried 1080 × 1920, and feeds back an image Uniform Resource Locator (URL) having the determined image resolution to the APP, and the APP can download a corresponding image based on the image URL for display.
In a third example, in a second network image resolution adaptation scheme, the image resolution adaptation scheme is adjusted correspondingly according to a network condition, as shown in fig. 2, the APP enters a page and sends an image request to the background, where the image request carries a parameter representing a screen resolution and carries a current network strength, and the background calculates the image resolution comprehensively according to the screen resolution and the network strength, for example, when the network is poor, the image resolution obtained by the background calculation is smaller; and then the image URL with the image resolution obtained by calculation is fed back to the APP, and at the moment, the APP can download the corresponding image based on the image URL to display, so that the image display is accelerated, and the waiting time of a user is reduced.
Obviously, in the above image resolution adaptation scheme, only the screen resolution is considered, and the network strength is mostly considered, but when the APP running environment is poor, for example, the memory is low and the CPU is high in occupancy, if the high resolution adaptation scheme is adopted, on one hand, the problems of higher system memory pressure and system stutter are caused, and on the other hand, if the network is poor, the problems of low download speed, long waiting time and the like are caused, which inevitably affects the user experience; alternatively, when the network is jittered for a short time, if a low resolution adaptation scheme is adopted based on only the instantaneous network strength, the user experience will be necessarily reduced.
Therefore, to solve the above problems, embodiments of the present invention provide an information processing method, an apparatus thereof, and a storage medium. So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Example one
The embodiment provides an information processing method, which is applied to an information processing device; here, in practical applications, the information processing apparatus may be specifically integrated on the terminal or integrated in a server, that is, when the information processing apparatus is specifically integrated on the terminal, the method described in this embodiment is implemented by the terminal; similarly, when the information processing apparatus is specifically integrated in a server, the method described in this embodiment is implemented by the server; of course, part of the functions of the information processing apparatus may also be integrated into the terminal, and another part of the functions may be integrated into the server. In particular, the amount of the solvent to be used,
fig. 3 is a schematic flow chart of an implementation of the information processing method according to the embodiment of the present invention, and as shown in fig. 3, the method includes:
step 301: detecting that a target application program requests multimedia data;
for example, in a specific case, step 301 may specifically detect that the target application program sends data request information requesting multimedia data.
In this embodiment, the target application is any application run by the terminal, and the user can request the page through the target application, for example, when the user requests the page through the target application, a page request message is generated, and at this time, it may be considered that the target application expects to acquire the multimedia data. Here, the multimedia data includes, but is not limited to, any one of the following information: images, audio, text, video, etc. That is, in practical applications, the page requested by the user may include one or more of image, audio, text, and video.
Step 302: acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of a terminal operating the target application program;
in this embodiment, the operating environment feature may specifically be that resource occupation conditions can be embodied by memory occupation information, CPU occupation information, and the like of the terminal that operates the target application, and the resource occupation conditions may affect related information of page response (such as analysis and presentation of the multimedia data).
Step 303: acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
in this embodiment, the terminal capability may specifically include related information used for parsing, processing, or displaying the multimedia data, and for example, specifically include: image display features, and/or image processing features. In practical applications, the image display feature may be a resolution of a display screen of the terminal, and the image processing feature may specifically be related information of an image processor in the terminal.
Step 304: and determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or image processing characteristics represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter.
In this embodiment, the resource occupation information may specifically represent the memory occupation information and/or the CPU occupation information, further, in the practical application, a preset resource occupation threshold may be set, and the current resource occupation condition is determined by comparing the actual memory occupation condition and the CPU occupation condition with the preset resource occupation threshold; similarly, the terminal processing capability can also be preset, and the terminal processing capability of the terminal is determined by matching the image display characteristics and/or the image processing characteristics corresponding to the current terminal with the preset terminal processing capability; for example, the obtained terminal capability of the terminal is matched with a preset terminal processing capability, the actual processing capability of the terminal is determined based on a matching result, for example, if the highest level in the preset terminal processing capability is met, the terminal is considered to have high-level processing capability (for example, high-level image display features and/or image processing features), at this time, a first display parameter is determined only based on resource occupation information, for example, if memory occupation information and/or CPU occupation information represented by the resource occupation information is smaller than a corresponding preset resource occupation threshold (for example, a preset memory occupation threshold/a preset CPU occupation threshold), a low-allocation policy is determined to be executed, that is, a low resolution is used as the first display parameter; and if the memory occupation information and/or the CPU occupation information represented by the resource occupation information is larger than the corresponding preset resource occupation threshold (such as a preset memory occupation threshold/a preset CPU occupation threshold), determining to execute a high-distribution strategy, namely, taking the high resolution as the first display parameter. It should be noted that the above-mentioned comparison or matching process is only for explaining the embodiment of the present invention, and in practical applications, the execution order of the above-mentioned comparison or matching may be exchanged, and the present embodiment does not limit this. Of course, the preset terminal processing capability and the preset resource occupation threshold may be set according to actual requirements, which is not limited in this embodiment.
In this embodiment, the obtained multimedia data may be terminal local data, and at this time, the multimedia data is equivalent to static data, that is, data that can be obtained without a network; of course, the data may also be data acquired from a network side, and at this time, the multimedia data is network data; further, in order to match the determined first display parameter with the network feature, the method further comprises: acquiring network environment characteristics (such as network congestion condition, residual bandwidth and other related information) corresponding to the terminal, and further determining a first display parameter based on resource occupation information represented by the operating environment characteristics, the network environment characteristics of the terminal, and image display characteristics and/or image processing characteristics represented by the terminal capability. Therefore, a foundation is further laid for improving the user experience.
In this embodiment, the first display parameter may specifically be a resolution corresponding to the multimedia data; further, the determined first display parameter is matched with the resource occupation information, the image display characteristic and the image processing characteristic, for example, when the resource occupation is large, such as the residual memory is low, the CPU occupation is high, and the network pressure is large, the resolution of the determined first display parameter is low, so that the problem of poor user experience caused by too low downloading speed and too long response time is avoided. On the contrary, when the resource occupation is less, for example, the remaining memory is more, the CPU occupation is low, the network is better, the image processing performance of the terminal is better, and the resolution of the display screen is higher, at this time, the resolution of the determined first display parameter is higher, so that the experience requirements of the user in different scenes and different environments are met.
It should be noted that, in the process of determining the first display parameter, a plurality of parameters need to be referred to, for example, a plurality of parameters such as reference resource occupation information, image display characteristics, image processing characteristics, network environment characteristics, and the like, so in practical applications, the plurality of parameters may be determined based on a specific rule to ensure that the determined first display parameter is an optimal parameter, for example, when a certain specific parameter satisfies a condition, a certain specific parameter may be ignored in the process of determining the first display parameter, for example, in a specific scenario, when the APP operating environment is good (for example, the resource occupation information is greater than a preset resource occupation threshold), the first display parameter may be determined only according to the screen resolution of the terminal, that is, the adaptation is performed only according to the screen resolution of the terminal. In another specific scenario, when the APP running environment becomes worse (if the resource occupation information is smaller than the preset resource occupation threshold), such as low memory and high CPU occupation, and the network environment is also worse, such as a weak network, at this time, the resolution is reduced, so as to reduce the overall performance consumption of the APP, improve the APP operation fluency, and further reduce the waiting time of the user.
Therefore, the display parameters required by displaying the multimedia data are determined by utilizing the operating environment characteristics of the target application program and the terminal capability of the terminal operating the target application program, so that the aim of dynamically adjusting the display parameters is fulfilled, and the operating environment of the target application program is also referred to in the adjusting process, so that the method provided by the embodiment of the invention is more intelligent, and lays a foundation for meeting the user requirements to the maximum extent and improving the user experience.
Example two
Based on the method described in the first embodiment, the embodiment of the present invention is further described in detail through two application scenarios; specifically, the method comprises the following steps:
scene one: the information processing apparatus for implementing the method of the first embodiment is integrated in a terminal, that is, the method of the first embodiment is implemented by the terminal, and at this time, after the terminal determines a first display parameter, the first display parameter is sent to a server corresponding to the target application program, so that the server is used to obtain the requested multimedia data; correspondingly, the server acquires network resource information for the multimedia data based on the first display parameter, for example, acquires a URL for the multimedia data, and then sends the network resource information to a terminal, and correspondingly, the information processing device acquires the network resource information for the multimedia data acquired by the server based on the first display parameter, and controls the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
Scene two: the information processing apparatus for implementing the method of the first embodiment is integrated in a server, that is, the method of the first embodiment is implemented by the server, and at this time, after the server determines a first display parameter, network resource information for the multimedia data is also acquired based on the first display parameter, for example, a URL for the multimedia data is acquired, and then the network resource information is sent to a terminal, so that the target application program can acquire the multimedia data matched with the first display parameter based on the network resource information.
EXAMPLE III
Based on the method described in the first embodiment or the second embodiment, the present embodiment provides two optimization schemes for the method described in the first embodiment or the second embodiment, so as to avoid the problem of low user experience caused by frequently adjusting the display parameters and the problem of reduced user experience caused by reducing the display parameters due to network jitter. In particular, the amount of the solvent to be used,
in a first optimization scheme, before acquiring the operating environment characteristics of the target application program and acquiring the terminal capability of the terminal, that is, before determining a first display parameter, the information processing apparatus, such as a terminal, needs to detect whether a preset time is reached, and when the preset time is not reached, acquire a historical display parameter, and use the historical display parameter as a display parameter of the multimedia data, so that the target application program can acquire the multimedia data matched with the historical display parameter, that is, when the preset time is not reached, the display parameter is not adjusted, and only the historical display parameter is used as a display parameter corresponding to the current multimedia data request; and after the determination time is up, executing the method of the first embodiment or the second embodiment, and using the determined first display parameter as the display parameter of the multimedia data, thereby avoiding the problem of reduced user experience caused by frequently adjusting the display parameter.
According to the second optimization scheme, after a first display parameter is determined, at least one historical display parameter in a preset time range needs to be acquired, and then a target display parameter is determined based on the at least one historical display parameter and the first display parameter, for example, an average display parameter is determined, and then the target display parameter (for example, the average display parameter) is used as a display parameter of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameter; here, since the target display parameter is determined based on the historical display parameter and the current first display parameter, the target display parameter is matched with the network condition and the resource occupation condition of the user within a period of time, rather than being instantaneous, so that the problem of reducing the user experience due to the fact that the resolution is immediately reduced by performance jitter is avoided.
Here, it should be noted that, in practical applications, the history display parameter may be determined based on the method described in the first embodiment or the second embodiment, or may be determined according to other manners, which is not limited in this embodiment.
The embodiments of the present invention are described in further detail below with reference to specific application scenarios; specifically, the terminal presets resolution identifiers, for example, preset identifiers pic _ level 0-pic _ level 3, and the meanings of the identifiers are as follows: pic _ level 0 represents that the resolution is 720P; pic _ level 1 represents that the resolution is 1080P; pic _ level 1 represents that the resolution is 2K; pic _ level 0 characterizes a resolution of 4K.
Then, after detecting the page request, the terminal APP calculates a target resolution identifier according to the screen resolution, the APP operating environment, the network condition, and the like, and carries the target resolution identifier in the page request sent to the server, specifically, as shown in fig. 4, after obtaining the page request and analyzing the obtained target resolution identifier, the server determines multimedia URL information, such as image URL information, which is specific to the page request and matches with the target resolution identifier, and then feeds the multimedia URL information back to the APP, and correspondingly, the APP obtains an image according to the multimedia URL information to display the image.
Here, as shown in fig. 5, the specific steps of determining the target resolution identifier by the APP are as follows: after detecting a page request, the APP determines whether the resolution of the APP is the current lowest resolution, for example, determines whether the screen resolution is 720P; if so, taking pic _ level 0 as a target resolution identifier; otherwise, judging whether the image processing performance of the terminal is the lowest, and if so, taking pic _ level 0 as a target resolution identifier; otherwise, calculating through a dynamic algorithm to obtain a target resolution identifier.
Further, as shown in fig. 6, the step of determining the target resolution identifier by using a dynamic algorithm includes: judging whether the target resolution is within the specified time, if so, taking the last calculation result as the target resolution mark of the time; otherwise, judging whether the current target resolution is within the specified frequency range, if so, taking the last calculation result as the current target resolution identifier, or taking the resolution identifier corresponding to the default strategy as the current target resolution identifier. Otherwise, judging whether the system is in a low memory state, if so, executing a low configuration strategy, for example, taking pic _ level 0-pic _ level 2 as a strategy corresponding to the target resolution identifier as the low configuration strategy, otherwise, judging whether the network is poor, if so, executing the low configuration strategy, otherwise, judging whether the CPU is busy, and if so, executing the low configuration strategy. Here, when the low-allocation policy is executed, the resolution identifier corresponding to the determined low-allocation policy also needs to be added to the history queue;
further, when the CPU is not busy, a high-allocation strategy is executed, and a resolution identifier corresponding to the high-allocation strategy is added into the history queue;
further, whether the proportion of the low-allocation strategy in the historical queue exceeds a preset numerical value or not is judged, if yes, the low-allocation strategy is executed, and the resolution mark corresponding to the low-allocation strategy is used as the target resolution. Otherwise, executing the high-distribution strategy, and taking the resolution corresponding to the high-distribution strategy as the target resolution.
Therefore, when the running environment of the APP is deteriorated, the target resolution determined by the dynamic algorithm can select a low-resolution strategy, and a resolution identifier corresponding to the low-resolution strategy is carried in the page request and sent to the server, so that the server can return an image URL with low resolution based on the resolution identifier in the page request; and when the running environment that APP is located is better, choose the high-resolution strategy for use to carry the resolution ratio sign that the high-resolution strategy corresponds in the page request, send to the server, so that the server returns the image URL of high resolution ratio based on the resolution ratio sign in the page request, so, realize the dynamic adaptation of resolution ratio, thereby reduce the consumption to system resource, promote the smooth degree of operation and reduce user's latency, further promote APP's user experience.
Example four
The present embodiment provides an information processing apparatus, as shown in fig. 7, the apparatus including:
a detection unit 71, configured to detect that a target application acquires multimedia data;
an obtaining unit 72, configured to obtain an operating environment characteristic of the target application, where the operating environment characteristic can at least represent resource occupation information of a terminal that operates the target application; acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
and the processing unit 73 is configured to determine a first display parameter at least based on the resource occupation information represented by the operating environment feature and the image display feature and/or the image processing feature represented by the terminal capability, so that the target application can acquire the multimedia data matched with the first display parameter.
In another specific embodiment, the obtaining unit 72 is further configured to obtain a network environment characteristic corresponding to the terminal;
correspondingly, the processing unit 73 is further configured to determine a first display parameter based on the resource occupation information represented by the operating environment feature, the network environment feature of the terminal, and the image display feature and/or the image processing feature represented by the terminal capability.
In another specific embodiment, the processing unit 73 is further configured to send the first display parameter to a server corresponding to the target application program;
the obtaining unit 72 is further configured to obtain network resource information for the multimedia data, which is obtained by the server based on the first display parameter;
correspondingly, the processing unit 73 is further configured to control the target application to obtain multimedia data matching the first display parameter based on the network resource information.
In another specific embodiment, the processing unit 73 is further configured to obtain network resource information for the multimedia data based on the first display parameter; and the network resource information is transmitted to the terminal, so that the terminal can control the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
In another specific embodiment, the processing unit 73 is further configured to:
detecting whether preset time is reached;
when the arrival is determined, acquiring historical display parameters;
and taking the historical display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the historical display parameters.
In another specific embodiment, the obtaining unit 72 is further configured to obtain at least one history display parameter in a preset time range;
correspondingly, the processing unit 73 is further configured to determine a target display parameter based on the at least one historical display parameter and the first display parameter; and taking the target display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameters.
In practical applications, the detecting Unit 71, the obtaining Unit 72, and the Processing Unit 73 can be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a Programmable Gate Array (FPGA).
The present embodiment also provides an information processing apparatus including: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the following steps when executing the computer program:
detecting that a target application program acquires multimedia data;
acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of a terminal operating the target application program;
acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
and determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or image processing characteristics represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter.
In a specific embodiment, after the target application program is detected to acquire the multimedia data, the following steps are further performed:
acquiring network environment characteristics corresponding to the terminal;
correspondingly, the determining a first display parameter at least based on the resource occupation information characterized by the operating environment feature and the image display feature and/or the image processing feature characterized by the terminal capability includes:
and determining a first display parameter based on the resource occupation information represented by the operating environment characteristic, the network environment characteristic of the terminal, and the image display characteristic and/or the image processing characteristic represented by the terminal capability.
In another embodiment, the following steps are also performed:
sending the first display parameter to a server corresponding to the target application program;
and acquiring the network resource information aiming at the multimedia data acquired by the server based on the first display parameter, and controlling the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
In another embodiment, the following steps are also performed:
acquiring network resource information aiming at the multimedia data based on the first display parameter;
and sending the network resource information to the terminal so that the terminal can control the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
In another specific embodiment, before the obtaining of the operating environment feature of the target application and the obtaining of the terminal capability of the terminal, the following steps are further performed:
detecting whether preset time is reached;
when the arrival is determined, acquiring historical display parameters;
and taking the historical display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the historical display parameters.
In another embodiment, the following steps are also performed:
acquiring at least one historical display parameter within a preset time range;
determining target display parameters based on the at least one historical display parameter and the first display parameter;
and taking the target display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameters.
Here, in practical applications, the memory may be implemented by any type of volatile or non-volatile storage device, or a combination thereof. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The described memory for embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a digital signal processor, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in a memory and that a processor reads information from the memory and in conjunction with its hardware performs the steps of the method previously described as applied to a media information handling system.
Here, it should be noted that: the above description of the embodiment of the apparatus is similar to the above description of the embodiment of the method, and has similar beneficial effects to the embodiment of the method, and therefore, the description thereof is omitted. For technical details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the description of the embodiments of the method of the present invention for understanding, and therefore, for brevity, will not be described again.
The present embodiments also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
detecting that a target application program acquires multimedia data;
acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of a terminal operating the target application program;
acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
and determining a first display parameter at least based on the resource occupation information represented by the operating environment characteristics and the image display characteristics and/or image processing characteristics represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter.
In a specific embodiment, after it is detected that the target application acquires the multimedia data, the following steps are further implemented:
acquiring network environment characteristics corresponding to the terminal;
correspondingly, the determining a first display parameter at least based on the resource occupation information characterized by the operating environment feature and the image display feature and/or the image processing feature characterized by the terminal capability includes:
and determining a first display parameter based on the resource occupation information represented by the operating environment characteristic, the network environment characteristic of the terminal, and the image display characteristic and/or the image processing characteristic represented by the terminal capability.
In another specific embodiment, the following steps are also implemented:
sending the first display parameter to a server corresponding to the target application program;
and acquiring the network resource information aiming at the multimedia data acquired by the server based on the first display parameter, and controlling the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
In another specific embodiment, the following steps are also implemented:
acquiring network resource information aiming at the multimedia data based on the first display parameter;
and sending the network resource information to the terminal so that the terminal can control the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
In another specific embodiment, before the obtaining of the operating environment feature of the target application and the obtaining of the terminal capability of the terminal, the following steps are further implemented:
detecting whether preset time is reached;
when the arrival is determined, acquiring historical display parameters;
and taking the historical display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the historical display parameters.
In another specific embodiment, the following steps are also implemented:
acquiring at least one historical display parameter within a preset time range;
determining target display parameters based on the at least one historical display parameter and the first display parameter;
and taking the target display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameters.
Here, the computer-readable storage medium may be a Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (8)

1. An information processing method, characterized in that the method comprises:
detecting that a target application program requests multimedia data;
when detecting that the preset time is not reached, acquiring historical display parameters;
taking the historical display parameters as the display parameters of the multimedia data so that the target application program can acquire the multimedia data matched with the historical display parameters;
when the preset time is detected to arrive, executing the following processing:
acquiring network environment characteristics corresponding to a terminal running the target application program;
acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of the terminal; the resource occupation information influences the analysis and/or display of the multimedia data by the terminal;
acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal;
determining a first display parameter based on the network environment feature, the resource occupation information represented by the operating environment feature, and the image display feature and/or the image processing feature represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter; wherein the content of the first and second substances,
under the condition that the network environment feature, the resource occupation information, the image display feature and/or the image processing feature represent that the environment of the target application program is poor, determining that the first display parameter is low-resolution, sending a page request carrying a low-resolution identifier to a server corresponding to the target application program, and acquiring network resource information, which is acquired by the server based on the low-resolution identifier and is specific to the multimedia data, so that the target application program acquires the multimedia data with low resolution based on the network resource information corresponding to the low-resolution identifier;
and under the condition that the network environment characteristics, the resource occupation information, the image display characteristics and/or the image processing characteristics characterize that the environment of the target application program is improved, determining that the first display parameter is high-resolution, sending a page request carrying a high-resolution identifier to a server corresponding to the target application program, and acquiring network resource information, which is acquired by the server based on the high-resolution identifier and aims at the multimedia data, so that the target application program acquires the high-resolution multimedia data based on the network resource information corresponding to the high-resolution identifier.
2. The method of claim 1, further comprising:
acquiring network resource information aiming at the multimedia data based on the first display parameter;
and sending the network resource information to the terminal so that the terminal can control the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
3. The method of claim 1, further comprising:
acquiring at least one historical display parameter within a preset time range;
determining target display parameters based on the at least one historical display parameter and the first display parameter;
and taking the target display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameters.
4. An information processing apparatus characterized in that the apparatus comprises:
a detection unit for detecting that a target application requests multimedia data;
the acquisition unit is used for acquiring historical display parameters when detecting that the preset time does not arrive; taking the historical display parameters as the display parameters of the multimedia data so that the target application program can acquire the multimedia data matched with the historical display parameters; when the preset time is detected to arrive, executing the following processing: acquiring network environment characteristics corresponding to a terminal running the target application program; acquiring the operating environment characteristics of the target application program, wherein the operating environment characteristics can at least represent the resource occupation information of the terminal; acquiring terminal capability of the terminal, wherein the terminal capability can at least represent image display characteristics and/or image processing characteristics of the terminal; the resource occupation information influences the analysis and/or display of the multimedia data by the terminal;
the processing unit is used for determining a first display parameter based on the network environment feature, the resource occupation information represented by the operating environment feature and the image display feature and/or the image processing feature represented by the terminal capability, so that the target application program can acquire multimedia data matched with the first display parameter; wherein the content of the first and second substances,
under the condition that the network environment feature, the resource occupation information, the image display feature and/or the image processing feature represent that the environment of the target application program is poor, determining that the first display parameter is low-resolution, sending a page request carrying a low-resolution identifier to a server corresponding to the target application program, and acquiring network resource information, which is acquired by the server based on the low-resolution identifier and is specific to the multimedia data, so that the target application program acquires the multimedia data with low resolution based on the network resource information corresponding to the low-resolution identifier;
and under the condition that the network environment characteristics, the resource occupation information, the image display characteristics and/or the image processing characteristics characterize that the environment of the target application program is improved, determining that the first display parameter is high-resolution, sending a page request carrying a high-resolution identifier to a server corresponding to the target application program, and acquiring network resource information, which is acquired by the server based on the high-resolution identifier and aims at the multimedia data, so that the target application program acquires the high-resolution multimedia data based on the network resource information corresponding to the high-resolution identifier.
5. The apparatus of claim 4, wherein the processing unit is further configured to obtain network resource information for the multimedia data based on the first display parameter; and sending the network resource information to the terminal so that the terminal can control the target application program to acquire the multimedia data matched with the first display parameter based on the network resource information.
6. The device according to claim 4, wherein the obtaining unit is further configured to obtain at least one historical display parameter of a preset time range;
correspondingly, the processing unit is further configured to determine a target display parameter based on the at least one historical display parameter and the first display parameter; and taking the target display parameters as the display parameters of the multimedia data, so that the target application program can acquire the multimedia data matched with the target display parameters.
7. An information processing apparatus characterized by comprising: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of claims 1 to 3.
CN201711066456.8A 2017-11-02 2017-11-02 Information processing method and device and storage medium Active CN109753207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711066456.8A CN109753207B (en) 2017-11-02 2017-11-02 Information processing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711066456.8A CN109753207B (en) 2017-11-02 2017-11-02 Information processing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN109753207A CN109753207A (en) 2019-05-14
CN109753207B true CN109753207B (en) 2021-12-10

Family

ID=66399245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711066456.8A Active CN109753207B (en) 2017-11-02 2017-11-02 Information processing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN109753207B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971870B (en) * 2019-10-25 2022-08-16 富盛科技股份有限公司 Data processing method for image display
CN110807114B (en) * 2019-11-07 2024-01-30 北京有竹居网络技术有限公司 Method, device, terminal and storage medium for picture display
CN111459592B (en) * 2020-03-31 2021-10-22 华为技术有限公司 Method and device for processing UX elements in distributed mode
CN111953739B (en) * 2020-07-20 2023-10-03 厦门美柚股份有限公司 Resource downloading method, device and medium
CN112306440A (en) * 2020-11-04 2021-02-02 北京小米移动软件有限公司 Key information display method and device, electronic equipment and storage medium
CN112667405B (en) * 2021-01-05 2021-09-24 田宇 Information processing method, device, equipment and storage medium
CN113110887B (en) * 2021-03-31 2023-07-21 联想(北京)有限公司 Information processing method, device, electronic equipment and storage medium
CN113885747A (en) * 2021-09-17 2022-01-04 阿里巴巴新加坡控股有限公司 Data display control method, device, system and program product
CN116567327A (en) * 2022-01-27 2023-08-08 腾讯科技(深圳)有限公司 Image display method, terminal device, server, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076162A (en) * 2006-12-03 2007-11-21 杭州义盛祥通信技术有限公司 Method for automatically updating cell-phone user interface
CN103377280A (en) * 2012-04-26 2013-10-30 索尼公司 Information processing apparatus and method, program, and information processing system
CN105100800A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Video coder coding code rate adjustment method and device
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN106921870A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind of video broadcasting method and device
CN106993199A (en) * 2017-04-28 2017-07-28 暴风集团股份有限公司 A kind of method and system of real-time video transcoding
CN107203363A (en) * 2017-06-06 2017-09-26 网易(杭州)网络有限公司 Method, device and electronic equipment that image quality for application program is adjusted
CN107277032A (en) * 2017-06-30 2017-10-20 广东欧珀移动通信有限公司 A kind of switching method of video definition, device, storage medium and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133649A (en) * 2014-07-24 2014-11-05 可牛网络技术(北京)有限公司 Picture display method, device and terminal
CN104202614B (en) * 2014-08-15 2016-03-09 小米科技有限责任公司 A kind of method of Network Environment adjustment video image quality and device
CN107481697B (en) * 2015-07-03 2020-12-22 Oppo广东移动通信有限公司 Picture display method, user terminal and related medium product
CN105306963B (en) * 2015-10-20 2019-10-08 努比亚技术有限公司 The processing system for video of adaptive mobile terminal resolution ratio, device and method
CN106250080A (en) * 2016-07-29 2016-12-21 腾讯科技(深圳)有限公司 Method for displaying image and device
CN106547624B (en) * 2016-11-04 2021-01-01 武汉斗鱼网络科技有限公司 Android-based picture loading method and device
CN106791947A (en) * 2016-12-28 2017-05-31 北京金山安全软件有限公司 Method and device for transmitting network video and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076162A (en) * 2006-12-03 2007-11-21 杭州义盛祥通信技术有限公司 Method for automatically updating cell-phone user interface
CN103377280A (en) * 2012-04-26 2013-10-30 索尼公司 Information processing apparatus and method, program, and information processing system
CN105100800A (en) * 2015-09-11 2015-11-25 Tcl集团股份有限公司 Video coder coding code rate adjustment method and device
CN106921870A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind of video broadcasting method and device
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN106993199A (en) * 2017-04-28 2017-07-28 暴风集团股份有限公司 A kind of method and system of real-time video transcoding
CN107203363A (en) * 2017-06-06 2017-09-26 网易(杭州)网络有限公司 Method, device and electronic equipment that image quality for application program is adjusted
CN107277032A (en) * 2017-06-30 2017-10-20 广东欧珀移动通信有限公司 A kind of switching method of video definition, device, storage medium and terminal

Also Published As

Publication number Publication date
CN109753207A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN109753207B (en) Information processing method and device and storage medium
US10698559B2 (en) Method and apparatus for displaying content on same screen, and terminal device
US9106521B2 (en) Method and system for visualizing an adaptive screen according to a terminal
US10609104B2 (en) Live stream manifests for on demand content
CN109996094B (en) Video playing method, device and system
US10904304B2 (en) Cloud streaming service system, data compressing method for preventing memory bottlenecking, and device for same
US20210344584A1 (en) Method for Measuring Network Speed, Computing Device, and Computer-Program Product
US20170302721A1 (en) Cloud streaming service system, cloud streaming service method using optimal GPU, and apparatus for same
US20150134846A1 (en) Method and apparatus for media segment request retry control
WO2017202175A1 (en) Method and device for video compression and electronic device
US20150026334A1 (en) Method for distinguishing type of communication network and method for providing content using same
WO2020155959A1 (en) Definition switching method and apparatus, computer device, and readable storage medium
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
WO2018233539A1 (en) Video processing method, computer storage medium, and device
US11412311B2 (en) Methods and systems for saving data while streaming video
CN111918098A (en) Video processing method and device, electronic equipment, server and storage medium
US20240163322A1 (en) Methods, systems, and media for delivering manifestless streaming media content
US20210314664A1 (en) Method of Determining Video Resolution, Computing Device, and Computer-Program Product
US20240098316A1 (en) Video encoding method and apparatus, real-time communication method and apparatus, device, and storage medium
CN114040245A (en) Video playing method and device, computer storage medium and electronic equipment
CN104506631A (en) Audio file cache method and audio file cache equipment
CN112565693B (en) Method, system and equipment for monitoring video on demand
CN114363379A (en) Vehicle data transmission method and device, electronic equipment and medium
CN113535606A (en) Data processing method and device
CN108040261B (en) Network live broadcast management method and device and storage medium

Legal Events

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