CN111294658A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN111294658A
CN111294658A CN201811497324.5A CN201811497324A CN111294658A CN 111294658 A CN111294658 A CN 111294658A CN 201811497324 A CN201811497324 A CN 201811497324A CN 111294658 A CN111294658 A CN 111294658A
Authority
CN
China
Prior art keywords
multimedia
information
target application
multimedia parameter
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811497324.5A
Other languages
Chinese (zh)
Inventor
曹俊跃
刘舒
梁雨霏
赵明伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201811497324.5A priority Critical patent/CN111294658A/en
Publication of CN111294658A publication Critical patent/CN111294658A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6582Data stored in the client, e.g. viewing habits, hardware capabilities, credit card number

Abstract

The embodiment of the disclosure discloses an information processing method and device. One embodiment of the method comprises: sending a multimedia parameter acquisition request to a server; and receiving the numerical value of the multimedia parameter returned by the server, and generating a multimedia file based on the numerical value of the multimedia parameter. The embodiment of the disclosure can determine the value of the multimedia parameter corresponding to the terminal device by uploading the multimedia related information of the terminal device to the server. The same numerical value is not sent to a plurality of terminal devices in a unified mode, and therefore the numerical value of the multimedia parameter sent by the server is suitable for each terminal device.

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 surf the internet through terminal devices, and frequently use various applications of the terminal devices. In the related art, the transmitted data received by the terminal device is often mass-transmitted data. For example, all terminal devices installed with a certain application receive a same plug-in or some parameters in a unified manner.
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: sending a multimedia parameter acquisition request to a server, 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; and receiving the numerical value of the multimedia parameter returned by the server, and generating a multimedia file based on the numerical value of the multimedia parameter, wherein the numerical value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
In some embodiments, sending a multimedia parameter acquisition request to a server includes: and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
In some embodiments, before sending the multimedia parameter acquisition request to the server, the method further comprises: receiving starting operation of a target application installed on the terminal equipment; and generating a multimedia file based on the values of the multimedia parameters, including: in response to detecting the multimedia file generation operation, for each multimedia parameter, invoking a software development kit to perform the following steps: generating a multimedia file in the target application by using the value of the multimedia parameter written in the terminal equipment in response to the determination that the value of the multimedia parameter written in the terminal equipment exists; and responding to the fact that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started.
In some embodiments, after receiving the values of the multimedia parameters returned by the server, the method further comprises: storing the received numerical value of the multimedia parameter into a buffer area of the terminal equipment; generating a multimedia file in the target application by using the value of the multimedia parameter received last time before the target application is started, wherein the method comprises the following steps: and obtaining the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating the multimedia file in the target application by using the value of the multimedia parameter obtained from the cache region.
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: a sending unit configured to send a multimedia parameter acquisition request to a server, wherein the multimedia parameter acquisition request includes multimedia-related information of the terminal device, the multimedia-related information being information associated with a multimedia file generated by using a target application installed in the terminal device, the multimedia-related information including at least one of hardware information and software information of the terminal device; and the generating unit is configured to receive the numerical value of the multimedia parameter returned by the server, and generate a multimedia file based on the numerical value of the multimedia parameter, wherein the numerical value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
In some embodiments, the sending unit is further configured to: and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
In some embodiments, the apparatus further comprises: a receiving unit configured to receive a start operation of a target application installed on a terminal device; and a generation unit including: a generating subunit configured to, in response to detecting the multimedia file generating operation, for each multimedia parameter, invoke a software development kit to perform the following steps: generating a multimedia file in the target application by using the value of the multimedia parameter written in the terminal equipment in response to the determination that the value of the multimedia parameter written in the terminal equipment exists; and responding to the fact that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started.
In some embodiments, the apparatus further comprises: a storage unit configured to store the received values of the multimedia parameters in a buffer of the terminal device; a generating subunit further configured to: and obtaining the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating the multimedia file in the target application by using the value of the multimedia parameter obtained from the cache region.
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 is sent to a server, so that the server determines a value of a multimedia parameter corresponding to multimedia related information from preset values of candidate multimedia parameters based on the multimedia related information, wherein the multimedia related information is used for indicating information associated with a multimedia file generated by using a target application installed on a terminal device, and the multimedia related information comprises at least one of hardware information and software information of the terminal device. And then, receiving the numerical value of the multimedia parameter returned by the server, and generating 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 corresponding to the terminal device by uploading the multimedia related information of the terminal device to the server. The same numerical value is not sent to a plurality of terminal devices in a unified mode, and therefore the numerical value of the multimedia parameter sent by the server 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.
It should be noted that the information processing method provided in the embodiment of the present application is generally executed by the terminal devices 101, 102, and 103, and accordingly, the information processing apparatus is generally disposed in the terminal devices 101, 102, and 103.
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, sending a multimedia parameter obtaining request to a server, where the multimedia parameter obtaining request includes multimedia related information of a 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 the present embodiment, an execution subject of the information processing method (e.g., a terminal device shown in fig. 1) may send a multimedia parameter acquisition request to a server. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. In this way, the server can determine the multimedia parameter value corresponding to 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 software information or other information, such as system version, package name of application, version, and/or geographical region information (e.g., in which country). 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 various parameter values required by the terminal device for generating the multimedia file.
Specifically, a plurality of candidate values of each multimedia parameter may be preset on the server, so as to be respectively issued to each terminal device with different multimedia related information. Meanwhile, the corresponding relation between the multimedia related information and the numerical values of the multimedia parameters is also preset on the server, and the numerical values of the multimedia parameters corresponding to different multimedia related information are different. Accordingly, 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 corresponding to the multimedia-related information can be determined.
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.
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. The model information here may be a model number. 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.
In some optional implementations of this embodiment, step 201 may include: and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
In these alternative implementations, the execution subject may send a multimedia parameter acquisition request for one of the at least two applications to the server. Specifically, the execution body may call a network request interface in the software development kit to send a multimedia parameter acquisition request. The target application here may be any one of at least two applications. Then, if the terminal device receives the value of the multimedia parameter returned by the server, the multimedia file can be generated by using the target application and the returned value.
Here, the at least two applications are multimedia-like applications, capable of generating video and/or audio. The server may provide services to the at least two applications simultaneously. In this way, the server can issue parameters for a plurality of applications, rather than only a single application, so as to ensure that the terminal device can produce and generate video and/or audio by using a plurality of applications. For example, there are three applications on the mobile phone of user a, and the server may issue to the mobile phone video parameters required by any one of the three applications, such as application a. Thus, the application a can generate the video by the issued video parameters.
Generating video or audio may include multiple steps, such as capturing video or recording audio, editing, synthesizing, and/or adding special effects to the video or audio, and so forth. Each step has corresponding multimedia parameters.
Step 202, receiving the numerical value of the multimedia parameter returned by the server, and generating a multimedia file based on the numerical value of the multimedia parameter, wherein the numerical value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
In this embodiment, the execution agent may receive the value of the multimedia parameter returned by the server, and generate the multimedia file based on the returned value. The multimedia file may include video and/or audio. In practice, the values of the multimedia parameters acquired by the execution body are the values of the parameters required for producing video or audio. The numerical value of the multimedia parameter sent by the server 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 numerical values of the parameter are prevented.
Specifically, the server may store a corresponding relationship between the value of the multimedia parameter and the multimedia related information, and after receiving the multimedia related information included in the multimedia parameter acquisition request, may determine the value of the multimedia parameter corresponding to the received multimedia related information.
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, the execution main body 301 may send a multimedia parameter obtaining request 302 to the server, where the multimedia parameter obtaining request includes multimedia-related information of the terminal device, the multimedia-related information is used to indicate information associated with a multimedia file generated by using a target application provided in the terminal device, and the multimedia-related information includes at least one of hardware information and software information of the terminal device; receiving the value 303 of the multimedia parameter returned by the server, and generating a multimedia file 304 based on the value 303 of the multimedia parameter, wherein the value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
The method provided by the above embodiment of the present disclosure can determine the value of the multimedia parameter corresponding to the terminal device by uploading the multimedia related information of the terminal device to the server. The same numerical value is not sent to a plurality of terminal devices in a unified mode, and therefore the numerical value of the multimedia parameter sent by the server 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 starting operation of a target application installed on a terminal device.
In the present embodiment, an execution subject of the information processing method (e.g., a terminal device shown in fig. 1) can receive a start operation of a target application installed thereto. The start operation may be issued by the user to the terminal device to open the target application.
Step 402, sending a multimedia parameter acquisition request to a server, wherein the multimedia parameter acquisition request includes multimedia related information of a 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, in response to receiving a start operation of a target application installed on a terminal device, an execution subject of an information processing method (e.g., the terminal device shown in fig. 1) may send a multimedia parameter acquisition request to a server. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. In this way, the server can determine the multimedia parameter value corresponding to the multimedia related information. The multimedia-related information is various information related to multimedia.
Step 403, receiving the numerical values of the multimedia parameters returned by the server, and in response to detecting the multimedia file generation operation, calling a software development kit to execute the following steps for each multimedia parameter: responding to the determination that the numerical value of the multimedia parameter written in the terminal equipment exists, and generating a multimedia file in the target application by using the numerical value of the multimedia parameter written in the terminal equipment; and responding to the fact that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started, wherein the value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
In this embodiment, the execution agent may receive the value of the multimedia parameter returned by the server, and generate the multimedia file in response to detecting the multimedia file generation operation. The multimedia file generation operation is an operation of generating a multimedia file initiated by a user, and for example, a user may trigger the shooting of a video. When generating a multimedia file, the operation with the highest priority is to generate the multimedia file using the values of the multimedia parameters written in the terminal device. The second operation of the priority is to adopt the value of the multimedia parameter received last time before the target application is started to generate the multimedia file. In addition, if there is no value of the multimedia parameter returned by the server before the target application is started this time or the value is not available, a default value of the local multimedia parameter may be used. Here, the execution agent may call a software development kit to generate a multimedia file.
In some optional implementations of this embodiment, after receiving the value of the multimedia parameter returned by the server in step 403, the method may further include: and storing the received numerical value of the multimedia parameter into a buffer area of the terminal equipment.
In step 403, generating a multimedia file in the target application by using the value of the multimedia parameter received last time before starting the target application may include:
and obtaining the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating the multimedia file in the target application by using the value of the multimedia parameter obtained from the cache region.
In these optional implementations, the execution main body may store the received values of the multimedia parameters in a buffer, and then may utilize the values of the multimedia parameters at any time, so as to facilitate the generation of a multimedia file by using the values at a later time.
The embodiment may preferentially adopt the value of the multimedia parameter written into the terminal device, and secondly adopt the value of the multimedia parameter received last time before the target application is started this time. After the target application is started, a certain time is often needed from the beginning of receiving the values of the multimedia parameters by the terminal equipment to the end of receiving the values. If a multimedia file is generated by using the latest numerical value of the multimedia parameter, the numerical value of the parameter of the multimedia file may be inconsistent before and after the generation of the multimedia file because the new numerical value of the parameter is received. For example, at the beginning of a video recording, a low resolution is used. And then, if a higher resolution value sent by the server is received, the multimedia file is generated by adopting the higher resolution. Thus, a failure in the generation process may occur due to the fact that the resolution of the recorded video is changed halfway, for example, the video recording fails due to the fact that the terminal equipment cannot be compatible with the two values. Since the value of the parameter written to the terminal device is often set specifically for the terminal device and is suitable for the terminal device, the operation using the written value can be set to the operation of the highest priority.
In this embodiment, the value of the multimedia parameter written in the terminal device is preferentially adopted, and then the value of the multimedia parameter received last time before the target application is started is adopted. Therefore, the value of the parameter for generating the multimedia file is ensured to be suitable for the terminal equipment, and meanwhile, the condition that the multimedia file is generated unsuccessfully is prevented, and the multimedia file is ensured to be generated smoothly.
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 transmitting unit 501 and a generating unit 502. The sending unit 501 is configured to send a multimedia parameter obtaining request to a server, 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; the generating unit 502 is configured to receive the value of the multimedia parameter returned by the server, and generate a multimedia file based on the value of the multimedia parameter, where the value of the multimedia parameter corresponds to the multimedia-related information in the multimedia parameter obtaining request.
In some embodiments, the transmitting unit 501 of the information processing apparatus 500 may transmit a multimedia parameter acquisition request to the server. And the multimedia parameter acquisition request comprises the multimedia related information of the terminal equipment. In this way, the server can determine the multimedia parameter value corresponding to the multimedia related information. The multimedia-related information is various information related to multimedia.
In some embodiments, the generating unit 502 may receive the values of the multimedia parameters returned by the server and generate the multimedia file based on the returned values. The multimedia file may include video and/or audio. In practice, the values of the multimedia parameters acquired by the execution body are the values of the parameters required for producing video or audio.
In some optional implementations of this embodiment, the sending unit is further configured to: and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
In some optional implementations of this embodiment, the apparatus further includes: a receiving unit configured to receive a start operation of a target application installed on a terminal device; and a generation unit including: a generating subunit configured to, in response to detecting the multimedia file generating operation, for each multimedia parameter, invoke a software development kit to perform the following steps: generating a multimedia file in the target application by using the value of the multimedia parameter written in the terminal equipment in response to the determination that the value of the multimedia parameter written in the terminal equipment exists; and responding to the fact that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started.
In some optional implementations of this embodiment, the apparatus further includes: a storage unit configured to store the received values of the multimedia parameters in a buffer of the terminal device; a generating subunit further configured to: and obtaining the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating the multimedia file in the target application by using the value of the multimedia parameter obtained from the cache region.
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 schematic diagram of an electronic device (e.g., the terminal device of fig. 1) 600 suitable for 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 the unit does not in some cases constitute a limitation to the unit itself, for example, the generating unit may also be described as "receiving the value of the multimedia parameter returned by the server, and generating the unit of the multimedia file based on the value of the multimedia parameter".
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 (12)

