CN117241086A - Communication method, chip, electronic device, and computer-readable storage medium - Google Patents

Communication method, chip, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN117241086A
CN117241086A CN202210641859.5A CN202210641859A CN117241086A CN 117241086 A CN117241086 A CN 117241086A CN 202210641859 A CN202210641859 A CN 202210641859A CN 117241086 A CN117241086 A CN 117241086A
Authority
CN
China
Prior art keywords
electronic device
edid
audio
mode
communication method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210641859.5A
Other languages
Chinese (zh)
Inventor
江庆军
孙兴阳
纪凯
王璞
刘国强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210641859.5A priority Critical patent/CN117241086A/en
Publication of CN117241086A publication Critical patent/CN117241086A/en
Pending legal-status Critical Current

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a communication method, which relates to the field of communication. The first electronic device stores first EDID and second EDID, the first EDID records display capability information of a display screen of the first electronic device and audio capability information of the audio module, and the second EDID records display capability information of the display screen or audio capability information of the audio module. When the first electronic device receives the negotiation request sent by the second electronic device, the first electronic device may invoke the first EDID or the second EDID to perform communication negotiation with the second electronic device. The embodiment of the application also provides electronic equipment, a chip and a computer readable storage medium. The application can realize that the display screen or the audio playing device of the first electronic device is invisible on the second electronic device, and improves the use experience of users.

Description

