Method, device, electronic device and readable storage medium for co-production

By negotiating co-photography parameters between the requesting end and the receiving end, the problem of poor co-photography effects caused by inconsistent parameters in traditional co-photography methods is solved, high-quality co-photography file generation is achieved, and the user experience is improved.

CN114827098BActive Publication Date: 2024-10-18HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110120273.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-28
Publication Date
2024-10-18
Estimated Expiration
2041-01-28

AI Technical Summary

Technical Problem

The traditional co-photography method causes the parameters of the generated group photo to be inconsistent, resulting in poor photo effects.

Method used

Through the signaling interaction between the requesting end and the receiving end, co-production parameters are negotiated to ensure that the generated media file parameters are unified, thereby generating high-quality co-production files.

Benefits of technology

It improves the quality and user experience of co-production files, ensures collaborative control of dual-end image quality, and avoids poor picture effects caused by inconsistent parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114827098B_ABST
    Figure CN114827098B_ABST
Patent Text Reader

Abstract

The present application relates to the field of electronic technology, and provides a method, device, electronic device and readable storage medium for co-production, the method comprising: a receiving end receives a co-production request sent by a requesting end, the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end; the receiving end determines the co-production parameter according to the second parameter and the first parameter, and the second parameter is a media file parameter supported by the receiving end. The quality of the media file corresponding to the co-production parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and lower than or equal to the quality of the media file corresponding to the second parameter. The receiving end sends the co-production parameter to the requesting end, and the co-production parameter is used by the requesting end to generate a first media file; the receiving end generates a second media file according to the co-production parameter, and the parameters of the first media file and the second media file are the same as the co-production parameter, and the second media file is used to be synthesized with the first media file into a co-production file. The above method can improve the quality of the co-production file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a synchronization method, device, electronic device and readable storage medium. Background Art

[0002] With the rapid development and enhancement of communication software, communication software has played an important role in people's lives and work, making human communication more and more diverse. Therefore, the richness of communication software's functions also greatly affects the convenience of people's communication. Usually when people are in different locations, they also need to take photos together to interact.

[0003] The traditional way of taking a group photo is that both parties take their own photos, and then one of them forwards his or her photo to the other party through a file server. The other party combines the taken photo with the received photo to generate a group photo, thereby realizing group photo taking of both parties in different locations.

[0004] However, in the traditional group photo shooting method, both ends of the group photo shoot according to their own parameters, so the parameters of the generated group photo are not uniform, resulting in poor picture effects of the group photo. Summary of the invention

[0005] The present application provides a method, device, electronic device and readable storage medium for co-shooting, which can improve the quality of co-shot images.

[0006] In a first aspect, a co-beating method is provided, including: a receiving end receives a co-beating request sent by a requesting end, the co-beating request carries a first parameter, the first parameter is a media file parameter supported by the requesting end; the receiving end determines the co-beating parameter according to a second parameter and the first parameter, the second parameter is a media file parameter supported by the receiving end, the quality of the media file corresponding to the co-beating parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and the quality of the media file corresponding to the co-beating parameter is lower than or equal to the quality of the media file corresponding to the second parameter; the receiving end sends the co-beating parameter to the requesting end, the co-beating parameter is used by the requesting end to generate a first media file, the parameters of the first media file are the same as the co-beating parameter; the receiving end generates a second media file according to the co-beating parameter, the parameters of the second media file are the same as the co-beating parameter; the second media file is used to be synthesized with the first media file into a co-beating file.

[0007] The first media file may be a photo or video specially taken or recorded by the requesting end for joint filming, or may be an image or video captured from a video stream recorded when the requesting end is making a video call with the receiving end; similarly, the second media file may be a photo or video specially taken or recorded by the receiving end for joint filming, or may be an image or video captured from a video stream recorded when the receiving end is making a video call with the requesting end, and this embodiment does not limit this.

[0008] The above-mentioned co-beating parameter may be a parameter corresponding to a lower media file quality between the first parameter and the second parameter, wherein the media file quality may be image resolution and / or video smoothness. For example, the co-beating parameter may be the smaller of the highest resolution supported by the requesting end and the highest resolution supported by the receiving end, and / or the co-beating parameter is the smaller of the highest frame rate supported by the requesting end and the highest frame rate supported by the receiving end. Optionally, the media file quality corresponding to the co-beating parameter may be lower than the media file quality corresponding to the first parameter and the second parameter.

[0009] In this embodiment, the requesting end and the receiving end negotiate the synchronization parameters of the synchronization image quality through signaling interaction before synchronization, and determine the same synchronization parameters, so that the media files to be synthesized (i.e., the first media file and the second media file) with the same parameters can be generated according to the negotiated synchronization parameters. The requesting end or the receiving end can synthesize the media files with the same parameters into a synchronization file, avoiding the problem of poor picture effect of the synchronization file due to the inconsistency of the parameters of the media files to be synthesized, thereby improving the quality of the synchronization file.

[0010] Optionally, the first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

[0011] When the co-production parameter is the parameter corresponding to the lower media file quality among the first parameter and the second parameter, the co-production parameter can represent the maximum limit of the shooting capabilities of both ends, so that the highest standard media file supported by both ends can be generated, so that the quality of the co-production file is improved as much as possible.

