CN115460445B - Screen projection method of electronic equipment and electronic equipment - Google Patents

Screen projection method of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN115460445B
CN115460445B CN202110643966.7A CN202110643966A CN115460445B CN 115460445 B CN115460445 B CN 115460445B CN 202110643966 A CN202110643966 A CN 202110643966A CN 115460445 B CN115460445 B CN 115460445B
Authority
CN
China
Prior art keywords
screen
throwing
equipment
information
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110643966.7A
Other languages
Chinese (zh)
Other versions
CN115460445A (en
Inventor
王冬伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110643966.7A priority Critical patent/CN115460445B/en
Publication of CN115460445A publication Critical patent/CN115460445A/en
Application granted granted Critical
Publication of CN115460445B publication Critical patent/CN115460445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43076Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6402Address allocation for clients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Abstract

The embodiment of the application provides a screen projection method of electronic equipment and the electronic equipment, wherein the method comprises the following steps: receiving a user screen-throwing operation, and throwing the electronic equipment to the screen-throwing equipment in a system mirror image screen-throwing mode; receiving video playing operation of electronic equipment, and acquiring screen throwing information of the electronic equipment, wherein the screen throwing information comprises first equipment information of the screen throwing equipment; and switching the screen-throwing mode between the electronic equipment and the screen-throwing equipment from the system mirror image screen-throwing mode to the DLNA screen-throwing mode according to the first equipment information. In the method, when the electronic equipment plays the video, if the electronic equipment is in the state of system mirror image screen projection, the electronic equipment can be automatically switched to DLNA screen projection, so that the problems of black edges, blocking, screen pattern, asynchronous audio and video and the like of the picture are reduced, the played video picture is clear and smooth, the screen projection effect is effectively improved, other operations are not required by a user, and the viewing experience of the user is also improved.

Description

Screen projection method of electronic equipment and electronic equipment
Technical Field
The application relates to the technical field of electronics, in particular to a screen projection method of electronic equipment and the electronic equipment.
Background
Currently, many electronic devices support a wireless screen-throwing technology, that is, a display interface of an electronic device a (e.g., a mobile phone or a tablet) is displayed on a screen of another device B (e.g., a computer, a television, an all-in-one machine or a projector) in "real time", so that a user can watch the content of a screen through the device B.
When a user needs to use the wireless screen-throwing function of the electronic device, the user usually clicks a wireless screen-throwing button in a system pull-down menu of the electronic device, and then selects screen-throwing equipment from an available equipment list searched by the electronic device, so that the wireless screen throwing of the electronic device can be completed. At this time, the electronic device realizes a system mirror image screen projection (hereinafter referred to as mirror image screen projection for short), that is, what interface is displayed on the electronic device, and what interface is also displayed on the screen projection device.
However, in the process of system mirror image screen projection, if the electronic device currently plays video, the video interface of the screen projection device is easy to have problems of blocking, screen pattern, black edge, asynchronous audio and video, and the like, so that the screen projection effect is poor.
Disclosure of Invention
The application provides a screen projection method of electronic equipment and the electronic equipment, which can automatically switch the mirror image screen projection between the screen projection equipment into the screen projection of a digital living network alliance (digital living network alllance, DLNA) when the electronic equipment plays videos, and effectively improve the screen projection effect.
In a first aspect, the present application provides a method for projecting a screen of an electronic device, where the method includes: receiving a user screen-throwing operation, and throwing the electronic equipment to the screen-throwing equipment in a system mirror image screen-throwing mode; receiving video playing operation of the electronic equipment, and acquiring screen throwing information of the electronic equipment, wherein the screen throwing information comprises first equipment information of the screen throwing equipment, and the first equipment information comprises at least one of an internet protocol address (internet protocol address, IP address), a media access control address (media access control address, mac address), a universal unique identification code (universally unique identifier, uuid), an equipment identifier and an equipment name of the screen throwing equipment; and switching the screen-throwing mode between the electronic equipment and the screen-throwing equipment from the system mirror image screen-throwing mode to the DLNA screen-throwing mode according to the first equipment information.
The system mirror image screen projection process is that the electronic equipment encodes and decodes the data of the display interface and then sends the data to the screen projection equipment for display, and if the electronic equipment currently plays video, the video stream is encoded and decoded and then sent to the screen projection equipment for playing. The DLNA screen-casting is a technology for serving digital media and content, and the electronic device can send an address of a video stream to the screen-casting device, and the screen-casting device downloads video resources according to the address to play, so that real-time screen-casting of video data is realized. When the electronic equipment plays videos, if the electronic equipment is in a system mirror image screen-throwing state, the electronic equipment can be automatically switched to DLNA screen throwing, so that the problems of black edges, blocking, screen-printing, asynchronous sound and picture and the like of pictures are reduced, the played video pictures are clear and smooth, the screen-throwing effect is effectively improved, other operations are not needed by a user, and the watching experience of the user is also improved.
Optionally, the video played by the electronic device may be played online by a video application, or may be played locally by a video player.
Before the electronic equipment switches the screen-throwing mode, the stored equipment information of the screen-throwing equipment is required to be acquired, and then the DLNA of the electronic equipment is thrown to the screen-throwing equipment according to the first equipment information (such as an IP address). Optionally, the implementation manner may be applicable to a case where the electronic device and the screen-throwing device are in the same local area network, where the IP address of the screen-throwing device searched through the mirror image protocol is the same as the IP address of the screen-throwing device searched through the DLNA protocol.
With reference to the first aspect, in some implementations of the first aspect, according to the first device information, switching a screen-throwing mode between the electronic device and the screen-throwing device from a system image screen-throwing mode to a DLNA screen-throwing mode includes: searching first available screen-throwing equipment through a DLNA protocol, and acquiring second equipment information of the first available screen-throwing equipment, wherein the first available screen-throwing equipment is equipment which is located in the same local area network with the electronic equipment and supports DLNA screen throwing, and the second equipment information comprises at least one of an IP address, a Mac address, a uuid, an equipment identifier and an equipment name of the first available screen-throwing equipment; and matching the first equipment information with the second equipment information, and if the first equipment information is successfully matched with the second equipment information, projecting the screen of the electronic equipment to the screen projecting equipment in a DLNA screen projecting mode.
Because some mirror image protocol searching and screen-throwing devices do not need to pass through a local area network, such as a Miracast protocol, for the same device, the IP address searched through the mirror image protocol is different from the IP address searched through the DLNA protocol, and therefore the first device information and the second device information need to be matched, if the matching is successful, the fact that the first device information and the second device information are the same device is indicated, and then the electronic device DLNA is screened to the screen-throwing device. Therefore, the success rate of switching the electronic equipment into DLNA screen throwing can be further improved.
With reference to the first aspect, in some implementations of the first aspect, the foregoing screen-casting method for casting the electronic device to the screen-casting device through DLNA includes: and sending the video address of the video to the screen throwing equipment according to the IP address of the first available screen throwing equipment, so that the screen throwing equipment downloads video resources according to the video address and plays the video resources.
In the implementation manner, the electronic device throws the screen to the screen throwing device according to the IP address of the available screen throwing device searched by the DLNA protocol (the screen throwing device and the available screen throwing device are the same device at the moment), so that the accuracy of the determined DLNA screen throwing device is improved, and the success rate of switching from the system mirror image screen throwing to the DLNA screen throwing is further improved.
With reference to the first aspect, in some implementations of the first aspect, the receiving a user screen-casting operation, where the electronic device casts a screen to the screen-casting device in a system mirror image screen-casting manner includes: receiving a screen throwing operation; searching and displaying a second available screen throwing device through a mirror image protocol; receiving selection operation of a second available screen throwing device, and determining the screen throwing device; and sending the data of the display interface of the electronic equipment to the screen throwing equipment according to the first equipment information.
The screen-throwing operation can be the clicking operation of a user on a wireless screen-throwing button in a system drop-down menu, or the clicking operation of the wireless screen-throwing button in a setting path of the electronic equipment. When the electronic equipment only searches one screen throwing device, the screen throwing device can directly throw the mirror image of the display interface; when a plurality of screen throwing devices are searched, the available device list can be displayed to a user for the user to select the corresponding device, and data of the display interface are sent to the screen throwing devices for display. And then the electronic equipment can record the equipment information of the screen-throwing equipment after the screen throwing of the system mirror image, and can be used for carrying out information matching when the screen throwing of the DLNA is carried out later so as to improve the success rate of switching to the screen throwing of the DLNA.
With reference to the first aspect, in some implementations of the first aspect, the video is played by a video application installed in the electronic device. When a user watches videos through video application, if a screen-throwing mode between the electronic equipment and the screen-throwing equipment is automatically switched from a system mirror image screen-throwing mode to a DLNA screen-throwing mode, the screen-throwing effect can be improved, and meanwhile the experience degree of watching the videos of the user is improved.
With reference to the first aspect, in some implementations of the first aspect, the switching the screen-casting mode between the electronic device and the screen-casting device from the system image screen-casting to the DLNA screen-casting includes: and calling a DLNA interface through the video application, and switching a screen-throwing mode between the electronic equipment and the screen-throwing equipment from the system mirror image screen-throwing mode to the DLNA screen-throwing mode.
The system of the electronic equipment can provide a DLNA interface for video applications or other applications, when the electronic equipment starts a system mirror image screen-throwing mode and equipment information of the screen-throwing equipment is acquired, the video applications can call the DLNA interface to throw the DLNA of the electronic equipment to the screen-throwing equipment, so that the experience degree of watching videos of users is improved, and the users can perform other operations on the electronic equipment without influencing video playing of the screen-throwing equipment.
With reference to the first aspect, in some implementations of the first aspect, the screen-casting information further includes a status identifier of the electronic device, where the status identifier is used to indicate whether the electronic device is in a system image screen-casting state; the receiving operation of playing the video by the electronic device, obtaining the screen throwing information of the electronic device, includes: receiving video application playing video operation, acquiring a state identifier from a configuration file and acquiring first equipment information from a database; before switching the screen-throwing mode between the electronic device and the screen-throwing device from the system image screen-throwing mode to the DLNA screen-throwing mode according to the first device information, the method further comprises the following steps: and determining that the electronic equipment is in a system mirror image screen-throwing state through the state identification.
In the implementation manner, when the video application plays the video, the state identifier is actively acquired to further determine that the electronic equipment is in the state of system mirror image screen projection, so that the success rate of switching to DLNA screen projection is further improved.
With reference to the first aspect, in some implementations of the first aspect, after the electronic device is screen-cast to the screen-casting device by means of system image screen-casting, the method further includes: and storing the state identification of the electronic equipment in the system mirror image screen-throwing state into a configuration file, and storing the first equipment information of the screen-throwing equipment into a database. Thus, a data basis can be provided for the subsequent video application to acquire the screen throwing information.
In a second aspect, the present application provides an apparatus, which is included in an electronic device, and which has a function of implementing the electronic device behavior in the first aspect and possible implementations of 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 or units corresponding to the functions described above. Such as a receiving module or unit, a processing module or unit, etc.
In a third aspect, the present application provides an electronic device, the electronic device comprising: a processor, a memory, and an interface; the processor, the memory and the interface cooperate with each other such that the electronic device performs any one of the methods of the technical solutions of the first aspect.
Optionally, the electronic device may further include a wireless screen projection module, configured to receive a screen projection operation; the screen throwing capability center module is used for searching a second available screen throwing device through a mirror image protocol; the display module is used for displaying the second available screen throwing equipment, receiving the selection operation of the second available screen throwing equipment and determining the screen throwing equipment; the multi-screen interaction module is used for sending data of the display interface of the electronic equipment to the screen-throwing equipment for screen-throwing display according to the first equipment information; the multi-screen interaction module is further used for storing a state identifier of the electronic equipment in a system mirror image screen-throwing state into a configuration file, and the wireless screen-throwing module is further used for storing first equipment information of the screen-throwing equipment into a database; the video application is used for playing video, acquiring a state identifier from the configuration file and acquiring first equipment information from the database, and determining that the electronic equipment is in a system mirror image screen-throwing state through the state identifier; the screen throwing capability center module is also used for searching for first available screen throwing equipment through a DLNA protocol; the multi-screen interaction module is further used for acquiring second equipment information of the first available screen throwing equipment, matching the first equipment information with the second equipment information, and if the first equipment information is successfully matched with the second equipment information, sending a video address of the video to the screen throwing equipment according to an IP address of the first available screen throwing equipment, so that the screen throwing equipment downloads video resources according to the video address and plays the video resources.
In a fourth aspect, the present application provides a chip comprising a processor. The processor is configured to read and execute a computer program stored in the memory to perform the method of the first aspect and any possible implementation thereof.
Optionally, the chip further comprises a memory, and the memory is connected with the processor through a circuit or a wire.
Further optionally, the chip further comprises a communication interface.
In a fifth aspect, the present application provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor causes the processor to perform any one of the methods of the first aspect.
In a sixth aspect, the present application provides a computer program product comprising: computer program code which, when run on an electronic device, causes the electronic device to perform any one of the methods of the solutions of the first aspect.
Drawings
Fig. 1 (a) is a schematic diagram of an example of a video playing interface according to an embodiment of the present application;
FIG. 1 (b) is a schematic diagram of an exemplary system drop-down menu interface according to an embodiment of the present application;
FIG. 1 (c) is a schematic diagram of an exemplary list display interface of available devices according to an embodiment of the present application;
Fig. 1 (d) is a schematic diagram illustrating comparison between display effects of an electronic device and a screen-projection device according to an embodiment of the present application;
FIG. 2 (a) is a schematic diagram of another system drop-down menu interface provided by an embodiment of the present application;
FIG. 2 (b) is a schematic diagram of another example of a list-presentation interface of available devices according to an embodiment of the present application;
fig. 2 (c) is a schematic diagram comparing a display effect of another electronic device and a screen-projection device provided in an embodiment of the present application;
fig. 2 (d) is a schematic diagram comparing display effects of another electronic device and a screen-projection device provided in the embodiment of the present application;
fig. 3 is a schematic diagram showing a comparison of display effects of an electronic device and a screen-throwing device when a DLNA is throwing a screen;
fig. 4 is a schematic structural diagram of an example of an electronic device according to an embodiment of the present application;
FIG. 5 is a software block diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic system architecture diagram of an exemplary screen projection method of an electronic device according to an embodiment of the present application;
fig. 7 (a) is a schematic system architecture diagram of another example of a screen projection method of an electronic device according to an embodiment of the present application;
fig. 7 (b) is a schematic system architecture diagram of another example of a screen projection method of an electronic device according to an embodiment of the present application;
Fig. 8 is a flowchart of an exemplary method for screen projection of an electronic device according to an embodiment of the present application;
fig. 9 (a) is a schematic diagram of a process of switching an electronic device from mirror image to DLNA screen projection according to an embodiment of the present application;
fig. 9 (b) is a schematic diagram of a process of switching from mirror screen projection to DLNA screen projection of another electronic device according to an embodiment of the present application;
fig. 10 is a flowchart of another method for projecting a screen of an electronic device according to an embodiment of the present application;
fig. 11 is a flowchart of another example of a screen projection method of an electronic device according to an embodiment of the present application;
FIG. 12 is a schematic diagram comparing an example of device information of mirror image screen projection and device information of DLNA screen projection provided in the embodiment of the present application;
fig. 13 is a schematic diagram comparing device information of another mirror image screen projection with device information of DLNA screen projection according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" means two or more than two.
The terms "first," "second," "third," and the like, are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or a third "may explicitly or implicitly include one or more such feature.
Currently, when a user wants to watch a video using a system image screen-projection (hereinafter referred to as image screen-projection) mode of an electronic device, the electronic device may be switched to the image screen-projection mode by:
mode one: the electronic device is playing video using a video Application (APP), i.e. when in the display interface shown in fig. 1 (a), the user uses the system drop-down menu, and the electronic device can switch to the display interface shown in fig. 1 (b), on which the user clicks the "wireless screen-drop" button to trigger the electronic device to search for and display the available devices for wireless screen-drop. On the display interface of the available equipment list shown in the diagram (c) in fig. 1, after the user clicks the selected screen-throwing equipment, the display interface of the electronic equipment can be displayed on both the electronic equipment and the screen-throwing equipment, and the effect comparison schematic diagram can be shown in the diagram (d) in fig. 1, namely, the mirror image screen-throwing process is completed.
Mode two: the electronic device is in any display interface, such as a desktop interface, and the user uses a system drop-down menu, so that the electronic device can switch to the display interface shown in the diagram (a) in fig. 2, and on the interface, the user clicks a "wireless screen-throwing" button to trigger the electronic device to search for and display available wireless screen-throwing devices. On the display interface of the available equipment list shown in the diagram (b) of fig. 2, after the user clicks the selected screen-throwing equipment, the desktop interface of the electronic equipment can be displayed on both the electronic equipment and the screen-throwing equipment, and the effect comparison schematic diagram can be shown in the diagram (c) of fig. 2, namely, the mirror image screen-throwing process is completed. Then, the user plays the video by using the video APP on the electronic device, the screen throwing device also correspondingly displays a video interface, and the effect comparison schematic diagram of the electronic device and the screen throwing device can be seen in the (d) diagram in fig. 2.
According to the first mode and the second mode, the display interface of the screen throwing device is consistent with that of the electronic device, namely mirror image screen throwing is currently realized, but at the moment, two sides of the screen throwing device are provided with black edges with more areas, and even if the electronic device is switched to be played in a full screen mode, two sides of the screen throwing device are provided with black edges; in addition, in the process of playing video, the electronic equipment needs to download video data and encode and decode the video stream of the electronic equipment, and then the video stream is presented to the screen throwing equipment, so that the problems of blocking, screen display and asynchronous audio and video can also occur, and the screen throwing effect is poor.
In view of this, the embodiment of the present application provides a screen projection method of an electronic device, which may be applied to an electronic device having a mirror image screen projection function, such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), and the like, when the electronic device uses a mirror image screen projection mode to play a video, the mirror image screen projection can be automatically switched to a DLNA screen projection, and at this time, a comparison diagram of a display interface of the electronic device and the screen projection device may be shown in fig. 3, so that the screen projection device plays a full-screen video, and the video image is clear and smooth, thereby effectively improving the screen projection effect, without other operations of a user, and improving the experience of the user. It should be noted that, in the embodiment of the present application, the mode of opening the mirror image screen projection mode of the electronic device may be the first mode and the second mode, and the specific type of the electronic device is not limited.
Fig. 4 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. The structures of the antennas 1 and 2 in fig. 4 are only one example. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. Wireless communication techniques may include 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 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, so that the electrical signal is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may parse out a voice signal based on the vibration signal of the vocal part vibration bone piece obtained by the bone conduction sensor 180M, and implement a voice function. The application processor can analyze heart rate information based on the blood pressure beat signals acquired by the bone conduction sensor 180M, so that a heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 5 is a software configuration block diagram of the electronic device 100 of the 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 four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. The application layer may include a series of application packages.
As shown in fig. 5, 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. 5, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android runtimes include core libraries and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For easy understanding, the following embodiments of the present application will take an electronic device having a structure shown in fig. 4 and fig. 5 as an example, and the screen projection method of the electronic device provided in the embodiments of the present application will be specifically described with reference to the accompanying drawings.
The screen projection method of the electronic device provided in the embodiment of the present application may be applied to the system architecture shown in fig. 6, and the process flow of the embodiment of the present application is described below with reference to fig. 6.
First, the SystemUI is a quick setting function (quick setting) of functions implemented by the SystemUI, which is operated in the Android system in the form of a system application, and the (b) diagram in fig. 1 and the (a) diagram in fig. 2 are described above. After the user clicks the "wireless screen-throwing" button in the (b) diagram in fig. 1 or the (a) diagram in fig. 2 (or finds the "wireless screen-throwing" button through the "setting" path of the electronic device), the electronic device may send the click command to the wireless screen-throwing module of the service layer. The wireless screen-throwing module searches screen-throwing equipment through a mirror image protocol provided by a screen-throwing capability center, for example, searches through a Miracast protocol, then invokes a wireless video display manager WiFiDisplay of an application program framework layer, and determines to connect Wifi peer-to-peer (P2P) screen-throwing equipment through a multi-screen interaction framework. After the connection between the electronic device and the screen-throwing device is established, the data stream of the display interface can be pushed to the screen-throwing device for display, and the status identifier of the opened mirror image screen-throwing is written into the configuration file Settings, and the device information of the screen-throwing device for establishing the connection is written into the database SQLite (DataBase), which is hereinafter referred to as DB for short. Optionally, the status identifier and the device information may also be written into other storable files, which is not limited in the storage manner in the embodiment of the present application. Then, if the third party video APP is playing the video, the video APP will read the status identifier in settingand the device information in DB through the interface provided by the system. When the read state mark is that the mirror image screen is started and the DB contains the connected equipment information, the video APP calls a DLNA interface in the system, the mirror image screen is converted into the DLNA screen, and the DLNA screen connection success information is sent to the wireless screen-casting module. It is understood that the device information in the DB may include, but is not limited to, an IP address, mac address, uuid, device identification, device name, etc. of the screen-casting device. Typically, the mirrored screen-cast video data is in an H264 video coding format, and the DLNA screen-cast video data is in an x264 video coding format.
When the wireless screen-throwing module searches the screen-throwing equipment through the mirror image protocol, the corresponding mirror image protocol can be selected preferentially according to the capability of the equipment supporting screen throwing at present, and the mirror image protocols which are popular at present comprise Miracast protocol, cast+ protocol, airPlay protocol, lelink protocol and the like.
Specifically, miracast is a wireless display standard established by Wi-Fi alliance in 2012, and is based on Wi-Fi Direct (Wi-Fi Direct), a device that uses Miracast protocol to perform wireless screen-casting does not need to access to a wireless local area network, and an electronic device can directly play a video or a photo on the screen-casting device through the protocol without any connection line or wireless hotspot (AP); in the Miracast application scene, a smart phone supporting P2P can be directly connected with a smart television supporting P2P, and the smart phone can transmit a screen or media resource of the smart phone to the smart television for display or play. The cast+ protocol can support the electronic equipment of a fixed brand A to carry out wireless screen casting, and the packet loss rate is low in the audio and video data transmission process. The AirPlay protocol is a wifi-based wireless display standard, can be applied between electronic equipment of a fixed brand B and screen throwing equipment, and supports a push mode and a mirror mode. The equipment adopting the leink protocol for wireless screen-casting needs to be accessed into the same wireless local area network.
The screen projection method of the electronic device provided in the embodiment of the present application may also be applied to the system architecture shown in fig. 7, and the process flow of the embodiment of the present application is described below with reference to fig. 7.
First, while the third party video APP is playing the video, the user clicks the "wireless screen" button in fig. 1 (b) or fig. 2 (a) (or finds the "wireless screen" button through the "setup" path of the electronic device). Then if the wireless screen-throwing module of the service layer monitors that the video APP is playing the video, the screen-throwing device search can be performed through a mirror image protocol provided by the screen-throwing capability center, for example, through Miracast protocol search, at the moment, the screen-throwing capability center opens a P2P or WALN connection channel, and establishes a channel with WiFi P2P screen-throwing equipment or establishes a channel with WiFi (STA) screen-throwing equipment through a WifiP2PManager manager. In one implementation, as shown in fig. 7 (a), after the channel is established, the screen throwing capability center does not push a data stream to the display manager DisplayManager, but the multi-screen interaction framework writes the status identifier of the opened mirror screen throwing into the configuration file settingand the device information of the connected screen throwing device into the DB. And then, if the third-party video APP monitors that the electronic equipment is started to switch on the mirror image, calling a DLNA interface in the system to switch on the DLNA.
In another implementation, as shown in fig. 7 (b), after the channel is established, the screen throwing capability center pushes the data stream to the DisplayManager, but the DisplayManager filters out the data stream, i.e. does not display it on the screen throwing device. Then the multi-screen interactive framework writes the status identification of the opened mirror image screen into the configuration file Settings and writes the equipment information of the screen-throwing equipment for establishing connection into the DB. If the third-party video APP monitors that the electronic equipment has started the mirror image screen projection, a DLNA interface in the system is called to perform DLNA screen projection.
In summary, because the screen projection device has the above-mentioned problems such as black edges of the screen when the mirror image screen projection is performed, after the mirror image screen projection function is started, the video APP can call the internal DLNA interface, and the video APP can automatically turn into the DLNA screen projection. When the electronic equipment DLNA is used for screen projection, the address (such as a uniform resource positioning system (uniform resource locator, URL)) of the played audio and video data can be pushed to the screen projection equipment, so that the screen projection equipment can download data resources according to the address of the audio and video data, and further full-screen playing is realized, the problems of black edges, blocking, screen display, asynchronous audio and video pictures and the like can be reduced, the played video pictures are clear and smooth, the screen projection effect is effectively improved, other operations are not required by a user, and the experience of the user is also improved. In addition, by adopting the DLNA screen-throwing mode, a user can execute other operations on the electronic equipment without influencing the normal playing of the video of the screen-throwing equipment.
First, introducing the implementation process of the scenario in fig. 1, that is, the scenario in which the electronic device plays the video first and then opens the mirror image screen, in combination with the system architecture shown in fig. 6, fig. 8 is a flowchart of an example of a screen projection method of the electronic device, where the method includes:
s201, receiving video playing operation of the electronic equipment, and acquiring a state identifier of the electronic equipment.
When the electronic device is in the mirror image screen-throwing state, the state identifier may be 1, and when the electronic device is not in the mirror image screen-throwing state, the state identifier may be 0.
S202, determining that the electronic equipment is not in a mirror image screen-throwing state through the state identification, receiving a user screen-throwing operation, and throwing the electronic equipment to the screen-throwing equipment in a mirror image screen-throwing mode.
Specifically, when the electronic device is not in the mirror image screen-throwing state (i.e., the state identifier is 0), if the video APP in the electronic device starts to play the video, the screen throwing cannot be performed on the screen-throwing device, and at this time, a mirror image screen-throwing function (i.e., screen throwing operation) is required to be opened by the user.
After a user opens the mirror image screen-throwing function, the electronic equipment can search the equipment through a mirror image protocol, and when the electronic equipment searches only one screen-throwing equipment, the mirror image screen-throwing of the display interface can be directly carried out on the screen-throwing equipment. When the electronic device searches for a plurality of screen-throwing devices, the list of available devices can be displayed to the user, such as the display interface shown in the (c) diagram in fig. 1, and then after receiving the selection operation of the user, the electronic device mirrors the display interface to the screen-throwing device selected by the user. When the screen throwing device searched by the electronic device is the screen throwing device selected by the user before, the screen throwing device can also directly throw the mirror image screen of the display interface. It can be understood that after the display interface of the electronic device mirrors the screen to the screen-throwing device, the electronic device can record the status identifier of the opened mirror screen-throwing device and the device information of the screen-throwing device for establishing connection.
S203, acquiring first equipment information of the screen-throwing equipment, and switching a screen-throwing mode between the electronic equipment and the screen-throwing equipment from mirror image screen-throwing to DLNA screen-throwing according to the first equipment information.
Specifically, after the electronic equipment is in a mirror image screen-throwing state, the video APP can acquire equipment information of the screen-throwing equipment, call an internal DLNA interface and switch a screen-throwing mode between the electronic equipment and the screen-throwing equipment from mirror image screen-throwing to DLNA screen-throwing. Before the video APP calls the internal DLNA interface, the electronic device needs to search nearby devices supporting DLNA screen-throwing through a DLNA protocol, and when the devices supporting DLNA screen-throwing and the screen-throwing device for mirror image screen-throwing are the same, the video APP can call the DLNA interface to realize DLNA screen-throwing. It should be noted that, the device that uses DLNA protocol to perform wireless screen-casting needs to access to the same wireless lan.
For this procedure, the manner in which the electronic device starts the mirror image screen projection mode to watch the video is known, in which the electronic device plays the video first and then starts the mirror image screen projection, and for this procedure, the procedure of switching to the DLNA screen projection is described as follows: referring to fig. 9 (a), in the process of playing video, if the current electronic device does not start the mirror image screen-throwing function, the video APP will start the monitor module ContentObserver to monitor the data in the Settings (i.e. when the video APP plays video, it will monitor whether the electronic device is in the mirror image screen-throwing state). When the state identification in the Settings is monitored to be that the mirror image screen projection is started, namely the electronic equipment is subjected to mirror image screen projection to the screen projection equipment, and the video APP plays the video at the moment, the video APP acquires the equipment information of the connected screen projection equipment from the DB, and the screen projection mode between the electronic equipment and the screen projection equipment is switched from mirror image screen projection to DLNA screen projection. In addition, the ContentObserver can also monitor whether the mirror image screen is disconnected between the electronic equipment and the screen-throwing equipment, for example, after the electronic equipment disconnects the mirror image screen-throwing, the video APP monitors the disconnection message and calls the internal DLNA interface to disconnect the DLNA screen-throwing.
According to the screen projection method of the electronic equipment, when the electronic equipment plays videos, if the electronic equipment is not in the state of system mirror image screen projection currently, the electronic equipment can receive the operation that a user starts a system mirror image screen projection function and switch the mirror image screen projection into DLNA screen projection, so that the problems of black edges, blocking, screen pattern, asynchronous sound and picture and the like of pictures are reduced, the played video pictures are clear and smooth, the screen projection effect is effectively improved, other operations are not needed by the user, and the viewing experience of the user is also improved.
For the scenario in fig. 1, the implementation may also be combined with the system architecture shown in fig. 7, and fig. 10 is a flowchart of another method for projecting a screen of an electronic device according to an embodiment of the present application, where the method includes:
s301, receiving video playing operation of the electronic equipment, and acquiring a state identifier of the electronic equipment.
The implementation process of S301 may refer to the process of S201, which is not described herein.
S302, determining that the electronic equipment is not in a mirror image screen-throwing state through the state identification, receiving a user screen-throwing operation, and establishing channel connection between the electronic equipment and the screen-throwing equipment.
Specifically, when the electronic device is not in the mirror image screen-throwing state, if the video APP in the electronic device starts playing the video, the screen throwing cannot be performed on the screen-throwing device, and at this time, a user needs to open a mirror image screen-throwing function (i.e., screen throwing operation).
After the user opens the mirror image screen-throwing function, the electronic equipment can search the equipment through the mirror image protocol, and after the screen-throwing equipment is searched, the channel connection between the electronic equipment and the screen-throwing equipment is established. In one implementation, the electronic device establishes only a channel connection with the screen throwing device, and does not push a data stream to the screen throwing device; in another implementation, the electronic device establishes a channel connection with the screen-casting device and pushes a data stream to the screen-casting device, but the screen-casting device filters the data stream. That is, in this implementation, the screen-casting device does not display an interface of the electronic device that mirrors the screen-casting.
It can be understood that after the electronic device establishes the channel connection with the screen-throwing device, the status identifier of the opened mirror image screen-throwing device and the device information of the connected screen-throwing device can also be recorded.
S303, acquiring first equipment information of the screen-throwing equipment, and throwing the screen of the electronic equipment to the screen-throwing equipment in a DLNA screen-throwing mode according to the first equipment information.
Specifically, the video APP can monitor whether the electronic device is in a mirror image screen-throwing state, acquire device information of the screen-throwing device when the opened mirror image screen-throwing is monitored, and call the internal DLNA interface, so that the electronic device does not mirror image screen-throwing to the screen-throwing device, and then the electronic device can be directly screen-throwing to the screen-throwing device in a mode of throwing the DLNA screen, that is, at the moment, there is no mirror image screen-throwing to the DLNA screen-throwing switching process in the sense of a user.
According to the screen projection method of the electronic equipment, when the electronic equipment plays videos, if the electronic equipment is not in the state of system mirror image screen projection currently, the electronic equipment can receive the operation of starting the system mirror image screen projection function by a user and directly projects the screen to the screen projection equipment in a DLNA screen projection mode, so that the problems of black edges, blocking, screen patterns, asynchronous sound and picture and the like of pictures are reduced, the played video pictures are clear and smooth, the screen projection effect is effectively improved, other operations are not needed by the user, and the watching experience of the user is also improved.
Next, introducing the implementation process of the scenario in fig. 2, that is, the scenario in which the electronic device opens the mirror image to throw the screen and then plays the video, in combination with the system architecture shown in fig. 6, fig. 11 is a flowchart of another embodiment of a method for throwing the screen of the electronic device, where the method includes:
s401, receiving a user screen-throwing operation, and throwing the electronic equipment to the screen-throwing equipment in a mirror image screen-throwing mode.
The screen-throwing operation may be a clicking operation of the "wireless screen-throwing" button in the diagram (a) in fig. 2, or a clicking operation of the "wireless screen-throwing" button in the "setting" path of the electronic device. The mirror image screen projection process in this step may be referred to the description of the above embodiments, and will not be repeated here.
S402, receiving video playing operation of the electronic equipment, and acquiring screen throwing information of the electronic equipment, wherein the screen throwing information comprises first equipment information of the screen throwing equipment.
S403, switching the screen-throwing mode between the electronic equipment and the screen-throwing equipment from mirror image screen-throwing to DLNA screen-throwing according to the first equipment information.
Specifically, after the electronic equipment is subjected to mirror image screen projection to the screen projection equipment, current screen projection information can be stored, if a video APP installed in the electronic equipment is playing video, the video APP actively acquires the screen projection information, and when the electronic equipment is in a mirror image screen projection state, the video APP calls an internal DLNA interface, so that a screen projection mode between the electronic equipment and the screen projection equipment is switched from mirror image screen projection to DLNA screen projection.
For this procedure, the manner in which the electronic device starts the mirror image screen projection mode to watch the video is known, and for this procedure, the procedure of switching to the DLNA screen projection mode is described below: referring to the diagram (b) in fig. 9, the electronic device is already in the mirror screen-casting mode, when the user clicks the video APP to play the video, the video APP calls the system interface to acquire data in Settings and DB, if the status in Settings is identified as that the mirror screen-casting is started and there is device information of the connected screen-casting device in DB, the screen-casting mode between the electronic device and the screen-casting device is switched from the mirror screen-casting mode to the DLNA screen-casting mode. This approach differs from the approach described above with respect to fig. 9 (a) in that it does not require the monitor module ContentObserver to be started to actively monitor the state of the system image screen.
According to the screen projection method of the electronic equipment, when the electronic equipment plays videos, if the electronic equipment is in the state of system mirror image screen projection, the electronic equipment can be automatically switched to DLNA screen projection, so that the problems of black edges, blocking, screen pattern, asynchronous audio and video and the like of pictures are reduced, the played video pictures are clear and smooth, the screen projection effect is effectively improved, other operations are not needed by a user, and the viewing experience of the user is also improved.
In an actual scene, when the DLNA screen is adopted to screen the electronic equipment to the screen-throwing equipment, the screen-throwing equipment determined by the electronic equipment through the DLNA protocol and the screen-throwing equipment (or the screen-throwing equipment of the mirrored screen-throwing equipment) which establishes connection are required to be ensured to be identical, and then the electronic equipment can be successfully switched to the DLNA screen-throwing equipment. As can be seen from the above description, after the electronic device establishes a connection with the screen-throwing device, device information of the screen-throwing device may be recorded in the DB, including an IP address, a Mac address, a uuid, a device identifier, a device name, and the like, and then the electronic device may search for available screen-throwing devices supporting DLNA screen-throwing through a DLNA protocol, obtain device information of the available screen-throwing devices supporting DLNA screen-throwing, compare the device information of the available screen-throwing devices supporting DLNA screen-throwing with the device information in the DB, and if the comparison is successful, switch the mirror image screen-throwing to DLNA screen-throwing.
In one implementation manner, the device information (1) of the screen-throwing device (i.e., the device information of the screen-throwing device of the electronic device system mirror image screen-throwing device) recorded in the DB includes an IP address, and the device information (2) of the available screen-throwing device searched by the electronic device through the DLNA protocol also includes the IP address. If the electronic device searches for the screen-throwing device through the mirror image protocol, for example, the leink protocol is adopted, and the available screen-throwing device is searched through the DLNA protocol, and the obtained IP address of the device information (1) is the same as the IP address of the device information (2), then the video APP in the electronic device can directly obtain the IP address of the device information (1) from the DB, and the DLNA throws a screen to the screen-throwing device corresponding to the IP address, thereby completing the DLNA screen-throwing process. Optionally, in this implementation manner, since the IP address of the device information (1) and the IP address of the device information (2) are the same, the electronic device may perform DLNA screen-casting directly according to the IP address of the device information (1) in the DB without performing DLNA protocol search.
In another possible manner, the device information (1) of the screen-throwing device (i.e., the device information of the screen-throwing device of the electronic device system mirror image screen-throwing) recorded in the DB may include an IP address, a Mac address, a uuid, and a device name, and the device information (2) of the available screen-throwing device searched by the electronic device through the DLNA protocol may include an IP address, a Mac address, a uuid, and a device name. If the electronic device searches for the screen-throwing device through the mirror image protocol without passing through the same wireless local area network, for example, the Miracast protocol or the cast+ protocol (the search can be performed through Wifi P2P) is adopted, and the available screen-throwing device is searched through the DLNA protocol without passing through the same wireless local area network, the IP address of the device information (1) and the IP address of the device information (2) are different, and the electronic device needs to write the IP address of the device information (2) into the DB for the video APP to query. For example, if the user wants to watch the video by throwing the mobile phone to the television in the living room, the mobile phone and the television are both connected to the WiFi in the living room, and the user can search through WiFi P2P when mirror image is thrown, and the IP address of the television obtained by the mobile phone is 192.168.49.1; in the process of switching to DLNA screen throwing, a DLNA protocol is required to search for the television through a WiFi wireless network in a living room, at the moment, the IP address of the television acquired by the mobile phone is 192.168.43.238, and the two IP addresses are different.
Alternatively, the number of available screen-casting devices searched by the DLNA protocol may be one or more. For example, as shown in fig. 12, the device information (1) of the screen-throwing device and the device information (2) of the available screen-throwing device may find through comparison that, because uuid is a device unique identification code, only uuid information in the device information (1) and the device information (2) is the same, and thus the embodiments of the present application may perform association according to uuid. If the number of available screen-throwing devices searched by the DLNA protocol is one, the electronic device compares the uuid of the device information (2) with the uuid of the device information (1), if the two uuids are the same, the available screen-throwing device and the screen-throwing device are the same device, that is, the screen-throwing device which is mirroring the screen-throwing device, and the electronic device can write the IP address (such as 192.168.43.238 in fig. 9) of the device information (2) into the DB. Then the video APP can acquire the IP address from the DB, and the DLNA screen is projected to the screen projection equipment corresponding to the IP address, so that the process of DLNA screen projection is completed.
If the number of the available screen throwing devices searched through the DLNA protocol is multiple, the electronic device takes the device which is the same as the uuid of the screen throwing device of the mirror image screen throwing device in the available screen throwing devices as the target screen throwing device (namely, the device which is the same device as the screen throwing device, namely, the screen throwing device which is the mirror image screen throwing device), and writes the IP address of the target screen throwing device into the DB. Then, the video APP can acquire the IP address of the target screen-throwing device from the DB, and the DLNA screen-throwing device corresponding to the IP address is thrown to finish the process of throwing the DLNA screen.
Optionally, after the electronic device DLNA is screen-projected to the screen-projected device, the video APP may further store the device information (2) in the whitelist. When the next time the electronic equipment finishes mirror image screen projection, the video APP compares the equipment information of the mirror image screen projection equipment with the equipment information in the white list, and if the comparison is successful, the video APP projects the screen to the equipment corresponding to the IP address according to the IP address DLNA in the white list; if the comparison is not successful, searching for available equipment through the DLNA protocol. Therefore, the number of DLNA searching times can be reduced, and the screen switching efficiency is improved.
In the implementation manner, the electronic equipment performs association of the screen-throwing equipment through the unique identification code uuid, so that the accuracy of the determined DLNA screen-throwing equipment can be improved, the screen-throwing equipment determined through the DLNA protocol and the screen-throwing equipment of the mirror image screen-throwing equipment are ensured to be the same, and the success rate of the DLNA screen-throwing is improved.
In still another possible manner, the device information (1) of the screen-throwing device (i.e., the device information of the screen-throwing device of the electronic device system mirror image screen-throwing) recorded in the DB may include an IP address, a Mac address, a device identification, and a device name, and the device information (2) of the available screen-throwing device searched by the electronic device through the DLNA protocol may include an IP address, a Mac address, a device identification, and a device name. That is, there is no uuid in the device information obtained in this scenario, where the device identifier is other information for identifying the screen-throwing device, and the device identifier searched through the mirror protocol may not be consistent with the device identifier searched through the DLNA protocol.
For example, as shown in fig. 13, the device information (1) of the screen-throwing device and the device information (2) of the available screen-throwing device may find that only the device name information in the device information (1) and the device information (2) is the same through comparison, so that the embodiments of the present application may perform association according to the device name. If the number of available screen-throwing devices searched by the DLNA protocol is one, the electronic device compares the device name of the device information (2) with the device name of the device information (1), if the two device names are the same, the available screen-throwing device and the screen-throwing device are the same device, that is, the screen-throwing device which is in mirror image screen-throwing, and the electronic device can write the IP address (such as 192.168.43.56 in fig. 10) of the device information (2) into the DB. Then the video APP can acquire the IP address from the DB, and the DLNA screen is projected to the screen projection equipment corresponding to the IP address, so that the process of DLNA screen projection is completed.
If the number of the available screen throwing devices searched through the DLNA protocol is a plurality of, the electronic device takes the device with the same device name as the screen throwing device of the mirror image screen throwing device in the available screen throwing devices as the target screen throwing device (namely, the device with the same device as the screen throwing device, namely, the screen throwing device which is the mirror image screen throwing device), and writes the IP address of the target screen throwing device into the DB. Then the video APP can acquire the IP address of the target screen-throwing device from the DB, and the DLNA screen-throwing device corresponding to the IP address is thrown to complete the DLNA screen-throwing process. If a plurality of devices with the same device name as the screen throwing device are available in the screen throwing devices, the electronic device cannot identify which device is the same device as the screen throwing device, and at the moment, the electronic device can output a device list of the devices through a display interface so as to allow a user to select according to the mirror image screen throwing device.
In the above implementation manner, when the searched device information of the screen-throwing device does not include uuid, the electronic device may associate with the device name to adapt to the screen-throwing switching process of different scenes. In addition, when the number of the searched DLNA screen-throwing devices is multiple, the user can select and determine the DLNA screen-throwing devices, so that the viewing experience of the user is further improved.
In one scenario, when a user wants to view a locally stored video using a mirrored screen-casting mode of the electronic device, the electronic device may also perform DLNA screen casting in the manner described above. The local video can be played by a 'gallery' application, and can also be played by a player carried by the electronic equipment; when the electronic device "gallery" application or the player is playing the video and the mirror image screen-projection mode is started, DLNA screen projection is performed between the electronic device and the screen-projection device, and the specific screen-projection process can be described in the above embodiments, which are not repeated here. It should be noted that, the DLNA screen only supports audio and video data in a fixed format, such as image data in a format of JPEG, PNG, GIF, audio data in a format of AAC, MP3, WMA, etc., and video data in a format of MPEG-2, MPEG-4, AVC, WMV, etc., and the electronic device may determine the format of the video data before the screen switching, and if the format of the video data meets the condition, the video data is switched to the DLNA screen, and if not, the screen switching mode is not switched.
Examples of the screen projection method of the electronic device provided by the embodiment of the application are described in detail above. It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The embodiment of the present application may divide the functional modules of the electronic device according to the above method examples, for example, may divide each function into each functional module corresponding to each function, for example, a detection unit, a processing unit, a display unit, or the like, or may integrate two or more functions into one module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The electronic device provided in this embodiment is configured to execute the screen projection method of the electronic device, so that the same effect as that of the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may further comprise a processing module, a storage module and a communication module. The processing module can be used for controlling and managing the actions of the electronic equipment. The memory module may be used to support the electronic device to execute stored program code, data, etc. And the communication module can be used for supporting the communication between the electronic device and other devices.
Wherein the processing module may be a processor or a controller. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. A processor may also be a combination that performs computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, and the like. The memory module may be a memory. The communication module can be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip and other equipment which interact with other electronic equipment.
In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 4.
The embodiment of the application also provides a computer readable storage medium, in which a computer program is stored, which when executed by a processor, causes the processor to execute the screen projection method of the electronic device of any embodiment.
The embodiment of the application also provides a computer program product, which when running on a computer, causes the computer to execute the related steps so as to realize the screen projection method of the electronic device in the embodiment.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is used for storing computer-executed instructions, and when the device is operated, the processor can execute the computer-executed instructions stored in the memory, so that the chip executes the screen projection method of the electronic equipment in the method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used 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.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., 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 shown 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 each embodiment 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 to cause a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of 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 specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. A method for projecting a screen of an electronic device, the method comprising:
receiving a screen-throwing operation of a user, wherein the electronic equipment throws a screen to the screen-throwing equipment in a system mirror image screen-throwing mode, and searches for first available screen-throwing equipment through a DLNA protocol, wherein the first available screen-throwing equipment is equipment which is in the same local area network with the electronic equipment and supports DLNA screen-throwing;
receiving video playing operation of the electronic equipment, and acquiring screen throwing information of the electronic equipment, wherein the screen throwing information comprises first equipment information of the screen throwing equipment, and the first equipment information comprises at least one of an Internet Protocol (IP) address, a media access control (Mac) address, a universal unique identification code uuid, an equipment identifier and an equipment name of the screen throwing equipment;
Acquiring second equipment information of the first available screen equipment, wherein the second equipment information comprises at least one of an IP address, a Mac address, a uuid, an equipment identifier and an equipment name of the first available screen equipment;
if the first device information includes uuid and the second device information includes uuid, if the uuid in the first device information is the same as the uuid in the second device information, the electronic device automatically switches a system mirror screen projection mode to a digital living network alliance DLNA screen projection mode to the screen projection device;
and under the condition that the first equipment information does not comprise uuid or the second equipment information does not comprise uuid, if the equipment name included in the first equipment information is the same as the equipment name included in the second equipment information, the electronic equipment automatically switches the system mirror image screen projection mode into a DLNA screen projection mode and projects the system mirror image screen projection mode to the screen projection equipment.
2. The method of claim 1, wherein if the first device information does not include a uuid or the second device information does not include a uuid, and the device names included in the first device information are the same as the device names of the first available device, the electronic device automatically switches a system image screen projection mode to a DLNA screen projection mode to the screen projection device, including:
Displaying device names of the first available screen-throwing devices on a current interface, wherein the first available screen-throwing devices comprise the screen-throwing devices;
and receiving a selection operation of a user on the screen throwing device, and responding to the selection operation, automatically switching a system mirror image screen throwing mode into a DLNA screen throwing mode by the electronic device to the screen throwing device.
3. The method according to claim 1 or 2, wherein after determining that uuid in the first device information is the same as uuid in the second device information or that a device name included in the first device information is the same as a device name included in the second device information, the method further comprises:
the IP address of the first available screen-casting device is stored in a database DB.
4. The method according to claim 3, wherein the electronic device automatically switches a system image screen-casting mode to a DLNA screen-casting mode to the screen-casting device, comprising:
the IP address of the first available screen throwing device is obtained from the DB, and the video address of the video is sent to the screen throwing device according to the IP address of the first available screen throwing device, so that the screen throwing device downloads video resources according to the video address and plays the video resources.
5. The method of claim 1, wherein the receiving the user screen-casting operation, the electronic device casting the screen to the screen-casting device by way of a system image screen-casting, comprises:
receiving the screen throwing operation;
searching and displaying a second available screen throwing device through a mirror image protocol;
receiving selection operation of the second available screen throwing equipment, and determining the screen throwing equipment;
and sending the data of the display interface of the electronic equipment to the screen-throwing equipment for screen-throwing display according to the first equipment information.
6. The method of claim 1, wherein the video is played by a video application installed in the electronic device.
7. The method of claim 6, wherein the electronic device automatically switches a system image screen-casting mode to a DLNA screen-casting mode to the screen-casting device, comprising:
and calling a DLNA interface through the video application, and automatically switching a system mirror image screen-throwing mode into a DLNA screen-throwing mode to the screen-throwing equipment.
8. The method according to claim 6 or 7, wherein the screen shot information further comprises a status identifier of the electronic device, the status identifier being used for indicating whether the electronic device is in a system image screen shot state;
The receiving the video playing operation of the electronic equipment, and obtaining the screen projection information of the electronic equipment comprises the following steps:
receiving the video application video playing operation, acquiring the state identification from a configuration file and acquiring the first equipment information from a DB;
before the electronic device automatically switches the mode of system image screen projection to the mode of DLNA screen projection to the screen projection device, the method further comprises the following steps:
and determining that the electronic equipment is in a system mirror image screen-throwing state through the state identification.
9. The method of claim 8, wherein after the electronic device is projected onto the projection device by way of a system image projection, the method further comprises:
storing a state identifier of the electronic equipment in a system image screen-throwing state into the configuration file, and storing first equipment information of the screen-throwing equipment into the DB.
10. An electronic device, comprising:
one or more processors;
one or more memories;
a module in which a plurality of application programs are installed;
the memory stores one or more programs that, when executed by the processor, cause the electronic device to perform the steps of:
Receiving a screen-throwing operation of a user, wherein the electronic equipment throws a screen to the screen-throwing equipment in a system mirror image screen-throwing mode, and searches for first available screen-throwing equipment through a DLNA protocol, wherein the first available screen-throwing equipment is equipment which is in the same local area network with the electronic equipment and supports DLNA screen-throwing;
receiving video playing operation of the electronic equipment, and acquiring screen throwing information of the electronic equipment, wherein the screen throwing information comprises first equipment information of the screen throwing equipment, and the first equipment information comprises at least one of an IP address, a Mac address, a uuid, an equipment identifier and an equipment name of the screen throwing equipment;
acquiring second equipment information of the first available screen equipment, wherein the second equipment information comprises at least one of an IP address, a Mac address, a uuid, an equipment identifier and an equipment name of the first available screen equipment;
if the first device information includes uuid and the second device information includes uuid, if the uuid in the first device information is the same as the uuid in the second device information, the electronic device automatically switches a system mirror screen projection mode to a DLNA screen projection mode to the screen projection device;
And under the condition that the first equipment information does not comprise uuid or the second equipment information does not comprise uuid, if the equipment name included in the first equipment information is the same as the equipment name included in the second equipment information, the electronic equipment automatically switches the system mirror image screen projection mode into a DLNA screen projection mode and projects the system mirror image screen projection mode to the screen projection equipment.
11. The electronic device of claim 10, wherein if the first device information does not include a uuid or the second device information does not include a uuid, and the device names included in the first device information are the same as the device names of the first available projection devices, the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
displaying device names of the first available screen-throwing devices on a current interface, wherein the first available screen-throwing devices comprise the screen-throwing devices;
and receiving a selection operation of a user on the screen throwing device, and responding to the selection operation, automatically switching a system mirror image screen throwing mode into a DLNA screen throwing mode by the electronic device to the screen throwing device.
12. The electronic device of claim 10 or 11, wherein the one or more programs, when executed by the processor, cause the electronic device to further perform the steps of:
the IP address of the first available screen-casting device is stored in a database DB.
13. The electronic device of claim 12, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
the IP address of the first available screen throwing device is obtained from the DB, and the video address of the video is sent to the screen throwing device according to the IP address of the first available screen throwing device, so that the screen throwing device downloads video resources according to the video address and plays the video resources.
14. The electronic device of claim 10, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
receiving the screen throwing operation;
searching and displaying a second available screen throwing device through a mirror image protocol;
receiving selection operation of the second available screen throwing equipment, and determining the screen throwing equipment;
And sending the data of the display interface of the electronic equipment to the screen-throwing equipment for screen-throwing display according to the first equipment information.
15. The electronic device of claim 10, wherein the video is played by a video application installed in the electronic device.
16. The electronic device of claim 15, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
and calling a DLNA interface through the video application, and automatically switching a system mirror image screen-throwing mode into a DLNA screen-throwing mode to the screen-throwing equipment.
17. The electronic device of claim 15 or 16, wherein the screen shot information further comprises a status identifier of the electronic device, the status identifier being used to indicate whether the electronic device is in a system image screen shot state;
the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
receiving the video application video playing operation, acquiring the state identification from a configuration file and acquiring the first equipment information from a DB;
And determining that the electronic equipment is in a system mirror image screen-throwing state through the state identification.
18. The electronic device of claim 17, wherein the one or more programs, when executed by the processor, cause the electronic device to perform the steps of:
storing a state identifier of the electronic equipment in a system image screen-throwing state into the configuration file, and storing first equipment information of the screen-throwing equipment into the DB.
19. The electronic device of claim 10, wherein the electronic device further comprises:
the wireless screen projection module is used for receiving the screen projection operation;
the screen throwing capability center module is used for searching a second available screen throwing device through a mirror image protocol;
the display module is used for displaying the second available screen throwing equipment, receiving selection operation of the second available screen throwing equipment and determining the screen throwing equipment;
the multi-screen interaction module is used for sending the data of the display interface of the electronic equipment to the screen-throwing equipment for screen-throwing display according to the first equipment information;
the multi-screen interaction module is further used for storing a state identifier of the electronic equipment in a system mirror image screen-throwing state into a configuration file, and the wireless screen-throwing module is further used for storing first equipment information of the screen-throwing equipment into a DB;
The video application is used for playing video, acquiring the state identification from the configuration file and acquiring the first equipment information from the database, and determining that the electronic equipment is in a system mirror image screen-throwing state through the state identification;
the screen throwing capability center module is also used for searching for first available screen throwing equipment through a DLNA protocol;
the multi-screen interaction module is further configured to obtain second device information of the first available screen device, match the first device information with the second device information, and if the first device information includes uuid and the second device information includes uuid, if the uuid in the first device information is the same as the uuid in the second device information, send a video address of the video to the screen device according to an IP address of the first available screen device, so that the screen device downloads a video resource according to the video address and plays the video resource;
and if the equipment name included in the first equipment information is the same as the equipment name included in the second equipment information under the condition that the uuid is not included in the first equipment information or the uuid is not included in the second equipment information, sending the video address of the video to the screen throwing equipment according to the IP address of the first available screen throwing equipment, so that the screen throwing equipment downloads video resources according to the video address and plays the video resources.
20. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, causes the processor to perform the method of any of claims 1 to 9.
CN202110643966.7A 2021-06-09 2021-06-09 Screen projection method of electronic equipment and electronic equipment Active CN115460445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110643966.7A CN115460445B (en) 2021-06-09 2021-06-09 Screen projection method of electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110643966.7A CN115460445B (en) 2021-06-09 2021-06-09 Screen projection method of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN115460445A CN115460445A (en) 2022-12-09
CN115460445B true CN115460445B (en) 2024-03-22