Communication method, chip, electronic device, and computer-readable storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a communication method, a chip, an electronic device, and a computer readable storage medium.
Background
The existing electronic devices can be connected through wires or wirelessly so as to realize functions such as screen projection, multi-screen collaboration, screen expansion and the like. For example, the device a and the device B each include a display device and an audio device, the device a is a source device, the device B is a destination device, and the content displayed or played by the device a can be projected to the device B for display or playing. Before the A device sends the audio and video stream to the B device, the A device can determine the audio and video capability information of the B device by acquiring the extended display identification data (Extended display identification data, EDID) of the B device, and then the A device can send the video stream and the audio stream to the B device according to the audio and video capability information of the B device. For example, the device a is a notebook computer, and the device B is a smart television. And the content played by the notebook computer is projected onto the intelligent television for playing. The notebook computer encodes the video stream and the audio stream and transmits the video stream and the audio stream to the intelligent television, and the intelligent television decodes the received video stream and the received audio stream to realize the screen throwing playing function. When a user does not expect the notebook computer to transmit sound to the intelligent television for playing, the existing method generally carries out mute on the intelligent television side. However, for a notebook computer, the audio stream is still transmitted to the smart television in a wired or wireless manner, and the audio playing device of the smart television is visible on the notebook computer side, so that the use experience of a user is affected.
Disclosure of Invention
In view of the foregoing, there is a need for a communication method that solves the problem that the prior art cannot meet the scene requirement of transmitting only an audio stream or a video stream.
The first aspect of the embodiment of the application discloses a communication method applied to first electronic equipment, wherein the first electronic equipment comprises a display screen and an audio module, the first electronic equipment stores a first EDID and a second EDID, and the communication method comprises the following steps: the first electronic equipment receives a negotiation request sent by the second electronic equipment, wherein the negotiation request is used for carrying out communication negotiation with the first electronic equipment; when the first electronic equipment is in a first mode, the first electronic equipment acquires a first EDID and sends the first EDID to the second electronic equipment, wherein the first EDID records display capability information of a display screen and audio capability information of an audio module, and the first mode is used for indicating that the first electronic equipment can receive an audio stream and a video stream; when the first electronic device is in the second mode, the first electronic device obtains a second EDID and sends the second EDID to the second electronic device, wherein the second EDID records one of audio capability information of the audio module and display capability information of the display screen, and the second mode is used for indicating that the first electronic device can receive one of the audio stream and the video stream.
By adopting the technical scheme, two groups of EDID are arranged in the first electronic equipment, one group of EDID records that the first electronic equipment has audio capability and video capability, the other group of EDID records that the first electronic equipment has one of the audio capability and the video capability, audio and video transmission scenes among multiple devices can be enriched, when the first electronic equipment adopts the EDID which only records the audio capability or the video capability to carry out communication negotiation with the second electronic equipment, the second electronic equipment can only transmit video streams or audio streams to the first electronic equipment, audio and video play interference between the two electronic equipment is avoided, bandwidth can be saved, audio play equipment or video play equipment of the first electronic equipment can be invisible on the second electronic equipment, and user experience is improved.
In some embodiments, the communication method further comprises: when the first electronic equipment receives a first operation instruction in a first mode, the first electronic equipment is switched from the first mode to a second mode; or when the first electronic equipment receives the second operation instruction in the second mode, the first electronic equipment is switched to the first mode from the second mode.
By adopting the technical scheme, the first electronic equipment can respond to the user operation instruction to switch between the first mode and the second mode, so that the first electronic equipment can carry out communication negotiation with the second electronic equipment through the first EDID or the second EDID.
In some embodiments, the first operation instruction and the second operation instruction are both instructions generated by triggering an operation on a physical key of the first electronic device, or a touch operation on a display screen, or an operation on a remote controller paired with the first electronic device.
By adopting the technical scheme, the user can control the first electronic equipment to switch between the first mode and the second mode by operating the entity key of the first electronic equipment, the remote controller matched with the first electronic equipment or performing touch operation on the display screen.
In some embodiments, the communication method further comprises: when the first electronic device successfully negotiates with the second electronic device based on the first EDID and receives a first operation instruction, the first electronic device acquires the second EDID and sends the second EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device; or when the first electronic device successfully negotiates with the second electronic device based on the second EDID and receives the second operation instruction, the first electronic device acquires the first EDID and sends the first EDID to the second electronic device so as to carry out communication negotiation with the second electronic device again.
By adopting the technical scheme, after the first electronic device successfully communicates with the second electronic device in the first mode (or the second mode), the first electronic device can respond to the user operation instruction to switch to the second mode (or the first mode), and select another group of EDID to carry out communication negotiation again with the second electronic device, so that the first electronic device can complete communication negotiation with the second electronic device with different video and audio capabilities.
In some embodiments, before the first electronic device obtains the second EDID and sends the second EDID to the second electronic device to re-perform communication negotiation with the second electronic device, or before the first electronic device obtains the first EDID and sends the first EDID to the second electronic device to re-perform communication negotiation with the second electronic device, the method includes: the first electronic device disconnects the communication with the second electronic device; the first electronic device re-receives the negotiation request sent by the second electronic device.
By adopting the technical scheme, when the first electronic equipment is switched to another mode to carry out communication negotiation with the second electronic equipment again, the communication connection between the first electronic equipment and the second electronic equipment is disconnected, and the second electronic equipment can send a negotiation request to the first electronic equipment again so as to enable the first electronic equipment to carry out communication negotiation again with the second electronic equipment.
In some embodiments, the communication method further comprises: when the second EDID records the display capability information of the display screen, but does not record the audio capability information of the audio module, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the first electronic device receives a video stream from the second electronic device; or when the second EDID records the audio capability information of the audio module, but does not record the display capability information of the display screen, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the first electronic device receives the audio stream from the second electronic device.
By adopting the technical scheme, when the first electronic device adopts the EDID which only records the audio capability or the video capability to successfully communicate with the second electronic device, the second electronic device can only transmit the video stream or the audio stream to the first electronic device, so that the audio playing device or the video playing device of the first electronic device is invisible on the second electronic device, and the user experience is improved.
In some embodiments, the first electronic device includes an on-screen display (OSD) including a menu interface for making the first mode and the second mode selections.
By adopting the technical scheme, the OSD of the first electronic equipment comprises a menu interface capable of selecting the first mode and the second mode, and a user can select the first mode and the second mode by entering the OSD of the first electronic equipment.
In a second aspect, an embodiment of the present application provides a communication method applied to a first electronic device and a second electronic device, where the first electronic device includes a first display screen and a first audio module, the second electronic device includes a second display screen and a second audio module, and the first electronic device stores a first EDID and a second EDID, and the communication method includes: the second electronic device sends a negotiation request to the first electronic device; the first electronic equipment responds to the negotiation request, acquires first EDID or second EDID, and sends the first EDID or the second EDID to the second electronic equipment to carry out communication negotiation with the second electronic equipment, wherein the first EDID records one of the display capability information of the first display screen and the audio capability information of the first audio module, and the second EDID records one of the audio capability information of the first audio module and the display capability information of the first display screen.
By adopting the technical scheme, two groups of EDID are arranged in the first electronic equipment, one group of EDID records that the first electronic equipment has audio capability and video capability, the other group of EDID records that the first electronic equipment has one of the audio capability and the video capability, the first electronic equipment can adopt any group of EDID to carry out communication negotiation with the second electronic equipment, audio and video transmission scenes between the first electronic equipment and the second electronic equipment can be enriched, when the first electronic equipment adopts the EDID which only records the audio capability or the video capability to carry out communication negotiation with the second electronic equipment, the second electronic equipment can only transmit video stream or audio stream to the first electronic equipment, audio and video play interference between the two electronic equipment is avoided, the bandwidth can be saved, the audio play equipment or the video play equipment of the first electronic equipment can not be visible on the second electronic equipment, and the use experience of a user is improved.
In some embodiments, the first electronic device includes a first mode for indicating that the first electronic device can receive one of an audio stream and a video stream and a second mode for indicating that the first electronic device can receive one of the audio stream and the video stream, acquires the first EDID or the second EDID, and transmits the first EDID or the second EDID to the second electronic device, including: when the first electronic equipment is in a first mode, the first electronic equipment acquires a first EDID and sends the first EDID to the second electronic equipment; when the first electronic device is in the second mode, the first electronic device acquires the second EDID and sends the second EDID to the second electronic device.
By adopting the technical scheme, the first electronic device can adopt the first EDID to carry out communication negotiation with the second electronic device in the first mode, and adopt the second EDID to carry out communication negotiation with the second electronic device in the second mode, so that the second electronic device can transmit audio streams and/or video streams to the first electronic device according to the audio and video capabilities of the first electronic device.
In some embodiments, the communication method further comprises: when the first electronic equipment receives a first operation instruction in a first mode, the first electronic equipment is switched from the first mode to a second mode; or when the first electronic equipment receives the second operation instruction in the second mode, the first electronic equipment is switched to the first mode from the second mode.
By adopting the technical scheme, the first electronic equipment can respond to the user operation instruction to switch between the first mode and the second mode, so that the first electronic equipment can carry out communication negotiation with the second electronic equipment through the first EDID or the second EDID.
In some embodiments, the communication method further comprises: when the first electronic device successfully negotiates with the second electronic device based on the first EDID and receives a first operation instruction, the first electronic device acquires the second EDID and sends the second EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device; or when the first electronic device successfully negotiates with the second electronic device based on the second EDID and receives the second operation instruction, the first electronic device acquires the first EDID and sends the first EDID to the second electronic device so as to carry out communication negotiation with the second electronic device again.
By adopting the technical scheme, after the first electronic device successfully communicates with the second electronic device in the first mode (or the second mode), the first electronic device can respond to the user operation instruction to switch to the second mode (or the first mode), and select another group of EDID to carry out communication negotiation again with the second electronic device, so that the first electronic device can complete communication negotiation with the second electronic device with different video and audio capabilities.
In some embodiments, the communication method further comprises: when the first electronic equipment successfully negotiates with the second electronic equipment based on the first EDID and receives a first operation instruction, the first electronic equipment disconnects communication with the second electronic equipment, and the second electronic equipment resends a negotiation request to the first electronic equipment; or when the first electronic device successfully communicates with the second electronic device based on the second EDID and receives the second operation instruction, the first electronic device disconnects the communication with the second electronic device, and the second electronic device resends the negotiation request to the first electronic device.
By adopting the technical scheme, when the first electronic equipment is switched to another mode to carry out communication negotiation with the second electronic equipment again, the communication connection between the first electronic equipment and the second electronic equipment is disconnected, and the second electronic equipment can send a negotiation request to the first electronic equipment again so as to enable the first electronic equipment to carry out communication negotiation again with the second electronic equipment.
In some embodiments, the communication method further comprises: when the second EDID records the display capability information of the first display screen, but does not record the audio capability information of the first audio module, and the first electronic equipment successfully negotiates with the second electronic equipment based on the second EDID, the second electronic equipment transmits a video stream to the first electronic equipment; or when the second EDID records the audio capability information of the first audio module, but does not record the display capability information of the first display screen, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the second electronic device transmits the audio stream to the first electronic device.
By adopting the technical scheme, when the first electronic device adopts the EDID which only records the audio capability or the video capability to successfully communicate with the second electronic device, the second electronic device only transmits the video stream or the audio stream to the first electronic device, so that the audio playing device or the video playing device of the first electronic device is invisible on the second electronic device, and the user experience is improved.
In some embodiments, when the second EDID records the display capability information of the first display screen, but does not record the audio capability information of the first audio module, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the sound icon associated with the first audio module is not visible on the second electronic device; or when the second EDID records the audio capability information of the first audio module, but does not record the display capability information of the first display screen, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the display screen icon associated with the first display screen is invisible on the second electronic device.
According to the technical scheme, when the first electronic device adopts the EDID which only records the audio capability to successfully communicate with the second electronic device, the second electronic device considers that the first electronic device only has the audio capability, so that the second electronic device only transmits the audio stream to the first electronic device, the video playing device of the first electronic device is invisible on the second electronic device, and when the first electronic device adopts the EDID which only records the video capability to successfully communicate with the second electronic device, the second electronic device considers that the first electronic device only has the video capability, so that the second electronic device only transmits the video stream to the first electronic device, and the audio playing device of the first electronic device is invisible on the second electronic device.
In some embodiments, the first electronic device includes an OSD including a menu interface for making the first mode and the second mode selections.
By adopting the technical scheme, the OSD of the first electronic equipment comprises a menu interface capable of selecting the first mode and the second mode, and a user can select the first mode and the second mode by entering the OSD of the first electronic equipment.
In a third aspect, embodiments of the present application provide a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the communication method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a display screen, an audio module, a processor, and a memory, where the memory is configured to store instructions, and the processor is configured to invoke the instructions in the memory, so that the electronic device performs the communication method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product for, when run on a computer, causing the computer to perform the communication method as described in the first aspect.
In a sixth aspect, there is provided an apparatus having a function of implementing the behavior of the electronic device in the method provided in the first aspect. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
It will be appreciated that the computer readable storage medium according to the third aspect, the electronic device according to the fourth aspect, the computer program product according to the fifth aspect, and the apparatus according to the sixth aspect correspond to the method according to the first aspect, and therefore, the advantages achieved by the method according to the third aspect may refer to the advantages provided in the corresponding method, and are not described herein.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a communication method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software structure of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a system architecture for implementing communication negotiation by multiple devices according to an embodiment of the present application;
FIGS. 5a-5b are schematic diagrams illustrating a system architecture for performing communication negotiation by multiple devices based on a wired manner according to an embodiment of the present application;
FIGS. 6a-6b are schematic diagrams illustrating a voice setup interface for a second electronic device to complete a communication negotiation with a first electronic device based on a wired manner according to an embodiment of the present application;
FIGS. 7a-7b are schematic diagrams illustrating a system architecture for wireless-based communication negotiation by multiple devices according to an embodiment of the present application;
FIGS. 8a-8b are schematic diagrams illustrating a voice setup interface for a second electronic device to complete a communication negotiation with a first electronic device based on a wireless method according to an embodiment of the present application;
FIG. 9 is a flow chart of a communication method according to an embodiment of the application;
FIG. 10 is a flow chart of a communication method according to another embodiment of the present application;
fig. 11 is a schematic structural diagram of a possible first electronic device according to an embodiment of the present application.
Detailed Description
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and the representation may have three relationships, for example, a and/or B may represent: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The terms "first," "second," "third," "fourth" and the like in the description and in the claims and drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For ease of understanding, a description of some of the concepts related to the embodiments of the application are given by way of example for reference.
The electronic devices can be connected together through a communication network to realize functions such as screen projection, multi-screen collaboration, screen expansion and the like. The communication network may be a wired network or a wireless network. The communication network may be implemented using any known network communication protocol, which may be various wired or wireless communication protocols such as ethernet, universal serial bus (universal serial bus, USB), high definition multimedia interface (High Definition Multimedia Interface, HDMI), 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 divisionmultiple 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), bluetooth, wireless fidelity (wireless fidelity, wi-Fi), NFC, voice over internet protocol (voice over Internet protocol, voIP), communication protocols supporting a network slice architecture, or any other suitable communication protocol.
The electronic device may be at least one of a mobile phone, a foldable electronic device, a tablet computer, a personal computer (personal computer, PC), a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a television, a smart screen, a display, an all-in-one machine, etc., and the specific type of the electronic device is not particularly limited in the embodiments of the present application.
In some embodiments, the electronic device can install one or more APPs. APP may be abbreviated as an application, a software program capable of performing some or more specific functions. For example, instant messaging applications, video applications, audio applications, image capture applications, cloud desktop applications, and the like. The instant messaging applications may include, for example, short message applications, Etc. Image capture class applications may include, for example, camera applications (system cameras or third party camera applications). Video-type applications may for example comprise +.> Etc. Audio-type applications may for example comprise +.>Etc. The application mentioned in the following embodiments may be a system application installed when the electronic device leaves the factory, or may be a third party application that is downloaded from a network or obtained from other electronic devices by a user during the process of using the electronic device.
Electronic devices include, but are not limited to, on-board Or other operating system.
An application scenario schematic diagram of a communication method according to an embodiment of the present application is described below with reference to fig. 1.
In one embodiment of the application, two electronic devices may be included. For convenience of distinguishing the description, the two electronic devices will be hereinafter referred to as a first electronic device 100 and a second electronic device 200. The first electronic device 100 and the second electronic device 200 may establish a connection through a wired manner or a wireless manner. The first electronic device 100 and the second electronic device 200 may be, but are not limited to, mobile phones, tablet computers, PCs, notebook computers, televisions, smart screens, displays, etc. The first electronic device 100 is a target device, and the second electronic device 200 is a source device.
For example, the first electronic device 100 and the second electronic device 200 each include at least one or more of the following interfaces: a USB interface, an HDMI interface, a display communication port (DP), a video graphics array (Video Graphics Array, VGA) interface, etc., and the first electronic device 100 and the second electronic device 200 may be connected by a wired connection, such as an HDMI line, a USB line, a VGA line, a DP-to-HDMI line, a VGA-to-HDMI line, etc. For another example, the first electronic device 100 and the second electronic device 200 may each include a Wi-Fi communication module and/or a BT communication module, and further, the first electronic device 100 and the second electronic device 200 may implement wireless connection through the Wi-Fi communication module or the BT communication module.
Both the first electronic device 100 and the second electronic device 200 have audio and video playback capabilities. In fig. 1, the first electronic device 100 is taken as a smart screen, and the second electronic device 200 is taken as a notebook computer. The first electronic device 100 comprises a first display 1001 for playing video and a first audio module 1002 for playing audio, and the second electronic device 200 comprises a second display 2001 for playing video and a second audio module 2002 for playing audio.
The first electronic device 100 may store two sets of EDIDs (hereinafter, referred to as a first EDID and a second EDID for convenience of distinguishing the description). The first EDID records the display capability information of the first display screen 1001 and the audio capability information of the first audio module 1002. The second EDID records the display capability information of the first display screen 1001 without recording the audio capability information of the first audio module 1002, or the second EDID records the audio capability information of the first audio module 1002 without recording the display capability information of the first display screen 1001. When the first electronic device 100 establishes a connection with the second electronic device 200 in a wired manner or a wireless manner, the second electronic device 200 may confirm the audio-video capability of the first electronic device 100 by performing a communication negotiation with the first electronic device 100.
In some embodiments, when the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, the second electronic device 200 may confirm that the first electronic device 100 has the audio/video playing capability, and the second electronic device 200 may send the audio stream and the video stream to the first electronic device 100 in a wired manner or a wireless manner. For example, when the second electronic device 200 drops the currently displayed content to the first electronic device 100, the second electronic device 200 transmits the audio stream and the video stream to the first electronic device 100 because the second electronic device 200 confirms that the first electronic device 100 has the audio-video playback capability.
In some embodiments, assuming that the second EDID records the display capability information of the first display screen 1001, but does not record the audio capability information of the first audio module 1002, when the first electronic device 100 successfully negotiates with the second electronic device 200 based on the second EDID, the second electronic device 200 may confirm that the first electronic device 100 is video-capable and not audio-capable, and the second electronic device 200 may transmit the video stream to the first electronic device 100 in a wired manner or a wireless manner. For example, when the second electronic device 200 drops the currently displayed content to the first electronic device 100, since the second electronic device 200 confirms that the first electronic device 100 has video playing capability and does not have audio playing capability, the second electronic device 200 transmits only the video stream to the first electronic device 100, that is, the video stream of the second electronic device 200 is separated from the audio stream, and the audio stream is not transmitted.
In some embodiments, both the first electronic device 100 and the second electronic device 200 may be the electronic device 10 shown in fig. 2.
The electronic device 10 may include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 130, a wireless communication module 140, an audio module 150, a sensor module 160, a camera module 170, a display screen 180, and the like.
It should be understood that the illustrated construction of the embodiments of the present application does not constitute a particular limitation of the electronic device 10. In other embodiments of the application, the electronic device 10 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 processor 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 may be a cache memory. The memory may hold instructions or data that are used or used more frequently by the processor 110. If the processor 110 needs to use the instructions or data, it may 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 processor 110 may be connected to modules such as an audio module, a wireless communication module, a display, a camera, etc. through at least one of the above interfaces.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative and not limiting to the structure of the electronic device 10. In other embodiments of the present application, the electronic device 10 may also employ different interfaces in the above embodiments, or a combination of interfaces.
The wireless communication function of the electronic device 10 may be implemented by the antenna 1, the antenna 2, the mobile communication module 130, the wireless communication module 140, 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 10 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 130 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on the electronic device 10. The mobile communication module 130 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 130 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 130 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 130 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 130 may be disposed 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 a sound signal through the audio module or displays an image or video through the display 180. 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 130 or other functional module, independent of the processor 110.
The wireless communication module 140 may provide solutions for wireless communication including wireless local area networks (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) networks), bluetooth (BT), bluetooth low energy (bluetooth low energy, BLE), ultra Wide Band (UWB), global navigation satellite systems (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 on the electronic device 10. The wireless communication module 140 may be one or more devices integrating at least one communication processing module. The wireless communication module 140 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 140 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2.
In some embodiments, antenna 1 and mobile communication module 130 of electronic device 10 are coupled, and antenna 2 and wireless communication module 140 are coupled, such that electronic device 10 may communicate with networks and other electronic 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), 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 10 may implement display functions via a GPU, a display screen 180, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 180 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 sensor module comprises a touch sensor, a pressure sensor, a fingerprint sensor and the like. The camera module 170 includes a camera. The display 180 is used to display images, videos, and the like. The display 180 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 10 may include 1 or more display screens 180.
The electronic device 10 may implement camera functions through the camera module 170, isp, video codec, GPU, display 180, and application processor AP, neural network processor NPU, etc.
The digital signal processor is used for processing digital signals, and can also process other digital signals. For example, when the electronic device 10 is selecting 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 10 may support one or more video codecs. In this way, the electronic device 10 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 10 may be implemented by 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 10. 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. Or transfer files such as music, video, etc. from the electronic device to 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 10 (e.g., audio data, phonebook, etc.), and so forth. 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 methods or data processing of the electronic device 10 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The audio module 150 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 150 may also be used to encode and decode audio signals. In some embodiments, the audio module 150 may be disposed in the processor 110, or some functional modules of the audio module 150 may be disposed in the processor 110.
The software system of the electronic device 10 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the application takes an Android system with a layered architecture as an example, and illustrates a software structure of the electronic device 10.
Fig. 3 is a block diagram of the software architecture of the electronic device 10 according to an embodiment of the present application.
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 five layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (ART) and native C/c++ libraries, a hardware abstraction layer (Hardware Abstract Layer, HAL), and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, 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. 3, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, an input manager, and so forth.
The window manager provides window management services (Window Manager Service, WMS) that may be used for window management, window animation management, surface management, and as a transfer station to the input system.
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 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.
The activity manager may provide activity management services (Activity Manager Service, AMS) that may be used for system component (e.g., activity, service, content provider, broadcast receiver) start-up, handoff, scheduling, and application process management and scheduling tasks.
The input manager may provide input management services (Input Manager Service, IMS), which may be used to manage inputs to the system, such as touch screen inputs, key inputs, sensor inputs, and the like. The IMS retrieves events from the input device node and distributes the events to the appropriate windows through interactions with the WMS.
The android runtime includes a core library and An Zhuoyun rows. The android runtime is responsible for converting source code into machine code. Android runtime mainly includes employing Advanced Or Time (AOT) compilation techniques and Just In Time (JIT) compilation techniques.
The core library is mainly used for providing the functions of basic Java class libraries, such as basic data structures, mathematics, IO, tools, databases, networks and the like. The core library provides an API for the user to develop the android application.
The native C/c++ library may include a plurality of functional modules. For example: surface manager (surface manager), media Framework (Media Framework), libc, openGL ES, SQLite, webkit, etc.
The surface manager is used for managing the display subsystem and providing fusion of 2D and 3D layers for a plurality of application programs. Media frames 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. OpenGL ES provides for drawing and manipulation of 2D graphics and 3D graphics in applications. SQLite provides a lightweight relational database for applications of the electronic device 10.
The hardware abstraction layer runs in a user space (user space), encapsulates the kernel layer driver, and provides a call interface to the upper layer.
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.
A schematic structure of a first electronic device and a second electronic device for implementing communication negotiation according to an embodiment of the present invention is described below with reference to fig. 4.
As shown in fig. 4, the first electronic device 100 may include a first display 1001, a first audio module 1002, a first processor 1003, a first memory 1004, and a first wireless communication module 1005. The second electronic device 200 may include a second display 2001, a second audio module 2002, a second processor 2003, a second memory 2004, and a second wireless communication module 2005. The first memory 1004 may store a first EDID and a second EDID, and the first EDID and the second EDID may have different memory addresses in the first memory 1004. The first processor 1003 may select to read the first EDID or the second EDID according to the received operation instruction to perform communication negotiation with the second electronic device 200, so that the second electronic device 200 may confirm the audio and video capabilities of the first electronic device 100.
The first wireless communication module 1005 may provide a solution including Wi-Fi, bluetooth low energy, etc. wireless communication applied to the first electronic device 100, and the second wireless communication module 2005 may provide a solution including Wi-Fi, bluetooth low energy, etc. wireless communication applied to the second electronic device 00, so that the first electronic device 100 and the second electronic device 200 may implement wireless connection through Wi-Fi or bluetooth.
The first processor 1003 and the second processor 2003 may further each include a USB interface, an HDMI interface, and a DP interface, so that the first electronic device 100 and the second electronic device 200 may be connected by a USB connection line, an HDMI connection line, a DP connection line, or an interface adapter by a wired connection.
A schematic system architecture of a multi-device wired-based communication negotiation according to an embodiment of the present invention is described below with reference to fig. 5a and 5 b.
The embodiment includes a first electronic device 100 and a second electronic device 200. The following description will take the example that the first electronic device 100 and the second electronic device 200 each include a USB interface, an HDMI interface, and a DP interface. The first electronic device 100 and the second electronic device 200 may be connected by a USB connection line, an HDMI connection line, a DP connection line, or a connection line such as a USB-to-HDMI line, a DP-to-HDMI line.
As shown in fig. 5a, the first electronic device 100 may include a first memory 1004 for storing a first EDID and a third memory 1006 for storing a second EDID. The first display screen 1001 may be a touch screen or a non-touch screen, the first audio module 1002 may include a speaker, and the first processor 1003 may be a display control Chip or a System On Chip (SOC). The first memory 1004, the third memory 1006 may be a Flash memory, a charged erasable programmable read-only memory (Electrically Erasable Programmable read only memory, EEPROM), or the like. In other embodiments, the first EDID and the second EDID may also be stored in the same memory. The first processor 1003 may read EDID stored in the Flash memory or EEPROM through a serial peripheral interface (Serial Peripheral Interface, SPI). The following description will take, as an example, the second EDID having the display capability information of the first display screen 1001 recorded therein, and not recording the audio capability information of the first audio module 1002.
In some embodiments, the EDID may include a main block that may be used to define basic parameters and display capabilities of the display screen and an extension block that may be used to define audio capabilities of the audio device. Assuming that the first audio module 1002 is 2-channel, supports LPCM format input and supports 48KHz/44.1KHz/32KHz sampling frequency, the audio capabilities information of the first audio module 1002 is shown in Table 1 below. The extension block of the first EDID may include all or part of the contents recorded in table 1. The second EDID may include no extension block or include an extension block since the audio capability information of the first audio module 1002 is not recorded, but the content of the extension block is empty.
TABLE 1
/>
The first electronic device 100 may include two modes of operation (hereinafter referred to as a first mode and a second mode for convenience of distinguishing the description). When the first electronic device 100 is in the first mode, the first electronic device may obtain the first EDID in response to the negotiation request sent by the second electronic device 200 and send the first EDID to the second electronic device 200 to perform communication negotiation with the second electronic device 200, where the negotiation information sent by the first electronic device 100 to the second electronic device 200 includes display capability information of the first display screen 1001 and audio capability information of the first audio module 1002; when the first electronic device 100 is in the second mode, the first electronic device may obtain the second EDID in response to the negotiation request sent by the second electronic device 200 and send the second EDID to the second electronic device 200 to perform communication negotiation with the second electronic device 200, the negotiation information transmitted by the first electronic device 100 to the second electronic device 200 only includes the display capability information of the first display screen 1001, and the second electronic device 200 may determine that the first electronic device 100 does not have the audio playing capability based on the negotiation information, that is, the second electronic device 200 will not send the audio stream to the first electronic device 100.
The first electronic device 100 is set to the first mode by default when shipped from the factory. The first electronic device 100 may switch between a first mode and a second mode. For example, when the first electronic device 100 receives the first operation instruction in the first mode, the first electronic device 100 is switched from the first mode to the second mode, and when the first electronic device 100 receives the second operation instruction in the second mode, the first electronic device 100 is switched from the second mode to the first mode. The first operation instruction and the second operation instruction may be instructions triggered by a user operating an entity key of the first electronic device 100, or by a touch operation on the first display screen 1001, or by an operation on a remote controller paired with the first electronic device 100.
For example, in fig. 5a, taking the first electronic device 100 as a display including an audio device, the first processor 1003 as a display driving chip, the second electronic device 200 as a notebook computer, the first electronic device 100 and the second electronic device 200 are connected by a DP to HDMI line as an example. The user may enter an on-screen display (OSD) by manipulating a physical key on the display, and the OSD may include a menu interface for making the first mode and the second mode selections. The user may select the first mode or the second mode in the OSD. When the first display screen 1001 is a touch screen, the user may also perform a touch operation on the first display screen 1001 to enter an OSD to perform selection of the first mode or the second mode. The first mode is used for indicating that the first electronic device 100 can receive the audio stream and the video stream, and the second mode is used for indicating that the first electronic device 100 can receive one of the audio stream and the video stream.
If the second mode indicates that the first electronic device 100 can only receive the audio stream, it does not mean that the first electronic device 100 does not have the processing capability of the video stream, the first electronic device 100 may include a hardware module for processing and playing the video stream, but is not visible with respect to the second electronic device 200 at the software level. If the second mode indicates that the first electronic device 100 can only receive the video stream, it does not mean that the first electronic device 100 does not have the processing capability of the audio stream, and the first electronic device 100 may also include a hardware module for processing and playing the audio stream, which is not visible with respect to the second electronic device 200 at the software level.
After the user selects the first mode, the display driver chip may read the first EDID from the first memory 1004 in response to the negotiation request sent by the notebook computer, and transmit the first EDID to the notebook computer through the DP to HDMI line, so as to perform communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the display is successful, the application scene, such as a video projection playing scene, of the notebook computer for transmitting the video stream and the audio stream to the display can be achieved. After the user selects the second mode, the display driver chip may read the second EDID from the third memory 1006 in response to the negotiation request sent by the notebook computer, and transmit the second EDID to the notebook computer through the DP-HDMI line, so as to perform communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the display is successful, the application scene that the notebook computer only transmits the video stream to the display and does not transmit the audio stream to the display can be achieved, the interference between the audio equipment of the notebook computer and the audio equipment of the display can be avoided, or the scene requirement that a user only expects to throw a picture to the display and the sound is not transmitted to the display can be met.
After the display successfully negotiates with the notebook computer based on the first EDID, if the user operates a physical key on the display to enter the OSD and selects the second mode in the OSD, the screen-on connection between the display and the notebook computer will be disconnected, the notebook computer may resend the negotiation request to the display, and the display driver chip may respond to the negotiation request sent by the notebook computer, read the second EDID from the third memory 1006 and send the second EDID to the notebook computer to carry out the communication negotiation again with the notebook computer. After the display successfully negotiates with the notebook computer based on the second EDID, if the user operates a physical key on the display to enter the OSD and selects the first mode in the OSD, the screen-on connection between the display and the notebook computer will be disconnected, the notebook computer may resend the negotiation request to the display, and the display driver chip may respond to the negotiation request sent by the notebook computer, read the first EDID from the first memory 1004 and send the first EDID to the notebook computer to carry out the communication negotiation again with the notebook computer.
For example, as shown in fig. 5b, the first electronic device 100 is a smart screen, the first processor 1003 is an SOC chip, the second electronic device 200 is a notebook computer, and the first electronic device 100 and the second electronic device 200 are connected through an HDMI line. The user can enter the setting interface by operating an entity key on the intelligent screen or a remote controller matched with the intelligent screen, and the first mode or the second mode is selected in the setting interface. When the first display screen 1001 is a touch screen, the user may also enter the setting interface by performing a touch operation on the first display screen 1001, so as to select the first mode or the second mode. After the user selects the first mode, the SOC chip may read the first EDID from the first memory 1004 in response to a negotiation request sent by the notebook computer, and transmit the first EDID to the notebook computer through the HDMI line to perform a communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the intelligent screen is successful, the application scene that the notebook computer transmits the video stream and the audio stream to the intelligent screen, such as a video projection screen playing scene, can be achieved; after the user selects the second mode, the SOC chip may read the second EDID from the third memory 1006 in response to the negotiation request sent by the notebook computer, and transmit the second EDID to the notebook computer through the HDMI line to perform a communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the intelligent screen is successful, the application scene that the notebook computer only transmits the video stream to the intelligent screen, but not the audio stream to the intelligent screen can be achieved, the interference between the audio equipment of the notebook computer and the audio equipment of the intelligent screen can be avoided, or the scene requirement that the user only expects to throw the picture to the intelligent screen, but the sound is not transmitted to the intelligent screen can be met.
As shown in fig. 6a, taking the first electronic device 100 as a smart screen and the second electronic device 200 as a notebook computer, the first electronic device 100 and the second electronic device 200 are connected by an HDMI line. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, the sound setup interface of the second electronic device 200 may present the audio playback device L1 (e.g., the speaker in the first audio module 1002) of the first electronic device 100 and the audio playback device L2 (e.g., the speaker in the second audio module 2002) of the second electronic device 200.
As shown in fig. 6b, taking the first electronic device 100 as a smart screen and the second electronic device 200 as a notebook computer, the first electronic device 100 and the second electronic device 200 are connected through an HDMI cable, and the second EDID records the display capability information of the first display screen 1001, but does not record the audio capability information of the first audio module 1002. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, the sound setting interface of the second electronic device 200 presents only the audio playback device of the second electronic device 200, i.e., the audio playback device of the first electronic device 100 is not visible on the second electronic device 200.
In other embodiments, if the second EDID records the audio capability information of the first audio module 1002, the display capability information of the first display screen 1001 is not recorded. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, the display setting interface of the second electronic device 200 presents only the display device of the second electronic device 200, i.e. the display device of the first electronic device 100 is not visible on the second electronic device 200.
A schematic system architecture of wireless-based communication negotiation for multiple devices according to an embodiment of the present invention is described below with reference to fig. 7a and 7 b.
The embodiment includes a first electronic device 100 and a second electronic device 200. The first electronic device 100 and the second electronic device 200 each include a Wi-Fi communication module and a BT communication module, for example, will be described below. The first electronic device 100 and the second electronic device 200 may be wirelessly connected through a Wi-Fi communication module or a BT communication module.
As shown in fig. 7a, taking the first electronic device 100 as a smart screen, the first processor 1003 as an SOC chip, the second electronic device 200 as a notebook computer, the first electronic device 100 and the second electronic device 200 establish a connection through Wi-Fi protocol as an example. The user can enter the setting interface by operating an entity key on the intelligent screen or a remote controller matched with the intelligent screen, and the first mode or the second mode is selected in the setting interface. When the first display screen 1001 is a touch screen, the user may also enter the setting interface by performing a touch operation on the first display screen 1001, so as to select the first mode or the second mode. After the user selects the first mode, the SOC chip may read the first EDID from the first memory 1004 in response to a negotiation request sent by the notebook computer, and transmit the first EDID to the notebook computer through the Wi-Fi communication module to perform a communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the intelligent screen is successful, the application scene that the notebook computer transmits the video stream and the audio stream to the intelligent screen, such as a video projection screen playing scene, can be achieved; after the user selects the second mode, the SOC chip may read the second EDID from the second storage area 1006 in response to the negotiation request sent by the notebook computer, and transmit the second EDID to the notebook computer through the Wi-Fi communication module, so as to perform communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the intelligent screen is successful, the application scene that the notebook computer only transmits the video stream to the intelligent screen, but not the audio stream to the intelligent screen can be achieved, the interference between the audio equipment of the notebook computer and the audio equipment of the intelligent screen can be avoided, or the scene requirement that the user only expects to throw the picture to the intelligent screen, but the sound is not transmitted to the intelligent screen can be met.
For example, as shown in fig. 7b, the first electronic device 100 is a display including an audio device, the first processor 1003 includes a display driver chip and an SOC chip, the second electronic device 200 is a notebook computer, and the first electronic device 100 and the second electronic device 200 establish a connection through a BT protocol. The user may enter the OSD by manipulating a physical key on the display to select either the first mode or the second mode in the OSD. When the first display screen 1001 is a touch screen, the user may also perform a touch operation on the first display screen 1001 to enter an OSD to perform selection of the first mode or the second mode.
After the user selects the first mode, the display driver chip may read the first EDID from the first memory 1004 in response to a negotiation request sent by the notebook computer, and the display driver chip may transmit the first EDID to the SOC chip, and the SOC chip may control the BT communication module to transmit the first EDID to the notebook computer to perform a communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the display is successful, the application scene of transmitting the video stream and the audio stream of the notebook computer to the display, such as a video projection screen playing scene, can be achieved. After the user selects the second mode, the display driver chip may read the second EDID from the third memory 1006 in response to the negotiation request sent by the notebook computer, and the display driver chip may transmit the second EDID to the SOC chip, and the SOC chip may control the BT communication module to transmit the second EDID to the notebook computer to perform communication negotiation with the notebook computer. After the communication negotiation between the notebook computer and the display is successful, the application scene that the notebook computer only transmits the video stream to the display and does not transmit the audio stream to the display can be achieved, the interference between the audio equipment of the notebook computer and the audio equipment of the display can be avoided, or the scene requirement that a user only expects to throw a picture to the display and the sound is not transmitted to the display can be met.
As shown in fig. 8a, taking the first electronic device 100 as a smart screen and the second electronic device 200 as a notebook, the first electronic device 100 and the second electronic device 200 are connected by Wi-Fi protocol. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, the sound setup interface of the second electronic device 200 may present the audio playback device of the first electronic device 100 (e.g., the speaker in the first audio module 1002) and the audio playback device of the second electronic device 200 (e.g., the speaker in the second audio module 2002).
As shown in fig. 8b, taking the first electronic device 100 as a smart screen and the second electronic device 200 as a notebook computer, the first electronic device 100 and the second electronic device 200 are connected by Wi-Fi protocol, and the second EDID records the display capability information of the first display screen 1001, but does not record the audio capability information of the first audio module 1002. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, the sound setting interface of the second electronic device 200 presents only the audio playback device of the second electronic device 200, i.e., the audio playback device of the first electronic device 100 is not visible on the second electronic device 200.
Referring to fig. 9, an embodiment of the present application provides a communication method applied to a first electronic device 100, where the first electronic device 100 includes a first display 1001 and a first audio module 1002. The first electronic device 100 stores the first EDID and the second EDID. The first EDID records the display capability information of the first display screen 1001 and the audio capability information of the first audio module 1002. The second EDID records the display capability information of the first display screen 1001 without recording the audio capability information of the first audio module 1002, or the second EDID records the audio capability information of the first audio module 1002 without recording the display capability information of the first display screen 1001. In this embodiment, the communication method may include:
step 91, the first electronic device 100 receives a negotiation request sent by the second electronic device 200, where the negotiation request is used for performing communication negotiation with the first electronic device 100.
In some embodiments, the first electronic device 100 and the second electronic device may establish a connection in a wired manner or a wireless manner, so as to implement application scenarios such as screen expansion, screen projection, multi-screen collaboration, and the like. Taking the screen-projection application scenario as an example, the second electronic device 200 is a source device, and the first electronic device 100 is a destination device. When the first electronic device 100 and the second electronic device 200 establish a connection in a wired manner or a wireless manner, the second electronic device 200 may confirm the audio and video capability of the first electronic device 100 by performing a communication negotiation with the first electronic device 100, so as to facilitate a subsequent transmission of an audio and video stream to the first electronic device 100, and realize that the content played by the second electronic device 200 is projected to the first electronic device 100 for playing. For example, after the second electronic device 200 is the source device and the first electronic device 100 is the destination device and the first electronic device 100 establishes a connection with the second electronic device 200 in a wired manner or a wireless manner, before the second electronic device 200 transmits the screen-throwing data to the first electronic device 100, the second electronic device 200 may send a negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the first EDID or the second EDID in response to the negotiation request and transmit the first EDID or the second EDID to the second electronic device 200 in a wired manner or a wireless manner, so as to perform a communication negotiation with the second electronic device 200, and further the second electronic device 200 may confirm the audio/video capability provided by the first electronic device 100 based on the first EDID or the second EDID, so as to facilitate the subsequent transmission of the screen-throwing data (audio data stream and/or video data stream) to the first electronic device.
Step 92, when the first electronic device 100 is in the first mode, the first electronic device 100 obtains the first EDID and sends it to the second electronic device 200.
Step 93, when the first electronic device 100 is in the second mode, the first electronic device 100 obtains the second EDID and sends it to the second electronic device 200.
In some embodiments, when the first electronic device 100 is in the first mode and the first electronic device 100 and the second electronic device 200 establish a connection through a wired manner or a wireless manner, the second electronic device 200 may send a negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the first EDID in response to the negotiation request, and transmit the first EDID to the second electronic device 200 through a wired manner or a wireless manner, so as to perform a communication negotiation with the second electronic device 200, and further the second electronic device 200 may obtain the audio and video capability of the first electronic device 100 based on the first EDID.
In some embodiments, when the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, the second electronic device 200 may confirm that the first electronic device 100 has the audio/video playing capability, and the second electronic device 200 may transmit the audio stream and the video stream to the first electronic device 100 in a wired manner or a wireless manner, so as to play the screen-cast content on the first electronic device 100.
In some embodiments, when the first electronic device 100 is in the second mode and the first electronic device 100 and the second electronic device 200 establish a connection in a wired manner or a wireless manner, the second electronic device 200 may send a negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the second EDID in response to the negotiation request, and transmit the second EDID to the second electronic device 200 in a wired manner or a wireless manner, so as to perform a communication negotiation with the second electronic device 200, and further the second electronic device 200 may obtain the audio and video capability of the first electronic device 100 based on the second EDID.
Taking the example that the second EDID records the display capability information of the first display screen 1001, but does not record the audio capability information of the first audio module 1002. When the first electronic device 100 successfully negotiates with the second electronic device 200 based on the second EDID, the second electronic device 200 may confirm that the first electronic device 100 is video-capable and not audio-capable. The second electronic device 200 may transmit the video stream to the first electronic device 100 by wire or wirelessly, while the audio stream is not transmitted. The audio playback device of the first audio module 1002 is not visible on the second electronic device 200.
In some embodiments, the first electronic device 100 may switch between the first mode and the second mode. For example, when the first electronic device 100 receives the first operation instruction in the first mode, the first electronic device 100 is switched from the first mode to the second mode, and when the first electronic device 100 receives the second operation instruction in the second mode, the first electronic device 100 is switched from the second mode to the first mode. The first operation instruction and the second operation instruction may be instructions triggered by a user operating an entity key of the first electronic device 100, or by a touch operation on the first display screen 1001, or by an operation on a remote controller paired with the first electronic device 100.
In some embodiments, after the first electronic device 100 successfully negotiates with the second electronic device 200 based on the first EDID, and the first electronic device 100 receives the first operation instruction, the communication connection between the first electronic device 100 and the second electronic device 200 is disconnected (the communication connection with the second electronic device 200 may be disconnected by the first electronic device 100 or the communication connection with the first electronic device 100 may be disconnected by the second electronic device 200), the second electronic device 200 may resend the negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the second EDID in response to the negotiation request and send the second EDID to the second electronic device 200 to carry out the communication negotiation again with the second electronic device 200. After the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, and the first electronic device 100 receives the second operation instruction, the communication connection between the first electronic device 100 and the second electronic device 200 is disconnected, the second electronic device 200 may resend the negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the first EDID and send the first EDID to the second electronic device 200 in response to the negotiation request, so as to resend the communication negotiation with the second electronic device 200.
For example, taking a screen-projection scenario as an example, after the first electronic device 100 successfully negotiates with the second electronic device 200 based on the first EDID, and the first electronic device 100 receives the first operation instruction, the screen-projection connection between the first electronic device 100 and the second electronic device 200 will be disconnected; after the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, and the first electronic device 100 receives the second operation instruction, the screen-projection connection between the first electronic device 100 and the second electronic device 200 is disconnected.
According to the negotiation communication method, two groups of EDID are arranged in the first electronic device, one group of EDID records the audio and video capabilities of the first electronic device, the other group of EDID only records the audio capabilities or video capabilities of the first electronic device, and the use scenes of multiple devices are enriched.
Referring to fig. 10, the method is applied to the first electronic device 100 and the second electronic device 200. The first electronic device 100 comprises a first display 1001 and a first audio module 1002. The second electronic device 200 comprises a second display 2001 and a second audio module 2002. The first electronic device 100 stores the first EDID and the second EDID. The first EDID records the display capability information of the first display screen 1001 and the audio capability information of the first audio module 1002. The second EDID records the display capability information of the first display screen 1001 without recording the audio capability information of the first audio module 1002, or the second EDID records the audio capability information of the first audio module 1002 without recording the display capability information of the first display screen 1001. The following description will take the second electronic device 200 as a source device and the first electronic device 100 as a destination device as an example. In this embodiment, the negotiation communication method may include:
step 101, the second electronic device 200 sends a negotiation request to the first electronic device 100.
In some embodiments, the first electronic device 100 and the second electronic device may establish a connection in a wired manner or a wireless manner, so as to implement application scenarios such as screen expansion, screen projection, multi-screen collaboration, and the like.
Taking the screen projection scenario as an example, the second electronic device 200 is a source device, and the first electronic device 100 is a destination device. After the first electronic device 100 and the second electronic device 200 are connected in a wired manner or a wireless manner, before the second electronic device 200 sends an audio/video stream to the first electronic device 100, the second electronic device 200 can confirm the audio/video capability of the first electronic device 100 through communication negotiation with the first electronic device 100, so that the subsequent sending of the audio/video stream to the first electronic device 100 is facilitated, and the screen projection of the content played by the second electronic device 200 to the first electronic device 100 is realized for playing.
In step 102, the first electronic device 100 responds to the negotiation request, obtains the first EDID or the second EDID, and sends the obtained first EDID or the obtained second EDID to the second electronic device 200 to perform communication negotiation with the second electronic device 200.
In some embodiments, when the first electronic device 100 receives a negotiation request generated by the second electronic device 200, the first electronic device 100 may obtain the first EDID or the second EDID in response to the negotiation request, and send the negotiation request to the second electronic device 200 to perform communication negotiation with the second electronic device 200, so that the second electronic device 200 may obtain the audio and video capability of the first electronic device 100 based on the first EDID or the second EDID.
In some embodiments, the first electronic device 100 may include a first mode and a second mode. When the first electronic device 100 is in the first mode, the first electronic device obtains the first EDID and sends the first EDID and the first EDID to the second electronic device 200 to perform communication negotiation with the second electronic device 200, and when the first electronic device 100 is in the second mode, the first electronic device obtains the second EDID and sends the second EDID to the second electronic device 200 to perform communication negotiation with the second electronic device 200.
In some embodiments, the first electronic device 100 may switch between the first mode and the second mode. For example, when the first electronic device 100 receives the first operation instruction in the first mode, the first electronic device 100 is switched from the first mode to the second mode, and when the first electronic device 100 receives the second operation instruction in the second mode, the first electronic device 100 is switched from the second mode to the first mode.
In some embodiments, after the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, and the first electronic device 100 receives the first operation instruction, the screen-drop connection between the first electronic device 100 and the second electronic device 200 is disconnected, the second electronic device 200 resends the negotiation request to the first electronic device 100, and the first electronic device 100 may obtain the second EDID and send the second EDID to the second electronic device 200 in response to the negotiation request, so as to resend the communication negotiation with the second electronic device 200. After the first electronic device 100 successfully communicates with the second electronic device 200 based on the second EDID, and the first electronic device 100 receives the second operation instruction, the screen-on connection between the first electronic device 100 and the second electronic device 200 is disconnected, the second electronic device 200 resends the negotiation request to the first electronic device 100, and the first electronic device 100 may respond to the negotiation request to obtain the first EDID and send the first EDID to the second electronic device 200 to renegotiate with the second electronic device 200.
In some embodiments, the first EDID and the second EDID may be stored in different memories or may be stored in the same memory. When the first EDID and the second EDID are stored in the same memory, the first EDID and the second EDID may have different memory addresses, so that the first EDID or the second EDID can be read from the memory based on the memory addresses later.
In some embodiments, taking the example that the second EDID records the display capability information of the first display screen 1001, the audio capability information of the first audio module 1002 is not recorded. When the first electronic device 100 successfully communicates with the second electronic device 200 based on the first EDID, the second electronic device 200 may confirm that the first electronic device 100 has the audio/video playing capability, and the second electronic device 200 may transmit the audio stream and the video stream to the first electronic device 100 in a wired manner or a wireless manner, so as to play the screen content on the first electronic device 100. When the first electronic device 100 successfully negotiates with the second electronic device 200 based on the second EDID, the second electronic device 200 may confirm that the first electronic device 100 is video-capable and not audio-capable. The second electronic device 200 may transmit the video stream to the first electronic device 100 by wire or wirelessly, while the audio stream is not transmitted. The audio playback device of the first audio module 1002 is not visible on the second electronic device 200.
According to the negotiation communication method, two groups of EDID are arranged in the first electronic device, one group of EDID records the audio and video capabilities of the first electronic device, the other group of EDID only records the audio capabilities or video capabilities of the first electronic device, the use scenes of multiple devices are enriched, when the first electronic device selects the EDID which only records the audio capabilities or video capabilities to carry out communication negotiation with the second electronic device, the video stream and the audio stream of the second electronic device can be separated and transmitted, the audio playing device or the video playing device of the first electronic device cannot be seen on the second electronic device, the audio and video interference between the two electronic devices can be avoided, the bandwidth can be saved, and the use experience of a user can be improved.
Referring to fig. 11, a hardware structure of a first electronic device 100 according to an embodiment of the application is shown. As shown in fig. 11, the first electronic device 100 may include a first display 1001, a first audio module 1002, a first processor 1003, a first memory 1004, and a first wireless communication module 1005. The first memory 1004 may be used to store one or more computer programs 1100. One or more computer programs 1100 are configured to be executed by the first processor 1003. The one or more computer programs 1100 include instructions that can be used to implement the communication method described in fig. 9 for execution in the first electronic device 100.
It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the first electronic device 100. In other embodiments, the first electronic device 100 may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components.
The first processor 1003 may include one or more processing units, such as: the first processor 1003 may include an AP, modem, GPU, ISP, controller, video codec, DSP, baseband processor, and/or NPU, etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
In some embodiments, the first memory 1004 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, a plug-in hard disk, at least one magnetic disk storage device, a flash memory device, or other non-volatile solid state storage device. The first display 1001 may include a display panel. In some embodiments, the first display 1001 may further include a touch layer.
The first audio module 1002 is used to convert digital audio information into an analog audio signal output, and may also be used to convert an analog audio input into a digital audio signal. The first audio module 1002 may also be used to encode and decode audio signals. In some embodiments, the first audio module 1002 may be provided in the first processor 1003, or a part of functional modules of the first audio module 1002 may be provided in the first processor 1003.
The present embodiment also provides a computer storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the communication method in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the communication method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the communication method in the above method embodiments.
The first electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are illustrative, and the module or unit is divided into a logic function, and there may be other division manners in actual implementation, for example, multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application.