[0012] Optionally, the first media file and the second media file are both videos, the first parameter includes the maximum frame rate and maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

[0013] It should be noted that the synchronized frame rate is less than or equal to the smaller frame rate of the maximum frame rate supported by the requesting end and the maximum frame rate supported by the receiving end, and the synchronized image resolution is less than or equal to the smaller image resolution of the maximum image resolution supported by the requesting end and the maximum image resolution supported by the receiving end. After the requesting end and the receiving end negotiate to obtain the synchronized frame rate and the synchronized image resolution, the requesting end records the first media file according to the synchronized frame rate and the synchronized image resolution, and the receiving end records the second media file according to the synchronized frame rate and the synchronized image resolution. Therefore, the frame rate of the first media file and the frame rate of the second media file are both the same as the synchronized frame rate, and the image resolution of the first media file and the image resolution of the second media file are both the same as the synchronized image resolution.

[0014] In this embodiment, the requesting end and the receiving end ensure the uniformity of the parameters of the video recording at both ends by negotiating the co-shooting frame rate and co-shooting resolution, realize the coordinated control of the image quality at both ends, improve the picture quality of the video co-shooting, and thus improve the user experience of video co-shooting.

[0015] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the co-production frame rate is greater than the initial frame rate of the video call, and the co-production image resolution is less than the initial image resolution of the video call.

[0016] When the requesting end and the receiving end make a video call, the two parties make the video call according to the initial frame rate and initial image resolution. When the two parties enter the video co-production process, in order to ensure the smoothness of the co-production video, the two parties can negotiate the co-production parameters according to the strategy of giving priority to video smoothness and sacrificing image clarity. For example, the receiving end increases the frame rate based on the initial frame rate as the co-production frame rate, and reduces the image resolution of the video frame based on the initial image resolution as the co-production image resolution, thereby ensuring the smoothness of the co-production video. At this time, the parameters of the video file transmitted by the video call are consistent with the co-production parameters. While ensuring the smoothness of the video, the image quality of the video call displayed on both ends is also consistent with the image quality of the co-production video file. The video seen by the users on both ends on their respective device interfaces is the same as the final generated co-production video, that is, what you see is what you get, which improves the user's co-production experience.

[0017] Optionally, both the first media file and the second media file are images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

[0018] The combined image resolution is less than or equal to the smaller image resolution of the maximum image resolution supported by the requesting end and the maximum image resolution supported by the receiving end. For example, after the requesting end and the receiving end negotiate to obtain the combined image resolution, the requesting end uses the combined image resolution to shoot the first media file, and the receiving end uses the combined image resolution to shoot the second media file. Therefore, the image resolution of the first media file and the image resolution of the second media file are both the same as the combined image resolution.

[0019] In this embodiment, the requesting end and the receiving end ensure the uniformity of the clarity of the group photo by negotiating the resolution of the group photo, realize the coordinated control of the image quality of both ends, and improve the quality of the group photo.

[0020] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the synchronized frame rate is less than the initial frame rate of the video call, and the synchronized image resolution is greater than the initial image resolution of the video call.

[0021] When the requesting end and the receiving end conduct a video call, the two parties conduct the video call according to the initial frame rate and initial image resolution. When the two parties enter the process of taking a photo together, in order to ensure the clarity of the photo taken together, the two parties can negotiate the parameters of the photo taken together according to the strategy of giving priority to image clarity and sacrificing video fluency. Specifically, the receiving end reduces the frame rate based on the initial frame rate as the frame rate of the video call, and increases the image resolution of the video frame based on the initial image resolution as the photo taken together, thereby ensuring the clarity of the photo taken together. At this time, the parameters of the video frame image transmitted by the video call are consistent with the photo taken together resolution. While ensuring the clarity of the photo taken together, the image quality of the video frame displayed at both ends is also consistent with the image quality of the photo taken together. The images of the users at both ends on their respective device interfaces are the same as the final generated images, that is, what you see is what you get, which further improves the user's experience of taking photos together.

[0022] Optionally, the method further includes: the receiving end sending the second media file to the requesting end through the media path of the video call; or, the receiving end receiving the first media file sent by the requesting end through the media path of the video call.

[0023] In this embodiment, the receiving end and the transmitting end transmit media files by reusing the media path of the existing video call. Compared with the cross-server transmission method of using a message file server to transmit files, this reduces the delay, improves the real-time performance of the co-shooting, and further improves the user's co-shooting experience.

[0024] Optionally, the method further includes: when the receiving end sends the second media file to the requesting end through the media path of the video call, the receiving end increases the maximum bit rate of the media path.

[0025] When the receiving end needs to reuse the existing media channel of the video call to transmit media files, the receiving end increases the capacity of the media channel by increasing the maximum bit rate that the network status can accept at that time, thereby improving the transmission efficiency of the media files. When the transmission efficiency is increased, whether it is increasing the co-produced frame rate or the co-produced image resolution, the display effect of the co-produced files can be further improved.

[0026] In a second aspect, a method for co-production is provided, comprising:

[0027] The requesting end sends a co-production request to the receiving end, where the co-production request carries a first parameter, where the first parameter is a media file parameter supported by the requesting end;

[0028] The requesting end receives a synchronization parameter sent by the receiving end, wherein the quality of a media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and the quality of the media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to a second parameter, and the second parameter is a media file parameter supported by the receiving end;

