CN111294321A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN111294321A
CN111294321A CN201811498209.XA CN201811498209A CN111294321A CN 111294321 A CN111294321 A CN 111294321A CN 201811498209 A CN201811498209 A CN 201811498209A CN 111294321 A CN111294321 A CN 111294321A
Authority
CN
China
Prior art keywords
multimedia
value
parameter
information
numerical
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.)
Granted
Application number
CN201811498209.XA
Other languages
Chinese (zh)
Other versions
CN111294321B (en
Inventor
李云航
刘舒
梁雨霏
董阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811498209.XA priority Critical patent/CN111294321B/en
Publication of CN111294321A publication Critical patent/CN111294321A/en
Application granted granted Critical
Publication of CN111294321B publication Critical patent/CN111294321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses an information processing method and device. One embodiment of the method comprises: receiving a multimedia parameter acquisition request sent by a terminal device, wherein the multimedia parameter acquisition request comprises multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed on the terminal device, and the multimedia related information comprises at least one of hardware information and software information of the terminal device; determining the value of the multimedia parameter matched with the multimedia related information from the preset values of the candidate multimedia parameters; and returning the determined numerical value to the terminal equipment so that the terminal equipment generates a multimedia file based on the numerical value of the multimedia parameter. The method provided by the embodiment of the disclosure can determine the numerical value of the multimedia parameter matched with the terminal device through the multimedia related information.

Description

Information processing method and device
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to an information processing method and device.
Background
With the development of internet technology, more and more users use terminal devices to make multimedia files through the internet. Some parameters, such as resolution, etc., need to be preset so that the terminal device can use the multimedia file when generating the multimedia file. When the terminal device generates the multimedia file, a local default value is often adopted, the speed of generating the multimedia file and the quality of the generated multimedia file are all to be improved.
Disclosure of Invention
The embodiment of the disclosure provides an information processing method and device.
In a first aspect, an embodiment of the present disclosure provides an information processing method, including: receiving a multimedia parameter acquisition request sent by terminal equipment, wherein the multimedia parameter acquisition request comprises multimedia related information of the terminal equipment, the multimedia related information is information associated with a multimedia file generated by using a target application installed on the terminal equipment, and the multimedia related information comprises at least one of hardware information and software information of the terminal equipment; determining the value of the multimedia parameter matched with the multimedia related information from the preset values of the candidate multimedia parameters; and returning the determined numerical value to the terminal equipment so that the terminal equipment generates the multimedia file based on the numerical value of the multimedia parameter.
In some embodiments, determining the value of the multimedia parameter matching the multimedia-related information from the preset values of the candidate multimedia parameters includes: and determining the value of each multimedia parameter from the preset values of each candidate multimedia parameter and writing the value into the value set corresponding to the received multimedia related information.
In some embodiments, before determining the value of each multimedia parameter from the preset values of the candidate multimedia parameters and writing the value into the value set corresponding to the received multimedia-related information, the method further includes: the default value of each multimedia parameter is written into the value set.
In some embodiments, determining a value of each multimedia parameter from preset values of candidate multimedia parameters and writing the value into a value set corresponding to the received multimedia-related information includes: in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter; in response to finding other matching numerical combinations than one numerical combination for the received multimedia related information, performing the following steps: for each multimedia parameter in other numerical value combinations, determining whether the numerical value of the multimedia parameter in the numerical value combination of the multimedia parameter and the searched last multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining the value of the multimedia parameter after the creation time in other parameter combinations and the value combination of the previous multimedia parameter, and using the value of the multimedia parameter in the value set.
In some embodiments, the multimedia parameters include at least one of: the frame rate of the video, the resolution of the video and the identification of the ear return switch; the hardware information comprises model information and/or geographical region information of the terminal device, and the software information comprises an application identifier and/or version information of the application.
In a second aspect, an embodiment of the present disclosure provides an information processing apparatus, including: the terminal equipment comprises a receiving unit and a processing unit, wherein the receiving unit is configured to receive a multimedia parameter acquisition request sent by the terminal equipment, the multimedia parameter acquisition request comprises multimedia related information of the terminal equipment, the multimedia related information is information related to a multimedia file generated by using a target application installed on the terminal equipment, and the multimedia related information comprises at least one of hardware information and software information of the terminal equipment; the determining unit is configured to determine the numerical value of the multimedia parameter matched with the multimedia related information from the preset numerical values of the candidate multimedia parameters; and the generating unit is configured to return the determined value to the terminal equipment so that the terminal equipment generates the multimedia file based on the value of the multimedia parameter.
In some embodiments, the determining unit comprises: and the determining subunit is configured to determine a value of each multimedia parameter from preset values of each candidate multimedia parameter and write the value into a value set corresponding to the received multimedia related information.
In some embodiments, the apparatus further comprises: a writing unit configured to write the default value of each multimedia parameter into the value set.
In some embodiments, the determining subunit is further configured to: in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter; in response to finding other matching numerical combinations than one numerical combination for the received multimedia related information, performing the following steps: for each multimedia parameter in other numerical value combinations, determining whether the numerical value of the multimedia parameter in the numerical value combination of the multimedia parameter and the searched last multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining the value of the multimedia parameter after the creation time in other parameter combinations and the value combination of the previous multimedia parameter, and using the value of the multimedia parameter in the value set.
In some embodiments, the multimedia parameters include at least one of: the frame rate of the video, the resolution of the video and the identification of the ear return switch; the hardware information comprises model information and/or geographical region information of the terminal device, and the software information comprises an application identifier and/or version information of the application.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement a method as in any embodiment of the information processing method.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements a method as in any one of the embodiments of the information processing method.
According to the information processing scheme provided by the embodiment of the disclosure, firstly, a multimedia parameter acquisition request sent by a terminal device is received, wherein the multimedia parameter acquisition request comprises multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed on the terminal device, and the multimedia related information comprises at least one of hardware information and software information of the terminal device. And then, determining the value of the multimedia parameter matched with the multimedia related information from the preset values of the candidate multimedia parameters. And finally, returning the determined numerical value to the terminal equipment so that the terminal equipment generates a multimedia file based on the numerical value of the multimedia parameter. The method provided by the above embodiment of the present disclosure can determine the value of the multimedia parameter matched with the terminal device through the multimedia related information. The same numerical value is not uniformly issued to a plurality of terminal devices, so that the issued numerical value of the multimedia parameter is suitable for each terminal device. And the terminal equipment can ensure the smooth generation process of the multimedia file and the excellent effect of the generated multimedia file based on the numerical value which is sent by the server and is suitable for the local multimedia parameter.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of an information processing method according to the present disclosure;
FIG. 3 is a schematic diagram of an application scenario of an information processing method according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of an information processing method according to the present disclosure;
FIG. 5 is a schematic block diagram of one embodiment of an information processing apparatus according to the present disclosure;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing an electronic device of an embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be noted that, for the convenience of description, only the parts relevant to the related disclosure are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the information processing method or information processing apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 may be a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as a web browser application, a live application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like, may be installed on the terminal devices 101, 102, and 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal apparatuses 101, 102, 103 are hardware, various electronic apparatuses having a communication function are possible. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the above-described electronic apparatuses. It may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for information streams displayed on the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the multimedia parameter acquisition request, and feed back a processing result (e.g., a value of the multimedia parameter) to the terminal device, so that the terminal device generates a multimedia file.
It should be noted that the information processing method provided in the embodiment of the present application is generally executed by the server 105, and accordingly, the information processing apparatus is generally disposed in the server 105.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of an information processing method according to the present disclosure is shown. The information processing method comprises the following steps:
step 201, receiving a multimedia parameter obtaining request sent by a terminal device, where the multimedia parameter obtaining request includes multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed in the terminal device, and the multimedia related information includes at least one of hardware information and software information of the terminal device.
In this embodiment, an execution subject of the information processing method (e.g., a server shown in fig. 1) may receive a multimedia parameter acquisition request sent by a terminal device. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. Thus, the executing body can determine the value of the multimedia parameter matched with the multimedia related information. The multimedia-related information is various information related to multimedia. For example, the multimedia-related information may be hardware information, such as CPU information and/or GPU information, or may be software information or other information, such as a system version, a package name of an application, a version of an application, and/or geographical area information (e.g., which country the terminal device is located in) of the terminal device.
In some optional implementations of this embodiment, the multimedia parameters include at least one of: a frame rate of the video, a resolution of the video, and an identification of the earreturn switch.
In these alternative implementations, the frame rate of the video may be the frame rate at which the video was produced. The resolution of the video may be the resolution employed when the video is produced and/or when the video is played. Specifically, the identifier of the ear return switch may be a numerical value corresponding to the on state or the off state, such as 1 or 0.
In some optional implementation manners of this embodiment, the hardware information includes model information and/or geographic area information where the terminal device is located, and the software information includes an identifier of the application and/or version information of the application.
In these alternative implementations, the model information may be a number of the model. The geographical region information may be a country or a region. The multimedia parameter values corresponding to different model information, geographic area information, application identifiers and application version information may be different.
Step 202, determining the value of the multimedia parameter matched with the multimedia related information from the preset values of the candidate multimedia parameters.
In this embodiment, the execution subject may determine the value of the multimedia parameter matching the multimedia related information from preset values of candidate multimedia parameters. The values of the multimedia parameters may be various parameter values which are issued by the server to the terminal device and are related to the multimedia, and are the values of various parameters required by the terminal device for generating the multimedia file.
In practice, the values of the multimedia parameters that match the multimedia-related information may be determined in various ways. For example, a plurality of candidate values of each multimedia parameter may be preset to be respectively issued to different terminal devices with different multimedia related information. Meanwhile, the corresponding relationship between the multimedia related information and the numerical values of the multimedia parameters can be preset, and the numerical values of the multimedia parameters corresponding to different multimedia related information are different. Therefore, based on the acquired multimedia-related information of the terminal device and the corresponding relationship between the multimedia-related information and the values of the multimedia parameters, the values of the multimedia parameters matching the multimedia-related information can be determined. In addition, the corresponding relation can be utilized to screen out the numerical values of a plurality of multimedia parameters. And one of the values is selected or an average value is taken by using a preset rule, and the value of the multimedia parameter is determined to be used as the value of the multimedia parameter matched with the multimedia related information.
Step 203, returning the determined value to the terminal device, so that the terminal device generates a multimedia file based on the value of the multimedia parameter.
In this embodiment, the execution subject may return the determined value of the multimedia parameter to the terminal device, so that the terminal device generates the multimedia file based on the returned value. The multimedia file may include video and/or audio. In particular, the values of the multimedia parameters are the values of the parameters required for making video or audio. The value of the multimedia parameter issued by the execution main body is more suitable for the terminal equipment, and the problems of jamming during generation or overhigh and overlow resolution ratio of the video file and the like caused by unreasonable values of the parameter can be prevented.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the information processing method according to the present embodiment. In the application scenario of fig. 3, an execution body 301 may receive a multimedia parameter obtaining request 302 sent by a terminal device, where the multimedia parameter obtaining request 302 includes multimedia related information of the terminal device, where the multimedia related information includes model information and package name and version information of an application installed in the terminal device. The multimedia-related information is information associated with a multimedia file generated using a target application installed in the terminal device, and includes at least one of hardware information and software information of the terminal device. From the preset values 303 of the candidate multimedia parameters (for example, the values of the candidate multimedia parameters include an a frame rate 18, a resolution 576 × 1024, a B frame rate 20, and a resolution 720 × 1280), a value 304 of the multimedia parameter (for example, the B frame rate 20, the resolution 720 × 1280) matching the multimedia related information is determined. The determined value 304 is returned to the terminal device so that the terminal device generates a multimedia file based on the value of the multimedia parameter.
The method provided by the above embodiment of the present disclosure can determine the value of the multimedia parameter matched with the terminal device through the multimedia related information. The same numerical value is not uniformly issued to a plurality of terminal devices, so that the issued numerical value of the multimedia parameter is suitable for each terminal device. And the terminal equipment can ensure the smooth generation process of the multimedia file and the excellent effect of the generated multimedia file based on the numerical value which is sent by the server and is suitable for the local multimedia parameter.
With further reference to FIG. 4, a flow 400 of yet another embodiment of an information processing method is shown. The flow 400 of the information processing method includes the following steps:
step 401, receiving a multimedia parameter obtaining request sent by a terminal device, where the multimedia parameter obtaining request includes multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed in the terminal device, and the multimedia related information includes at least one of hardware information and software information of the terminal device.
In this embodiment, an execution subject of the information processing method (e.g., a server shown in fig. 1) may receive a multimedia parameter acquisition request sent by a terminal device. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. Thus, the executing body can determine the value of the multimedia parameter matched with the multimedia related information. The multimedia-related information is various information related to multimedia.
Step 402, determining a value of each multimedia parameter from the preset values of each candidate multimedia parameter and writing the value into a value set corresponding to the received multimedia related information.
In this embodiment, the execution subject may determine the value of the multimedia parameter matching the multimedia related information from preset values of candidate multimedia parameters. And, writing the value of each multimedia parameter into the value table value set. Here, the value table value set includes values of the respective multimedia parameters. The value set may be a value table, a value queue, or the like. The multimedia related information and the numerical value table numerical value set have a corresponding relation. For example, the multimedia related information may include chip information, and the values of the multimedia parameters in a value table value set may be only used for specified terminal devices, and the terminal devices are installed with chips produced by a certain manufacturer. In practice, whether the terminal device is the above-specified terminal device can be judged through the model information.
In some optional implementations of this embodiment, before step 402, the method further includes:
the default value of each multimedia parameter is written into the value set.
In these alternative implementations, the executing entity may write a default value into the value set before finding the value of the matching multimedia parameter. Therefore, if the value of the matched multimedia parameter is not found subsequently, a default value can be adopted to ensure that the terminal equipment can generate the multimedia file smoothly. The default value refers to a preset value, and the default value is usually strong in universality and can be used for most terminal devices.
In some optional application scenarios of these implementations, the step 402 may include:
in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter;
in response to finding other matching numerical combinations than one numerical combination for the received multimedia related information, performing the following steps:
for each multimedia parameter in other numerical value combinations, determining whether the numerical value of the multimedia parameter in the numerical value combination of the multimedia parameter and the searched last multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining the value of the multimedia parameter after the creation time in other parameter combinations and the value combination of the previous multimedia parameter, and using the value of the multimedia parameter in the value set.
In these optional application scenarios, one multimedia parameter corresponds to one value, and then each multimedia parameter corresponds to a combination of values of the multimedia parameter. The executing body may traverse the value combination of each multimedia parameter to find a value combination matching the received multimedia-related information. The number of numerical combinations found here may be one or more. And if the numerical combination of the multimedia parameters matched with the received multimedia related information is found, replacing each default numerical value in the numerical value set by each numerical value in the found numerical combination. With the continuous change of the software information of the terminal device, such as system upgrade or software upgrade, the processing capability of the terminal device may be improved, for example, high-resolution video may be generated at high speed after the improvement. Accordingly, the values of the multimedia parameters used to generate the multimedia file may also change.
The executing agent may find one or more other numerical combinations for the received multimedia-related information. In the searching process, the value of the multimedia parameter after the creation time can be determined in various ways. For example, when all matching numerical combinations are found, the creation time of the multimedia parameter in each numerical combination may be compared, and the last numerical value of the multimedia parameter at the creation time may be determined. It is also possible that after each matching combination of values is found or after a certain time interval, if one or more matching combinations of values are found, the creation time of the last found multimedia parameter and the time of the last found multimedia parameter can be compared for each multimedia parameter in the respective multimedia parameters. If the creation time of the value of the multimedia parameter found last time is later, the value is reserved. And if the time for creating the searched value of the multimedia parameter is later, updating the value of the multimedia parameter in the value set by using the searched value of the multimedia parameter. For example, if the resolution of the last found numerical combination of the multimedia parameters is 576 × 1024, the creation time is 1 month, 1 day and 0 in 2000, the found resolution is 720 × 1280, and the creation time is 1 month, 2 days and 3 in 2000, the creation time of the resolution found this time is later, and the resolution in the data table is updated to 720 × 1280.
The values of the multimedia parameters obtained by the application scenarios are up-to-date, so that the executing body can obtain up-to-date values that are more matched with the multimedia related information of the terminal device with the change of the terminal device or other changes. The terminal equipment can generate the multimedia file more smoothly by using the numerical values, and the generated multimedia file has higher quality.
And step 403, returning the determined numerical value to the terminal equipment, so that the terminal equipment generates a multimedia file based on the numerical value of the multimedia parameter.
In this embodiment, the execution subject may return the determined value of the multimedia parameter to the terminal device, so that the terminal device generates the multimedia file based on the returned value. The multimedia file may include video and/or audio. In particular, the values of the multimedia parameters are the values of the parameters required for making video or audio. The value of the multimedia parameter issued by the execution main body is more suitable for the terminal equipment, and the problems of jamming during generation or overhigh and overlow resolution ratio of the video file and the like caused by unreasonable values of the parameter can be prevented.
In the embodiment, the numerical values of the multimedia parameters are presented in a table form so as to be updated subsequently, and finally the numerical values of the multimedia parameters most matched with the multimedia related information are obtained.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an information processing apparatus, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 5, the information processing apparatus 500 of the present embodiment includes: a receiving unit 501, a determining unit 502 and a generating unit 503. The receiving unit 501 is configured to receive a multimedia parameter obtaining request sent by a terminal device, where the multimedia parameter obtaining request includes multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed in the terminal device, and the multimedia related information includes at least one of hardware information and software information of the terminal device; a determining unit 502 configured to determine a value of a multimedia parameter matching the multimedia-related information from preset values of candidate multimedia parameters; a generating unit 503 configured to return the determined value to the terminal device, so that the terminal device generates a multimedia file based on the value of the multimedia parameter.
In some embodiments, the receiving unit 501 of the information processing apparatus 500 may receive a multimedia parameter acquisition request sent by a terminal device. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. Thus, the executing body can determine the value of the multimedia parameter matched with the multimedia related information. The multimedia-related information is various information related to multimedia.
In some embodiments, the determining unit 502 may determine the value of the multimedia parameter matching the multimedia-related information from the preset values of the candidate multimedia parameters. The values of the multimedia parameters may be various parameter values which are issued by the server to the terminal device and are related to the multimedia, and are the values of various parameters required by the terminal device for generating the multimedia file.
In some embodiments, the generating unit 503 may return the determined value of the multimedia parameter to the terminal device, so that the terminal device generates the multimedia file based on the returned value. The multimedia file may include video and/or audio. In particular, the values of the multimedia parameters are the values of the parameters required for making video or audio.
In some optional implementations of this embodiment, the determining unit includes: and the determining subunit is configured to determine a value of each multimedia parameter from preset values of each candidate multimedia parameter and write the value into a value set corresponding to the received multimedia related information.
In some optional implementations of this embodiment, the apparatus further includes: a writing unit configured to write the default value of each multimedia parameter into the value set.
In some optional implementations of this embodiment, the determining subunit is further configured to: in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter; in response to finding other matching numerical combinations than one numerical combination for the received multimedia related information, performing the following steps: for each multimedia parameter in other numerical value combinations, determining whether the numerical value of the multimedia parameter in the numerical value combination of the multimedia parameter and the searched last multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining the value of the multimedia parameter after the creation time in other parameter combinations and the value combination of the previous multimedia parameter, and using the value of the multimedia parameter in the value set.
In some optional implementations of this embodiment, the multimedia parameters include at least one of: the frame rate of the video, the resolution of the video and the identification of the ear return switch; the hardware information comprises model information and/or geographical region information of the terminal device, and the software information comprises an application identifier and/or version information of the application.
Referring now to FIG. 6, a block diagram of an electronic device (e.g., the server of FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium of the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring an image to be processed; acquiring position information of operation of a user on a screen; determining at least two image areas to be displayed in a screen in the image to be processed according to the position information; and respectively processing the at least two image areas to obtain at least two processed image areas.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a unit does not in some cases constitute a limitation on the unit itself, and for example, a receiving unit may also be described as a "unit that receives a multimedia parameter acquisition request transmitted by a terminal device".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (14)

1. An information processing method comprising:
receiving a multimedia parameter acquisition request sent by a terminal device, wherein the multimedia parameter acquisition request comprises multimedia related information of the terminal device, the multimedia related information is information associated with a multimedia file generated by using a target application installed on the terminal device, and the multimedia related information comprises at least one of hardware information and software information of the terminal device;
determining the value of the multimedia parameter matched with the multimedia related information from the preset values of the candidate multimedia parameters;
and returning the determined numerical value to the terminal equipment so that the terminal equipment generates a multimedia file based on the numerical value of the multimedia parameter.
2. The method of claim 1, wherein the determining the value of the multimedia parameter matching the multimedia-related information from the preset values of the candidate multimedia parameters comprises:
and determining the value of each multimedia parameter from the preset values of each candidate multimedia parameter and writing the value into the value set corresponding to the received multimedia related information.
3. The method of claim 2, wherein before determining the value of each multimedia parameter from the preset values of the candidate multimedia parameters and writing the determined value into the value set corresponding to the received multimedia-related information, the method further comprises:
writing a default value for each multimedia parameter into the set of values.
4. The method of claim 3, wherein the determining a value of each multimedia parameter from the preset values of the candidate multimedia parameters and writing the value into the value set corresponding to the received multimedia-related information comprises:
in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in the one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter;
in response to finding other matching numerical combinations than the one numerical combination for the received multimedia-related information, performing the following steps:
for each multimedia parameter in the other numerical combinations, determining whether the numerical value of the multimedia parameter in the numerical combination of the multimedia parameter and the searched previous multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining, from the other combinations of parameters and the last combination of values of the multimedia parameter, the value of the multimedia parameter after the creation time as the value of the multimedia parameter in the set of values.
5. The method of claim 1, wherein multimedia parameters comprise at least one of: a frame rate of the video, a resolution of the video, and an identification of the earreturn switch.
6. The method according to claim 1, wherein the hardware information comprises model information and/or geographical area information where the terminal device is located, and the software information comprises an application identifier and/or application version information.
7. An information processing apparatus comprising:
the terminal equipment comprises a receiving unit and a processing unit, wherein the receiving unit is configured to receive a multimedia parameter acquisition request sent by terminal equipment, the multimedia parameter acquisition request comprises multimedia related information of the terminal equipment, the multimedia related information is information related to a multimedia file generated by using a target application installed on the terminal equipment, and the multimedia related information comprises at least one of hardware information and software information of the terminal equipment;
the determining unit is configured to determine the numerical value of the multimedia parameter matched with the multimedia related information from the preset numerical values of the candidate multimedia parameters;
and the generating unit is configured to return the determined numerical value to the terminal equipment so as to enable the terminal equipment to generate a multimedia file based on the numerical value of the multimedia parameter.
8. The apparatus of claim 7, wherein the determining unit comprises:
and the determining subunit is configured to determine a value of each multimedia parameter from preset values of each candidate multimedia parameter and write the value into a value set corresponding to the received multimedia related information.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a writing unit configured to write a default value for each multimedia parameter into the set of values.
10. The apparatus of claim 9, wherein the determining subunit is further configured to:
in response to finding that one numerical combination of the multimedia parameters is matched with the received multimedia related information, replacing the default numerical value in the numerical set with the numerical value in the one numerical combination, wherein the numerical combination of the multimedia parameters comprises the numerical value of each multimedia parameter;
in response to finding other matching numerical combinations than the one numerical combination for the received multimedia-related information, performing the following steps:
for each multimedia parameter in the other numerical combinations, determining whether the numerical value of the multimedia parameter in the numerical combination of the multimedia parameter and the searched previous multimedia parameter is the same; in response to determining that the values of the multimedia parameter are different, determining, from the other combinations of parameters and the last combination of values of the multimedia parameter, the value of the multimedia parameter after the creation time as the value of the multimedia parameter in the set of values.
11. The apparatus of claim 7, wherein multimedia parameters comprise at least one of: a frame rate of the video, a resolution of the video, and an identification of the earreturn switch.
12. The apparatus according to claim 7, wherein the hardware information includes model information and/or information of a geographical area where the terminal device is located, and the software information includes an identifier of an application and/or version information of the application.
13. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
14. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN201811498209.XA 2018-12-07 2018-12-07 Information processing method and device Active CN111294321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811498209.XA CN111294321B (en) 2018-12-07 2018-12-07 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811498209.XA CN111294321B (en) 2018-12-07 2018-12-07 Information processing method and device

Publications (2)

Publication Number Publication Date
CN111294321A true CN111294321A (en) 2020-06-16
CN111294321B CN111294321B (en) 2022-07-26

Family

ID=71025512

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811498209.XA Active CN111294321B (en) 2018-12-07 2018-12-07 Information processing method and device

Country Status (1)

Country Link
CN (1) CN111294321B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
CN105049920A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia files
CN105814514A (en) * 2013-12-10 2016-07-27 高通股份有限公司 System and method for balanced user experience in a multimedia conferencing community
CN107612912A (en) * 2017-09-20 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and apparatus that play parameter is set
CN107637045A (en) * 2015-06-16 2018-01-26 英特尔Ip公司 Streamed using the adaptive video of dynamic radio access network information
CN107872721A (en) * 2017-11-23 2018-04-03 深圳市创维软件有限公司 A kind of multimedia data transmission method, terminal and computer-readable medium
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN108093197A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 For the method, system and machine readable media of Information Sharing
CN108234479A (en) * 2017-12-29 2018-06-29 北京百度网讯科技有限公司 For handling the method and apparatus of information
CN108614844A (en) * 2016-12-13 2018-10-02 腾讯科技(北京)有限公司 Multimedia file producting method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105814514A (en) * 2013-12-10 2016-07-27 高通股份有限公司 System and method for balanced user experience in a multimedia conferencing community
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
CN107637045A (en) * 2015-06-16 2018-01-26 英特尔Ip公司 Streamed using the adaptive video of dynamic radio access network information
CN105049920A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia files
CN108093197A (en) * 2016-11-21 2018-05-29 阿里巴巴集团控股有限公司 For the method, system and machine readable media of Information Sharing
CN108614844A (en) * 2016-12-13 2018-10-02 腾讯科技(北京)有限公司 Multimedia file producting method and device
CN107612912A (en) * 2017-09-20 2018-01-19 北京京东尚科信息技术有限公司 A kind of method and apparatus that play parameter is set
CN107872721A (en) * 2017-11-23 2018-04-03 深圳市创维软件有限公司 A kind of multimedia data transmission method, terminal and computer-readable medium
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium
CN108234479A (en) * 2017-12-29 2018-06-29 北京百度网讯科技有限公司 For handling the method and apparatus of information

Also Published As

Publication number Publication date
CN111294321B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN112311656B (en) Message aggregation and display method and device, electronic equipment and computer readable medium
CN108011949B (en) Method and apparatus for acquiring data
CN111459364B (en) Icon updating method and device and electronic equipment
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111432001A (en) Method, apparatus, electronic device, and computer-readable medium for jumping scenes
CN111163324B (en) Information processing method and device and electronic equipment
CN111694629A (en) Information display method and device and electronic equipment
CN110996155B (en) Video playing page display method and device, electronic equipment and computer readable medium
CN112148744A (en) Page display method and device, electronic equipment and computer readable medium
CN110619101B (en) Method and apparatus for processing information
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN112307393A (en) Information issuing method and device and electronic equipment
CN110620808A (en) Method and device for pushing information
CN111367592B (en) Information processing method and device
CN111294321B (en) Information processing method and device
CN110619079B (en) Method and device for pushing information
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111294657A (en) Information processing method and device
CN111291254A (en) Information processing method and device
CN111240657A (en) Method and device for generating SDK and electronic equipment
CN111291199B (en) Information query method and device
CN111787043A (en) Data request method and device

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