Family

ID=84294380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110643966.7A Active CN115460445B (en) 2021-06-09 2021-06-09 Screen projection method of electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN115460445B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338139A (en) * 2013-06-18 2013-10-02 华为技术有限公司 Multi-screen interaction method and device, and terminal equipment
CN110602319A (en) * 2019-09-04 2019-12-20 深圳市乐得瑞科技有限公司 Wireless screen projection connection method and device
CN111654742A (en) * 2020-06-18 2020-09-11 中电长城(长沙)信息技术有限公司 Remote intelligent linkage screen projection method and system
CN111901674A (en) * 2020-07-13 2020-11-06 腾讯科技(深圳)有限公司 Video playing control and device
CN111966314A (en) * 2020-08-11 2020-11-20 北京小米移动软件有限公司 Image projection method, image projection device, mobile terminal and projection equipment
CN112351322A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Terminal device, method and system for realizing touch screen projection through remote controller
CN112350981A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method, device and system for switching communication protocol
CN112394895A (en) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 Cross-equipment display method and device of picture and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10110393B2 (en) * 2013-09-30 2018-10-23 Cavium, Inc. Protocol switching over multi-network interface
CN105814904B (en) * 2014-11-07 2019-07-23 华为技术有限公司 Media resource sharing method and equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338139A (en) * 2013-06-18 2013-10-02 华为技术有限公司 Multi-screen interaction method and device, and terminal equipment
CN112351322A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Terminal device, method and system for realizing touch screen projection through remote controller
CN112350981A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method, device and system for switching communication protocol
CN110602319A (en) * 2019-09-04 2019-12-20 深圳市乐得瑞科技有限公司 Wireless screen projection connection method and device
CN111654742A (en) * 2020-06-18 2020-09-11 中电长城(长沙)信息技术有限公司 Remote intelligent linkage screen projection method and system
CN111901674A (en) * 2020-07-13 2020-11-06 腾讯科技(深圳)有限公司 Video playing control and device
CN111966314A (en) * 2020-08-11 2020-11-20 北京小米移动软件有限公司 Image projection method, image projection device, mobile terminal and projection equipment
CN112394895A (en) * 2020-11-16 2021-02-23 Oppo广东移动通信有限公司 Cross-equipment display method and device of picture and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A media resources sharing system based on DLNA;Longfei Peng 等;《2016 First IEEE International Conference on Computer Communication and the Internet》;全文 *
基于网关的多屏互动系统的设计与实现;叶楠;《电视技术》;全文 *
浅析多屏互动和屏幕镜像技术及其应用;刘堃;《科技风》;全文 *