[0029] The requesting end generates a first media file according to the synchronization parameters, the parameters of the first media file are the same as the synchronization parameters, the synchronization parameters are used by the receiving end to generate a second media file, the parameters of the second media file are the same as the synchronization parameters, and the second media file is used to be synthesized with the first media file into a synchronization file.

[0030] Optionally, the first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

[0031] Optionally, the first media file and the second media file are both videos, the first parameter includes the maximum frame rate and maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

[0032] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the co-production frame rate is greater than the initial frame rate of the video call, and the co-production image resolution is less than the initial image resolution of the video call.

[0033] Optionally, both the first media file and the second media file are images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

[0034] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the synchronized frame rate is less than the initial frame rate of the video call, and the synchronized image resolution is greater than the initial image resolution of the video call.

[0035] Optionally, the method further includes: the requesting end receiving the second media file sent by the receiving end through the media path of the video call; or, the requesting end sending the first media file to the receiving end through the media path of the video call.

[0036] Optionally, the method further includes: when the requesting end sends the first media file to the receiving end through the media path of the video call, the requesting end increases the maximum bit rate of the media path.

[0037] The implementation principle and technical effects of the co-production method provided in the second aspect can be found in the description of the co-production method provided in the first aspect.

[0038] In a third aspect, a coordinated device is provided, comprising a unit composed of software and / or hardware, wherein the unit is used to execute any one of the methods in the technical solution described in the first aspect.

[0039] In a fourth aspect, a synchronization device is provided, comprising a unit composed of software and / or hardware, wherein the unit is used to execute any one of the methods in the technical solution described in the second aspect.

[0040] In a fifth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes any one of the methods in the technical solution described in the first aspect.

[0041] In a sixth aspect, an electronic device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the electronic device executes any one of the methods in the technical solution described in the second aspect.

[0042] In the seventh aspect, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solution described in the first aspect.

[0043] In an eighth aspect, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solution described in the second aspect.

[0044] In a ninth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on an electronic device, the electronic device executes any one of the methods in the technical solution described in the first aspect.

[0045] In a tenth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on an electronic device, the electronic device executes any one of the methods in the technical solution described in the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is a schematic diagram of the structure of a terminal device 100 provided in an embodiment of the present application;

[0047] Figure 2 is a software structure block diagram of the terminal device 100 provided in an embodiment of the present application;

[0048] Figure 3 is a schematic diagram of a co-beating system used in a co-beating method provided in an embodiment of the present application;

[0049] Figure 4 It is a schematic diagram of the internal structure of a receiving end and a requesting end provided in an embodiment of the present application;

[0050] Figure 5 This is a signaling interaction diagram of an example of a receiving end and a requesting end performing synchronization, provided in an embodiment of the present application;

[0051] Figure 6 It is a structural schematic diagram of an example of a coordinated device provided in an embodiment of the present application;

[0052] Figure 7 It is a structural schematic diagram of an example of a coordinated device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0054] In the following, the terms "first", "second", "third", and "fourth" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first", "second", "third", and "fourth" may explicitly or implicitly include one or more of the features.

[0055] The co-shooting method provided in the embodiment of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.

[0056] For example, Figure 11 is a schematic diagram of the structure of an example of a terminal device 100 provided in an embodiment of the present application. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0057] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0058] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0059] The controller may be the nerve center and command center of the terminal device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0060] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0061] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0062] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.

[0063] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0064] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0065] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0066] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.

[0067] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0068] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0069] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0070] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.

[0071] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0072] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0073] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Figure 1The structures of antenna 1 and antenna 2 in the figure are only an example. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0074] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0075] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be arranged in the same device as the mobile communication module 150 or other functional modules.

[0076] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0077] In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0078] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0079] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0080] The terminal device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0081] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0082] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0083] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0084] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0085] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0086] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0087] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0088] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0089] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0090] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0091] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.

[0092] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.

[0093] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0094] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0095] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0096] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0097] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0098] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and applied to applications such as horizontal and vertical screen switching and pedometers.

[0099] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0100] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.

[0101] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.

[0102] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0103] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0104] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.

[0105] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0106] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.

[0107] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0108] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0109] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.

[0110] The software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The present application embodiment takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device 100.

[0111] Figure 2 1 is a software structure diagram of the terminal device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Androidruntime) and the system library, and the kernel layer. The application layer can include a series of application packages.

[0112] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0113] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0114] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0115] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0116] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0117] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0118] The phone manager is used to provide communication functions of the terminal device 100, such as management of call status (including connection, disconnection, etc.).

[0119] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0120] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.

[0121] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0122] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0123] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0124] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0125] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0126] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0127] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0128] A 2D graphics engine is a drawing engine for 2D drawings.

[0129] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0130] For ease of understanding, the following embodiments of the present application will be described in detail with Figure 1 and Figure 2 Taking the terminal device of the shown structure as an example, the synchronization method provided in the embodiment of the present application is specifically explained in combination with the accompanying drawings and application scenarios.

