CN115119048B - Video stream processing method and electronic equipment - Google Patents

Video stream processing method and electronic equipment Download PDF

Info

Publication number
CN115119048B
CN115119048B CN202210711397.XA CN202210711397A CN115119048B CN 115119048 B CN115119048 B CN 115119048B CN 202210711397 A CN202210711397 A CN 202210711397A CN 115119048 B CN115119048 B CN 115119048B
Authority
CN
China
Prior art keywords
image data
electronic device
copy
under
video stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210711397.XA
Other languages
Chinese (zh)
Other versions
CN115119048A (en
Inventor
罗诚
马翔宇
白帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210711397.XA priority Critical patent/CN115119048B/en
Publication of CN115119048A publication Critical patent/CN115119048A/en
Application granted granted Critical
Publication of CN115119048B publication Critical patent/CN115119048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The application relates to the technical fields of distributed hardware capability and video, in particular to a video stream processing method and electronic equipment. The method comprises the following steps: the electronic device receives a video stream from a first device at a remote end under a first process; the electronic device decodes and renders the video stream under the first process to obtain first image data available for display; the electronic device transfers the copy of the first image data to a second process running on the electronic device under the first process or converts the copy of the first image data into second image data and transfers the second image data to the second process running on the electronic device.

Description

Video stream processing method and electronic equipment
Technical Field
The application relates to the technical field of electronic equipment in the technical fields of distributed hardware capability and video, in particular to a video stream processing method and electronic equipment.
Background
In the current times of interconnection and intercommunication and data fusion, the situation that data acquired from other devices of an Application (APP) a needs to be shared to an application B on the same terminal often occurs, so that the application B can share the data to scenes of other devices. For example, referring to fig. 3, user a and user B are making video calls through a video phone application, and user a wants to share pictures taken by a drone received through an application provided by a drone vendor to the video phone application so that user B can see the pictures taken by the drone through the video phone application. For another example, the user C and the user D are performing a video call through an instant messaging application (e.g., a micro message, etc.), and the user C wants to share the picture captured by the monitoring camera acquired by the APP provided by the monitoring camera manufacturer to the instant messaging application, so that the user B can see the picture captured by the unmanned aerial vehicle through the video phone application.
According to one scheme, referring to fig. 4, after the terminal decodes video stream data corresponding to a picture shot from the unmanned aerial vehicle or the monitoring camera through application a, the decoded video data are respectively used for rendering display and format conversion. Wherein the video data after format conversion is transferred to the application B.
In general, application a needs to integrate a video format conversion kit in its installation package if format conversion of the decoded video data is to be completed, so that the installation package volume increases. In addition, the video format conversion kit is typically implemented in the c++ language and needs to run on a central processing unit (central processing unit, CPU). And for applications under the android system, the application is realized by java. Therefore, when format conversion of video data is performed, conversion efficiency from java-, c++ -, java is required to be low, and power consumption is large.
Disclosure of Invention
The embodiment of the application provides a video stream processing method and electronic equipment, which can utilize image data rendered by a first process to share data among different processes except for being used for display, so that system power consumption caused by format conversion of unrendered video data is saved.
In a first aspect, an embodiment of the present application provides a video stream processing method, where the method includes: the electronic device receives a video stream from a first device at a remote end under a first process; the electronic device decodes and renders the video stream under the first process to obtain first image data available for display; the electronic device transfers the copy of the first image data to a second process running on the electronic device under the first process, or converts the copy of the first image data into second image data and transfers the second image data to the second process running on the electronic device.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the transferring, by the electronic device, the copy of the first image data to a second process running on the electronic device under the first process, or converting the copy of the first image data into the second image data, and transferring the second image data to the second process running on the electronic device includes: the electronic device writes the copy of the first image data or the second image data into a first shared memory under the first process, so that the electronic device reads the copy of the first image data or the second image data from the first shared memory under the second process, wherein the first shared memory is a shared memory mapped to an address space of the first process and an address space of the second process.
In the implementation mode, the first process and the second process communicate through the shared memory, so that the transmission efficiency is improved.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the method further includes: the electronic equipment creates the first shared memory in the memory under the second process; and the electronic equipment sends the address of the first shared memory to the first process under the second process so as to establish the mapping between the address space of the first process and the first shared memory.
In this implementation, the second process may create a shared memory and send the address of the shared memory to the first process, so that a mapping between the address space of the first process and the first shared memory may be established, thereby establishing the shared memories of the first process and the second process.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes: when the copy of the first image data or the second image data is written into the first shared memory, the first process sends a reading notification to the second process so that the second process reads the copy of the first image data or the second image data from the first shared memory.
In the implementation manner, when the first process writes related data into the shared memory, the second process can be notified, so that the second process can timely read the data in the shared memory, and efficient data transfer between the first process and the second process is realized.
With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the electronic device is configured with a graphics processor; the electronic device decoding and rendering the video stream under the first process to obtain first image data available for display includes: the electronic device decodes the video stream into at least one frame of video data under the first process; the electronic device renders first video data in the at least one frame of video data under the first process using the graphics processor to obtain the first image data.
In the implementation mode, the image processor can decode and render the video stream to obtain displayable image data, and the efficiency of rendering the video data is improved.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the second image data is image data obtained by performing image format conversion on a copy of the first image data by the electronic device.
In this implementation, the rendered image data may be format converted to obtain image data suitable for the second process.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the electronic device is configured with a graphics processor; the method further comprises the steps of: and the electronic equipment writes the copy of the first image data into a first buffer space in a video memory so that the electronic equipment uses the image processor to perform image format conversion on the copy of the first image data to obtain the second image data.
In the implementation mode, the displayable image data can be subjected to format conversion by utilizing the parallel computing capability of the graphic processor, so that the format conversion efficiency is improved, the load of a CPU is reduced, and the system power consumption is reduced.
With reference to the first aspect, in a seventh possible implementation manner of the first aspect, an image format corresponding to the first image data is an ARGB format or an RGB format; the image format corresponding to the second image data is YUV format.
In the implementation mode, the image format of the displayable image data is ARGB format or RGB format, and a better picture display effect can be obtained; and the image data in ARGB format or RGB format can be converted into the image data in YUV format, when the second process sends the image data to other devices, the data quantity of transmission can be reduced, and network overhead is saved.
With reference to the first aspect, in an eighth possible implementation manner of the first aspect, the method further includes: the electronic device displays the first image data on a display screen.
In the implementation mode, the processed displayable image data can be used for being displayed on a display screen or transmitted to a second process, so that the utilization rate of the displayable image data is improved, the CPU load is reduced, and the system power consumption is reduced.
With reference to the first aspect, in a ninth possible implementation manner of the first aspect, the first process is a process corresponding to the first application; the first device is a camera corresponding to the first application or a cloud server corresponding to the first application, and the first application is a video monitoring application or an application corresponding to an unmanned aerial vehicle; the second process is a process corresponding to the instant messaging application or a system process of the electronic equipment.
In the implementation manner, sharing of image data corresponding to video streams acquired from a cloud server or a camera among different processes can be achieved, and therefore a user can share pictures shot by the camera with other users.
With reference to the first aspect, in a tenth possible implementation manner of the first aspect, the method further includes: the electronic device sends a copy of the first image data or the second image data to a third device under the second process.
In this implementation manner, after the second process acquires the image data from the first process, the second process may send the image data to other electronic devices, so that sharing of the display screen between different devices may be achieved.
With reference to the first aspect, in an eleventh possible implementation manner of the first aspect, the method further includes: when the electronic device transfers the copy of the first image data to a second process running on the electronic device under the first process, the electronic device converts the copy of the first image data to second image data under the second process.
In this implementation, after the second process acquires the image data rendered by the first process, the second process may convert the image data to obtain a format meeting the requirement of the second process on the image data.
With reference to the first aspect, in a twelfth possible implementation manner of the first aspect, the video stream is an encrypted video stream; the electronic device processing the video stream under the first process to obtain first image data available for display includes: the electronic device decrypts the encrypted video stream under the first process.
In this implementation, the video stream is an encrypted video stream, thereby avoiding or reducing the possibility of leakage of information.
In a second aspect, an embodiment of the present application provides a video stream processing method, where the method includes: the electronic device receives a video stream from a first device at a remote end under a first process; the electronic device decodes and renders the video stream under the first process to obtain first image data available for display; and the electronic equipment sends the copy of the first image data to other electronic equipment under the first process or converts the copy of the first image data into second image data and sends the second image data to other electronic equipment.
In a third aspect, an embodiment of the present application provides a video stream processing apparatus, including:
A receiving unit, configured to receive a video stream from a first device at a remote end under a first process;
a decoding and rendering unit for decoding and rendering the video stream under the first process to obtain first image data available for display;
and the transfer unit is used for transferring the copy of the first image data to a second process under the first process, or converting the copy of the first image data into second image data and transferring the second image data to the second process.
In a fourth aspect, an embodiment of the present application provides a video stream processing apparatus, including:
a receiving unit, configured to receive a video stream from a first device at a remote end under a first process;
a decoding and rendering unit for decoding and rendering the video stream under the first process to obtain first image data available for display;
and the sending unit is used for sending the copy of the first image data to other electronic equipment under the first process or converting the copy of the first image data into second image data and sending the second image data to other electronic equipment.
In a fifth aspect, embodiments of the present application provide an electronic device, including a processor, a memory, and a transceiver; wherein the memory is used for storing computer execution instructions; the processor executes the computer-executable instructions stored by the memory to cause the electronic device to perform the method of the first aspect or the method of the second aspect when the electronic device is operating.
In a sixth aspect, embodiments of the present application provide a computer storage medium comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the method of the first aspect or the method of the second aspect.
In a seventh aspect, embodiments of the present application provide a computer program product comprising program code for implementing the method according to the first aspect or the method according to the second aspect when the program code is executed by a processor in an electronic device.
The embodiment of the application can transfer the rendered displayable image data to other processes, so that the format conversion of unrendered video data is not needed when the image data is transferred to other processes, and the load of a CPU (Central processing Unit) and the system power consumption are reduced; in addition, the rendered displayable image data can be converted into images with other formats, such as images with YUV formats, compared with the image data which is converted from unrendered video data into the image data with YUV formats, the displayable image data can be converted into the image data with YUV formats without using a video format conversion tool package, so that a series of conversions such as java-, C++ -, java and the like are not needed during the image format conversion, the image format conversion speed is high, and the system power consumption is low.
Drawings
Fig. 1 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application;
fig. 3 is an application scenario schematic diagram of a video stream processing method according to an embodiment of the present application
FIG. 4 is a flow chart of a video stream processing method;
fig. 5 is a flowchart of a video stream processing method according to an embodiment of the present application;
fig. 6 is a flowchart of a video stream processing method according to an embodiment of the present application;
fig. 7 is a schematic block diagram of a video stream processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise.
Wherein, in the description of the present specification, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
In the description of this specification, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The video stream processing method can be applied to electronic equipment. The electronic device may be a portable electronic device such as a cell phone, tablet, digital camera, personal digital assistant (personal digitalassistant, PDA), wearable device, laptop computer (laptop), etc. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices that carry iOS, android, microsoft or other operating systems. The portable electronic device described above may also be other portable electronic devices, such as a laptop computer (laptop) or the like having a touch-sensitive surface, e.g. a touch panel. It should also be appreciated that in other embodiments of the present application, the electronic device may not be a portable electronic device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch panel). The type of the electronic device is not particularly limited in the embodiments of the present application.
Fig. 1 shows a schematic configuration of an electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may 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, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating 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. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), fifth generation, new radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments of the present application, when the display panel is made of OLED, AMOLED, FLED or the like, the display screen 194 may be bent, i.e., the electronic device 100 may be configured with a foldable display screen. Here, the display 194 may be bent, meaning that the display may be bent at a fixed location or any location to any angle and may be held at that angle. The foldable display screen has two modes: an unfolded state and a folded state. The folding display screen can be regarded as being in an unfolding state when the folding angle formed when the folding display screen is folded is larger than a preset value, and can be regarded as being in a folding state when the folding angle formed when the folding display screen is folded is smaller than the preset value. The bending angle may refer to an angle formed by a side of the foldable screen, which is not used for displaying contents, at a bending portion. The preset value may be predefined, for example, may be 90 degrees, 80 degrees, etc. In some embodiments, an angle sensor may be disposed at a bending position of the foldable display screen, and the electronic device may detect the bending angle through the angle sensor and may determine that the foldable display screen is in an unfolded state or a folded state according to the bending angle.
When the foldable display screen is in an unfolded state, a user interface provided by an operating system of the electronic device can be displayed in a full screen mode. The full screen display user interface may refer to that the user interface occupies the whole display area of the foldable display screen, or may refer to that the user interface occupies most of the display area of the display screen, for example, when the foldable display screen is a special-shaped cut screen (Notch screen), the middle part of the special-shaped cut screen displays the user interface, and when one side or two side edge parts are black, the foldable display screen may also be regarded as displaying the user interface in full screen.
When the foldable display screen is in a folded state, the electronic device may display the user interface provided by the operating system only on one of the display screens of the foldable display screen, or may display the user interface provided by the operating system of the electronic device on both display screens of the foldable display screen.
In some embodiments, the electronic device may transition from displaying the user interface full screen on the foldable display screen to displaying the user interface on one of the display screens on the foldable display screen when the foldable display screen transitions from the unfolded state to the folded state.
In other embodiments of the present application, the electronic device 100 may be configured with two separate display screens, one on each side of the electronic device 100. When the electronic device 100 is configured with two display screens, the two display screens may have the same configuration or may have different configurations. For example, the two display screens may be made of the same or different materials and may have the same or different screen sizes, e.g., one display screen is a 6 inch OLED screen and one display screen is a 3.3 inch LCD screen, which is not limited in the embodiments of the present application.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred 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 the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon. In some embodiments, the pressure sensor 180A may detect a detection signal of a user's finger contacting the display screen 194 to determine a contact area and a contact area of the finger contacting the display screen 194, and may further determine whether the finger is sandwiched between the electronic device 100 in the folded configuration.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
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 electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The hardware layer may include various types of sensors, such as angle sensors, pressure sensors, and the like, to which embodiments of the present application relate.
The workflow of the electronic device 100 software and hardware is illustrated below in connection with capturing a photo scene.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a camera application icon, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video by the camera 193.
The embodiment of the application provides a video stream processing method, which can be applied to electronic equipment, and the electronic equipment can refer to the description of the electronic equipment 100. Next, in conjunction with fig. 5, a video stream processing method provided in an embodiment of the present application will be described.
As shown in fig. 5, the video stream processing method provided in the embodiment of the present application includes step 500.
At step 500, the electronic device receives a video stream from a first device at a remote end under a first process.
In some embodiments, the first device may be a monitoring-type camera. The camera and the electronic device may be connected through a network, for example, may be connected through LTE communication technology, fifth generation communication technology, wi-Fi, and the like. In some examples, the camera may be specifically a surveillance camera, such as a home smart camera, an emerging smart camera, and so forth. In some examples, the camera may be specifically a camera mounted on the drone. Etc.
In some embodiments, the first device may be a drone with a camera mounted.
It is easy to understand that if a picture shot by a monitoring camera or an unmanned aerial vehicle is to be watched through an electronic device, an APP provided by a producer or a supplier of the monitoring camera or the unmanned aerial vehicle needs to be installed on the electronic device. The APP can be video monitoring APP or unmanned aerial vehicle APP. The process to which the APP corresponds may be referred to as a first process. The electronic device may receive the video stream from the first device at the remote end via the APP, i.e. the electronic device may receive the video stream from the first device at the remote end under the first process.
It should be noted that, in the embodiment of the present application,
the electronic device receives the video stream under the first process, which means that the first process of the electronic device is a main body for receiving the video stream.
A process (process) is a running activity of a program in a computer on a data set, is a basic unit of resource allocation and scheduling by a system, and is a basis of an operating system structure. A process may share memory space (including code segments, data sets, heap, etc.) of the process between threads under the same process by one or more threads. The different processes are independent of each other. The different processes may communicate through a shared memory.
It will be readily appreciated that processes are but one widely applicable definition of the field of operating systems, but may be referred to differently in actual products.
When the electronic device receives the video stream, step 502 may be performed.
Step 502, the electronic device decodes and renders the video stream under the first process to obtain first image data available for display.
In some embodiments, the video stream received from the first device may be a video stream of a first format. The first format is specifically a digital video compression format, such as h.264, h.265, etc.
And the electronic equipment decodes the video stream in the first format under the first process to obtain one or more frames of video data.
Specifically, taking the example of the h.264 format video stream, the decoding process may include inter and intra prediction (estimation), transform (transform) and inverse transform, quantization (quantization) and inverse quantization, loop filter (loop filter) entropy coding (entropy coding).
The decoded video data is video image data, for example, video image data in a YUV format. Video image data, which needs to be further rendered into displayable image data, such as image data in the ARGB format or the RGB format, for display on a display screen.
In some embodiments, the video stream received from the first device may be an encrypted video stream. The electronic device may decrypt the encrypted video stream under a first process. Then, the electronic device decodes the decrypted video stream under the first process, and one or more frames of video data can be obtained.
In some embodiments, decoding of the video stream may specifically be soft decoding. The electronic device may decode the video stream using the CPU under the first process.
In some embodiments, decoding of the video stream may be specifically hard decoding. In one example, the electronic device can decode the video stream using the DSP in a first process.
The decoded video data cannot be displayed on a display screen and needs further rendering. Thus, in step 502, the electronic device renders the one or more frames of video data under a first process to obtain one or more displayable image data. For multi-frame video data, each frame of video data can be sequentially rendered by the electronic device under a first process to obtain a plurality of displayable image data. Displayable image data refers to data that can be directly used to display an image on a display screen.
In some embodiments, the electronic device is configured with a graphics processor. The electronic device may render the one or more frames of video data using the graphics processor in a first process to obtain one or more displayable image data.
In some embodiments, the electronic device is configured with a neural network processor. The electronic device may render the one or more frames of video data using the neural network processor under a first process to obtain one or more displayable image data.
In some embodiments, the electronic device is configured with an image signal processor. The electronic device may render the one or more frames of video data using the image signal processor under a first pass to obtain one or more displayable image data.
In some embodiments, the electronic device may display the one or more displayable image data on a display screen in a first pass to display a related screen. For a plurality of displayable image data, each of the image data is displayable one by one on the display screen by the electronic device under a first process. More specifically, whenever a displayable image data is rendered, the image data may be displayed by the electronic device on the display screen under a first process.
In one example of these embodiments, an electronic device is configured with a graphics processor. The graphics processor may render the decoded video data one by one, where the displayable image data resulting from the rendering is written into a first buffer space in the video memory. The displayable image data in the first buffer space is for display on a display screen. The size of the first buffer space may be an integer multiple of the data size of the displayable image data.
In one example, the size of the first buffer space is equal to the data size of displayable image data, i.e., a first buffer space can accommodate a displayable image data.
In one example, the size of the first buffer space is N times the size of displayable image data, N being an integer > 1, i.e. in this example, one first buffer space is sized to accommodate N displayable image data simultaneously.
In some embodiments, after obtaining displayable image data via step 502, the electronic device may perform step 504a.
At step 504a, the electronic device transfers a copy of the first image data under the first process to a second process running on the electronic device.
The electronic device can also operate a second process while the electronic device operates the first process, and the second process can acquire displayable image data rendered by the electronic device under the first process.
In one example of these embodiments, in step 504a, the electronic device writes a copy of the first image data to a first shared memory under the first process, such that the electronic device reads the copy of the first image data from the first shared memory under a second process. The first shared memory is a shared memory mapped to an address space of the first process and an address space of the second process.
In one example, when rendering any displayable image data, such as first image data, the electronic device may write the first image data into the first buffer space and write a copy of the first image data into the first shared memory under the first process. The second process may read a copy of the first image data from the first shared memory. In one particular example, a copy of the first image data may be written to a third buffer space in the first shared memory. The third buffer space size may be an integer multiple of the size of the copy of the first image data. In one specific example, the third buffer space size may be 1 time the size of the copy of the first image data. In a specific example, after the electronic device writes the copy of the first image data into the first shared memory under the first process, the electronic device may send a read notification to the second process through an application data channel between the first process and the second process, so that the second process reads the copy of the first image data from the first shared memory.
In one particular example, the second process may be configured to start prior to the first process, and when the first process starts, the electronic device may establish an application data channel between the first process and the second process. In one particular example, a first process may be set up to start before a second process, and when the second process starts, the electronic device may establish an application data channel between the first process and the second process. In a specific example, when the first process and the second process are simultaneously running, the electronic device may establish an application data channel between the first process and the second process in response to an operation of the second process or an operation interface of the first process by a user. In one example, the application data channel may specifically be a socket.
In this example, the second process may be a video telephony application, or an instant messaging application, such as WeChat, QQ, etc. The second process may also be a system process of the electronic device. Taking the second process as an example of a process corresponding to the instant messaging application, the first process can be set to be started when video call is carried out between the instant messaging application and the family. For example, in a state that the video call window is not maximized, an icon of the first application corresponding to the first process may be clicked to start the first process, and further, the video stream may be received from the first device at the far end, and a picture corresponding to the video stream may be displayed on the display screen. The related pictures corresponding to the video stream displayed on the display screen may be described above, and will not be described herein.
The user wants to share pictures corresponding to the video stream received from the first device, which are displayed on the display screen, to the family. The user can operate the instant messaging application to replace the picture at the user side in the video call with the picture corresponding to the video stream, so that the picture corresponding to the video stream received by the first equipment is shared with the family. Specifically, in response to a user operation on an instant messaging application, the electronic device creates a first shared memory in the memory under the second process, and sends an address of the first shared memory to the first process through an application data channel (e.g., socket) between the first process and the second process, so that the first process can establish a mapping between an address space of the first process and the first shared memory. The second process may also establish a mapping between the address space of the second process and the first shared memory.
In this example, by establishing the shared memory of the first process and the second process, so that the first process writes the image data into the buffer space in the shared memory, the second process can read the image data from the buffer space in the shared memory, and the transmission efficiency between the first process and the second process can be improved.
In one example of this example, after the second process reads the first image data, the first image data may be converted in image format. The conversion may be performed specifically according to the image data format required by the second process. The second process and the first process may agree in advance with the image data format required by the second process. For example, the image data format required by the second process is a YUV format, the image format of the first image data is ARGB or RGB, and the first image data can be converted into the image data in YUV format.
It should be noted that, as described above, the video data obtained after decoding the video stream may also be image data in YUV format. There are various YUV formats, such as YUV444, YUV422, YUV420, YV12, NV12, NV21, etc. Generally, the video data obtained after decoding is different from the image data format required by the second process, for example, the format of the video data obtained after decoding is YUV444, and the image data format required by the second process is NV12.
If the video data obtained after decoding is used for format conversion to obtain the image data format required by the second process, the CPU is called for conversion by means of a video format conversion tool package. Particularly, under the android system, the language of the application program is java, and the voice of the video format conversion kit is C++, so that a series of conversions of java-, C++ -, java and the like are performed during the conversion.
In the embodiment of the application, the format conversion is performed by using the rendered displayable image format, and the format conversion can be realized by utilizing the GPU and the computing power without using a video format conversion kit or invoking a CPU. Therefore, compared with converting unrendered video data into image data in YUV format, converting image data in image format of ARGB or RGB into image data in YUV format, there is no need to use a video format conversion kit, so that a series of conversions of java-, c++ -, java, etc. are performed at the time of image format conversion. Therefore, in the embodiment of the application, the image format conversion speed is high, and the system power consumption is low.
In one example of these embodiments, in step 504a, a first process may pass a copy of first image data to a second process through a data channel between the first process and the second process.
In some embodiments, after obtaining the image data that can be displayed via step 502, the electronic device may perform steps 504b and 506.
In step 504b, the electronic device performs image format conversion on the copy of the first image data under the first process, to obtain second image data.
In one example, the electronic device performs image format conversion using the graphics processor on a copy of the first image data under the first process.
In one example, the electronic device performs image format conversion using a neural network processor on a copy of the first image data under the first process.
In one example, the electronic device performs image format conversion using the image signal processor on a copy of the first image data under the first process.
In one example, the electronic device may, under a first process, write the first image data into a first buffer space and a copy of the first image data into a second buffer space when rendering any displayable image data, such as the first image data. And then the electronic equipment converts the image format of the copy of the first image data in the second buffer space under the first process to obtain second image data. For example, the image format of the copy of the first image data may be ARGB or RGB, which may be converted into image data in the image format YUY. In a specific example, if the electronic device renders the first image data using the graphics processor under the first process and performs image format conversion on the copy of the first image data, the first buffer space and the second buffer space may be spaces in the video memory. In this example, the first image data in the first buffer space is available for display on a display screen, and the copy of the first image data in the second buffer space is used for image format conversion to obtain the second image data. The electronic equipment can simultaneously display the image data and convert the format of the image data under the first process, and the two tasks are not mutually influenced.
In this example, compared with converting unrendered video data into image data in YUV format, converting image data in image format of ARGB or RGB into image data in YUV format does not need to use a video format conversion kit, so that a series of conversions of java — c++ -, java, etc. are not required at the time of image format conversion. Therefore, in the embodiment of the application, the image format conversion speed is high, and the system power consumption is low.
At step 506, the electronic device transfers the second image data to a second process running on the electronic device under the first process.
In one example of these embodiments, the electronic device writes the second image data to the first shared memory under the first process, such that the electronic device reads the second image data from the first shared memory under the second process.
The electronic device may write the second image data obtained in step 504b into the first shared memory under the first process, and send a reading notification to the second process, so that the second process may read the second image data from the first shared memory. The method for creating the first shared memory may be described above, and will not be described herein.
In one example, the second image data may be written to a third buffer space in the first shared memory. The size of the third buffer space may be an integer multiple of the second image data, and in one example, the size of the third buffer space is 1 time the second image data.
In this example, by establishing the shared memory of the first process and the second process, the first process and the second process can communicate, and it is unnecessary to create a buffer space for writing the second image data for the first process and the second process, respectively, and it is possible to improve the transmission efficiency between the first process and the second process.
In one example of these embodiments, in step 506, the first process may pass the second image data to the second process through a data path between the first process and the second process. The establishment of the data channel may be referred to above and will not be described here again.
It should be noted that, the video stream processing method provided in the embodiment of the present application is described above by taking the first process and the second process as two independent processes as an example. In some embodiments, the first process and the second process may be replaced with two threads under the same process, e.g., a first thread in process a may perform the relevant actions performed by the first process above and a second thread in process a may perform the relevant actions performed by the second process above. As described above, each thread in the same process may share the memory space of the process, so when two threads in the same process execute the video stream processing method provided in the embodiment of the present application, the communication between the different processes described above may be omitted.
The video stream processing method provided by the embodiment of the application can transfer the rendered displayable image data to other processes, so that the video stream processing method can realize that when the image data is transferred to other processes, format conversion is not required to be carried out on unrendered video data, and the load of a CPU (Central processing Unit) and the system power consumption are reduced; in addition, the rendered displayable image data can be converted into images with other formats, such as images with YUV formats, compared with the image data which is converted from unrendered video data into the image data with YUV formats, the displayable image data can be converted into the image data with YUV formats without using a video format conversion tool package, so that a series of conversions such as java-, C++ -, java and the like are not needed during the image format conversion, the image format conversion speed is high, and the system power consumption is low.
Referring to fig. 6, in one embodiment, a video stream processing method provided in an embodiment of the present application is illustrated. In this embodiment, the method is applicable to an electronic device configured with a graphics processor. Process a and process B are two unrelated processes running on the electronic device.
Process a may obtain video rendering data and convert the data format of the video rendering data using the parallel computing capabilities of the graphics processor.
Specifically, the process a receives encrypted video stream data (the video stream is generally in an encrypted h.264 or h.265 format), decrypts and decodes the encrypted video stream data, renders the frame of video stream data into a buffer1 (the buffer1 is allocated from a GPU video memory, and renders the frame of video stream data into displayable image data in the buffer1, the image data is generally in an ARGB image format, the size of the buffer1 is equal to width of the image data by 4, the height is height of the image data), and the image data in the buffer1 is used for display output. The image data in buffer1 is displayed on a display screen, which may be an LCD display screen. The video data stream rendering may specifically be texture rendering of video stream data obtained after the GPU decodes the video stream data.
A write in buffer2 (allocated from GPU video memory, size with height 4) is a copy of displayable image data in buffer 1. And (3) distributing buffer3 (with the size of width height of 1.5) in the shared memory through shared memory communication between the process A and the process B. And converting the image data in the buffer2 from an ARGB image data format into a YUV image format by using the parallel computing capability of the GPU according to the RGB-YUV conversion formula, and storing the image data in the buffer 3.
And the process A writes the converted data into the shared buffer and notifies the process B to read. And the process B starts to read the YUV format data after receiving the notification that the buffer3 is filled. And the process A and the process B enter the next cycle until the video stream is ended or the user selects to exit.
In this embodiment, the decoded video stream is directly utilized to render the display data, and the powerful parallel capability of the GPU is fully utilized to perform format conversion, and the format conversion is directly filled into the inter-process shared buffer, so that the load of the CPU in the system is greatly reduced, and the system power consumption is reduced.
The embodiment of the application provides a video stream processing device 700. Referring to fig. 7, the apparatus 700 includes:
a receiving unit 710, configured to receive a video stream from a first device at a remote end under a first process;
a decoding and rendering unit 720, configured to decode and render the video stream under the first process to obtain first image data available for display;
and a transferring unit 730, configured to transfer the copy of the first image data to a second process under the first process, or convert the copy of the first image data into second image data, and transfer the second image data to the second process.
The functions of the functional units of the apparatus 700 may be implemented with reference to the method embodiment shown in fig. 5, which is not described herein.
The device provided by the embodiment of the application can transfer the rendered displayable image data to other processes, so that the format conversion of unrendered video data is not required when the image data is transferred to other processes, and the load of a CPU (Central processing Unit) and the system power consumption are reduced; in addition, the rendered displayable image data can be converted into images with other formats, such as images with YUV formats, compared with the image data which is converted from unrendered video data into the image data with YUV formats, the displayable image data can be converted into the image data with YUV formats without using a video format conversion tool package, so that a series of conversions such as java-, C++ -, java and the like are not needed during the image format conversion, the image format conversion speed is high, and the system power consumption is low.
The foregoing description of the apparatus provided in the embodiments of the present application has been mainly presented in terms of a method flow. It will be appreciated that each electronic device, in order to implement the above-described functionality, includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the functional modules of the electronic device and the like may be divided according to the method embodiments shown in fig. 5, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
The embodiment of the application provides electronic equipment. Referring to fig. 8, the electronic device includes a processor 810, a memory 820, and a transceiver 830. Wherein the memory is used for storing computer execution instructions; when the electronic device is running, the processor 810 executes the computer-executable instructions stored in the memory 820 to cause the electronic device to perform the method shown in fig. 4. Wherein transceiver 830 is configured to receive a video stream from a first device at a remote end under a first process; the processor 810 is configured to decode and render the video stream under the first process to obtain first image data available for display; the processor 810 is configured to transfer a copy of the first image data to a second process running on the electronic device under the first process, or convert the copy of the first image data to second image data and transfer the second image data to the second process running on the electronic device.
In some embodiments, the electronic device further includes a communication bus 840, where the processor 810 may be connected to the memory 820 and the transceiver 830 through the communication bus 840, so as to implement corresponding control of the transceiver 830 according to computer-executable instructions stored in the memory 820.
The specific implementation of each component/device at the electronic device end in the embodiment of the present application may be implemented with reference to each method embodiment shown in fig. 5 and will not be described herein.
Therefore, the electronic equipment can transmit the rendered displayable image data to other processes, so that the format conversion of unrendered video data is not required when the image data is transmitted to other processes, and the load of a CPU (central processing unit) and the system power consumption are reduced; in addition, the rendered displayable image data can be converted into images with other formats, such as images with YUV formats, compared with the image data which is converted from unrendered video data into the image data with YUV formats, the displayable image data can be converted into the image data with YUV formats without using a video format conversion tool package, so that a series of conversions such as java-, C++ -, java and the like are not needed during the image format conversion, the image format conversion speed is high, and the system power consumption is low.
It is to be appreciated that the processor in embodiments of the present application may be a central processing unit (central processing unit, CPU), but may also be other general purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (application specific integrated circuit, ASIC), field programmable gate arrays (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general purpose processor may be a microprocessor, but in the alternative, it may be any conventional processor.
The method steps in the embodiments of the present application may be implemented by hardware, or may be implemented by a processor executing software instructions. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable PROM (EPROM), electrically erasable programmable EPROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.

Claims (15)

1. A method of video stream processing, the method comprising:
the electronic device receives a video stream from a first device at a remote end under a first process;
the electronic device decodes and renders the video stream under the first process to obtain first image data available for display;
the electronic device transfers the copy of the first image data to a second process running on the electronic device under the first process, or converts the copy of the first image data into second image data and transfers the second image data to the second process running on the electronic device.
2. The method of claim 1, wherein the electronic device transferring the copy of the first image data to a second process running on the electronic device under the first process or converting the copy of the first image data to second image data and transferring the second image data to a second process running on the electronic device comprises:
The electronic device writes a copy of the first image data into a first shared memory under the first process, so that the electronic device reads the copy of the first image data or the second image data from the first shared memory under the second process, wherein the first shared memory is a shared memory mapped to an address space of the first process and an address space of the second process.
3. The method according to claim 2, wherein the method further comprises:
the electronic equipment creates the first shared memory in the memory under the second process;
and the electronic equipment sends the address of the first shared memory to the first process under the second process so as to establish the mapping between the address space of the first process and the first shared memory.
4. The method according to claim 2, wherein the method further comprises:
when the copy of the first image data or the second image data is written into the first shared memory, the first process sends a reading notification to the second process so that the second process reads the copy of the first image data or the second image data from the first shared memory.
5. The method of claim 1, wherein the electronic device is configured with a graphics processor; the electronic device decoding and rendering the video stream under the first process to obtain first image data available for display includes:
the electronic device decodes the video stream into at least one frame of video data under the first process;
the electronic device renders first video data in the at least one frame of video data under the first process using the graphics processor to obtain the first image data.
6. The method of claim 5, wherein the second image data is image data obtained by converting a copy of the first image data to an image format by the electronic device.
7. The method of claim 6, wherein the electronic device is configured with a graphics processor; the converting the first image data into second image data includes:
and the electronic equipment writes the copy of the first image data into a first buffer space in a video memory so that the electronic equipment uses the image processor to perform image format conversion on the copy of the first image data to obtain the second image data.
8. The method of claim 1, wherein the image format corresponding to the first image data is an ARGB format or an RGB format; the image format corresponding to the second image data is YUV format.
9. The method according to claim 1, wherein the method further comprises: the electronic device displays the first image data on a display screen.
10. The method of claim 1, wherein the first process is a process corresponding to a first application; the first device is a camera corresponding to the first application or a cloud server corresponding to the first application, and the first application is a video monitoring application or an application corresponding to an unmanned aerial vehicle;
the second process is a process corresponding to the instant messaging application or a system process of the electronic equipment.
11. The method according to claim 1, wherein the method further comprises: the electronic device sends a copy of the first image data or the second image data to a third device under the second process.
12. The method according to claim 1, wherein the method further comprises: when the electronic device transfers the copy of the first image data to a second process running on the electronic device under the first process, the electronic device converts the copy of the first image data to second image data under the second process.
13. The method of claim 1, wherein the video stream is an encrypted video stream;
the electronic device decoding and rendering the video stream under the first process to obtain first image data available for display includes:
the electronic device decrypts the encrypted video stream under the first process.
14. An electronic device, comprising a processor, a memory, and a transceiver;
the memory is configured to store computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the method of any of claims 1-13.
15. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-13.
CN202210711397.XA 2019-08-10 2019-08-10 Video stream processing method and electronic equipment Active CN115119048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210711397.XA CN115119048B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210711397.XA CN115119048B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment
CN201910737036.0A CN112437341B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910737036.0A Division CN112437341B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115119048A CN115119048A (en) 2022-09-27
CN115119048B true CN115119048B (en) 2024-02-23

Family

ID=74690293

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910737036.0A Active CN112437341B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment
CN202210711397.XA Active CN115119048B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910737036.0A Active CN112437341B (en) 2019-08-10 2019-08-10 Video stream processing method and electronic equipment

Country Status (1)

Country Link
CN (2) CN112437341B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034629B (en) * 2021-05-17 2021-08-20 腾讯科技(深圳)有限公司 Image processing method, image processing device, computer equipment and storage medium
CN114268773A (en) * 2022-03-03 2022-04-01 杭州闪马智擎科技有限公司 Video playing method, system, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243690A (en) * 2005-08-17 2008-08-13 Nxp股份有限公司 Method video encoding and decoding preserving cahe localities
CN101714956A (en) * 2009-10-29 2010-05-26 北京中星微电子有限公司 Virtual video system, remote sharing system and method of video file
CN102253855A (en) * 2011-06-17 2011-11-23 北京书生国际信息技术有限公司 Method and device for transferring shared memory
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
CN105393546A (en) * 2013-07-22 2016-03-09 高通股份有限公司 Method and apparatus for resource utilization in a source device for wireless display
CN105530479A (en) * 2015-12-28 2016-04-27 深圳市科漫达智能管理科技有限公司 Video data processing method and system based on mobile terminal
CN105955802A (en) * 2016-04-21 2016-09-21 青岛海信移动通信技术股份有限公司 Application operation method for mobile terminal, and mobile terminal
CN108156520A (en) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 Video broadcasting method, device, electronic equipment and storage medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325079A (en) * 2000-05-16 2001-11-22 Canon Inc Image-processing system, image data processing method and storage medium
US20050086656A1 (en) * 2003-10-20 2005-04-21 Gemstone Systems, Inc. Methods and systems for inter-process copy sharing of data objects
JP4979287B2 (en) * 2006-07-14 2012-07-18 富士ゼロックス株式会社 Image processing apparatus and program
JP5225010B2 (en) * 2008-10-14 2013-07-03 キヤノン株式会社 Interprocessor communication method, multiprocessor system, and processor.
CN103995736B (en) * 2011-06-17 2017-09-22 天津书生软件技术有限公司 A kind of method and apparatus for transmitting shared drive
JP2014038502A (en) * 2012-08-17 2014-02-27 Sony Corp Information processing device, information processing method, and program
CN103118077A (en) * 2013-01-15 2013-05-22 百度在线网络技术(北京)有限公司 Cross equipment content transmission method, system and client-side
CN103716652A (en) * 2014-01-10 2014-04-09 厦门市美亚柏科信息股份有限公司 Data transmission method, data transmission device and data transmission system
KR101585980B1 (en) * 2014-04-11 2016-01-19 전자부품연구원 CR Algorithm Processing Method for Actively Utilizing Shared Memory of Multi-Proceoosr and Processor using the same
WO2017083418A1 (en) * 2015-11-09 2017-05-18 Nexvidea Inc. Methods and systems for recording, producing and transmitting video and audio content
CN107079105B (en) * 2016-11-14 2019-04-09 深圳市大疆创新科技有限公司 Image processing method, device, equipment and video image transmission system
CN106775940A (en) * 2016-12-06 2017-05-31 郑州云海信息技术有限公司 A kind of graphic system and virtual method
CN108449643B (en) * 2017-02-16 2020-01-03 武汉斗鱼网络科技有限公司 Cross-application control method and device
CN106982461A (en) * 2017-03-30 2017-07-25 努比亚技术有限公司 Data transmission system and method
US10467151B2 (en) * 2017-09-05 2019-11-05 NGINX, Inc. Using shared memory to transport data between server processes
CN107566843B (en) * 2017-10-09 2019-07-09 武汉斗鱼网络科技有限公司 A kind of video decoding process guard method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243690A (en) * 2005-08-17 2008-08-13 Nxp股份有限公司 Method video encoding and decoding preserving cahe localities
CN101714956A (en) * 2009-10-29 2010-05-26 北京中星微电子有限公司 Virtual video system, remote sharing system and method of video file
CN102253855A (en) * 2011-06-17 2011-11-23 北京书生国际信息技术有限公司 Method and device for transferring shared memory
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
CN105393546A (en) * 2013-07-22 2016-03-09 高通股份有限公司 Method and apparatus for resource utilization in a source device for wireless display
CN105530479A (en) * 2015-12-28 2016-04-27 深圳市科漫达智能管理科技有限公司 Video data processing method and system based on mobile terminal
CN105955802A (en) * 2016-04-21 2016-09-21 青岛海信移动通信技术股份有限公司 Application operation method for mobile terminal, and mobile terminal
CN108156520A (en) * 2017-12-29 2018-06-12 珠海市君天电子科技有限公司 Video broadcasting method, device, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Vivian Brian Lobo ; Nazneen Ansari.Multimedia enabled virtual classroom for distance education.《2015 International Conference on Green Computing and Internet of Things (ICGCIoT)》.2016,1598-1603. *
基于流媒体技术的传屏系统发送端设计与实现;殷超;《中国学位论文全文数据库》;20131030;全文 *
面向公交车载的多路视频播放系统软件设计与开发;王永;《中国优秀硕士学位论文全文数据库》工程科技Ⅱ辑;20190115;全文 *

Also Published As

Publication number Publication date
CN112437341A (en) 2021-03-02
CN112437341B (en) 2022-04-29
CN115119048A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
AU2018430381B2 (en) Flexible screen display method and terminal
WO2020253719A1 (en) Screen recording method and electronic device
CN109559270B (en) Image processing method and electronic equipment
CN115473957B (en) Image processing method and electronic equipment
US11683850B2 (en) Bluetooth reconnection method and related apparatus
EP4160596A1 (en) Video synthesis method and apparatus, electronic device, and storage medium
CN116360725B (en) Display interaction system, display method and device
CN114089932B (en) Multi-screen display method, device, terminal equipment and storage medium
US20230168802A1 (en) Application Window Management Method, Terminal Device, and Computer-Readable Storage Medium
CN113448382B (en) Multi-screen display electronic device and multi-screen display method of electronic device
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN115119048B (en) Video stream processing method and electronic equipment
CN114756184A (en) Collaborative display method, terminal device and computer-readable storage medium
CN116828100A (en) Bluetooth audio playing method, electronic equipment and storage medium
CN114827098A (en) Method and device for close shooting, electronic equipment and readable storage medium
CN116048831B (en) Target signal processing method and electronic equipment
CN116095512B (en) Photographing method of terminal equipment and related device
CN115482143B (en) Image data calling method and system for application, electronic equipment and storage medium
CN114691248B (en) Method, device, equipment and readable storage medium for displaying virtual reality interface
CN117013660B (en) Charging icon display method and electronic equipment
CN113254409B (en) File sharing method, system and related equipment
CN114006969B (en) Window starting method and electronic equipment
CN116414493A (en) Image processing method, electronic device and storage medium
CN117692693A (en) Multi-screen display method and related equipment
CN117708009A (en) Signal transmission method and electronic equipment

Legal Events

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