1. An information processing method is applied to terminal equipment and comprises the following steps:
sending a multimedia parameter acquisition request to a server, 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;
and receiving the numerical value of the multimedia parameter returned by the server, and generating a multimedia file based on the numerical value of the multimedia parameter, wherein the numerical value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
2. The method of claim 1, wherein the sending a multimedia parameter acquisition request to a server comprises:
and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
3. The method of claim 1, wherein prior to said sending a multimedia parameter acquisition request to a server, the method further comprises:
receiving starting operation of a target application installed on the terminal equipment; and
generating a multimedia file based on the numerical value of the multimedia parameter, including:
in response to detecting the multimedia file generation operation, for each multimedia parameter, invoking a software development kit to perform the following steps: responding to the fact that the numerical value of the multimedia parameter written into the terminal equipment exists, and generating a multimedia file in a target application by using the numerical value of the multimedia parameter written into the terminal equipment; and responding to the condition that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started.
4. The method of claim 3, wherein after said receiving the value of the multimedia parameter returned by the server, the method further comprises:
storing the received numerical value of the multimedia parameter into a buffer area of the terminal equipment;
generating a multimedia file in the target application by using the value of the multimedia parameter received last time before the target application is started, wherein the method comprises the following steps:
and acquiring the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating a multimedia file in the target application by using the value of the multimedia parameter acquired from the cache region.
5. The method of claim 1, wherein multimedia parameters comprise 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 area information of the terminal device, and the software information comprises an application identifier and/or application version information.
6. An information processing apparatus applied to a terminal device, comprising:
a sending unit configured to send a multimedia parameter acquisition request to a server, wherein the multimedia parameter acquisition request includes multimedia-related information of the terminal device, the multimedia-related information being information associated with a multimedia file generated by using a target application installed in the terminal device, the multimedia-related information including at least one of hardware information and software information of the terminal device;
and the generating unit is configured to receive the numerical value of the multimedia parameter returned by the server, and generate a multimedia file based on the numerical value of the multimedia parameter, wherein the numerical value of the multimedia parameter corresponds to the multimedia related information in the multimedia parameter acquisition request.
7. The apparatus of claim 6, wherein the transmitting unit is further configured to:
and calling a network request interface in the software development kit, and sending a multimedia parameter acquisition request for a target application in at least two applications to the server.
8. The apparatus of claim 6, wherein the apparatus further comprises:
a receiving unit configured to receive a start operation of a target application installed on the terminal device; and
the generation unit includes:
a generating subunit configured to, in response to detecting the multimedia file generating operation, for each multimedia parameter, invoke a software development kit to perform the following steps: responding to the fact that the numerical value of the multimedia parameter written into the terminal equipment exists, and generating a multimedia file in a target application by using the numerical value of the multimedia parameter written into the terminal equipment; and responding to the condition that the value of the multimedia parameter written in the terminal equipment does not exist, and generating a multimedia file in the target application by utilizing the value of the multimedia parameter received last time before the target application is started.
9. The apparatus of claim 8, wherein the apparatus further comprises:
a storage unit configured to store the received values of the multimedia parameters in a buffer of the terminal device;
the generating subunit further configured to:
and acquiring the value of the multimedia parameter received for the last time before the target application is started from the cache region, and generating a multimedia file in the target application by using the value of the multimedia parameter acquired from the cache region.
10. The apparatus of claim 6, wherein multimedia parameters comprise 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 area information of the terminal device, and the software information comprises an application identifier and/or application version information.
11. 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-5.
12. 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-5.
CN201811497324.5A 2018-12-07 2018-12-07 Information processing method and device Pending CN111294658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811497324.5A CN111294658A (en) 2018-12-07 2018-12-07 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811497324.5A CN111294658A (en) 2018-12-07 2018-12-07 Information processing method and device

