CN114217754A - Screen projection control method and device, electronic equipment and storage medium - Google Patents

Screen projection control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114217754A
CN114217754A CN202111307461.XA CN202111307461A CN114217754A CN 114217754 A CN114217754 A CN 114217754A CN 202111307461 A CN202111307461 A CN 202111307461A CN 114217754 A CN114217754 A CN 114217754A
Authority
CN
China
Prior art keywords
interface
control
information
screen projection
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111307461.XA
Other languages
Chinese (zh)
Inventor
夏轶颛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111307461.XA priority Critical patent/CN114217754A/en
Publication of CN114217754A publication Critical patent/CN114217754A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a screen projection control method and device, electronic equipment and a storage medium, and belongs to the technical field of electronics. The specific scheme comprises the following steps: under the condition that a screen projection application interface projected by second electronic equipment is displayed in first electronic equipment, if first input of a user to a mechanical input end is received, interface control information corresponding to the first input is sent to the second electronic equipment; receiving interface display information from the second electronic equipment, and adjusting the display of the screen projection application interface according to the interface display information; the interface display information is display information corresponding to the interface control information and generated according to the interface configuration information, the interface configuration information comprises control configuration information in the screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.

Description

Screen projection control method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a screen projection control method and device, electronic equipment and a storage medium.
Background
With the development of the vehicle-mounted communication technology, the electronic device can project a certain application interface into a central control screen of the automobile in a screen projecting mode to display, and a user can control screen projecting application through a knob on the automobile.
In the related art, the screen-projection application needs to draw an application interface that can be adapted to a knob of a car, so that when a knob input of a user is received, the knob input can be responded.
However, in such an interaction manner, each screen-casting application needs to perform interface adaptation for the automobile screen, and since most application programs do not consider the interaction manner of the automobile knob and the conventional android system is unfriendly in support of the knob event, the screen-casting application is difficult to adapt to the automobile knob, and the input cost is high.
Disclosure of Invention
The embodiment of the application aims to provide a screen projection control method and device, electronic equipment and a storage medium, and the problems that screen projection application is difficult to adapt to an automobile knob and the input cost is high can be solved.
In a first aspect, an embodiment of the present application provides a screen projection control method, including: under the condition that a screen projection application interface projected by second electronic equipment is displayed in the first electronic equipment, if first input of a user to a mechanical input end is received, interface control information corresponding to the first input is sent to the second electronic equipment; receiving interface display information from the second electronic equipment, and adjusting the display of the screen projection application interface according to the interface display information; the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
In a second aspect, an embodiment of the present application provides a screen projection control method, where the method includes: receiving interface control information sent by first electronic equipment under the condition that a screen projection application interface projected by second electronic equipment is displayed in the first electronic equipment, wherein the interface control information is used for indicating a user to control the screen projection application interface to adjust displayed information; determining interface configuration information of screen projection application corresponding to the screen projection application interface, and generating interface display information corresponding to the interface control information according to the interface configuration information; sending the interface display information to the first electronic equipment; the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
In a third aspect, an embodiment of the present application provides a screen projection control device, including: the display device comprises a first communication module and a display module; the first communication module is used for sending interface control information corresponding to a first input to the second electronic equipment if the first input of a user to a mechanical input end is received under the condition that a screen projection application interface projected by the second electronic equipment is displayed in the first electronic equipment; the first communication module is further used for receiving interface display information from the second electronic equipment; the display module is used for adjusting the display of the screen projection application interface according to the interface display information; the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
In a fourth aspect, an embodiment of the present application provides a screen projection control device, including: the second communication module and the second processing module; the second communication module is configured to receive interface control information sent by the first electronic device when a screen projection application interface projected by the second electronic device is displayed in the first electronic device, where the interface control information is used to instruct a user to control the screen projection application interface to adjust displayed information; the second processing module is used for determining interface configuration information of the screen projection application corresponding to the screen projection application interface and generating interface display information corresponding to the interface control information according to the interface configuration information; the second communication module is further configured to send the interface display information to the first electronic device; the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
In a fifth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first or second aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect or the second aspect.
In this embodiment of the application, when a screen-casting application interface projected by a second electronic device is displayed in a first electronic device, if the first electronic device receives a first input of a mechanical input end from a user, interface control information corresponding to the first input may be sent to the second electronic device; the second electronic device can receive the interface control information sent by the first electronic device, determine interface configuration information of the screen projection application corresponding to the screen projection application interface, and generate interface display information corresponding to the interface control information according to the interface configuration information; finally, interface display information is sent to the first electronic equipment; the first electronic device may receive interface display information from the second electronic device and adjust display of the screen projection application interface according to the interface display information. According to the scheme, the interface configuration information comprises the control configuration information of the screen projection application, so that the interface display information corresponding to the interface control information can be directly generated based on the interface configuration information under the condition that the screen projection application does not adapt to the mechanical input end, the screen projection application does not need to adapt to the mechanical input end of the first electronic device, and therefore the problems that the screen projection application is high in adaptation difficulty and high in input cost can be solved.
Drawings
FIG. 1 is a schematic diagram of a screen projection control method provided in an embodiment of the present application;
FIG. 2 is a schematic interface display diagram of a screen projection control method provided by an embodiment of the present application;
fig. 3 is a second schematic diagram of a screen projection control method according to an embodiment of the present application;
fig. 4 is a third schematic diagram of a screen projection control method provided in the embodiment of the present application;
FIG. 5 is a schematic structural diagram of a screen projection control device provided in an embodiment of the present application;
fig. 6 is a second schematic structural diagram of a projection control device according to an embodiment of the present application;
FIG. 7 is a hardware schematic diagram of an electronic device or a computer according to an embodiment of the present disclosure;
fig. 8 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following explains the meaning of the concept related to the embodiments of the present application in the related art.
Screen projection: the method refers to a process of displaying pictures displayed on a screen of a device A on a screen of a device B in real time through a certain technical method, and the content output on the screen of the device B can comprise various media information and real-time operation pictures of a user.
Screen projection application: the device A displays an application program corresponding to an interface on the screen of the device B in real time through a screen projection technology, namely the application program displayed by the screen projection.
The screen projection control method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The embodiment of the application provides a screen projection control method, which can be applied to a screen projection control system, wherein the screen projection control system at least comprises a first electronic device and a second electronic device. Of course, the screen projection control system can also comprise a server side of the screen projection application. The second electronic device may project an application interface of the screen projection application to the first electronic device, and the first electronic device may display the application interface of the screen projection application. For example, the first electronic device may be a vehicle-mounted terminal, and the second electronic device may be a mobile terminal. That is to say, the screen projection control method provided by the embodiment of the application can be applied to a scene in which the mobile terminal projects the screen projection application to the vehicle-mounted terminal.
As shown in fig. 1, the screen projection control method may include steps 101-104.
Step 101, under the condition that a screen projection application interface projected by a second electronic device is displayed in a first electronic device, if the first electronic device receives a first input of a mechanical input end from a user, sending interface control information corresponding to the first input to the second electronic device.
Correspondingly, when the screen-casting application interface projected by the second electronic device is displayed in the first electronic device, the second electronic device may receive interface control information sent by the first electronic device, where the interface control information may be used to instruct a user to control the screen-casting application interface to adjust the displayed information.
Specifically, when a screen-casting application interface projected by a second electronic device is displayed in a first electronic device, if a user wants to operate a certain control in the screen-casting application interface, a first input may be performed on a mechanical input end of the first electronic device, and after receiving the first input of the user, the first electronic device may generate interface control information according to the first input and send the interface control information to the second electronic device.
Optionally, the mechanical input is a mechanical module loaded on the first electronic device for receiving user input, for example, the mechanical input may be a mechanical slider, a touch pad, a mechanical joystick, or the like.
Optionally, the first input is an operation input of the mechanical input end by a user. For example, in a case that the mechanical input end is a mechanical slide button, if the user wants to control the selection focus in the screen-casting application interface to move upwards, the first input may be an input that the user controls the mechanical slide button to slide upwards, and if the user wants to trigger the first electronic device to perform an operation corresponding to the control selected by the selection focus, the first input may be an input that the user clicks a central area of the mechanical slide button.
Optionally, the interface control information may include at least one of: the method comprises the steps that an application identifier of a screen projection application, position information of a first control and input information of a user to a mechanical input end of first electronic equipment are obtained; the first control is a control currently selected by the selection focus, and the input information is operation information of a user on the mechanical input end or indication information corresponding to the operation information.
Optionally, the indication information may include at least one of: and controlling the selection focus to be transferred to other controls from the first control, and controlling the first electronic equipment to execute the operation corresponding to the first control.
The above "the input information is operation information of the mechanical input end by the user, or indication information corresponding to the operation information" means that the interface control information may include the first input or indication information corresponding to the first input. That is to say, the first electronic device may directly send the first input to the second electronic device, or may convert the first input into corresponding instruction information and send the corresponding instruction information to the second electronic device. For example, the first input is taken as the user control for the mechanical slide button to slide upwards. The first electronic device can send 'the user controls the mechanical slide button to slide upwards' to the second electronic device, and after the second electronic device receives the information, the information is converted into 'the control selection focus moves upwards'; or the first electronic device may also send "control selection focus to move up" directly to the second electronic device.
And 102, the second electronic device determines interface configuration information of the screen projection application corresponding to the screen projection application interface, and generates interface display information corresponding to the interface control information according to the interface configuration information.
Specifically, after receiving the interface control information, the second electronic device may determine interface configuration information of the screen projection application according to an application identifier of the screen projection application in the interface control information, where the interface configuration information may include control configuration information in the screen projection application, that is, a control type, a control position, a control function, and the like in each functional interface. Then, the second electronic device may generate interface display information based on the interface configuration information, the position information of the first control, and the input information of the user to the mechanical input end, where the interface display information may be used to instruct the first electronic device to adjust the display of the screen projection application interface.
Illustratively, the input information of the mechanical input end by the user is used as "control selection focus moves upwards". As shown in fig. 2, a display interface of the first electronic device is used for screen projection, where the display interface includes a control 1, a control 2, a control 3, and a selection focus 21. After receiving the interface control information, the second electronic device may determine interface configuration information, where the interface configuration information includes the position information of the control 1, the position information of the control 2, and the position information of the control 3, and then, the second electronic device may determine, according to the interface control information, that the first control is the control 2, and determine that the user wants to control the selection focus to move upward, so that the second electronic device may generate interface display information in which the selection focus is located at the control 1.
Optionally, before determining interface configuration information of a screen-casting application corresponding to the screen-casting application interface, the second electronic device may obtain the interface configuration information of the screen-casting application, where the interface configuration information is determined based on historical operation information of the screen-casting application by the user.
Specifically, before the second electronic device determines the interface configuration information of the screen projection application, the first electronic device may send historical operation information, which is used by a user for the screen projection application in a screen touch manner, to a server of the screen projection application, so that the server generates the interface configuration information of the screen projection application according to the historical operation information, and then the server may send the interface configuration information to the second electronic device, or the second electronic device may obtain the interface configuration information from the server after receiving the interface control information.
Based on the scheme, the second electronic device can acquire the interface configuration information of the screen-projecting application in advance, so that when the interface control information of the screen-projecting application is received, the interface display information can be generated according to the interface configuration information.
And 103, the second electronic device sends interface display information to the first electronic device.
Accordingly, the first electronic device receives interface display information from the second electronic device.
And step 104, the first electronic equipment adjusts the display of the screen projection application interface according to the interface display information.
Optionally, after receiving the interface display information, the first electronic device may adjust the display of the screen projection application interface according to the interface display information. Specifically, under the condition that the input information indicates that the selection focus is transferred from the first control to the second control, the selection focus on the first control is cancelled and displayed on the second control; and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
Illustratively, a screen projection application is taken as a call application. The first control may be an answering control, the second control may be a hang-up control, and if the user wants to hang up the call, the input information may include information indicating that the selection focus is transferred from the answering control to the hang-up control and information displaying an interface corresponding to the hang-up control. The first electronic device can cancel the selection focus on the display answering control, display the selection focus on the hang-up control, and then display the interface after the call is hung up.
Based on the scheme, different interface display information can be acquired according to different input information, and the interface of the screen projection application is displayed according to the acquired interface display information, so that the screen projection application is not required to be adapted to the mechanical input end, and a user can control the screen projection application through the input of the mechanical input end.
Optionally, the interface configuration information may include configuration information of all controls in all functional interfaces of the screen-casting application; configuration information of part of the controls in all the functional interfaces of the screen projection application can also be included.
Optionally, under the condition that the interface configuration information includes configuration information of a part of controls, before the first electronic device sends interface control information corresponding to the first input to the second electronic device, the first electronic device may obtain historical operation information of a user on a control in the screen-casting application; determining the position information of a target control according to the historical operation information, wherein the target control is a control with the user operation times larger than a first threshold value; generating interface configuration information according to the position information of the target control; and finally, sending the interface configuration information to the second electronic equipment.
That is, the first electronic device may filter out the controls with the number of user operations greater than the first threshold, and generate interface configuration information of the controls. For example, if the functional interface of the screen-casting application includes 10 controls, where the number of user operations of 6 controls is greater than the first threshold, the first electronic device may generate only interface configuration information of the 6 controls, and when the user wants to select the focus to move, the selection focus may move among the 6 controls.
Optionally, the first electronic device may send the acquired historical operation information to the server, and then the server determines the position information of the target control according to the historical operation information, and generates interface configuration information according to the position information of the target control.
Optionally, if the user wants to control the control whose operation times of the user selected by the selection focus is less than or equal to the first threshold, the interface configuration information may be switched by target input to the mechanical input end, so that the selection focus may be moved again among the 10 controls.
Based on the scheme, the control frequently used by the user can be determined, and the interface configuration information is generated according to the control frequently used by the user, so that when the first electronic device generates the interface display information according to the interface configuration information, the efficiency of controlling the selection focus to move by the user can be improved.
In the embodiment of the application, because the interface configuration information includes control configuration information of the screen-projecting application, the interface display information corresponding to the interface control information can be directly generated based on the interface configuration information under the condition that the screen-projecting application does not adapt to the mechanical input end, and the screen-projecting application does not need to adapt to the mechanical input end of the first electronic device, so that the problems of high adaptation difficulty and high input cost of the screen-projecting application can be solved.
As shown in fig. 3, an embodiment of the present application provides a screen projection control method, which may be applied to a first electronic device, where the first electronic device may be a vehicle-mounted terminal. The method may comprise steps 301-302:
step 301, under the condition that a screen projection application interface projected by a second electronic device is displayed in the first electronic device, if a first input of a user to a mechanical input end is received, sending interface control information corresponding to the first input to the second electronic device.
Optionally, the interface control information may include at least one of: the application identification of the screen projection application, the position information of the first control and the input information of the user to the mechanical input end; the first control is a control currently selected by a selection focus, and the input information is operation information of the mechanical input end by the user or indication information corresponding to the operation information.
Step 302, interface display information from the second electronic device is received, and display of the screen projection application interface is adjusted according to the interface display information.
The interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
Optionally, the adjusting the display of the screen projection application interface according to the interface display information includes: under the condition that the input information indicates that the selection focus is transferred from the first control to a second control, canceling the display of the selection focus on the first control and displaying the selection focus on the second control; and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
Optionally, before the interface control information corresponding to the first input is sent to the second electronic device, the method further includes: acquiring historical operation information of the user on a control in the screen projection application; determining position information of a target control according to the historical operation information, wherein the target control is a control with the user operation times larger than a first threshold value; generating the interface configuration information according to the position information of the target control; and sending the interface configuration information to the second electronic equipment.
In this embodiment of the application, after receiving a first input to the mechanical input end by a user, interface control information corresponding to the first input may be sent to the second electronic device, interface display information corresponding to the interface control information, which is generated by the second electronic device according to the interface configuration information, may be received, and display of the screen-projecting application interface may be adjusted according to the interface display information. Under the condition that the screen projection application does not adapt to the mechanical input end, the user can trigger the screen projection application to display the target interface by inputting the mechanical input end, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
As shown in fig. 4, an embodiment of the present application provides a screen projection control method, which may be applied to a second electronic device, where the second electronic device may be a user terminal. The method may comprise steps 401-403:
step 401, receiving interface control information sent by a first electronic device when a screen projection application interface projected by a second electronic device is displayed in the first electronic device, where the interface control information is used to instruct a user to control the screen projection application interface to adjust displayed information.
Step 402, determining interface configuration information of the screen projection application corresponding to the screen projection application interface, and generating interface display information corresponding to the interface control information according to the interface configuration information.
Step 403, sending the interface display information to the first electronic device.
The interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
In the embodiment of the application, under the condition that the interface configuration information of the screen projection application is determined, interface display information corresponding to the interface control information sent by the first electronic device is generated according to the interface configuration information, and the interface display information is sent to the first electronic device, so that the first electronic device adjusts the display of the screen projection application interface. Because the interface configuration information comprises control configuration information in the screen projection application, interface display information corresponding to the interface control information can be generated directly based on the interface configuration information, and the screen projection application does not need to adapt to the mechanical input end of the first electronic device, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
In the screen projection control method provided in the embodiment of the present application, the execution subject may be a screen projection control device, or a control module in the screen projection control device for executing the screen projection control method. In the embodiment of the present application, a screen projection control method executed by a screen projection control device is taken as an example, and the screen projection control device provided in the embodiment of the present application is described.
As shown in fig. 5, an embodiment of the present application further provides a screen projection control device 500, including: a first communication module 501 and a display module 502; the first communication module 501 is configured to, when a screen-casting application interface projected by a second electronic device is displayed in the first electronic device, send interface control information corresponding to a first input to the second electronic device if the first input to a mechanical input end by a user is received; the first communication module 501 is further configured to receive interface display information from the second electronic device; the display module 502 is configured to adjust display of the screen projection application interface according to the interface display information; the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
Optionally, the interface control information includes at least one of: the application identification of the screen projection application, the position information of the first control and the input information of the user to the mechanical input end; the first control is a control currently selected by a selection focus, and the input information is operation information of the mechanical input end by the user or indication information corresponding to the operation information.
Optionally, the display module 502 is specifically configured to, in a case that the input information indicates that the selection focus is transferred from the first control to a second control, cancel displaying the selection focus on the first control, and display the selection focus on the second control; and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
Optionally, with continued reference to fig. 5, the apparatus 500 further includes a first processing module 503; the first processing module 503 is configured to obtain historical operation information of the user on a control in the screen-casting application; determining position information of a target control according to the historical operation information, wherein the target control is a control with the user operation times larger than a first threshold value; generating the interface configuration information according to the position information of the target control; the first communication module 501 is further configured to send the interface configuration information to the second electronic device.
In this embodiment of the application, after receiving a first input to the mechanical input end by a user, interface control information corresponding to the first input may be sent to the second electronic device, interface display information corresponding to the interface control information, which is generated by the second electronic device according to the interface configuration information, may be received, and display of the screen-projecting application interface may be adjusted according to the interface display information. Under the condition that the screen projection application does not adapt to the mechanical input end, the user can trigger the screen projection application to display the target interface by inputting the mechanical input end, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
As shown in fig. 6, an embodiment of the present application further provides a screen projection control device 600, including: a second communication module 601 and a second processing module 602; the second communication module 601 is configured to receive interface control information sent by a first electronic device when a screen-casting application interface projected by a second electronic device is displayed in the first electronic device, where the interface control information is used to instruct a user to control the screen-casting application interface to adjust displayed information; the second processing module 602 is configured to determine interface configuration information of a screen projection application corresponding to the screen projection application interface, and generate interface display information corresponding to the interface control information according to the interface configuration information; the second communication module 601 is further configured to send the interface display information to the first electronic device; the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
In the embodiment of the application, under the condition that the interface configuration information of the screen projection application is determined, interface display information corresponding to the interface control information sent by the first electronic device is generated according to the interface configuration information, and the interface display information is sent to the first electronic device, so that the first electronic device adjusts the display of the screen projection application interface. Because the interface configuration information comprises control configuration information in the screen projection application, interface display information corresponding to the interface control information can be generated directly based on the interface configuration information, and the screen projection application does not need to adapt to the mechanical input end of the first electronic device, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
The screen projection control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screen projection control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The screen projection control device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above-mentioned screen projection control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device or an in-vehicle display apparatus for implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The electronic device shown in fig. 8 may be the first electronic device or the second electronic device in the above method embodiment.
When the electronic device shown in fig. 8 is the first electronic device in the above method embodiment:
the network module 1002 is configured to, when a screen-casting application interface projected by a second electronic device is displayed in the first electronic device, send interface control information corresponding to a first input to the second electronic device if the first input to the mechanical input end by the user is received.
The network module 1002 is further configured to receive interface display information from the second electronic device.
A display unit 1006, configured to adjust display of the screen projection application interface according to the interface display information; the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
In this embodiment of the application, after receiving a first input to the mechanical input end by a user, interface control information corresponding to the first input may be sent to the second electronic device, interface display information corresponding to the interface control information, which is generated by the second electronic device according to the interface configuration information, may be received, and display of the screen-projecting application interface may be adjusted according to the interface display information. Under the condition that the screen projection application does not adapt to the mechanical input end, the user can trigger the screen projection application to display the target interface by inputting the mechanical input end, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
Optionally, the display unit 1006 is specifically configured to, in a case that the input information indicates that the selection focus is shifted from the first control to a second control, cancel displaying the selection focus on the first control, and display the selection focus on the second control; and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
In the embodiment of the application, different interface display information can be acquired according to different input information, and the interface of the screen projection application is displayed according to the acquired interface display information, so that the screen projection application is not required to be adapted to the mechanical input end, and a user can control the screen projection application through input of the mechanical input end.
When the electronic device shown in fig. 8 is the second electronic device in the above method embodiment:
the network module 1002 is configured to receive interface control information sent by a first electronic device when a screen-projecting application interface projected by a second electronic device is displayed in the first electronic device, where the interface control information is used to instruct a user to control the screen-projecting application interface to adjust displayed information.
The processor 1010 is configured to determine interface configuration information of a screen projection application corresponding to the screen projection application interface, and generate interface display information corresponding to the interface control information according to the interface configuration information.
The network module 1002 is further configured to send the interface display information to the first electronic device; the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
In the embodiment of the application, under the condition that the interface configuration information of the screen projection application is determined, interface display information corresponding to the interface control information sent by the first electronic device is generated according to the interface configuration information, and the interface display information is sent to the first electronic device, so that the first electronic device adjusts the display of the screen projection application interface. Because the interface configuration information comprises control configuration information in the screen projection application, interface display information corresponding to the interface control information can be generated directly based on the interface configuration information, and the screen projection application does not need to adapt to the mechanical input end of the first electronic device, so that the problems of high adaptation difficulty and high input cost of the screen projection application can be solved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned screen projection control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned screen projection control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A screen projection control method is applied to first electronic equipment and comprises the following steps:
under the condition that a screen projection application interface projected by second electronic equipment is displayed in the first electronic equipment, if first input of a user to a mechanical input end is received, interface control information corresponding to the first input is sent to the second electronic equipment;
receiving interface display information from the second electronic equipment, and adjusting the display of the screen projection application interface according to the interface display information;
the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
2. The screen projection control method of claim 1, wherein the interface control information comprises at least one of:
the application identification of the screen projection application, the position information of the first control and the input information of the user to the mechanical input end;
the first control is a control currently selected by a selection focus, and the input information is operation information of the mechanical input end by the user or indication information corresponding to the operation information.
3. The screen projection control method of claim 2, wherein the adjusting the display of the screen projection application interface according to the interface display information comprises:
under the condition that the input information indicates that the selection focus is transferred from the first control to a second control, canceling the display of the selection focus on the first control and displaying the selection focus on the second control;
and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
4. The screen-projection control method of any one of claims 1-3, wherein before sending interface control information corresponding to the first input to the second electronic device, the method further comprises:
acquiring historical operation information of the user on a control in the screen projection application;
determining position information of a target control according to the historical operation information, wherein the target control is a control with the user operation times larger than a first threshold value;
generating the interface configuration information according to the position information of the target control;
and sending the interface configuration information to the second electronic equipment.
5. A screen projection control method is applied to a second electronic device and comprises the following steps:
receiving interface control information sent by first electronic equipment under the condition that a screen projection application interface projected by second electronic equipment is displayed in the first electronic equipment, wherein the interface control information is used for indicating a user to control the screen projection application interface to adjust displayed information;
determining interface configuration information of screen projection application corresponding to the screen projection application interface, and generating interface display information corresponding to the interface control information according to the interface configuration information;
sending the interface display information to the first electronic equipment;
the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
6. A screen projection control device, comprising: the display device comprises a first communication module and a display module;
the first communication module is used for sending interface control information corresponding to a first input to the second electronic equipment if the first input of a user to a mechanical input end is received under the condition that a screen projection application interface projected by the second electronic equipment is displayed in the first electronic equipment;
the first communication module is further used for receiving interface display information from the second electronic equipment;
the display module is used for adjusting the display of the screen projection application interface according to the interface display information;
the interface display information is display information corresponding to the interface control information and generated according to interface configuration information, the interface configuration information comprises control configuration information in a screen projection application, and the screen projection application is an application corresponding to the screen projection application interface.
7. The screen-projection control device of claim 6, wherein the interface control information comprises at least one of:
the application identification of the screen projection application, the position information of the first control and the input information of the user to the mechanical input end;
the first control is a control currently selected by a selection focus, and the input information is operation information of the mechanical input end by the user or indication information corresponding to the operation information.
8. The screen-projection control device of claim 7, wherein the display module is specifically configured to cancel the display of the selection focus on the first control and display the selection focus on the second control if the input information indicates that the selection focus is shifted from the first control to the second control; and displaying an interface corresponding to the first control under the condition that the input information indicates that the operation corresponding to the first control is executed.
9. The screen-projection control device of any one of claims 6-8, wherein the device further comprises a first processing module;
the first processing module is used for acquiring historical operation information of the user on a control in the screen projection application; determining position information of a target control according to the historical operation information, wherein the target control is a control with the user operation times larger than a first threshold value; generating the interface configuration information according to the position information of the target control;
the first communication module is further configured to send the interface configuration information to the second electronic device.
10. A screen projection control device, comprising: the second communication module and the second processing module;
the second communication module is configured to receive interface control information sent by the first electronic device when a screen projection application interface projected by the second electronic device is displayed in the first electronic device, where the interface control information is used to instruct a user to control the screen projection application interface to adjust displayed information;
the second processing module is used for determining interface configuration information of the screen projection application corresponding to the screen projection application interface and generating interface display information corresponding to the interface control information according to the interface configuration information;
the second communication module is further configured to send the interface display information to the first electronic device;
the interface display information is used for indicating the first electronic equipment to adjust the display of the screen projection application interface, and the interface configuration information comprises control configuration information in the screen projection application.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen projection control method according to any one of claims 1-4 or claim 5.
12. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the screen projection control method according to any one of claims 1 to 4 or 5.
CN202111307461.XA 2021-11-05 2021-11-05 Screen projection control method and device, electronic equipment and storage medium Pending CN114217754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111307461.XA CN114217754A (en) 2021-11-05 2021-11-05 Screen projection control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111307461.XA CN114217754A (en) 2021-11-05 2021-11-05 Screen projection control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114217754A true CN114217754A (en) 2022-03-22