[0131] The method of the embodiment of the present application can be applied in Figure 3 In the co-production system shown, the co-production system includes two terminal devices capable of interacting, one as a requesting end and the other as a receiving end. The requesting end and the receiving end can perform signaling interaction through a signaling server, negotiate the image quality of both parties, and shoot media files respectively according to the negotiation results. Finally, one end synthesizes the media files generated by both ends to obtain a co-production file. Since the co-production file is synthesized from two media files based on the same negotiation result, the parameters of the co-production file are unified, which improves the display effect of the co-production file, thereby improving the user's co-production experience.

[0132] It should be noted that different terminal devices have different shooting capabilities due to differences in hardware configuration and software functions. In the embodiment of the present application, we use the first parameter to describe the media file parameters supported by the requesting end. Optionally, the first parameter can be the highest standard media file parameter that the requesting end can generate. For example, the first parameter can include the highest resolution of the image taken by the requesting end, and can also include the highest frame rate of the video taken by the requesting end. Optionally, the first parameter can also include parameters of dimensions such as brightness, beauty, makeup, style, and filters of the generated media file. We use the second parameter to describe the media file parameters supported by the receiving end. Optionally, the second parameter can be the highest standard media file that the receiving end can generate. The second parameter can reflect the shooting capability of the receiving end. The types of parameters included in the second parameter can refer to the description of the first parameter, which will not be repeated here.

[0133] In an optional embodiment, the user triggers the co-shooting process by operating the requesting end. For example, the user clicks the co-shooting button on the screen of the requesting end to initiate the co-shooting process, or the user initiates the co-shooting process by inputting a co-shooting instruction to the requesting end in the form of voice. The requesting end can send a co-shooting request to the receiving end through the signaling server based on the user operation. When the receiving end receives the co-shooting request, the co-shooting parameters applicable to both the requesting end and the receiving end are determined according to the first parameter carried in the co-shooting request and the second parameter representing the shooting capability of the receiving end itself. The co-shooting parameters can represent the image quality of the media file required for the co-shooting. The receiving end can then generate the second media file based on the co-shooting parameters and feed the co-shooting parameters back to the requesting end. The requesting end can then generate the first media file based on the co-shooting parameters.

[0134] Optionally, the receiving end may send the second media file to the requesting end, and the requesting end may synthesize the first media file and the received second media file to obtain a combined file. Optionally, the requesting end may also send the generated first media file to the receiving end, and the receiving end may synthesize the first media file and the second media file to obtain a combined file.

[0135] It should be noted that the parameters of the first media file and the parameters of the second media file are the same as the co-shooting parameters, and the parameters of the generated co-shooting file are the same as the co-shooting parameters. Among them, the first media file can be a photo taken or a video recorded by the requesting end for co-shooting, or an image or video captured from a video stream recorded by the requesting end when making a video call with the receiving end; similarly, the second media file can be a photo taken or a video recorded by the receiving end for co-shooting, or an image or video captured from a video stream recorded by the receiving end when making a video call with the requesting end, and this embodiment does not limit this.

[0136] The above-mentioned co-production parameter may be a parameter corresponding to a lower media file quality among the first parameter and the second parameter, wherein the media file quality may be image resolution and / or video smoothness. For example, the co-production parameter may be the smaller of the highest resolution supported by the requesting end and the highest resolution supported by the receiving end, and / or the co-production parameter may be the smaller of the highest frame rate supported by the requesting end and the highest frame rate supported by the receiving end; in this case, the co-production parameter is a media file parameter of the highest standard that can simultaneously adapt to the shooting capabilities of the requesting end and the receiving end, so that the picture quality of the co-production file can be optimized if the capabilities of the devices at both ends allow.

[0137] Optionally, the synchronization parameters can also be adjusted according to the network conditions. For example, when the network is busy, fewer network resources can be allocated to the synchronization process, and the quality of the media files corresponding to the synchronization parameters can be lower than the quality of the media files corresponding to the first parameters and the second parameters. For example, the synchronization resolution in the synchronization parameters is lower than the smaller of the highest resolution supported by the requesting end and the highest resolution supported by the receiving end, or the synchronization frame rate in the synchronization parameters is lower than the smaller of the highest frame rate supported by the requesting end and the highest frame rate supported by the receiving end.

[0138] After applying the above-mentioned co-production method, the requesting end and the receiving end negotiate the co-production parameters of the co-production quality through signaling interaction before co-production, and determine the same co-production parameters, so that the media files to be synthesized (i.e., the first media file and the second media file) with the same parameters can be generated according to the negotiated co-production parameters. The requesting end or the receiving end can synthesize the media files with the same parameters into a co-production file, avoiding the problem of poor picture effect of the co-production file caused by the inconsistency of the parameters of the media files to be synthesized. This method improves the display effect of the co-production file, thereby improving the user's co-production experience.