Claims (18)

1. The communication method is applied to a first electronic device, wherein the first electronic device comprises a display screen and an audio module, and is characterized in that the first electronic device stores first extended display identification data EDID and second EDID, and the communication method comprises the following steps:
the first electronic equipment receives a negotiation request sent by the second electronic equipment, wherein the negotiation request is used for carrying out communication negotiation with the first electronic equipment;
when the first electronic device is in a first mode, the first electronic device obtains the first EDID and sends the first EDID to the second electronic device, wherein the first EDID records display capability information of the display screen and audio capability information of the audio module, and the first mode is used for indicating that the first electronic device can receive audio streams and video streams;
when the first electronic device is in a second mode, the first electronic device obtains the second EDID and sends the second EDID to the second electronic device, wherein the second EDID records one of audio capability information of the audio module and display capability information of the display screen, and the second mode is used for indicating that the first electronic device can receive one of an audio stream and a video stream.
2. The communication method according to claim 1, wherein the communication method further comprises:
when the first electronic equipment receives a first operation instruction in the first mode, the first electronic equipment is switched from the first mode to the second mode; or (b)
And when the first electronic equipment receives a second operation instruction in the second mode, the first electronic equipment is switched to the first mode from the second mode.
3. The communication method according to claim 2, wherein the first operation instruction and the second operation instruction are both instructions triggered by an operation of a physical key of the first electronic device, or by a touch operation of the display screen, or by an operation of a remote controller paired with the first electronic device.
4. The communication method according to claim 2, wherein the communication method further comprises:
when the first electronic device successfully negotiates with the second electronic device based on the first EDID and receives the first operation instruction, the first electronic device acquires the second EDID and sends the second EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device; or (b)
And when the first electronic device successfully negotiates with the second electronic device based on the second EDID and receives the second operation instruction, the first electronic device acquires the first EDID and sends the first EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device.
5. The communication method of claim 4, wherein before the first electronic device obtains the second EDID and sends the second EDID to the second electronic device to renegotiate communication with the second electronic device, or before the first electronic device obtains the first EDID and sends the first EDID to the second electronic device to renegotiate communication with the second electronic device, comprising:
the first electronic device disconnects communication with the second electronic device;
and the first electronic equipment re-receives the negotiation request sent by the second electronic equipment.
6. The communication method according to claim 1, wherein the communication method further comprises:
when the second EDID records the display capability information of the display screen, but does not record the audio capability information of the audio module, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the first electronic device receives a video stream from the second electronic device; or (b)
When the second EDID records the audio capability information of the audio module, but does not record the display capability information of the display screen, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the first electronic device receives the audio stream from the second electronic device.
7. The communication method according to any one of claims 1 to 6, wherein the first electronic device includes an on-screen menu-style OSD including a menu interface for making the first mode and the second mode selections.
8. The communication method is applied to a first electronic device and a second electronic device, wherein the first electronic device comprises a first display screen and a first audio module, and the second electronic device comprises a second display screen and a second audio module, and is characterized in that the first electronic device stores first extended display identification data EDID and second EDID, and the communication method comprises the following steps:
the second electronic device sends a negotiation request to the first electronic device;
the first electronic device responds to the negotiation request, acquires the first EDID or the second EDID, and sends the first EDID or the second EDID to the second electronic device to carry out communication negotiation with the second electronic device, wherein the first EDID records the display capability information of the first display screen and the audio capability information of the first audio module, and the second EDID records one of the audio capability information of the first audio module and the display capability information of the first display screen.
9. The communication method of claim 8, wherein the first electronic device includes a first mode for indicating that the first electronic device can receive both an audio stream and a video stream and a second mode for indicating that the first electronic device can receive either one of an audio stream and a video stream, the obtaining the first EDID or the second EDID and transmitting to the second electronic device comprises:
when the first electronic device is in the first mode, the first electronic device acquires the first EDID and sends the first EDID to the second electronic device;
and when the first electronic equipment is in the second mode, the first electronic equipment acquires the second EDID and sends the second EDID to the second electronic equipment.
10. The communication method according to claim 9, wherein the communication method further comprises:
when the first electronic equipment receives a first operation instruction in the first mode, the first electronic equipment is switched from the first mode to the second mode; or (b)
And when the first electronic equipment receives a second operation instruction in the second mode, the first electronic equipment is switched to the first mode from the second mode.
11. The communication method of claim 10, wherein the communication method further comprises:
when the first electronic device successfully negotiates with the second electronic device based on the first EDID and receives the first operation instruction, the first electronic device acquires the second EDID and sends the second EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device; or (b)
And when the first electronic device successfully negotiates with the second electronic device based on the second EDID and receives the second operation instruction, the first electronic device acquires the first EDID and sends the first EDID to the second electronic device so as to carry out communication negotiation again with the second electronic device.
12. The communication method of claim 10, wherein the communication method further comprises:
when the first electronic device successfully negotiates with the second electronic device based on the first EDID and receives the first operation instruction, the first electronic device disconnects communication with the second electronic device, and the second electronic device resends a negotiation request to the first electronic device; or (b)
And when the first electronic equipment successfully communicates with the second electronic equipment based on the second EDID and receives the second operation instruction, the first electronic equipment disconnects the communication connection with the second electronic equipment, and the second electronic equipment resends a negotiation request to the first electronic equipment.
13. The communication method according to claim 8, wherein the communication method further comprises:
when the second EDID records the display capability information of the first display screen, but does not record the audio capability information of the first audio module, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the second electronic device transmits a video stream to the first electronic device; or (b)
When the second EDID records the audio capability information of the first audio module, but does not record the display capability information of the first display screen, and the first electronic device successfully negotiates with the second electronic device based on the second EDID, the second electronic device transmits an audio stream to the first electronic device.
14. The communication method of claim 13, wherein,
When the second EDID records the display capability information of the first display screen, but does not record the audio capability information of the first audio module, and the first electronic device successfully communicates with the second electronic device based on the second EDID, the sound icon associated with the first audio module is invisible on the second electronic device; or (b)
When the second EDID records the audio capability information of the first audio module, but does not record the display capability information of the first display screen, and the first electronic device successfully communicates with the second electronic device based on the second EDID, a display screen icon associated with the first display screen is invisible on the second electronic device.
15. The communication method according to any one of claims 8 to 14, wherein the first electronic device includes an on-screen menu-style OSD including a menu interface for making the first mode and the second mode selections.
16. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the communication method of any one of claims 1 to 7.
17. An electronic device comprising a display screen, an audio module, a processor and a memory, the memory for storing instructions, the processor for invoking the instructions in the memory to cause the electronic device to perform the communication method of any of claims 1-7.
18. A chip coupled to a memory in an electronic device, wherein the chip is configured to control the electronic device to perform the communication method of any one of claims 1 to 7.
CN202210641859.5A 2022-06-07 2022-06-07 Communication method, chip, electronic device, and computer-readable storage medium Pending CN117241086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210641859.5A CN117241086A (en) 2022-06-07 2022-06-07 Communication method, chip, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210641859.5A CN117241086A (en) 2022-06-07 2022-06-07 Communication method, chip, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN117241086A true CN117241086A (en) 2023-12-15

