WO2023115316A1 - 投屏方法、装置、存储介质及电子设备 - Google Patents
投屏方法、装置、存储介质及电子设备 Download PDFInfo
- Publication number
- WO2023115316A1 WO2023115316A1 PCT/CN2021/139998 CN2021139998W WO2023115316A1 WO 2023115316 A1 WO2023115316 A1 WO 2023115316A1 CN 2021139998 W CN2021139998 W CN 2021139998W WO 2023115316 A1 WO2023115316 A1 WO 2023115316A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- target
- receiving end
- screen
- target application
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 160
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 238000005266 casting Methods 0.000 claims description 83
- 230000006870 function Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 20
- 230000003111 delayed effect Effects 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 description 33
- 238000012545 processing Methods 0.000 description 21
- 238000010586 diagram Methods 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 10
- 230000002452 interceptive effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 7
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000010897 surface acoustic wave method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005674 electromagnetic induction Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
Definitions
- the present application relates to the communication field, and in particular to a screen projection method, device, storage medium and electronic equipment.
- the user When performing screen projection, the user generally needs to open the screen projection software on the sending end, then open the application software that needs to be projected, and then enter the screen projection code, in order to finally realize the connection between the device at the sending end and the device at the receiving end, and then realize screen projection .
- the whole operation process has many steps, and the operation efficiency is low.
- the embodiments of the present application provide a screen projection method, device, storage medium, and electronic equipment, which can reduce the user's operation steps in the screen projection process, improve operation efficiency, and solve the problem of complicated operations before starting the screen projection. Described technical scheme is as follows:
- the embodiment of the present application provides a screen projection method, which is applied to the sending end, and the method includes:
- the application attribute of the target application belongs to the screen-casting application attribute in the screen-casting software, and is currently casting a screen, then send the data of the target application to the target receiving end, so that the target receiving end can The data of the target application is displayed to realize the projection of the target application;
- a first prompt box is displayed to receive the screen projection instruction input by the user or not to perform the screen projection instruction
- the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application, and the projection of the target application is realized. Screen.
- the method also includes:
- the editing operation includes adding application attributes and deleting application attributes.
- the method also includes:
- the method also includes:
- a second prompt box is displayed to receive the delayed reminder duration information input by the user;
- the first prompt box pops up.
- the method also includes:
- the service information including the identifier of the receiving end and the address of the receiving end;
- the service information released by the receiving end is searched, the service information released by the receiving end is analyzed to obtain the identifier of the receiving end and the address of the receiving end;
- the sending the data of the target application to the target receiving end includes:
- the service information released by the receiving end also includes the password of the receiving end
- the parsing of the service information released by the receiving end to obtain the identifier of the receiving end and the address of the receiving end includes:
- the method also includes:
- parsing the service information released by the receiving end includes:
- the determining the target receiving end from the receiving end according to the identification of the receiving end includes:
- the target receiver selection instruction corresponding to one of the identifiers of the plurality of receivers
- the target receiving end is determined according to the target receiving end selection instruction.
- the method also includes:
- the pin code is analyzed to obtain the address of the target receiving end.
- the embodiment of the present application provides a screen projection method, which is applied to the target receiving end, and the method includes:
- the data of the target application is that the sending end is opening the target application, detecting the application attribute of the target application, and determining that the application attribute of the target application belongs to the available in the screen projection software The attribute of the screen-casting application, and it is currently being sent when the screen is being cast; or, the data of the target application is that the sending end determines that the application attribute of the target application belongs to the attribute of the screen-casting application in the screen-casting software, and the data of the target application is currently When the screen projection is not in progress, display the first prompt box to receive the screen projection instruction input by the user or not to perform the screen projection instruction, and send it after receiving the screen projection instruction input by the user;
- the method also includes:
- Publishing service information including the identification of the target receiving end and the address of the target receiving end;
- the receiving data of the target application sent by the sending end includes:
- the data of the target application is the service information released by the receiving end searched by the sending end, and after searching for the service information released by the receiving end, the service information released by the receiving end
- the service information After analyzing the information, after obtaining the identification of the receiving end and the address of the receiving end, according to the identification of the receiving end, determine the target receiving end from the receiving end, and according to the address of the target receiving end, communicate with the target receiving end It is sent after the connection is established; wherein, the service information includes the identifier of the receiving end and the address of the receiving end.
- the service information also includes the password of the target receiver
- the displaying the data of the target application includes:
- the password is obtained by analyzing the service information released by the receiving end after the sending end searches for the service information released by the receiving end;
- the password is verified, and the data of the target application is displayed after the verification is passed.
- the method also includes:
- a pin code is displayed, and the pin code is used to indicate the address of the target receiver.
- the embodiment of the present application provides a screen projection device, including:
- An application opening module configured to open a target application
- An application attribute detection module configured to detect the application attribute of the target application
- the data sending module is used to send the data of the target application to the target receiving end when the application attribute of the target application belongs to the attribute of the screen-casting application in the screen-casting software and is currently being screen-casting, so that the The target receiving end displays the data of the target application to realize screen projection of the target application;
- the screen projection determination module is used to display the first prompt box when the application attribute of the target application belongs to the screen projection application attribute in the screen projection software, and the screen projection is not currently performed, so as to receive the screen projection instruction input by the user Or do not perform screen projection instructions;
- the data sending module is further configured to send the data of the target application to the target receiving end after receiving the screen projection instruction input by the user, so that the target receiving end can display the data of the target application to realize Screencasting of the target application.
- the device also includes:
- the screen-casting application attribute editing module is used to open the setting item function of the screen-casting software, and perform editing operations on the application attributes of the screen-casting application;
- the editing operation includes adding application attributes and deleting application attributes.
- the device further includes a screen projection application switching module, which is used for:
- the device further includes a display module for;
- a second prompt box is displayed to receive the delayed reminder duration information input by the user;
- the first prompt box pops up.
- the device also includes:
- a service information search module configured to search for service information released by the receiving end, where the service information includes the identifier of the receiving end and the address of the receiving end;
- a service information parsing module configured to analyze the service information released by the receiving end when searching for the service information released by the receiving end, to obtain the identifier of the receiving end and the address of the receiving end;
- a target receiver determining module configured to determine a target receiver from among the receivers according to the identifier of the receiver
- the data sending module sends the data of the target application to the target receiving end, it is specifically used for:
- the service information released by the receiving end also includes the password of the receiving end
- the service information parsing module is specifically used for:
- the data sending module is also used to send the password of the target receiving end to the target receiving end, so that the target receiving end can verify the password, and after the verification is passed, the data of the target application to display.
- the service information parsing module is specifically used for:
- the display module is also used to display the identifications of the plurality of receiving terminals
- the target receiving end determining module determines the target receiving end from the receiving end according to the identification of the receiving end, it is specifically used for:
- the target receiver selection instruction corresponding to one of the identifiers of the plurality of receivers
- the target receiving end is determined according to the target receiving end selection instruction.
- the display module is also used to: display the pin code input interface when the service information released by the target receiving end is not searched;
- the device further includes: a pin code parsing module for receiving a pin code input by a user, the pin code being used to indicate the address of the target receiving end; analyzing the pin code to obtain the address of the target receiving end.
- the embodiment of the present application provides a screen projection device, including:
- the data receiving module is used to receive the data of the target application sent by the sender;
- the data of the target application is that the sender opens the target application, detects the application attribute of the target application, and determines that the application attribute of the target application belongs to The attribute of the screen-casting application in the screen-casting software, and it is sent when the screen is currently being cast; or, the data of the target application is that the sending end determines that the application attribute of the target application belongs to the screen-casting software.
- Screen application attributes, and when the screen projection is not currently being performed the first prompt box is displayed to receive the screen projection instruction input by the user or not to perform the screen projection instruction, and send it after receiving the screen projection instruction input by the user;
- the display module is configured to display the data of the target application, so as to realize the screen projection of the target application.
- the device also includes:
- a service information publishing module configured to publish service information, the service information including the identification of the target receiving end and the address of the target receiving end;
- the data receiving module is specifically used for:
- the data of the target application is the service information released by the receiving end searched by the sending end, and after searching for the service information released by the receiving end, the service information released by the receiving end
- the service information After analyzing the information, after obtaining the identification of the receiving end and the address of the receiving end, according to the identification of the receiving end, determine the target receiving end from the receiving end, and according to the address of the target receiving end, communicate with the target receiving end It is sent after the connection is established; wherein, the service information includes the identifier of the receiving end and the address of the receiving end.
- the service information also includes the password of the target receiver
- the display module is specifically used for: displaying the password input interface; receiving the password sent by the sending end; the password is the service information issued by the receiving end after the sending end searches, and parsing the service information issued by the receiving end obtained; the password is verified, and the data of the target application is displayed after the verification is passed.
- the display module is also used for:
- a pin code is displayed, and the pin code is used to indicate the address of the target receiver.
- the embodiment of the present application provides a screen projection method, which is applied to the sending end, and the method includes:
- the application attribute of the target application belongs to the screen-casting application attribute in the screen-casting software, and is currently casting a screen, then send the data of the target application to the target receiving end, so that the target receiving end can The data of the target application is displayed to realize the projection of the target application;
- the application attribute of the target application does not belong to the application attribute that can be projected in the screen projection software, the data of the target application is not sent to the target receiving end, and the screen projection of the target application is not performed.
- the method also includes:
- a first prompt box is displayed to receive the screen-casting instruction input by the user or not to perform the screen-casting instruction
- the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application, and the projection of the target application is realized. Screen.
- the method also includes:
- the editing operation includes adding application attributes and deleting application attributes.
- the method also includes:
- the method also includes:
- a second prompt box is displayed to receive the delayed reminder duration information input by the user;
- the first prompt box pops up.
- the method also includes:
- the service information including the identifier of the receiving end and the address of the receiving end;
- the service information released by the receiving end is searched, the service information released by the receiving end is analyzed to obtain the identifier of the receiving end and the address of the receiving end;
- the sending the data of the target application to the target receiving end includes:
- the service information released by the receiving end also includes the password of the receiving end
- the parsing of the service information released by the receiving end to obtain the identifier of the receiving end and the address of the receiving end includes:
- the method also includes:
- parsing the service information released by the receiving end includes:
- the determining the target receiving end from the receiving end according to the identification of the receiving end includes:
- the target receiver selection instruction corresponding to one of the identifiers of the plurality of receivers
- the target receiving end is determined according to the target receiving end selection instruction.
- the method also includes:
- the pin code is analyzed to obtain the address of the target receiving end.
- the embodiment of the present application provides a screen projection device, including:
- An application opening module configured to open a target application
- An application attribute detection module configured to detect the application attribute of the target application
- the data sending module is used to send the data of the target application to the target receiving end when the application attribute of the target application belongs to the attribute of the screen-casting application in the screen-casting software and is currently being screen-casting, so that the The target receiving end displays the data of the target application to realize the screen projection of the target application; when the application attribute of the target application does not belong to the application attribute of the screen projection software, the target application is not displayed.
- the data of the application is sent to the target receiving end, and the target application is not projected.
- the embodiment of the present application provides a screen projection method, which is applied to the sending end, and the method includes:
- a first prompt box is displayed to receive the screen-casting instruction input by the user or not to perform the screen-casting instruction
- the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application, and the projection of the target application is realized. Screen.
- the method also includes:
- the application attribute of the target application belongs to the screen-casting application attribute in the screen-casting software, and is currently casting a screen, then send the data of the target application to the target receiving end, so that the target receiving end can The data of the target application is displayed, and the screen projection of the target application is realized.
- the method also includes:
- the editing operation includes adding application attributes and deleting application attributes.
- the method also includes:
- the method also includes:
- a second prompt box is displayed to receive the delayed reminder duration information input by the user;
- the first prompt box pops up.
- the method also includes:
- the service information including the identifier of the receiving end and the address of the receiving end;
- the service information issued by the receiving end is searched, the service information issued by the receiving end is analyzed to obtain the identification of the receiving end and the address of the receiving end;
- the sending the data of the target application to the target receiving end includes:
- the service information released by the receiving end also includes the password of the receiving end
- the parsing of the service information released by the receiving end to obtain the identifier of the receiving end and the address of the receiving end includes:
- the method also includes:
- parsing the service information released by the receiving end includes:
- the determining the target receiving end from the receiving end according to the identification of the receiving end includes:
- the target receiver selection instruction corresponding to one of the identifiers of the plurality of receivers
- the target receiving end is determined according to the target receiving end selection instruction.
- the method also includes:
- the pin code is analyzed to obtain the address of the target receiving end.
- the embodiment of the present application provides a screen projection device, including:
- An application opening module configured to open a target application
- An application attribute detection module configured to detect the application attribute of the target application
- the screen projection determination module is used to display the first prompt box when the application attribute of the target application belongs to the screen projection application attribute in the screen projection software, and the screen projection is not currently performed, so as to receive the screen projection instruction input by the user Or do not perform screen projection instructions;
- the data sending module is used to send the data of the target application to the target receiving end after receiving the screen projection instruction input by the user, so that the target receiving end can display the data of the target application to realize the Screencasting of the target application.
- the embodiment of the present application provides a computer storage medium, the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded and executed by a processor according to any one of the first aspect or any one of the second aspect. item or any one of the fifth aspect or the method steps of any one of the seventh aspect.
- an embodiment of the present application provides an electronic device, including: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded and executed by the processor as described in any of the first aspects.
- the embodiment of the present application provides a computer program product, including a computer program, which implements any item of the first aspect or any item of the second aspect or any item of the fifth aspect or any item of the fifth aspect when the computer program is executed by a processor.
- a computer program product including a computer program, which implements any item of the first aspect or any item of the second aspect or any item of the fifth aspect or any item of the fifth aspect when the computer program is executed by a processor.
- the screen projection method provided by this embodiment is applied to the sending end, including: opening the target application; detecting the application attribute of the target application; if the application attribute of the target application belongs to the application attribute that can be cast in the screen projection software, and the current If the screen is being projected, the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application to realize the screen projection of the target application; if the application attribute of the target application belongs to In the screen casting software, if the screen casting application attribute is available, and the screen is not currently being cast, the first prompt box will be displayed to receive the user input command to perform screen projection or not to perform screen projection; after receiving the user input, perform screen projection After the instruction, the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application and realizes screen projection of the target application.
- the solution of this application automatically detects the application attributes of the target application after opening the target application, and when the application attributes belong to the application attributes set in the projection software and the projection software is started, the projection process is automatically triggered and the projection starts; Or, when the screen projection software is not opened, after confirming the customer's screen projection intention through the prompt box inquiry, the screen projection process is automatically triggered and the screen projection starts.
- the user only needs to perform the operation of selecting the target application that needs to be projected, or additionally perform the operation of inputting the projecting command, and the subsequent connection and data transmission process is automatically carried out between devices, without the need for the existing technology. Multiple operations are performed by the user, which greatly simplifies the operation process and improves the efficiency of screen projection.
- FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application
- FIG. 2 is a flow chart of a screen projection method disclosed in an embodiment of the present application.
- Fig. 3a is a schematic interface diagram of a first prompt box disclosed in the embodiment of the present application.
- Fig. 3b is a schematic interface diagram of a second prompt box disclosed in the embodiment of the present application.
- FIG. 4 is a flow chart of another screen projection method disclosed in the embodiment of the present application.
- FIG. 5 is a flow chart of another screen projection method disclosed in the embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a screen projection device disclosed in an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of another screen projection device disclosed in an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
- FIG. 9 is a flow chart of another screen projection method disclosed in the embodiment of the present application.
- FIG. 10 is a schematic structural diagram of another screen projection device disclosed in the embodiment of the present application.
- FIG. 11 is a flow chart of another screen projection method disclosed in the embodiment of the present application.
- FIG. 12 is a schematic structural diagram of another screen projection device disclosed in an embodiment of the present application.
- a software (referred to as projection software in this application) will run on the device at the sending end, which is used to capture information such as the screen of the sending end and transmit it to the receiving end, and the receiving end will run the screen projection receiving end software to receive and display these information.
- projection software a software
- users need to perform cumbersome steps to start the screen projection process before successful screen projection (transmitting data from the sender to the receiver).
- the user needs to open the screen-casting software on the sending end; then open the target application that needs to be screen-casted; finally, the user needs to enter the screen-casting code to connect with the device on the receiving end.
- the order of the first two steps can also be exchanged. In short, it requires the user to perform multiple clicks and input operations, which is relatively cumbersome.
- the embodiment of the present application intends to propose a screen projection method, device, storage medium, and electronic equipment to provide users with a screen projection method that is easier to operate, which can reduce the user's operation steps when starting the screen projection process, and improve the operation efficiency. Efficiency, in order to solve the problem of complex operation before starting to cast the screen.
- FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the present application.
- the device at the sending end is a mobile phone
- the device at the receiving end is an interactive tablet device.
- the user only needs to start the target application on the mobile phone to quickly start the screen projection process.
- the mobile phone communicates with the interactive tablet device. Through the screen projection function, the interface of the target application in the mobile phone will be transmitted and displayed on the interactive tablet device.
- the device at the sending end may also be other electronic devices such as a personal computer and a smart tablet, and FIG. 1 is only illustrated as an example.
- the hardware part of the interactive panel is composed of a touch display module, an intelligent processing system (including a controller), etc., which are combined by integral structural parts and supported by a dedicated software system.
- the group includes a display screen, a touch component and a backlight component.
- the backlight component is used to provide a backlight source for the display screen.
- the display screen generally uses a liquid crystal display device for displaying images.
- the front end of the display screen is used to collect touch operation data of the user, and send the collected touch operation data to an intelligent processing system for processing.
- the display screen of the interactive tablet displays picture data.
- a touch object such as a finger or a stylus pen
- the touch screen of the interactive tablet The control component will collect the touch data, so that the touch component converts the touch data into the coordinate data of the touch point and sends it to the intelligent processing system, or sends it to the intelligent processing system, and the intelligent processing system converts it into the coordinate data of the touch point.
- Coordinate data after the intelligent processing system obtains the coordinate data of the touch point, it realizes the corresponding control operation according to the preset program, drives the display screen to change the display content, and realizes diversified display and operation effects.
- Touch components can be divided into five basic types based on technical principles: vector pressure sensing technology touch components, resistive technology touch components, capacitive technology touch components, electromagnetic technology touch screens, infrared technology touch components, and surface acoustic wave technology touch components. According to the working principle of the touch component and the medium for transmitting information, the touch component can be divided into four types: resistive, capacitive induction, electromagnetic induction, infrared and surface acoustic wave.
- the touch component can collect the data of the touch point and send it to the intelligent processing system, and then implement different functional applications with the built-in software of the intelligent processing system, thereby realizing the control of the intelligent processing system Touch controls.
- the "screen” and “big screen” mentioned in this application both refer to the display screen of the interactive panel; displaying a certain interface on the interactive panel means that the display screen of the interactive panel displays the interface.
- the embodiment of the present application discloses a screen projection method, which is applied to a screen projection sending end.
- FIG. 2 is a flow chart of a screen projection method disclosed in an embodiment of the present application. The method is applied to the sending end, and the method includes the following steps:
- the sending end may perform an operation of opening the target application.
- the corresponding command input by the user to open the target application may be a click operation on the icon of the target application, or a touch operation on the position of the icon of the target application through the human-computer interaction interface, or a user-interactive instruction through the human-computer interaction.
- a preset touch gesture performed on the interface for example, multiple consecutive taps, multi-finger taps, or multi-finger slides.
- the target application is determined in response to an operation instruction input by the user, and the application that needs to perform screen projection may be any application.
- Application attributes refer to some specific attributes corresponding to the application.
- the application attributes may include: application name, type of files supported by the application (such as document type application, audio type application, video type application, etc.) and so on.
- the application attributes of the target application can be determined by querying the configuration information of the target application.
- the user Before casting the screen, the user can determine the application (application name) that is allowed to perform the screen projection, or the type of the file to be opened or the application to be used during the screen projection process. Accordingly, the attribute corresponding to the application that allows screen projection can be set in advance as the attribute of the application that can cast the screen in the screen projection software.
- the data of the target application can be directly sent to the target receiving end.
- the target receiving end can receive the data of the target application and display it on the display interface.
- whether the screen is being projected can be determined by detecting the process status of the screen projecting software.
- the method steps of this application can be registered as a system service process, once a target application is opened, the system service process will be automatically triggered, the application attributes of the target application will be detected, and the projected Compare the properties of the screen application.
- the properties of the screen-casting application in the screen-casting software can be stored in the disk as a list.
- the screen projection When the screen projection is not in progress, it may be that the screen projection has not started yet, or the screen projection may be suspended. At this time, even if the application attribute of the open target application belongs to the application attribute of the screen projection software, the user still needs to be asked. , whether to cast the screen of this application.
- the data of the target application can be sent to the target receiving end only after an instruction for screen projection input by the user is clearly received. In order to avoid casting content that the user does not want to screen, causing privacy leakage.
- the first prompt box may be displayed on the display interface, and in the prompt box, it is asked in text form whether to perform screen projection, and the user chooses whether to perform screen projection or not, or the user inputs whether to perform screen projection or not. Screen.
- the first prompt box displays "whether to perform screen mirroring" and provides two options “yes” and “no”. If the user selects "Yes”, it is determined that the user has input an instruction to perform screen projection, and then the data of the target application is sent to the target receiving end; if the user selects "No", it is determined that the user has input an instruction not to perform screen projection, then No further action will be taken.
- the screen projection method provided by this embodiment is applied to the sending end, including: opening the target application; detecting the application attribute of the target application; if the application attribute of the target application belongs to the application attribute that can be cast in the screen projection software, and the current If the screen is being projected, the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application to realize the screen projection of the target application; if the application attribute of the target application belongs to In the screen casting software, if the screen casting application attribute is available, and the screen is not currently being cast, the first prompt box will be displayed to receive the user input command to perform screen projection or not to perform screen projection; after receiving the user input, perform screen projection After the instruction, the data of the target application is sent to the target receiving end, so that the target receiving end displays the data of the target application and realizes screen projection of the target application.
- the solution of this application automatically detects the application attributes of the target application after opening the target application, and when the application attributes belong to the application attributes set in the projection software and the projection software is started, the projection process is automatically triggered and the projection starts; Or, when the screen projection software is not opened, after confirming the customer's screen projection intention through the prompt box inquiry, the screen projection process is automatically triggered and the screen projection starts.
- the user only needs to perform the operation of selecting the target application that needs to be projected, or additionally perform the operation of inputting the projecting command, and the subsequent connection and data transmission process is automatically carried out between devices, without the need for the existing technology. Multiple operations are performed by the user, which greatly simplifies the operation process and improves the efficiency of screen projection.
- a setting item function in the screen projection software which can set and modify parameters of the screen projection software.
- the above-mentioned screen projection method may further include: opening the setting item function of the screen projection software, and performing editing operations on the application attributes that can be projected; wherein, the editing operations include adding application attributes and deleting application attributes.
- the application attributes of the current projection can be added, and the application attributes of the non-screen projection can also be deleted, so as to avoid unnecessary information leakage.
- all application attributes can be deleted, so as not to mistakenly send the application data when the screen projection is not needed, resulting in information leakage.
- the above method may further include: after receiving an instruction not to cast the screen input by the user, displaying a second prompt box to receive information on the length of the delay reminder input by the user; After the duration corresponding to the duration information ends, the first prompt box pops up.
- the user After the user enters the command not to cast the screen, it may not need to cast the screen for a period of time.
- the user can edit the properties of the screen-casting application in the screen-casting software to clear the properties of the screen-casting application. In this way, it is not convenient to add it again when the user needs to perform screen projection.
- the second prompt box can be displayed to inquire about the time when the user needs to cast the screen or the length of the delayed reminder, and then before the time when the user needs to cast the screen or the length of the delayed reminder arrives, if another application is opened Do not ask repeatedly whether to cast the screen. Can effectively reduce the interruption to the user.
- the screen projection method above may further include: searching for service information released by the receiving end, the service information including the identifier of the receiving end and the address of the receiving end; if the service information released by the receiving end is searched, then Analyzing the service information released by the receiving end to obtain the identification of the receiving end and the address of the receiving end; and determining the target receiving end from the receiving end according to the identification of the receiving end.
- the above-mentioned sending the data of the target application to the target receiving end includes: establishing a connection with the target receiving end according to the address of the target receiving end; sending the data of the target application to the target Receiving end.
- the receiving end Before data transmission with the target receiver, it is necessary to establish a network connection with the target receiver. Specifically, after the receiving end is turned on, it releases service information through the network, and the service information includes the identification of the receiving end and the address of the receiving end.
- the identifier of the receiving end refers to the unique information that can characterize the receiving end, which may include the equipment model information of the receiving end; the address of the receiving end refers to the communication address that can realize the communication connection, and may include the IP address and port information of the receiving end.
- the sending end can determine the identity of the receiving end by searching and analyzing the service information sent by the receiving end.
- the target receiving end (that is, the receiving end that needs to perform screen projection) can be determined from at least one receiving end. Before sending the data of the target application to the target receiving end, it is also necessary to establish a connection with the target receiving end according to the resolved address of the target receiving end.
- the receiving end may verify the sending end.
- the above-mentioned service information released by the receiving end also includes the password of the receiving end.
- the above-mentioned parsing of the service information released by the receiving end to obtain the identifier of the receiving end and the address of the receiving end includes: parsing the service information released by the receiving end to obtain the identifier of the receiving end, the The address of the receiving end and the password of the receiving end.
- the above method further includes: sending the password of the target receiving end to the target receiving end, so that the target receiving end can verify the password, and after the verification is passed, the data of the target application to display.
- Verifying the password on the one hand, can verify the correctness of the password to determine whether there is a fault in the data transmission; on the other hand, adding the verification link before the data transmission can prevent multiple sending devices from directly transmitting data with the receiving device .
- parsing the service information released by the receiving end may include: if the service information released by multiple receiving ends is found, Then analyze the service information released by the multiple receiving terminals; display the identifications of the multiple receiving terminals; and determine the target receiving terminal from the receiving terminals according to the identifications of the receiving terminals, including: receiving user input A target receiving end selection instruction, the target receiving end selection instruction corresponding to one of the identifications of the plurality of receiving ends; according to the target receiving end selection instruction, the target receiving end is determined.
- identifications For different receivers, device information or different names can be added to the service information as identifications to distinguish them.
- identification information After the identification information is obtained through parsing, multiple identifications may be displayed for the user to choose.
- the displayed content may include, identification and/or historical connection information (for example, last connection time, if never connected, the time may be displayed as "none").
- the user selects the target receiving end according to the displayed information, and inputs the selection instruction of the target receiving end through the sending end (in the actual process, it may be the user's click operation on the target receiving end).
- the service information of the target receiver After receiving the target receiver selection instruction, the service information of the target receiver can be determined from multiple service information, and then the address of the target receiver can be obtained.
- the above screen projection method may further include: displaying a pin code input interface if the service information released by the target receiving end is not searched; receiving a pin code input by the user, and the pin code is used to indicate the The address of the target receiving end; analyzing the pin code to obtain the address of the target receiving end.
- this method can also be used to obtain the address of the target receiving end.
- the situation that the service of the target receiving end cannot be found is mostly due to the fact that the target receiving end is not normally connected to the network.
- the target receiving end itself can monitor and respond to its own network status. For example, when the target receiver detects that it is not connected to the target network, it displays the pin code on the display interface.
- the sender fails to search for the target receiver (the searched receiver service is not the service of the target receiver or the receiver service is not found)
- a reminder message and a pin code input interface can be displayed on the display interface, for example, "Search failed, please enter the target device pin code", etc. to prompt the user.
- the user can input the pin code displayed on the display interface of the target receiver to the sender.
- the sending end receives the pin code input by the user, and analyzes it to obtain the address of the target receiving end.
- the user may also perform other operations on the device at the sending end at the same time, that is to say, multiple windows may be opened at the same time.
- transmitting the data of the target application generally two methods can be selected.
- One is to perform screen projection only for the window data of the target application (window projection), which may cause a problem that the upper window of the application that pops up on the window of the target application cannot be displayed synchronously because it has not been transmitted.
- the other is to screen-cast the data of the desktop position corresponding to the window data of the target application, so that all the data corresponding to the desktop position can be displayed on the receiving end synchronously (regional screen projection), but there is also a problem that other applications
- the window may obscure the window of the target data.
- the position of the target application window on the desktop can be identified first.
- window projection is performed on the target application.
- the target application being screen casting can also be identified.
- an outer border is added to the icon of the target application to distinguish it from other applications not mirroring the screen; or, an outer border is added to the window of the target application to distinguish it from the windows of other applications not mirroring the screen.
- the color of the outer frame can be blue, green, red, etc., and the shape can be a rounded rectangle or the like.
- the display of the outer frame can be canceled.
- the outer frame can also change in size adaptively following the size of the window of the target application.
- a toolbar can be displayed on the display interface of the sending end, and function buttons can be displayed in the toolbar, such as pausing screen projection, continuing screen projection, ending screen projection, switching windows, etc.
- the toolbar can be located anywhere on the display interface, such as the upper edge of the display interface, the lower edge of the display interface, the left edge of the display interface, the right edge of the display interface, and the like.
- the toolbar can be set to different transparency and different colors.
- suspending the screen projection function can stop the screen projection process of the target application and stop sending data to the receiving end; continue the screen projection function to resume the screen projection process and continue to send data to the receiving end; end the screen projection function to end the projection screen process, stop sending data to the receiving end, and disconnect the connection with the receiving end.
- the target application may not be closed temporarily.
- the above method further includes: after receiving the switch projection application instruction input by the user, displaying the application that meets the attribute of the screen projection application among the currently opened applications as the application to be switched; After receiving the application selection instruction input by the user, determine a new target application from the applications to be switched according to the application selection instruction; stop sending the data of the target application to the target receiving end; The data is sent to the target receiving end, so that the target receiving end displays the data of the new target application, so as to realize screen projection of the new target application.
- thumbnails can be displayed in the form of single row, single column, multiple rows, and multiple columns. Alternatively, it can also be presented in the form of a nine-square grid. When the number is large, scrolling is allowed. Below each thumbnail can display the app's name. The user can select a certain thumbnail through a click operation (that is, input an instruction to switch the screen projection application), and then determine it as the current screen projection application for switching and projection.
- the user can also disconnect the connection relationship with the sending end by operating the relevant function button of the receiving end, and then end the screen projection process.
- FIG. 4 is a flow chart of another screen projection method disclosed in the embodiment of the present application.
- the method is applied to the target receiving end, and the method includes the following steps:
- S401 Receive data of a target application sent by a sending end.
- the data of the target application is that the sender opens the target application, detects the application attributes of the target application, and determines that the application attributes of the target application belong to the application attributes that can be projected in the screen projection software, and are currently or, the data of the target application is displayed when the sending end determines that the application attribute of the target application belongs to the application attribute that can be projected in the screen projection software, and the screen projection is not currently being performed.
- a prompt box which is used to receive the screen projection command input by the user or not to perform the screen projection command, and is sent after receiving the screen projection command input by the user.
- the method also includes:
- Publishing service information including the identification of the target receiving end and the address of the target receiving end;
- the receiving data of the target application sent by the sending end includes:
- the data of the target application is the service information released by the receiving end searched by the sending end, and after searching for the service information released by the receiving end, the service information released by the receiving end
- the service information After analyzing the information, after obtaining the identification of the receiving end and the address of the receiving end, according to the identification of the receiving end, determine the target receiving end from the receiving end, and according to the address of the target receiving end, communicate with the target receiving end It is sent after the connection is established; wherein, the service information includes the identifier of the receiving end and the address of the receiving end.
- the service information also includes the password of the target receiver
- the displaying the data of the target application includes:
- the password is obtained by analyzing the service information released by the receiving end after the sending end searches for the service information released by the receiving end;
- the password is verified, and the data of the target application is displayed when the verification is passed.
- the method also includes:
- a pin code is displayed, and the pin code is used to indicate the address of the target receiver.
- FIG. 5 is a flow chart of a screen projection method disclosed in an embodiment of the present application. The method is applied to the sending end and the target receiving end, and the method includes the following steps:
- the target receiver publishes service information.
- the service information includes the address of the target receiver.
- the sending end opens the target application.
- the sending end detects the application attribute of the target application.
- the target receiving end displays the received data of the target application.
- FIG. 6 shows a schematic structural diagram of a screen projection device provided by an exemplary embodiment of the present application.
- the screen projection device 600 is a device corresponding to the sending end, including: an application opening module 601 , an application attribute detection module 602 , and a data sending module 603 .
- the data sending module 603 is used to send the data of the target application to the target receiving end when the application attribute of the target application belongs to the attribute of the screen-casting application in the screen-casting software and is currently being screen-casting, so that all The target receiving end displays the data of the target application, so as to realize the screen projection of the target application;
- the screen projection determination module 604 is configured to display a first prompt box when the application attribute of the target application belongs to the application attribute that can be projected in the screen projection software, and the screen projection is not currently performed, so as to receive user input to perform screen projection Instructions or not to perform screencasting instructions;
- the data sending module 603 is further configured to send the data of the target application to the target receiving end after receiving the screen projection instruction input by the user, so that the target receiving end can display the data of the target application, Realize the screencasting of the target application.
- the screen projection device 600 also includes:
- the screen-casting application attribute editing module 605 is configured to open the setting item function of the screen-casting software, and perform editing operations on the application properties of the screen-casting application;
- the editing operation includes adding application attributes and deleting application attributes.
- the screen projection device 600 also includes a screen projection application switching module 606, configured to:
- the screen projection device 600 also includes a display module 607, configured to:
- the second prompt box After receiving the instruction not to cast the screen input by the user, display the second prompt box to receive the delay reminder duration information input by the user; after the duration corresponding to the delay reminder duration information ends, the first prompt pops up frame.
- the screen projection device 600 also includes:
- a service information search module 608, configured to search for service information released by the receiving end, where the service information includes the identifier of the receiving end and the address of the receiving end;
- the service information parsing module 609 is configured to analyze the service information released by the receiving end when searching for the service information released by the receiving end, and obtain the identifier of the receiving end and the address of the receiving end;
- a target receiver determining module 610 configured to determine a target receiver from among the receivers according to the identifier of the receiver
- the data sending module 603 sends the data of the target application to the target receiving end, it is specifically used for:
- the service information released by the receiving end also includes the password of the receiving end
- the service information parsing module 609 parses the service information released by the receiving end to obtain the identifier of the receiving end and the address of the receiving end, it is specifically used for:
- the data sending module 603 is further configured to send the password of the target receiving end to the target receiving end, so that the target receiving end can verify the password, and after the verification is passed, the target application The data is displayed.
- the service information parsing module 609 is specifically configured to:
- the display module 607 is also configured to display the identifications of the multiple receiving terminals
- the target receiving end determination module 607 determines the target receiving end from the receiving end according to the identification of the receiving end, it is specifically used for:
- the target receiver selection instruction corresponding to one of the identifiers of the plurality of receivers
- the target receiving end is determined according to the target receiving end selection instruction.
- the display module 607 is further configured to: display a pin code input interface when no service information released by the target receiving end is found;
- the device also includes: a pin code parsing module 611, configured to receive a pin code input by a user, the pin code is used to indicate the address of the target receiving end; analyze the pin code to obtain the address of the target receiving end.
- a pin code parsing module 611 configured to receive a pin code input by a user, the pin code is used to indicate the address of the target receiving end; analyze the pin code to obtain the address of the target receiving end.
- FIG. 7 shows a schematic structural diagram of a screen projection device provided by an exemplary embodiment of the present application.
- the screen projection device 700 is a device corresponding to the target receiver device, including:
- the data receiving module 701 is configured to receive the data of the target application sent by the sender; the data of the target application is that the sender opens the target application, detects the application attributes of the target application, and determines the application attributes of the target application Belongs to the screen-casting application attribute in the screen-casting software, and is currently being sent when the screen is being cast; or, the data of the target application is that the sending end determines that the application attribute of the target application belongs to the screen-casting software.
- the property of the screencasting application, and when the screencasting is not currently being performed, the first prompt box is displayed to receive the command input by the user to perform screencasting or not to perform screencasting, and send it after receiving the command input by the user to perform screencasting;
- the display module 702 is configured to display the data of the target application, so as to implement screen projection of the target application.
- the screen projection device 700 also includes:
- a service information publishing module 703, configured to publish service information, the service information including the identification of the target receiving end and the address of the target receiving end;
- the data receiving module 701 is specifically used for:
- the data of the target application is the service information released by the receiving end searched by the sending end, and after searching for the service information released by the receiving end, the service information released by the receiving end
- the service information After analyzing the information, after obtaining the identification of the receiving end and the address of the receiving end, according to the identification of the receiving end, determine the target receiving end from the receiving end, and according to the address of the target receiving end, communicate with the target receiving end It is sent after the connection is established; wherein, the service information includes the identifier of the receiving end and the address of the receiving end.
- the service information also includes the password of the target receiver
- the display module 702 is specifically used for: displaying the password input interface; receiving the password sent by the sending end; the password is the service information issued by the receiving end after the sending end searches for it, and performs a search on the service information issued by the receiving end. It is obtained by parsing; the password is verified, and the data of the target application is displayed when the verification is passed.
- the display module 702 is also used for:
- a pin code is displayed, and the pin code is used to indicate the address of the target receiver.
- each module in the scheme of this embodiment is reflected in the description of the embodiment corresponding to the method executed by the receiving end device.
- some electronic devices may serve as sender devices in some scenarios, and as receiver devices in others. These electronic devices may have modules corresponding to the apparatus 600 and the apparatus 700 at the same time, so as to implement the corresponding method.
- the screen projection device provided in the above embodiment executes the screen projection method, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , which divides the internal structure of the device into different functional modules to complete all or part of the functions described above.
- the screen projection device provided by the above embodiments and the screen projection method embodiments belong to the same concept, and the implementation process of the embodiment can be found in the method embodiments for details, and will not be repeated here.
- the embodiment of the present application also provides a computer storage medium.
- the computer storage medium can store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps as in the above embodiment.
- the specific execution process please refer to the details of the above embodiment. description, and will not be repeated here.
- the device where the storage medium is located may be an electronic device.
- the embodiment of the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the method steps of the sending end or the target receiving end are realized.
- FIG. 8 provides a schematic structural diagram of an electronic device according to an embodiment of the present application.
- the electronic device in FIG. 8 may be a sending end device or a receiving end device.
- an electronic device 800 may include: at least one processor 801 , at least one network interface 804 , a user interface 803 , a memory 805 , and at least one communication bus 802 .
- the communication bus 802 is used to realize connection and communication between these components.
- the user interface 803 may include a display screen (Display) and a camera (Camera), and the optional user interface 803 may also include a standard wired interface and a wireless interface.
- Display display screen
- Camera Camera
- the optional user interface 803 may also include a standard wired interface and a wireless interface.
- the network interface 804 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the processor 801 may include one or more processing cores.
- the processor 801 uses various interfaces and lines to connect various parts of the entire electronic device 800, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 805, and calling data stored in the memory 805.
- Various functions of the electronic device 800 and processing data may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
- DSP Digital Signal Processing
- FPGA Field-Programmable Gate Array
- PLA Programmable Logic Array
- the processor 801 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
- CPU Central Processing Unit
- GPU Graphics Processing Unit
- the CPU mainly handles the operating system, user interface and application programs, etc.
- the GPU is used to render and draw the content that needs to be displayed on the display screen
- the modem is used to handle wireless communication. It can be understood that the foregoing modem may also not be integrated into the processor 801, but implemented by a single chip.
- the memory 805 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory).
- the memory 805 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
- Memory 805 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the memory 805 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions, etc. used to implement the above method embodiments; the storage data area can store data, etc. involved in the above method embodiments.
- the memory 805 may also be at least one storage device located away from the aforementioned processor 801 .
- the memory 805 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an operating application program of the electronic device.
- the user interface 803 is mainly used to provide the user with an input interface to obtain the data input by the user; and the processor 801 can be used to call the operation application program of the electronic device stored in the memory 805, And specifically implement the operation of the above method.
- the operating system of the above-mentioned electronic device is an Android system.
- FIG. 9 is a flow chart of another screen projection method disclosed in the embodiment of the present application. The method is applied to the sending end, and the method includes the following steps:
- the application attribute of the target application is detected.
- the screen-casting of the target application will not be enabled. In this way, the user is given the conditions to choose the screen-casting application by himself, which can avoid unintentional privacy leakage.
- FIG. 10 is a schematic structural diagram of another screen projection device corresponding to the method in FIG. 9 provided by an exemplary embodiment of the present application.
- the screen projection device 100 is a device corresponding to the sending end, including: an application opening module 101 , an application attribute detection module 102 , and a data sending module 103 .
- An application opening module 101 configured to open a target application
- An application attribute detection module 102 configured to detect the application attribute of the target application
- the data sending module 103 is used to send the data of the target application to the target receiving end when the application attribute of the target application belongs to the attribute of the screen-casting application in the screen-casting software and is currently being screen-casting, so that all The target receiving end displays the data of the target application to realize the screen projection of the target application; when the application attribute of the target application does not belong to the application attribute that can be projected in the screen projection software, the The data of the target application is sent to the target receiving end, and the target application is not projected.
- FIG. 11 is a flow chart of another screen projection method disclosed in the embodiment of the present application. The method is applied to the sending end, and the method includes the following steps:
- the application attribute of the target application is detected. After confirming that the target application belongs to the screen-casting application, the user is asked about the screen-casting intention. As long as the user confirms the screen-casting, the screen-casting can start.
- the screen-casting operation is simple and convenient.
- FIG. 12 is a schematic structural diagram of another screen projection device corresponding to the method in FIG. 11 provided by an exemplary embodiment of the present application.
- the screen projection device 120 is a device corresponding to the sending end, including: an application opening module 121 , an application attribute detection module 122 , a screen projection determination module 123 , and a data sending module 124 .
- An application opening module 121 configured to open a target application
- An application attribute detection module 122 configured to detect the application attribute of the target application
- the screen projection determination module 123 is used to display the first prompt box when the application attribute of the target application belongs to the screen projection application attribute in the screen projection software, and the screen projection is not currently performed, so as to receive the input from the user to perform screen projection Instructions or not to perform screencasting instructions;
- the data sending module 124 is configured to send the data of the target application to the target receiving end after receiving the screen projection instruction input by the user, so that the target receiving end can display the data of the target application, realizing Screencasting of the target application.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
- computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
- the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
- a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM.
- RAM random access memory
- ROM read only memory
- flash RAM flash random access memory
- Computer-readable media including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information.
- Information may be computer readable instructions, data structures, modules of a program, or other data.
- Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
- computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种投屏方法、装置、存储介质及电子设备,该方法应用于发送端,包括:打开目标应用(S201);检测目标应用的应用属性(S202);若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏(S203);若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令(S204);在接收到用户输入的进行投屏指令后,将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏(S205)。上述方法无需由用户进行多次操作,提高了投屏效率。
Description
本申请涉及通信领域,尤其涉及一种投屏方法、装置、存储介质及电子设备。
在工作和生活中的很多场景中,需要将某个设备(发送端)的画面投放到另一台设备(接收端)进行显示,以达到放大画面和/或信息共享的目的。例如,将手机中的内容投放到电视屏幕上进行显示等。这时就需要用到设备间的投屏功能。
在进行投屏时,一般需要用户在发送端打开投屏软件,再打开需要进行投屏的应用软件,再输入投屏码,才能最终实现发送端的设备与接收端的设备进行连接,进而实现投屏。整个操作过程步骤繁多,操作效率较低。
发明内容
本申请实施例提供了一种投屏方法、装置、存储介质及电子设备,可以减少投屏过程中用户的操作步骤,提高操作效率,可以解决开始投屏前操作复杂的问题。所述技术方案如下:
第一方面,本申请实施例提供了一种投屏方法,应用于发送端,所述方法包括:
打开目标应用;
检测所述目标应用的应用属性;
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行 投屏指令;
在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
可选的,所述方法还包括:
打开所述投屏软件的设置项功能,对所述可投屏应用的应用属性执行编辑操作;
其中,所述编辑操作包括增加应用属性、删除应用属性。
可选的,所述方法还包括:
在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;
在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;
停止向目标接收端发送所述目标应用的数据;
将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
可选的,所述方法还包括:
在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;
在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
可选的,所述方法还包括:
搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;
若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;
根据所述接收端的标识,从所述接收端中确定目标接收端;
所述将所述目标应用的数据发送到目标接收端,包括:
根据所述目标接收端的地址,与所述目标接收端建立连接;
将所述目标应用的数据发送到所述目标接收端。
可选的,所述接收端发布的服务信息还包括所述接收端的密码;
所述对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址,包括:
对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码;
所述方法还包括:
将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
可选的,所述若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,包括:
若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;
显示所述多个接收端的标识;
所述根据所述接收端的标识,从所述接收端中确定目标接收端,包括:
接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;
根据所述目标接收端选择指令,确定目标接收端。
可选的,所述方法还包括:
若未搜索到目标接收端发布的服务信息,则显示pin码输入界面;
接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;
对pin码进行解析,得到所述目标接收端的地址。
第二方面,本申请实施例提供了一种投屏方法,应用于目标接收端,所述方法包括:
接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端在打开目标应用,检测所述目标应用的应用属性,确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时发送的;或者,所述目标应用的数据是所述发送端在确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令,并在接收到用户输入的进行投屏指令后发送的;
显示所述目标应用的数据,实现对所述目标应用的投屏。
可选的,所述方法还包括:
发布服务信息,所述服务信息包括所述目标接收端的标识和所述目标接收端的地址;
所述接收发送端发送的目标应用的数据,包括:
接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端搜索接收端发布的服务信息,并在搜索到所述接收端发布的服务信息,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址后,根据所述接收端的标识,从所述接收端中确定目标接收端,根据所述目标接收端的地址,与所述目标接收端建立连接后发送的;其中,所述服务信息包括所述接收端的标识和所述接收端的地址。
可选的,所述服务信息还包括所述目标接收端的密码;
所述显示所述目标应用的数据,包括:
显示密码输入界面;
接收发送端发送的密码;所述密码是所述发送端在搜索到接收端发布的服务信息,对所述接收端发布的服务信息进行解析得到的;
对所述密码进行验证,并在验证通过后显示所述目标应用的数据。
可选的,所述方法还包括:
显示pin码,所述pin码用于指示所述目标接收端的地址。
第三方面,本申请实施例提供了一种投屏装置,包括:
应用开启模块,用于打开目标应用;
应用属性检测模块,用于检测所述目标应用的应用属性;
数据发送模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;
投屏确定模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
数据发送模块,还用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数 据进行显示,实现对所述目标应用的投屏。
可选的,所述装置还包括:
可投屏应用属性编辑模块,用于打开所述投屏软件的设置项功能,对所述可投屏应用的应用属性执行编辑操作;
其中,所述编辑操作包括增加应用属性、删除应用属性。
可选的,所述装置还包括投屏应用切换模块,用于:
在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;
在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;
停止向目标接收端发送所述目标应用的数据;
将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
可选的,所述装置还包括显示模块,用于;
在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;
在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
可选的,所述装置还包括:
服务信息搜索模块,用于搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;
服务信息解析模块,用于在搜索到接收端发布的服务信息时,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;
目标接收端确定模块,用于根据所述接收端的标识,从所述接收端中确定目标接收端;
所述数据发送模块在将所述目标应用的数据发送到目标接收端时,具体用于:
根据所述目标接收端的地址,与所述目标接收端建立连接;
将所述目标应用的数据发送到所述目标接收端。
可选的,所述接收端发布的服务信息还包括所述接收端的密码;
所述服务信息解析模块在对所述接收端发布的服务信息进行解析,得到 所述接收端的标识和所述接收端的地址时,具体用于:
对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码;
所述数据发送模块,还用于将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
可选的,所述服务信息解析模块具体用于:
若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;
所述显示模块,还用于显示所述多个接收端的标识;
所述目标接收端确定模块在根据所述接收端的标识,从所述接收端中确定目标接收端时,具体用于:
接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;
根据所述目标接收端选择指令,确定目标接收端。
可选的,所述显示模块还用于:在未搜索到目标接收端发布的服务信息时,显示pin码输入界面;
所述装置还包括:pin码解析模块,用于接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;对pin码进行解析,得到所述目标接收端的地址。
第四方面,本申请实施例提供了一种投屏装置,包括:
数据接收模块,用于接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端在打开目标应用,检测所述目标应用的应用属性,确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时发送的;或者,所述目标应用的数据是所述发送端在确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令,并在接收到用户输入的进行投屏指令后发送的;
显示模块,用于显示所述目标应用的数据,实现对所述目标应用的投屏。
可选的,所述装置还包括:
服务信息发布模块,用于发布服务信息,所述服务信息包括所述目标接收端的标识和所述目标接收端的地址;
所述数据接收模块,具体用于:
接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端搜索接收端发布的服务信息,并在搜索到所述接收端发布的服务信息,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址后,根据所述接收端的标识,从所述接收端中确定目标接收端,根据所述目标接收端的地址,与所述目标接收端建立连接后发送的;其中,所述服务信息包括所述接收端的标识和所述接收端的地址。
可选的,所述服务信息还包括所述目标接收端的密码;
所述显示模块,具体用于:显示密码输入界面;接收发送端发送的密码;所述密码是所述发送端在搜索到接收端发布的服务信息,对所述接收端发布的服务信息进行解析得到的;对所述密码进行验证,并在验证通过后显示所述目标应用的数据。
可选的,所述显示模块还用于:
显示pin码,所述pin码用于指示所述目标接收端的地址。
第五方面,本申请实施例提供一种投屏方法,应用于发送端,所述方法包括:
打开目标应用;
检测所述目标应用的应用属性;
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;
若所述目标应用的应用属性不属于投屏软件中的可投屏应用属性,则不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
可选的,所述方法还包括:
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目 标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
可选的,所述方法还包括:
打开所述投屏软件的设置项功能,对所述可投屏应用的应用属性执行编辑操作;
其中,所述编辑操作包括增加应用属性、删除应用属性。
可选的,所述方法还包括:
在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;
在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;
停止向目标接收端发送所述目标应用的数据;
将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
可选的,所述方法还包括:
在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;
在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
可选的,所述方法还包括:
搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;
若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;
根据所述接收端的标识,从所述接收端中确定目标接收端;
所述将所述目标应用的数据发送到目标接收端,包括:
根据所述目标接收端的地址,与所述目标接收端建立连接;
将所述目标应用的数据发送到所述目标接收端。
可选的,所述接收端发布的服务信息还包括所述接收端的密码;
所述对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址,包括:
对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码;
所述方法还包括:
将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
可选的,所述若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,包括:
若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;
显示所述多个接收端的标识;
所述根据所述接收端的标识,从所述接收端中确定目标接收端,包括:
接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;
根据所述目标接收端选择指令,确定目标接收端。
可选的,所述方法还包括:
若未搜索到目标接收端发布的服务信息,则显示pin码输入界面;
接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;
对pin码进行解析,得到所述目标接收端的地址。
第六方面,本申请实施例提供一种投屏装置,包括:
应用开启模块,用于打开目标应用;
应用属性检测模块,用于检测所述目标应用的应用属性;
数据发送模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;在所述目标应用的应用属性不属于投屏软件中的可投屏应用属性时,不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
第七方面,本申请实施例提供一种投屏方法,应用于发送端,所述方法包括:
打开目标应用;
检测所述目标应用的应用属性;
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
可选的,所述方法还包括:
若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
可选的,所述方法还包括:
打开所述投屏软件的设置项功能,对所述可投屏应用的应用属性执行编辑操作;
其中,所述编辑操作包括增加应用属性、删除应用属性。
可选的,所述方法还包括:
在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;
在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;
停止向目标接收端发送所述目标应用的数据;
将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
可选的,所述方法还包括:
在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;
在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
可选的,所述方法还包括:
搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;
若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行 解析,得到所述接收端的标识和所述接收端的地址;
根据所述接收端的标识,从所述接收端中确定目标接收端;
所述将所述目标应用的数据发送到目标接收端,包括:
根据所述目标接收端的地址,与所述目标接收端建立连接;
将所述目标应用的数据发送到所述目标接收端。
可选的,所述接收端发布的服务信息还包括所述接收端的密码;
所述对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址,包括:
对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码;
所述方法还包括:
将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
可选的,所述若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,包括:
若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;
显示所述多个接收端的标识;
所述根据所述接收端的标识,从所述接收端中确定目标接收端,包括:
接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;
根据所述目标接收端选择指令,确定目标接收端。
可选的,所述方法还包括:
若未搜索到目标接收端发布的服务信息,则显示pin码输入界面;
接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;
对pin码进行解析,得到所述目标接收端的地址。
第八方面,本申请实施例提供一种投屏装置,包括:
应用开启模块,用于打开目标应用;
应用属性检测模块,用于检测所述目标应用的应用属性;
投屏确定模块,用于在所述目标应用的应用属性属于投屏软件中的可投 屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
数据发送模块,用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
第九方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如第一方面任意一项或第二方面任意一项或第五方面任意一项或第七方面任意一项的方法步骤。
第十方面,本申请实施例提供一种电子设备,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如第一方面任意一项或第二方面任意一项或第五方面任意一项或第七方面任意一项的方法步骤。
第十一方面,本申请实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第一方面任意一项或第二方面任意一项或第五方面任意一项或第七方面任意一项所述的方法步骤。
本实施例提供的投屏方法应用于发送端,包括:打开目标应用;检测所述目标应用的应用属性;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对目标应用的投屏;若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;在接收到用户输入的进行投屏指令后,将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏。本申请的方案通过打开目标应用后自动检测目标应用的应用属性,并在应用属性属于投屏软件中设置的可投屏应用属性并且投屏软件开启时,自动触发投屏过程,开始投屏;或者,在投屏软件未开启时,在通过提示框询问的方式确定客户投屏意向后,自动触发投屏过程,开始投屏。整个过程中只需要用户执行选择需要进行投屏的目标应用的操作,或者另外执行输入投屏指令的操作即可,后续的连接和数据传输过程都是设备间自动进行的,无需像现有技术中由用户进行多次操作,极大简化操作流程,提高投屏效率。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种应用场景示意图;
图2为本申请实施例公开的一种投屏方法的流程图;
图3a为本申请实施例公开的一种第一提示框的界面示意图;
图3b为本申请实施例公开的一种第二提示框的界面示意图;
图4为本申请实施例公开的另一种投屏方法的流程图;
图5为本申请实施例公开的又一种投屏方法的流程图;
图6为本申请实施例公开的一种投屏装置的结构示意图;
图7为本申请实施例公开的另一种投屏装置的结构示意图;
图8为本申请实施例公开的一种电子设备的结构示意图;
图9为本申请实施例公开的另一种投屏方法的流程图;
图10为本申请实施例公开的另一种投屏装置的结构示意图;
图11为本申请实施例公开的另一种投屏方法的流程图;
图12为本申请实施例公开的另一种投屏装置的结构示意图。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作进一步地详细描述。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
在本申请的描述中,需要理解的是,术语“第一”、“第二”、“第三”等仅用于区别类似的对象,而不必用于描述特定的顺序或先后次序,也不能理解为指示或暗示相对重要性。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
发送端设备上一般会运行一个软件(本申请中称为投屏软件),用于捕获发送端的画面等信息并传输给接收端,接收端则会运行投屏接收端软件用于接收并显示这些信息。基于投屏的软硬件基础,在成功投屏(发送端传输数据到接收端)之前,用户需要执行繁琐的步骤开启投屏过程。首先,用户需要打开发送端的投屏软件;再打开需要进行投屏的目标应用;最后,需要输入投屏码才能与接收端的设备进行连接。当然,前两步的顺序也可以交换。总之,需要用户做多次点击、输入的操作,较为繁琐。
因此,本申请实施例欲提出一种投屏方法、装置、存储介质及电子设备,为用户提供一种操作更为简便的投屏方法,可以减少开启投屏过程时用户的操作步骤,提高操作效率,以解决开始投屏前操作复杂的问题。
图1为本申请实施例提供的一种应用场景示意图。如图1所示的,发送端的设备为手机,接收端的设备为交互平板设备。基于本申请的方法,用户只需在手机上开启目标应用,即可快速开启投屏过程。投屏过程开启后,手机与交互平板设备通信连接,通过投屏功能,手机中目标应用的界面会被传输并显示在交互平板设备上。
当然,发送端的设备也可以为个人电脑、智能平板等其它电子设备,图1中仅做举例说明。
其中,交互平板的硬件部分由触控显示模组、智能处理***(包括控制器)等部分所构成,由整体结构件结合到一起,同时也由专用的软件***作为支撑,其中触控显示模组包括显示屏、触控组件和背光灯组件,背光灯组件用于为显示屏提供背光光源,显示屏一般采用液晶显示装置,用于进行画面展示,触控组件设置在显示屏上或者设置在显示屏前端,用于采集用户的 触控操作数据,并将采集的触控操作数据发送到智能处理***进行处理。
在实际使用中,交互平板的显示屏上显示画面数据,当用户通过手指或者触控笔等触控物体点击显示屏上显示的内容,例如点击显示屏上显示的图形按钮时,交互平板的触控组件将采集到触控数据,从而触控组件将该触控数据转换为触控点的坐标数据后发送到智能处理***,或者发送到智能处理***处由智能处理***转换为触控点的坐标数据,智能处理***获得触控点的坐标数据后,根据预先设定的程序实现相应的控制操作,驱动显示屏显示内容发生变化,实现多样化的显示、操作效果。
从技术原理来区别触摸组件,可以分为五个基本种类;矢量压力传感技术触摸组件、电阻技术触摸组件、电容技术触摸组件、电磁技术触摸屏、红外线技术触摸组件、表面声波技术触摸组件。按照触摸组件的工作原理和传输信息的介质,可以把触摸组件分为四个种类:电阻式、电容感应式、电磁感应式、红外线式以及表面声波式。
当用户用手指或笔触摸显示屏时,触摸组件可以采集触控点的数据并发送到智能处理***,然后随着智能处理***内置的软件来实现不同的功能应用,从而实现对智能处理***的触控控制。
在本申请中所提到的“屏幕”、“大屏”均指交互平板的显示屏;交互平板显示某个界面是指交互平板的显示屏显示该界面。
以下将对本申请实施例的实现方式进行说明。需要注意的是,由于篇幅所限,本申请说明书没有穷举所有可选的实施方式,本领域技术人员在阅读本申请说明书后,应该能够想到,只要技术特征不互相矛盾,那么技术特征的任意组合均可以构成可选的实施方式。记载在不同实施例中的不互相矛盾的技术特征也可以任意组合,构成可选的实施方式。
本申请实施例公开了投屏方法,该方法应用于投屏的发送端。
请参见图2,为本申请实施例公开的一种投屏方法的流程图。该方法应用于发送端,该方法包括以下步骤:
S201,打开目标应用。
发送端在接收到用户输入的打开目标应用的相应指令后,可以执行打开目标应用的操作。
具体的,用户输入的打开目标应用的相应指令,可以为对目标应用图标 进行的点击操作,也可以为通过人机交互界面对目标应用图标所在位置进行的触摸操作,还可以为通过人机交互界面执行的预先设定的某种触摸手势,例如,连续点击多下,或多指点击,或多指滑动等。
其中,目标应用是响应于用户输入的操作指令确定的,需要进行投屏的应用,可以为任一应用。
S202,检测目标应用的应用属性。
应用属性指应用对应的一些特定属性。应用属性可以包括:应用名称、应用支持的文件的类型(例如文档类应用、音频类应用、视频类应用等)等。
通过对目标应用的配置信息进行查询,即可确定目标应用的应用属性。
S203,若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏。
用户在进行投屏之前,即可以确定允许进行投屏的应用(应用名称),或本次投屏过程中需要打开的文件的类型或需要使用到的应用。据此,可以预先将允许进行投屏的应用对应的属性设置为投屏软件中的可投屏应用属性。
在应用投屏的过程中,当检测到目标应用的应用属性属于设定的可投屏应用属性,即可直接将目标应用的数据发送到目标接收端。
相对应的,目标接收端则可以接收目标应用的数据,并在显示界面上进行显示。
其中,是否正在投屏可以通过检测投屏软件的进程状态来确定。
在实际应用过程中,可以将本申请的方法步骤注册为一个***服务进程,一旦有目标应用被打开,则自动触发***服务进程,检测目标应用的应用属性,并与投屏软件中的可投屏应用属性进行比对。
其中,投屏软件中的可投屏应用属性,可以作为一个列表存储在磁盘中。
S204,若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令。
S205,在接收到用户输入的进行投屏指令后,将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏。
在未进行投屏时,可能是投屏尚未开始,也可能是投屏被中止,此时打开的目标应用的应用属性即使属于投屏软件中的可投屏应用属性,仍需对用户进行询问,是否需要对此应用进行投屏。只有在明确接收到用户输入的进行投屏的指令后,才可以发送目标应用的数据到目标接收端。以免对用户不希望投屏的内容进行投屏,造成隐私泄露。
具体的,可以在显示界面上显示第一提示框,在提示框中以文字形式询问是否进行投屏,由用户选择进行投屏或不进行投屏,或者由用户输入进行投屏或不进行投屏。
参考图3a,通过第一提示框显示“是否进行投屏”,并提供两个选项“是”和“否”。若用户选“是”,则确定用户输入了进行投屏指令,则将所述目标应用的数据发送到目标接收端;若用户选“否”,则确定用户输入了不进行投屏指令,则不进行后续操作。
本实施例提供的投屏方法应用于发送端,包括:打开目标应用;检测所述目标应用的应用属性;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对目标应用的投屏;若目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;在接收到用户输入的进行投屏指令后,将目标应用的数据发送到目标接收端,以使目标接收端对目标应用的数据进行显示,实现对目标应用的投屏。本申请的方案通过打开目标应用后自动检测目标应用的应用属性,并在应用属性属于投屏软件中设置的可投屏应用属性并且投屏软件开启时,自动触发投屏过程,开始投屏;或者,在投屏软件未开启时,在通过提示框询问的方式确定客户投屏意向后,自动触发投屏过程,开始投屏。整个过程中只需要用户执行选择需要进行投屏的目标应用的操作,或者另外执行输入投屏指令的操作即可,后续的连接和数据传输过程都是设备间自动进行的,无需像现有技术中由用户进行多次操作,极大简化操作流程,提高投屏效率。
在一些实施例中,在投屏软件中具有设置项功能,可以对投屏软件进行参数的设置和修改等。上述的投屏方法还可以包括:打开所述投屏软件的设置项功能,对所述可投屏应用属性执行编辑操作;其中,所述编辑操作包括 增加应用属性、删除应用属性。
在进行投屏之前,或在投屏过程中,或在投屏结束后,都可以对投屏软件中的可投屏应用属性执行编辑操作,以调整投屏情况。
具体的,在投屏之前,可以增加本次投屏的应用属性,也可以删除本次不进行投屏的应用属性,以免造成不必要的信息泄露。在投屏过程中,可以增加临时需要进行投屏的应用属性,也可以删除后续不再进行投屏的应用属性。在投屏结束后,可以删除所有应用属性,以免在不需要投屏时误将应用数据发送出去,造成信息泄露。
在另一些实施例中,上述的方法还可以包括:在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
用户输入不进行投屏指令后,可能在一段时间内都不需要进行投屏。此时用户可以对投屏软件中的可投屏应用属性执行编辑操作,清空可投屏应用属性。这样,在用户需要进行投屏时还需要重新添加,不太方便。这时就可以显示第二提示框,对用户需要投屏的时间或需要延后提醒的时长进行询问,然后在用户需要投屏的时间或延后提醒的时长到达前,若再有应用打开便不再重复询问是否投屏。可以有效减少对用户的打扰。
例如在图3a中用户选择“否”,则转到图3b,通过第二提示框显示“在____后询问”。用户可以点击下拉按钮选择一个合适的时长,若没有合适的时长,还可以直接在空格处自行填写合适的时长。那么,在此时长之中,若再有应用打开,将不再弹出第一提示框对用户进行询问。
在一些实施例中,上述投屏方法还可以包括:搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;根据所述接收端的标识,从所述接收端中确定目标接收端。相对应的,上述的将所述目标应用的数据发送到目标接收端,包括:根据所述目标接收端的地址,与所述目标接收端建立连接;将所述目标应用的数据发送到所述目标接收端。
在与目标接收端进行数据传输之前,需要先与目标接收端建立网络连接。具体的,接收端在开启后即通过网络向外发布服务信息,服务信息中包括有 接收端的标识和接收端的地址。其中,接收端的标识指唯一的可表征接收端的信息,可以包括接收端的设备型号信息;接收端的地址指可以实现通信连接的通信地址,可以包括接收端的IP地址和端口信息。发送端通过搜索和解析接收端发送的服务信息,可以确定接收端的标识,根据接收端的标识,可以从至少一个接收端中确定出目标接收端(即需要进行投屏的接收端)。在将目标应用的数据发送到目标接收端之前,还需要根据解析出的目标接收端的地址与目标接收端建立连接。
在一些实施例中,为避免多个发送端的设备与同一接收端的设备进行连接,导致数据传输错误,可以由接收端对发送端进行校验。具体的,上述的接收端发布的服务信息还包括所述接收端的密码。相应的,上述的对接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址,包括:对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码。相应的,上述的方法还包括:将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
对密码进行验证,一方面可以验证密码的正确性,以确定数据传输是否有故障;另一方面,在数据数据传输之前加入验证环节,可以避免多个发送端设备直接与接收端设备进行数据传输。
共同接入同一网络的接收端可能有一个或多个,发送端搜索到的服务也可能有一个或多个。当发送端只搜索到一个服务时,则可以默认此服务为目标接收端发布的服务。当发送端搜索到多个服务时,上述的若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,可以包括:若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;显示所述多个接收端的标识;所述根据所述接收端的标识,从所述接收端中确定目标接收端,包括:接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;根据所述目标接收端选择指令,确定目标接收端。
对于不同接收端,可以在服务信息中添加设备信息或不同的名称作为标识加以区分。在解析得到标识信息后,可以对多个标识进行显示,以供用户进行选择。显示的内容可以包括,标识和/或历史的连接信息(例如,上次连 接时间,若从未连接过,时间可以显示为“无”)。用户根据显示的信息,选择目标接收端,并通过发送端输入目标接收端的选择指令(在实际过程中,可能为用户针对目标接收端的点击操作)。在接收到目标接收端选择指令后,即可从多个服务信息中确定目标接收端的服务信息,进而获取目标接收端的地址。
在一些实施例中,上述的投屏方法还可以包括:若未搜索到目标接收端发布的服务信息,则显示pin码输入界面;接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;对pin码进行解析,得到所述目标接收端的地址。
对于未搜索到目标接收端的服务的情况,还可以采用这种方式去获取目标接收端的地址。未搜索到目标接收端的服务的情况的产生,多是由于目标接收端未正常连接到网络,此时,目标接收端本身可以对自身的网络状态进行监控和反应。例如,目标接收端检测到未接入目标网络时,在显示界面显示pin码。发送端搜索目标接收端失败时(搜索到的接收端服务非目标接收端的服务或未搜索到接收端服务),可以在显示界面显示提醒消息及pin码输入界面,例如“搜索失败,请输入目标设备pin码”等,以提示用户。用户在确认搜索目标接收端失败后,可以将目标接收端显示界面显示的pin码输入发送端。发送端接收用户输入的pin码,并对其进行解析,得到目标接收端的地址。
在实际场景中,在对某个目标应用进行投屏的过程中,用户还可能同时对发送端的设备进行其他的操作,也就是说可能同时开启多个窗口。在对目标应用的数据进行传输时,一般可选两种方式。一种是只针对目标应用的窗口数据进行投屏显示(窗体投屏),这样可能导致的问题是,在目标应用的窗口上弹出的本应用的上层窗口因为未被传输而无法同步显示。
另一种是针对目标应用的窗口数据所对应的桌面位置的数据进行投屏显示,这样可以将对应桌面位置的全部数据同步显示在接收端(区域投屏),但也有一个问题是其它应用的窗口可能对目标数据的窗口造成遮挡。
因此,可以先识别目标应用窗口在桌面的位置。默认对目标应用进行窗体投屏,当检测到目标应用对应的窗口在当前桌面的最顶层时,转为区域投屏。
在一些实施例中,在投屏过程中,还可以对正在投屏的目标应用进行标识。例如为目标应用的图标添加外边框,以区别于其它未投屏的应用;或者,为目标应用的窗口添加外边框,以区别于其它未投屏的应用的窗口。外边框的颜色可以为蓝色、绿色、红色等颜色,形状可以为圆角矩形等。在投屏中止时,可以取消外边框的显示。在目标应用的窗体大小发生变化时,外边框还可以跟随目标应用的窗体大小自适应变化大小。
另外,可以在发送端的显示界面显示工具栏,在工具栏中显示功能按键,例如暂停投屏、继续投屏、结束投屏、切换窗体等。工具栏的位置可以在显示界面的任何位置,例如显示界面上边缘、显示界面下边缘、显示界面左边缘、显示界面右边缘等。工具栏可以设置不同透明度和不同颜色。
其中,暂停投屏功能,可以中止目标应用的投屏过程,停止向接收端发送数据;继续投屏功能,则可以恢复投屏过程,继续向接收端发送数据;结束投屏功能,可以结束投屏过程,停止向接收端发送数据,并断开与接收端之间的连接。在一些实施例中,通过结束投屏功能结束投屏过程之后,目标应用可以暂不关闭。
当需要对投屏应用进行切换时,上述的方法还包括:在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;停止向目标接收端发送所述目标应用的数据;将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
具体的,选择切换窗体功能后,可以以缩略图的方式显示所有当前已打开的符合投屏软件中的可投屏应用属性的应用的窗口。缩略图可以以单行、单列、多行、多列的形式展现。或者,也可以呈现为九宫格的形式。数量较多时,允许滚动展现。在每个缩略图下方可以显示该应用的名称。用户可以通过点击操作选中某缩略图(即输入切换投屏应用指令),则将其确定为当前投屏的应用进行切换投屏。
在一些实施例中,用户也可以通过操作接收端的相关功能按键断开与发送端的连接关系,进而结束投屏过程。
请参见图4,为本申请实施例公开的另一种投屏方法的流程图。该方法应用于目标接收端,该方法包括以下步骤:
S401,接收发送端发送的目标应用的数据。
其中,所述目标应用的数据是所述发送端在打开目标应用,检测所述目标应用的应用属性,确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时发送的;或者,所述目标应用的数据是所述发送端在确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令,并在接收到用户输入的进行投屏指令后发送的。
S402,显示所述目标应用的数据。
可选的,所述方法还包括:
发布服务信息,所述服务信息包括所述目标接收端的标识和所述目标接收端的地址;
所述接收发送端发送的目标应用的数据,包括:
接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端搜索接收端发布的服务信息,并在搜索到所述接收端发布的服务信息,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址后,根据所述接收端的标识,从所述接收端中确定目标接收端,根据所述目标接收端的地址,与所述目标接收端建立连接后发送的;其中,所述服务信息包括所述接收端的标识和所述接收端的地址。
可选的,所述服务信息还包括所述目标接收端的密码;
所述显示所述目标应用的数据,包括:
显示密码输入界面;
接收发送端发送的密码;所述密码是所述发送端在搜索到接收端发布的服务信息,对所述接收端发布的服务信息进行解析得到的;
对所述密码进行验证,并在验证通过显示所述目标应用的数据。
可选的,所述方法还包括:
显示pin码,所述pin码用于指示所述目标接收端的地址。
本实施例的方案中的各步骤,在发送端执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再 赘述。
请参见图5,为本申请实施例公开的一种投屏方法的流程图。该方法应用于发送端和目标接收端,该方法包括以下步骤:
S501、目标接收端发布服务信息。
其中,服务信息包括目标接收端的地址。
S502、发送端打开目标应用。
S503、发送端检测目标应用的应用属性。
S504、若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端。
S505、目标接收端对接收到的目标应用的数据进行显示。
本实施例的方案中的各步骤,在发送端设备执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再赘述。
请参见图6,其示出了本申请一个示例性实施例提供的投屏装置的结构示意图。该投屏装置600为发送端对应的装置,包括:应用开启模块601、应用属性检测模块602、数据发送模块603。
应用开启模块601,用于打开目标应用;
应用属性检测模块602,用于检测所述目标应用的应用属性;
数据发送模块603,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;
投屏确定模块604,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
数据发送模块603,还用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
可选的,投屏装置600还包括:
可投屏应用属性编辑模块605,用于打开所述投屏软件的设置项功能, 对所述可投屏应用的应用属性执行编辑操作;
其中,所述编辑操作包括增加应用属性、删除应用属性。
可选的,投屏装置600还包括投屏应用切换模块606,用于:
在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;
在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;
停止向目标接收端发送所述目标应用的数据;
将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
可选的,投屏装置600还包括显示模块607,用于:
在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
可选的,投屏装置600还包括:
服务信息搜索模块608,用于搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;
服务信息解析模块609,用于在搜索到接收端发布的服务信息时,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;
目标接收端确定模块610,用于根据所述接收端的标识,从所述接收端中确定目标接收端;
所述数据发送模块603在将所述目标应用的数据发送到目标接收端时,具体用于:
根据所述目标接收端的地址,与所述目标接收端建立连接;
将所述目标应用的数据发送到所述目标接收端。
可选的,所述接收端发布的服务信息还包括所述接收端的密码;
所述服务信息解析模块609在对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址时,具体用于:
对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述 接收端的地址和所述接收端的密码;
所述数据发送模块603,还用于将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
可选的,所述服务信息解析模块609具体用于:
若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;
所述显示模块607,还用于显示所述多个接收端的标识;
所述目标接收端确定模块607在根据所述接收端的标识,从所述接收端中确定目标接收端时,具体用于:
接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;
根据所述目标接收端选择指令,确定目标接收端。
可选的,所述显示模块607还用于:在未搜索到目标接收端发布的服务信息时,显示pin码输入界面;
所述装置还包括:pin码解析模块611,用于接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;对pin码进行解析,得到所述目标接收端的地址。
本实施例的方案中的各模块所实现的方法,在发送端设备执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再赘述。
请参见图7,其示出了本申请一个示例性实施例提供的投屏装置的结构示意图。该投屏装置700为目标接收端设备对应的装置,包括:
数据接收模块701,用于接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端在打开目标应用,检测所述目标应用的应用属性,确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时发送的;或者,所述目标应用的数据是所述发送端在确定所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令,并在接收到用户输入的进行投屏指令后发送的;
显示模块702,用于显示所述目标应用的数据,实现对所述目标应用的投屏。
可选的,投屏装置700还包括:
服务信息发布模块703,用于发布服务信息,所述服务信息包括所述目标接收端的标识和所述目标接收端的地址;
所述数据接收模块701,具体用于:
接收发送端发送的目标应用的数据;所述目标应用的数据是所述发送端搜索接收端发布的服务信息,并在搜索到所述接收端发布的服务信息,对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址后,根据所述接收端的标识,从所述接收端中确定目标接收端,根据所述目标接收端的地址,与所述目标接收端建立连接后发送的;其中,所述服务信息包括所述接收端的标识和所述接收端的地址。
可选的,所述服务信息还包括所述目标接收端的密码;
所述显示模块702,具体用于:显示密码输入界面;接收发送端发送的密码;所述密码是所述发送端在搜索到接收端发布的服务信息,对所述接收端发布的服务信息进行解析得到的;对所述密码进行验证,并在验证通过显示所述目标应用的数据。
可选的,所述显示模块702还用于:
显示pin码,所述pin码用于指示所述目标接收端的地址。
本实施例的方案中的各模块所实现的方法,在接收端设备执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再赘述。
在另一些实施例中,一些电子设备可能在一些场景中作为发送端设备,在另一些中作为接收端设备。这些电子设备可以同时具有装置600和装置700对应的模块,以实现对应的方法。
需要说明的是,上述实施例提供的投屏装置在执行投屏方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的投屏装置与投屏方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再 赘述。
本申请实施例还提供了一种计算机存储介质,计算机存储介质可以存储有多条指令,指令适于由处理器加载并执行如上述实施例的方法步骤,具体执行过程可以参见上述实施例的具体说明,在此不进行赘述。
存储介质所在设备可以是电子设备。
本申请实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现发送端或目标接收端的方法步骤。
请参见图8,为本申请实施例提供了一种电子设备的结构示意图。图8的电子设备可以为发送端设备或接收端设备。如图8所示,电子设备800可以包括:至少一个处理器801,至少一个网络接口804,用户接口803,存储器805,至少一个通信总线802。
其中,通信总线802用于实现这些组件之间的连接通信。
其中,用户接口803可以包括显示屏(Display)、摄像头(Camera),可选用户接口803还可以包括标准的有线接口、无线接口。
其中,网络接口804可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。
其中,处理器801可以包括一个或者多个处理核心。处理器801利用各种接口和线路连接整个电子设备800内的各个部分,通过运行或执行存储在存储器805内的指令、程序、代码集或指令集,以及调用存储在存储器805内的数据,执行电子设备800的各种功能和处理数据。可选的,处理器801可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器801可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作***、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器801中,单独通过一块芯片进行实现。
其中,存储器805可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器805包括 非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器805可用于存储指令、程序、代码、代码集或指令集。存储器805可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作***的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器805可选的还可以是至少一个位于远离前述处理器801的存储装置。如图8所示,作为一种计算机存储介质的存储器805中可以包括操作***、网络通信模块、用户接口模块以及电子设备的操作应用程序。
在图8所示的电子设备800中,用户接口803主要用于为用户提供输入的接口,获取用户输入的数据;而处理器801可以用于调用存储器805中存储的电子设备的操作应用程序,并具体执行上述方法的操作。
在一个实施例中,上述电子设备的操作***为安卓***。
图9为本申请实施例公开的另一种投屏方法的流程图。该方法应用于发送端,该方法包括以下步骤:
S901,打开目标应用。
S902,检测所述目标应用的应用属性。
S903,若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;
S904,若所述目标应用的应用属性不属于投屏软件中的可投屏应用属性,则不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
在本实施例中,在根据用户指令打开目标应用后,即检测目标应用的应用属性。当检测到目标应用的属性不属于投屏软件中的可投屏应用属性时,无论当前是否在投屏,都不会开启对目标应用的投屏。这样就给了用户自行选择可投屏应用的条件,可以避免无意间的隐私泄露。
图10为本申请一个示例性实施例提供的另一种与图9方法对应的投屏装置的结构示意图。该投屏装置100为发送端对应的装置,包括:应用开启模块101、应用属性检测模块102、数据发送模块103。
应用开启模块101,用于打开目标应用;
应用属性检测模块102,用于检测所述目标应用的应用属性;
数据发送模块103,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;在所述目标应用的应用属性不属于投屏软件中的可投屏应用属性时,不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
本实施例的方案中的各模块所实现的方法,在发送端设备执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再赘述。
图11为本申请实施例公开的另一种投屏方法的流程图。该方法应用于发送端,该方法包括以下步骤:
S111、打开目标应用;
S112、检测所述目标应用的应用属性;
S113、若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;
S114、在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
本实施例的方案,在根据用户指令打开目标应用后,即检测目标应用的应用属性。在确定目标应用属于可投屏应用后,询问用户投屏意向,只要用户确定投屏即可开始投屏,投屏操作简单便捷。
图12为本申请一个示例性实施例提供的另一种与图11方法对应的投屏装置的结构示意图。该投屏装置120为发送端对应的装置,包括:应用开启模块121、应用属性检测模块122、投屏确定模块123、数据发送模块124。
应用开启模块121,用于打开目标应用;
应用属性检测模块122,用于检测所述目标应用的应用属性;
投屏确定模块123,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入 的进行投屏指令或不进行投屏指令;
数据发送模块124,用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
本实施例的方案中的各模块所实现的方法,在发送端设备执行的方法对应的实施例的描述中均有所体现,其具体实现方式和有益效果可以参考上述实施例,此处不再赘述。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。
Claims (16)
- 一种投屏方法,其特征在于,应用于发送端,所述方法包括:打开目标应用;检测所述目标应用的应用属性;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
- 根据权利要求1所述的方法,其特征在于,还包括:打开所述投屏软件的设置项功能,对所述可投屏应用的应用属性执行编辑操作;其中,所述编辑操作包括增加应用属性、删除应用属性。
- 根据权利要求1或2所述的方法,其特征在于,还包括:在接收到用户输入的切换投屏应用指令后,显示当前打开的应用中符合可投屏应用属性的应用,作为待切换应用;在接收到用户输入的应用选择指令后,根据所述应用选择指令从所述待切换应用中确定新的目标应用;停止向目标接收端发送所述目标应用的数据;将所述新的目标应用的数据发送到目标接收端,以使所述目标接收端对所述新的目标应用的数据进行显示,实现对所述新的目标应用的投屏。
- 根据权利要求3所述的方法,其特征在于,还包括:在接收到用户输入的不进行投屏指令后,显示第二提示框,以接收用户输入的延后提醒时长信息;在所述延后提醒时长信息对应的时长结束后,弹出所述第一提示框。
- 根据权利要求1或2所述的方法,其特征在于,还包括:搜索接收端发布的服务信息,所述服务信息包括所述接收端的标识和所述接收端的地址;若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址;根据所述接收端的标识,从所述接收端中确定目标接收端;所述将所述目标应用的数据发送到目标接收端,包括:根据所述目标接收端的地址,与所述目标接收端建立连接;将所述目标应用的数据发送到所述目标接收端。
- 根据权利要求5所述的方法,其特征在于,所述接收端发布的服务信息还包括所述接收端的密码;所述对所述接收端发布的服务信息进行解析,得到所述接收端的标识和所述接收端的地址,包括:对所述接收端发布的服务信息进行解析,得到所述接收端的标识、所述接收端的地址和所述接收端的密码;所述方法还包括:将所述目标接收端的密码发送到所述目标接收端,以使所述目标接收端对所述密码进行验证,并在验证通过后对所述目标应用的数据进行显示。
- 根据权利要求5所述的方法,其特征在于,所述若搜索到接收端发布的服务信息,则对所述接收端发布的服务信息进行解析,包括:若搜索到多个接收端发布的服务信息,则对所述多个接收端发布的服务信息进行解析;显示所述多个接收端的标识;所述根据所述接收端的标识,从所述接收端中确定目标接收端,包括:接收用户输入的目标接收端选择指令,所述目标接收端选择指令对应所述多个接收端的标识中的一个;根据所述目标接收端选择指令,确定目标接收端。
- 根据权利要求5所述的方法,其特征在于,还包括:若未搜索到目标接收端发布的服务信息,则显示pin码输入界面;接收用户输入的pin码,所述pin码用于指示所述目标接收端的地址;对pin码进行解析,得到所述目标接收端的地址。
- 一种投屏方法,其特征在于,应用于发送端,所述方法包括:打开目标应用;检测所述目标应用的应用属性;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏,则将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;若所述目标应用的应用属性不属于投屏软件中的可投屏应用属性,则不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
- 一种投屏方法,其特征在于,应用于发送端,所述方法包括:打开目标应用;检测所述目标应用的应用属性;若所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏,则显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
- 一种投屏装置,其特征在于,包括:应用开启模块,用于打开目标应用;应用属性检测模块,用于检测所述目标应用的应用属性;数据发送模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;投屏确定模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;数据发送模块,还用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
- 一种投屏装置,其特征在于,包括:应用开启模块,用于打开目标应用;应用属性检测模块,用于检测所述目标应用的应用属性;数据发送模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前正在投屏时,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏;在所述目标应用的应用属性不属于投屏软件中的可投屏应用属性时,不将所述目标应用的数据发送到目标接收端,不对所述目标应用进行投屏。
- 一种投屏装置,其特征在于,包括:应用开启模块,用于打开目标应用;应用属性检测模块,用于检测所述目标应用的应用属性;投屏确定模块,用于在所述目标应用的应用属性属于投屏软件中的可投屏应用属性,且当前未进行投屏时,显示第一提示框,以接收用户输入的进行投屏指令或不进行投屏指令;数据发送模块,用于在接收到用户输入的进行投屏指令后,将所述目标应用的数据发送到目标接收端,以使所述目标接收端对所述目标应用的数据进行显示,实现对所述目标应用的投屏。
- 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1-13任意一项的方法步骤。
- 一种电子设备,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1-13任意一项的方法步骤。
- 一种计算机程序产品,包括计算机程序,其特征在于,该计算机程序被处理器执行时实现权利要求1-13任意一项的方法步骤。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/139998 WO2023115316A1 (zh) | 2021-12-21 | 2021-12-21 | 投屏方法、装置、存储介质及电子设备 |
CN202180007692.0A CN117083865A (zh) | 2021-12-21 | 2021-12-21 | 投屏方法、装置、存储介质及电子设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/139998 WO2023115316A1 (zh) | 2021-12-21 | 2021-12-21 | 投屏方法、装置、存储介质及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023115316A1 true WO2023115316A1 (zh) | 2023-06-29 |
Family
ID=86900809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/139998 WO2023115316A1 (zh) | 2021-12-21 | 2021-12-21 | 投屏方法、装置、存储介质及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117083865A (zh) |
WO (1) | WO2023115316A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787392A (zh) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | 一种视频投屏方法、装置、电子设备和存储介质 |
CN112149194A (zh) * | 2020-09-18 | 2020-12-29 | 珠海格力电器股份有限公司 | 设备投屏的方法和装置、存储介质和电子装置 |
CN112218133A (zh) * | 2020-09-15 | 2021-01-12 | 深圳市飞图视讯有限公司 | 投屏码生成方法、装置及终端设备 |
US20210064323A1 (en) * | 2019-08-28 | 2021-03-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for screen projection, terminal and storage medium |
CN113259757A (zh) * | 2021-04-08 | 2021-08-13 | 读书郎教育科技有限公司 | 一种便捷兼容多应用进行视频投屏的方法 |
CN113316128A (zh) * | 2020-02-26 | 2021-08-27 | 杭州海康威视数字技术股份有限公司 | 一种投屏方法、接收端设备及发送端设备 |
-
2021
- 2021-12-21 WO PCT/CN2021/139998 patent/WO2023115316A1/zh active Application Filing
- 2021-12-21 CN CN202180007692.0A patent/CN117083865A/zh active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210064323A1 (en) * | 2019-08-28 | 2021-03-04 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for screen projection, terminal and storage medium |
CN113316128A (zh) * | 2020-02-26 | 2021-08-27 | 杭州海康威视数字技术股份有限公司 | 一种投屏方法、接收端设备及发送端设备 |
CN111787392A (zh) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | 一种视频投屏方法、装置、电子设备和存储介质 |
CN112218133A (zh) * | 2020-09-15 | 2021-01-12 | 深圳市飞图视讯有限公司 | 投屏码生成方法、装置及终端设备 |
CN112149194A (zh) * | 2020-09-18 | 2020-12-29 | 珠海格力电器股份有限公司 | 设备投屏的方法和装置、存储介质和电子装置 |
CN113259757A (zh) * | 2021-04-08 | 2021-08-13 | 读书郎教育科技有限公司 | 一种便捷兼容多应用进行视频投屏的方法 |
Also Published As
Publication number | Publication date |
---|---|
CN117083865A (zh) | 2023-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110703966B (zh) | 文件共享方法、装置、***、相应设备及存储介质 | |
WO2020147665A1 (zh) | 文件处理方法、装置、终端及存储介质 | |
CN110750197B (zh) | 文件共享方法、装置、***、相应设备及存储介质 | |
US10554805B2 (en) | Information processing method, terminal, and computer-readable storage medium | |
WO2017097097A1 (zh) | 触摸控制方法、用户设备、输入处理方法、移动终端及智能终端 | |
WO2022089330A1 (zh) | 截图方法和装置、电子设备和可读存储介质 | |
WO2021258821A1 (zh) | 视频编辑方法、装置、终端及存储介质 | |
EP2744216A2 (en) | Content playing apparatus, method for providing UI of content playing apparatus, network server, and method for controlling by network server | |
WO2020249044A1 (zh) | 窗口层级切换的方法、装置、设备和存储介质 | |
CN110647303A (zh) | 一种多媒体播放方法、装置、存储介质及电子设备 | |
WO2020156199A1 (zh) | 应用登录方法、装置、终端及存储介质 | |
CN104125508A (zh) | 视频分享方法和终端 | |
WO2015106510A1 (zh) | 应用的分屏方法与装置、智能终端、存储介质 | |
WO2017063443A1 (zh) | 一种消息显示方法及装置 | |
WO2020147677A1 (zh) | 显示内容的方法、装置、终端及存储介质 | |
WO2018184443A1 (zh) | 终端屏幕显示处理方法、装置及存储介质 | |
WO2018184442A1 (zh) | 终端控制方法及装置 | |
CN107408004B (zh) | 一种在锁屏界面呈现信息的方法、信息处理装置、便携式电子设备以及便携式电子设备上的图形用户界面 | |
WO2024045985A1 (zh) | 屏幕控制方法、屏幕控制装置、电子设备、程序及介质 | |
WO2022222672A1 (zh) | 多内容并行显示的方法、装置、终端、介质及程序产品 | |
CN115437542A (zh) | 一种显示设备及投屏反控方法 | |
WO2016173307A1 (zh) | 一种消息复制方法和装置、以及智能终端 | |
US10779148B2 (en) | Data transmission method and first electronic device | |
US11334240B2 (en) | Method, device, electronic device, and storage medium for sending and receiving message | |
US11928383B2 (en) | Screen projection control method, storage medium and communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 202180007692.0 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21968469 Country of ref document: EP Kind code of ref document: A1 |