[0139] In an optional embodiment, when the first media file and the second media file are videos, the first parameter may include the maximum frame rate supported by the requesting end and the maximum image resolution of each frame image, the second parameter may include the maximum frame rate supported by the receiving end and the maximum image resolution of each frame image, and the determined synchronization parameters may include the synchronization frame rate and the synchronization image resolution. Among them, the synchronization frame rate is less than or equal to the smaller frame rate of the maximum frame rate supported by the requesting end and the maximum frame rate supported by the receiving end, and the synchronization image resolution is less than or equal to the smaller image resolution of the maximum image resolution supported by the requesting end and the maximum image resolution supported by the receiving end. For example, after the requesting end and the receiving end negotiate to obtain the synchronization frame rate and the synchronization image resolution, the requesting end records the first media file according to the synchronization frame rate and the synchronization image resolution, and the receiving end records the second media file according to the synchronization frame rate and the synchronization image resolution. Therefore, the frame rate of the first media file and the frame rate of the second media file are both the same as the synchronization frame rate, and the image resolution of the first media file and the image resolution of the second media file are both the same as the synchronization image resolution. In this embodiment, the requesting end and the receiving end ensure the uniformity of the parameters of the video recording at both ends by negotiating the co-shooting frame rate and co-shooting resolution, realize the coordinated control of the image quality at both ends, improve the picture quality of the video co-shooting, and thus improve the user experience of video co-shooting.

[0140] When the requesting end and the receiving end conduct a video call, the two parties conduct the video call according to the initial frame rate and initial image resolution. The initial frame rate is the frame rate of the video call at the moment before the co-shooting, and the initial image resolution is the image resolution of the video call at any moment before the co-shooting. When the two parties enter the video co-shooting process, in order to ensure the smoothness of the co-shooting video, the two parties can negotiate the co-shooting parameters according to the strategy of giving priority to ensuring the smoothness of the video and sacrificing the image clarity. For example, the receiving end increases the frame rate based on the initial frame rate as the co-shooting frame rate, and reduces the image resolution of the video frame based on the initial image resolution as the co-shooting image resolution, thereby ensuring the smoothness of the co-shooting video. At this time, the parameters of the video file transmitted by the video call are consistent with the co-shooting parameters. While ensuring the smoothness of the video, the image quality of the video call displayed at both ends is also consistent with the image quality of the co-shooting video file. The video seen by the users at both ends on their respective device interfaces is the same as the final generated co-shooting video, ensuring real-time, that is, what you see is what you get, and further improving the user's experience of co-shooting video.

[0141] In an optional embodiment, when the first media file and the second media file are images, the first parameter may include the maximum image resolution supported by the requesting end, the second parameter may include the maximum image resolution supported by the receiving end, and the determined co-shooting parameter may include the co-shooting image resolution. Among them, the co-shooting image resolution is less than or equal to the smaller image resolution of the maximum image resolution supported by the requesting end and the maximum image resolution supported by the receiving end. Specifically, after the requesting end and the receiving end negotiate to obtain the co-shooting image resolution, the requesting end shoots the first media file according to the co-shooting image resolution, and the receiving end shoots the second media file according to the co-shooting image resolution. Therefore, the image resolution of the first media file and the image resolution of the second media file are the same as the co-shooting image resolution. In this embodiment, the requesting end and the receiving end ensure the uniformity of the clarity of the co-shooting through negotiation on the co-shooting image resolution, realize the coordinated control of the image quality of both ends, and improve the quality of the co-shooting photo.

[0142] When the requesting end and the receiving end conduct a video call, the two parties conduct the video call according to the initial frame rate and initial image resolution. When the two parties enter the process of taking a photo together, in order to ensure the clarity of the photo taken together, the two parties can negotiate the parameters of the photo taken together according to the strategy of giving priority to image clarity and sacrificing video fluency. Specifically, the receiving end reduces the frame rate based on the initial frame rate as the frame rate of the video call, and increases the image resolution of the video frame based on the initial image resolution as the photo taken together, thereby ensuring the clarity of the photo taken together. At this time, the parameters of the video frame image transmitted by the video call are consistent with the photo taken together resolution. While ensuring the clarity of the photo taken together, the image quality of the video frame displayed at both ends is also consistent with the image quality of the photo taken together. The images of the users at both ends on their respective device interfaces are the same as the final generated images, that is, what you see is what you get, which further improves the quality of the user's photo taken together.

[0143] In an optional embodiment, when a video call is made between two ends, a media server is usually used to transmit the video stream. When a co-shoot is performed, the receiving end can send a second media file to the receiving end through an existing media server and using the existing media path of the video call. In this embodiment, the receiving end transmits the media file by reusing the media path of the existing video call. Compared with the cross-server transmission method of using a message file server to transmit files, this reduces the delay, improves the real-time performance of the co-shoot, and further improves the user's co-shoot experience.

[0144] In an optional embodiment, the requesting end and the receiving end can also adjust the parameters of the video call according to the network status. In an ordinary video call scenario, when a media file needs to be transmitted, the end as the sender encodes the media file according to a certain encoding strategy, that is, the current maximum bit rate, and then sends the encoded media stream to the end of the receiving end, and the receiving end decodes the received media stream (that is, the video stream, the photo stream). The requesting end or the receiving end as the encoding end can encode the media file according to the current maximum bit rate and transmit it. Among them, when the requesting end is the encoding end, the receiving end is the decoding end; when the receiving end is the encoding end, the requesting end is the decoding end. When the existing media channel of the video call is reused for media files, the end of the requesting end or the receiving end as the encoding party can increase the capacity of the media channel by increasing the maximum bit rate that the network status can accept at this time, thereby improving the transmission efficiency of the media file. When the transmission efficiency increases, whether it is to increase the co-frame rate or the co-frame image resolution, the display effect of the co-frame file can be further improved.