Family

ID=80696632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111307461.XA Pending CN114217754A (en) 2021-11-05 2021-11-05 Screen projection control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114217754A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105051494A (en) * 2013-03-15 2015-11-11 苹果公司 Mapping application with several user interfaces
CN111016651A (en) * 2019-12-10 2020-04-17 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle-mounted equipment, extensible vehicle-mounted display screen and control method
CN111506282A (en) * 2020-04-21 2020-08-07 深圳市鸿合创新信息技术有限责任公司 Display parameter adjusting method and device, connecting equipment and storage medium
CN112019897A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112406726A (en) * 2019-08-23 2021-02-26 比亚迪股份有限公司 Vehicle and display method and device for vehicle
CN113419697A (en) * 2021-06-17 2021-09-21 Oppo广东移动通信有限公司 Screen projection method, screen projection device, electronic equipment, vehicle machine and screen projection system
CN113467691A (en) * 2020-03-31 2021-10-01 上海博泰悦臻网络技术服务有限公司 Interaction method, device and system based on vehicle display screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105051494A (en) * 2013-03-15 2015-11-11 苹果公司 Mapping application with several user interfaces
CN112406726A (en) * 2019-08-23 2021-02-26 比亚迪股份有限公司 Vehicle and display method and device for vehicle
CN111016651A (en) * 2019-12-10 2020-04-17 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle-mounted equipment, extensible vehicle-mounted display screen and control method
CN113467691A (en) * 2020-03-31 2021-10-01 上海博泰悦臻网络技术服务有限公司 Interaction method, device and system based on vehicle display screen
CN111506282A (en) * 2020-04-21 2020-08-07 深圳市鸿合创新信息技术有限责任公司 Display parameter adjusting method and device, connecting equipment and storage medium
CN112019897A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN113419697A (en) * 2021-06-17 2021-09-21 Oppo广东移动通信有限公司 Screen projection method, screen projection device, electronic equipment, vehicle machine and screen projection system

Similar Documents

Publication Publication Date Title
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN111601066B (en) Information acquisition method and device, electronic equipment and storage medium
CN112399006B (en) File sending method and device and electronic equipment
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112083854A (en) Application program running method and device
CN112911147A (en) Display control method, display control device and electronic equipment
CN112433693A (en) Split screen display method and device and electronic equipment
CN111813305A (en) Application program starting method and device
CN112269509B (en) Information processing method and device and electronic equipment
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN113721876A (en) Screen projection processing method and related equipment
CN113190143A (en) Interface display method and device, electronic equipment and medium
CN112416199A (en) Control method and device and electronic equipment
US10613622B2 (en) Method and device for controlling virtual reality helmets
CN112269510B (en) Information processing method and device and electronic equipment
CN113138786B (en) Application updating method and device
CN113807831A (en) Payment method and device
CN113778311A (en) Operation method and device and electronic equipment
CN114217754A (en) Screen projection control method and device, electronic equipment and storage medium
CN113784192A (en) Screen projection method, screen projection device and electronic equipment
CN113190162A (en) Display method, display device, electronic equipment and readable storage medium
CN112765508A (en) Information display method and device and electronic equipment
EP3736665A1 (en) Method and device for controlling application and computer-readable storage medium

Legal Events

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