Publications (1)

Publication Number Publication Date
CN111294658A true CN111294658A (en) 2020-06-16

Family

ID=71029349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811497324.5A Pending CN111294658A (en) 2018-12-07 2018-12-07 Information processing method and device

Country Status (1)

Country Link
CN (1) CN111294658A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986773A (en) * 2014-05-26 2014-08-13 北京奇艺世纪科技有限公司 Data request response method and device
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
CN105122828A (en) * 2013-04-19 2015-12-02 索尼公司 Information processing apparatus, content requesting method, and computer program
CN105306963A (en) * 2015-10-20 2016-02-03 努比亚技术有限公司 Video processing system, device and method self-adapting to mobile terminal resolution
CN106028058A (en) * 2016-05-12 2016-10-12 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia data
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105122828A (en) * 2013-04-19 2015-12-02 索尼公司 Information processing apparatus, content requesting method, and computer program
CN103986773A (en) * 2014-05-26 2014-08-13 北京奇艺世纪科技有限公司 Data request response method and device
CN104811787A (en) * 2014-10-27 2015-07-29 深圳市腾讯计算机系统有限公司 Game video recording method and game video recording device
CN105306963A (en) * 2015-10-20 2016-02-03 努比亚技术有限公司 Video processing system, device and method self-adapting to mobile terminal resolution
CN106028058A (en) * 2016-05-12 2016-10-12 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia data
CN108024079A (en) * 2017-11-29 2018-05-11 广东欧珀移动通信有限公司 Record screen method, apparatus, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN111526411A (en) Video processing method, device, equipment and medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111459364B (en) Icon updating method and device and electronic equipment
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN110619096A (en) Method and apparatus for synchronizing data
CN111432001A (en) Method, apparatus, electronic device, and computer-readable medium for jumping scenes
CN109618216B (en) Method, device and equipment for displaying video loading state identification and storage medium
CN110996155B (en) Video playing page display method and device, electronic equipment and computer readable medium
CN110619101B (en) Method and apparatus for processing information
CN110083768B (en) Information sharing method, device, equipment and medium
CN111385599B (en) Video processing method and device
CN114125551A (en) Video generation method and device, electronic equipment and computer readable medium
CN111367592B (en) Information processing method and device
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN111385638B (en) Video processing method and device
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data
CN111294658A (en) Information processing method and device
CN111294657A (en) Information processing method and device
CN111294321B (en) Information processing method and device
CN111291254A (en) Information processing method and device
CN111381796B (en) Processing method and device for realizing KTV function on client and user equipment
CN111291199B (en) Information query method and device
CN110099122B (en) Method and apparatus for sending network request

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200616