[0145] Optionally, the requesting end or the receiving end as the encoder can also adaptively adjust the encoding strategy (i.e., adjust the maximum bit rate allowed by the network) according to the busyness of the network to transmit media files, such as adjusting the co-shooting frame rate, co-shooting image resolution and maximum bit rate. When entering the co-shooting process, the requesting end or the receiving end as the encoder can also make full use of the maximum bit rate allowed by the network at this time, switching from the strategy of ensuring fluency of traditional video calls to the strategy of ensuring clarity. For example, when starting a video call, both ends use parameters of 720P resolution, 30fps frame rate, and 1035 bit rate to transmit video files. When co-shooting, the requesting end and the receiving end can increase the current resolution to 1080P, change the frame rate to 10fps, and change the bit rate to 1800 to transmit video files, making full use of network conditions to ensure the clarity of the co-shooting.

[0146] In order to more clearly describe the interaction process between the requesting end and the receiving end in the embodiment of the present application, Figure 4 and Figure 5 , the interaction and encoding and decoding process at both ends is described exemplarily. The adjustment method of the co-pacing parameters and encoding strategy in this embodiment is only an example, and is not intended to limit the method of obtaining the co-pacing parameters of this application.

[0147] like Figure 4 The requesting end and the receiving end are respectively installed with a video call application, and the requesting end and the receiving end respectively include a transmission protocol component that supports communication (including the transmission control protocol and / or the user data packet protocol), and a media component that can collect, edit (or synthesize) media files, and cameras are set up at both ends. Figure 4In the process, the requesting end and the receiving end perform signaling interaction through the signaling server, such as sending a co-production request and returning a co-production response. The requesting end and the receiving end also include an intelligent codec module, which includes a network adaptation module for determining the encoding strategy. The intelligent codec module also includes a codec module for encoding and decoding the media file according to the codec strategy. In one embodiment, the receiving end uses the intelligent codec module to encode the video stream or photo stream collected and generated by the camera according to the encoding strategy, and then sends it to the requesting end through the media server. The requesting end uses the intelligent codec module to decode the received video stream or photo stream, and then uses its own media component to generate the media files collected by itself and the received media files to obtain a co-production file.

[0148] like Figure 5 In the signaling interaction process shown, a video call is established between the requesting end and the receiving end through the media server. The requesting end sends a co-shooting request to the receiving end through the signaling server. The receiving end identifies the co-shooting scene based on the co-shooting request and determines whether the co-shooting scene is a co-shooting photo or a co-shooting video. Then the receiving end generates or adjusts the co-shooting parameters according to the co-shooting scene. For example, if the co-shooting scene is a co-shooting video, the receiving end can increase the co-shooting frame rate, reduce the co-shooting image resolution, and adaptively adjust the encoding strategy in combination with the network conditions, that is, adjust the maximum bit rate. For example, when the network is good, the receiving end can increase the maximum bit rate. After that, the receiving end returns a co-shooting response to the requesting end, and the co-shooting response can carry the co-shooting parameters. The requesting end adjusts the acquisition strategy according to the co-shooting parameters, collects media files, and receives the media files collected according to the co-shooting parameters sent by the receiving end through the media server, and decodes the received media files, and synthesizes the decoded media files and the collected media files to obtain the co-shooting files.

[0149] The above describes in detail an example of the method of co-ordination provided by the present application. It is understandable that, in order to implement the above functions, the corresponding device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0150] The present application can divide the functional modules of the coordinated device according to the above method example. For example, each function can be divided into each functional module, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0151] Figure 6 The schematic diagram of the structure of a synchronization device provided by the present application is shown. The device 600 includes:

[0152] A first receiving module 601 is used to control the receiving end to receive a co-production request sent by the requesting end, where the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end;

[0153] A determination module 602 is used to control the receiving end to determine a beat parameter according to a second parameter and the first parameter, where the second parameter is a media file parameter supported by the receiving end, the quality of the media file corresponding to the beat parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and the quality of the media file corresponding to the beat parameter is lower than or equal to the quality of the media file corresponding to the second parameter;

[0154] A first sending module 603, used to control the receiving end to send the synchronization parameter to the requesting end, the synchronization parameter is used by the requesting end to generate a first media file, and the parameters of the first media file are the same as the synchronization parameter;

[0155] The first generating module 604 is used to control the receiving end to generate a second media file according to the synchronization parameter, the parameters of the second media file are the same as the synchronization parameter, and the second media file is used to be synthesized with the first media file into a synchronization file.

[0156] Optionally, the first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

[0157] Optionally, the first media file and the second media file are both videos, the first parameter includes the maximum frame rate and maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

[0158] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the co-production frame rate is greater than the initial frame rate of the video call, and the co-production image resolution is less than the initial image resolution of the video call.

[0159] Optionally, both the first media file and the second media file are images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

[0160] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the synchronized frame rate is less than the initial frame rate of the video call, and the synchronized image resolution is greater than the initial image resolution of the video call.

[0161] Optionally, the apparatus 600 further includes a third sending module, configured to control the receiving end to send the second media file to the requesting end through the media path of the video call.

[0162] Optionally, the apparatus 600 further includes a third receiving module, configured to control the receiving end to receive the first media file sent by the requesting end through a media path of the video call.

[0163] Optionally, the apparatus 600 further includes a first control module, configured to control the receiving end to increase a maximum bit rate of the media channel when the receiving end sends the second media file to the requesting end through the media channel of the video call.