Family

ID=89089886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210641859.5A Pending CN117241086A (en) 2022-06-07 2022-06-07 Communication method, chip, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN117241086A (en)

Similar Documents

Publication Publication Date Title
WO2020221039A1 (en) Screen projection method, electronic device and screen projection system
WO2020253719A1 (en) Screen recording method and electronic device
WO2021023220A1 (en) Content continuation method and system, and electronic device
WO2022052773A1 (en) Multi-window screen projection method and electronic device
US20240192912A1 (en) Screen projection method for electronic device and electronic device
WO2021042978A1 (en) Theme switching method and theme switching apparatus
CN114040242B (en) Screen projection method, electronic equipment and storage medium
WO2022089271A1 (en) Wireless screen-casting method, mobile device, and computer-readable storage medium
WO2021258809A1 (en) Data synchronization method, electronic device, and computer readable storage medium
EP4060475A1 (en) Multi-screen cooperation method and system, and electronic device
WO2021249318A1 (en) Screen projection method and terminal
WO2021249087A1 (en) Card sharing method, electronic device, and communication system
US20220353819A1 (en) Method for Reducing Power Consumption of Mobile Terminal and Mobile Terminal
CN113961157B (en) Display interaction system, display method and equipment
WO2021104259A1 (en) Method and terminal for data sharing between fast application and native application
CN114741008B (en) Distributed cross-device cooperation method, electronic device and communication system
CN116009977A (en) Notification processing method, chip, electronic device and computer-readable storage medium
CN115756268A (en) Cross-device interaction method and device, screen projection system and terminal
CN116170629A (en) Method for transmitting code stream, electronic equipment and computer readable storage medium
US20230350629A1 (en) Double-Channel Screen Mirroring Method and Electronic Device
WO2023005711A1 (en) Service recommendation method and electronic device
WO2022068882A1 (en) Mirroring method, apparatus and system
CN117241086A (en) Communication method, chip, electronic device, and computer-readable storage medium
WO2023030057A1 (en) Screen recording method, electronic device, and computer readable storage medium
WO2023283941A1 (en) Screen projection image processing method and apparatus

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