Also Published As

Publication number Publication date
CN115460445A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
CN114467297B (en) Video call display method and related device applied to electronic equipment
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN114449599B (en) Network link switching method based on electronic equipment position and electronic equipment
CN111628916B (en) Method for cooperation of intelligent sound box and electronic equipment
CN114040242B (en) Screen projection method, electronic equipment and storage medium
CN115696483B (en) Network link switching method based on electronic equipment state and electronic equipment
CN116361255A (en) Data synchronization method, electronic device, and computer-readable storage medium
US11665274B2 (en) Call method and apparatus
CN117014859A (en) Address book-based device discovery method, audio and video communication method and electronic device
CN116233300A (en) Method for controlling communication service state, terminal device and readable storage medium
CN113973398B (en) Wireless network connection method, electronic equipment and chip system
CN114500728B (en) Incoming call bell setting method, incoming call prompting method and electronic equipment
CN113645595B (en) Equipment interaction method and device
CN117425227A (en) Method and device for establishing session based on WiFi direct connection
CN115460445B (en) Screen projection method of electronic equipment and electronic equipment
CN113254409B (en) File sharing method, system and related equipment
CN116668586B (en) Control method, terminal, server and storage medium for private color ring back tone service state
CN114915747B (en) Video call method, electronic device and readable storage medium
CN114205318B (en) Head portrait display method and electronic equipment
CN116346982B (en) Method for processing audio, electronic device and readable storage medium
CN116709220B (en) Network connection method, network connection device, electronic equipment and computer readable storage medium
CN115941836B (en) Interface display method, electronic equipment and storage medium
CN111801931B (en) Method for switching on and hanging up telephone when call occurs SRVCC switch
CN116170782A (en) Screen projection method, related device and system

Legal Events

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