[0164] Figure 7 The schematic diagram of the structure of a synchronization device provided by the present application is shown. The device 700 includes:

[0165] The second sending module 701 is used to control the requesting end to send a co-production request to the receiving end, where the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end;

[0166] The second receiving module 702 is used to control the requesting end to receive the synchronization parameter sent by the receiving end, the media file quality corresponding to the synchronization parameter is lower than or equal to the media file quality corresponding to the first parameter, and the media file quality corresponding to the synchronization parameter is lower than or equal to the media file quality corresponding to the second parameter, and the second parameter is a media file parameter supported by the receiving end;

[0167] The second generating module 703 is used to control the requesting end to generate a first media file according to the synchronization parameters, the parameters of the first media file are the same as the synchronization parameters, the synchronization parameters are used by the receiving end to generate a second media file, the parameters of the second media file are the same as the synchronization parameters, and the second media file is used to be synthesized with the first media file into a synchronization file.

[0168] Optionally, the first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

[0169] Optionally, the first media file and the second media file are both videos, the first parameter includes the maximum frame rate and maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

[0170] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the co-production frame rate is greater than the initial frame rate of the video call, and the co-production image resolution is less than the initial image resolution of the video call.

[0171] Optionally, both the first media file and the second media file are images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

[0172] Optionally, the first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end, the synchronized frame rate is less than the initial frame rate of the video call, and the synchronized image resolution is greater than the initial image resolution of the video call.

[0173] Optionally, the apparatus 700 further includes a fourth receiving module, configured to control the requesting end to receive the second media file sent by the receiving end through the media path of the video call.

[0174] Optionally, the apparatus 700 further includes a fourth sending module, configured to control the requesting end to send the first media file to the receiving end through a media path of the video call.

[0175] Optionally, the device 700 further includes a second control module, configured to control the requesting end to increase the maximum bit rate of the media channel when the requesting end sends the first media file to the receiving end through the media channel of the video call.

[0176] The specific manner in which the apparatus 600 and the apparatus 700 perform synchronization and the beneficial effects produced can be found in the relevant description in the method embodiment.

[0177] The present application also provides an electronic device, including the above processor. The electronic device provided by this embodiment can be Figure 1 The terminal device 100 shown is used to perform the above-mentioned synchronization method. In the case of an integrated unit, the terminal device may include a processing module, a storage module and a communication module. Among them, the processing module can be used to control and manage the actions of the terminal device, for example, it can be used to support the terminal device to execute the steps performed by the display unit, the detection unit and the processing unit. The storage module can be used to support the terminal device to execute the stored program code and data, etc. The communication module can be used to support the communication between the terminal device and other devices.

[0178] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other terminal devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.

[0179] In one embodiment, when the processing module is a processor and the storage module is a memory, the terminal device involved in this embodiment may be a Figure 1 Device of the structure shown.

[0180] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the synchronization method described in any of the above embodiments.

[0181] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the synchronization method in the above-mentioned embodiment.

[0182] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.

[0183] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0184] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0185] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0186] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0187] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for coordinating, characterized in that: include: The receiving end receives a co-production request sent by the requesting end, where the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end; The receiving end determines a synchronization parameter according to a second parameter and the first parameter, the second parameter being a media file parameter supported by the receiving end, a media file quality corresponding to the synchronization parameter being lower than or equal to a media file quality corresponding to the first parameter, and a media file quality corresponding to the synchronization parameter being lower than or equal to a media file quality corresponding to the second parameter; the synchronization parameter being a media file parameter of a highest standard that is adapted to the shooting capabilities of both the requesting end and the receiving end; The receiving end sends the synchronization parameter to the requesting end, where the synchronization parameter is used by the requesting end to generate a first media file, and a parameter of the first media file is the same as the synchronization parameter; The receiving end generates a second media file according to the synchronization parameter, the parameter of the second media file is the same as the synchronization parameter, and the second media file is used to be synthesized with the first media file into a synchronization file; The first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end; The receiving end sends the second media file to the requesting end through the media path of the video call; or the receiving end receives the first media file sent by the requesting end through the media path of the video call; The requesting end and the receiving end adjust the parameters during the video call according to the network status to transmit the media file.

2. The method according to claim 1, characterized in that The first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

3. The method according to claim 1 or 2, characterized in that: The first media file and the second media file are both videos, the first parameter includes the maximum frame rate and the maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and the maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

4. The method according to claim 3, characterized in that The combined frame rate is greater than an initial frame rate of the video call, and the combined image resolution is less than an initial image resolution of the video call.

5. The method according to claim 1 or 2, characterized in that: The first media file and the second media file are both images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

6. The method according to claim 5, characterized in that The combined image resolution is greater than the initial image resolution of the video call.

7. The method according to claim 1, characterized in that The method further comprises: When the receiving end sends the second media file to the requesting end through the media channel of the video call, the receiving end increases the maximum bit rate of the media channel.

8. A method for coordinating, characterized in that: include: The requesting end sends a co-production request to the receiving end, where the co-production request carries a first parameter, where the first parameter is a media file parameter supported by the requesting end; The requesting end receives the synchronization parameter sent by the receiving end, the media file quality corresponding to the synchronization parameter is lower than or equal to the media file quality corresponding to the first parameter, and the media file quality corresponding to the synchronization parameter is lower than or equal to the media file quality corresponding to a second parameter, and the second parameter is a media file parameter supported by the receiving end; the synchronization parameter is a media file parameter of the highest standard that is adapted to the shooting capabilities of both the requesting end and the receiving end; The requesting end generates a first media file according to the synchronization parameter, the parameters of the first media file are the same as the synchronization parameter, the synchronization parameter is used by the receiving end to generate a second media file, the parameters of the second media file are the same as the synchronization parameter, and the second media file is used to be combined with the first media file into a synchronization file; The first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end; The requesting end receives the second media file sent by the receiving end through the media path of the video call; or the requesting end sends the first media file to the receiving end through the media path of the video call; The requesting end and the receiving end adjust the parameters during the video call according to the network status to transmit the media file.

9. The method according to claim 8, characterized in that The first parameter is a media file parameter of the highest standard supported by the requesting end, and the second parameter is a media file parameter of the highest standard supported by the receiving end.

10. The method according to claim 8 or 9, characterized in that: The first media file and the second media file are both videos, the first parameter includes the maximum frame rate and the maximum image resolution supported by the requesting end, the second parameter includes the maximum frame rate and the maximum image resolution supported by the receiving end, and the synchronization parameter includes the synchronization frame rate and the synchronization image resolution.

11. The method according to claim 10, characterized in that The combined frame rate is greater than an initial frame rate of the video call, and the combined image resolution is less than an initial image resolution of the video call.

12. The method according to claim 8 or 9, characterized in that: The first media file and the second media file are both images, the first parameter includes a maximum image resolution supported by the requesting end, the second parameter includes a maximum image resolution supported by the receiving end, and the synchronization parameter includes a synchronization image resolution.

13. The method according to claim 12, characterized in that The combined image resolution is greater than the initial image resolution of the video call.

14. The method according to claim 8, characterized in that The method further comprises: When the requesting end sends the first media file to the receiving end through the media path of the video call, the requesting end increases the maximum bit rate of the media path.

15. A device for coordinating, characterized in that: include: A first receiving module, used to control the receiving end to receive a co-production request sent by the requesting end, wherein the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end; a determination module, configured to control the receiving end to determine a synchronization parameter according to a second parameter and the first parameter, wherein the second parameter is a media file parameter supported by the receiving end, the quality of the media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and the quality of the media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to the second parameter; and the synchronization parameter is a media file parameter of the highest standard that is adapted to the shooting capabilities of both the requesting end and the receiving end; A first sending module, used for controlling the receiving end to send the synchronization parameter to the requesting end, wherein the synchronization parameter is used by the requesting end to generate a first media file, and the parameters of the first media file are the same as the synchronization parameter; A first generating module, used for controlling the receiving end to generate a second media file according to the synchronization parameter, the parameter of the second media file is the same as the synchronization parameter, and the second media file is used to be synthesized with the first media file into a synchronization file; The first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end; The receiving end sends the second media file to the requesting end through the media path of the video call; or the receiving end receives the first media file sent by the requesting end through the media path of the video call; The requesting end and the receiving end adjust the parameters during the video call according to the network status to transmit the media file.

16. A device for coordinating, characterized in that: include: A second sending module, used to control the requesting end to send a co-production request to the receiving end, wherein the co-production request carries a first parameter, and the first parameter is a media file parameter supported by the requesting end; a second receiving module, used to control the requesting end to receive a synchronization parameter sent by the receiving end, wherein the quality of the media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to the first parameter, and the quality of the media file corresponding to the synchronization parameter is lower than or equal to the quality of the media file corresponding to a second parameter, and the second parameter is a media file parameter supported by the receiving end; the synchronization parameter is a media file parameter of the highest standard that is adapted to the shooting capabilities of both the requesting end and the receiving end; a second generating module, configured to control the requesting end to generate a first media file according to the synchronization parameter, wherein the parameters of the first media file are the same as the synchronization parameter, and the synchronization parameter is used by the receiving end to generate a second media file, wherein the parameters of the second media file are the same as the synchronization parameter, and the second media file is used to be synthesized with the first media file into a synchronization file; The first media file and the second media file are both media files obtained from a video call between the receiving end and the requesting end; The receiving end sends the second media file to the requesting end through the media path of the video call; or the receiving end receives the first media file sent by the requesting end through the media path of the video call; The requesting end and the receiving end adjust the parameters during the video call according to the network status to transmit the media file.

17. An electronic device, characterized in that: include: Processors, memory, and interfaces; The processor, memory and interface cooperate with each other so that the electronic device executes the method as claimed in any one of claims 1 to 7.

18. An electronic device, characterized in that: include: Processors, memory, and interfaces; The processor, memory and interface cooperate with each other so that the electronic device executes the method as claimed in any one of claims 8 to 14.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 7.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 8 to 14.

Citation Information

Patent Citations

  • Negotiation method, device and network device of TCP option

    CN101986648A

  • Rate negotiation method, data transmission system and related equipment

    CN102131248A

  • Negotiation method of codec capability and terminal

    CN102223201A

  • Device for keeping state synchronization on both ends of serially-connected links and method therefor

    CN103067151A

  • Shooting method, shooting system and shooting device

    CN104333693A