CN113127101A - Application program control method, device, equipment and medium - Google Patents

Application program control method, device, equipment and medium Download PDF

Info

Publication number
CN113127101A
CN113127101A CN202110534883.4A CN202110534883A CN113127101A CN 113127101 A CN113127101 A CN 113127101A CN 202110534883 A CN202110534883 A CN 202110534883A CN 113127101 A CN113127101 A CN 113127101A
Authority
CN
China
Prior art keywords
display
application program
interface
control
target 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
CN202110534883.4A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110534883.4A priority Critical patent/CN113127101A/en
Publication of CN113127101A publication Critical patent/CN113127101A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

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

Abstract

The embodiment of the disclosure relates to a method, a device, equipment and a medium for controlling an application program, wherein the method comprises the following steps: starting a target application program, storing display data in a display interface of the target application program in a local place, and displaying the display interface of the target application program in a first display; and receiving a display switching request, and switching the display interface from the first display to the second display for displaying. By adopting the technical scheme, the display data of the application program is stored in the local terminal, when the application program is switched between two different displays, the display interface of the application program can be directly switched and displayed, the display interface of the application program can not be changed due to the change of the displays before and after the switching, the seamless switching between the two different displays is realized, the data loss caused by the switching is avoided, and the switching display efficiency is improved.

Description

Application program control method, device, equipment and medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling an application program.
Background
Along with the development of the intelligent terminal technology, the intelligent terminal can improve the display effect of the application program through an external display.
At present, when a display interface of an application program is switched between an intelligent terminal and an external display, a process needs to be closed and restarted, the speed is low, and the problems of data loss and display interface change are caused.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the present disclosure provides a method, an apparatus, a device and a medium for controlling an application program.
The embodiment of the disclosure provides a control method of an application program, which comprises the following steps:
starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and receiving a display switching request, and switching the display interface from the first display to a second display for displaying.
The embodiment of the present disclosure further provides a control device for an application program, where the device includes:
the first display module is used for starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and the second display module is used for receiving a display switching request and switching the display interface from the first display to the second display for displaying.
An embodiment of the present disclosure further provides an electronic device, which includes: a processor; a memory for storing the processor-executable instructions; the processor is used for reading the executable instructions from the memory and executing the instructions to realize the control method of the application program provided by the embodiment of the disclosure.
The embodiment of the disclosure also provides a computer-readable storage medium, which stores a computer program for executing the control method of the application program provided by the embodiment of the disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the control scheme of the application program, the target application program is started, the display data in the display interface of the target application program is stored locally, and the display interface of the target application program is displayed in the first display; and receiving a display switching request, and switching the display interface from the first display to the second display for displaying. By adopting the technical scheme, the display data of the application program is stored in the local terminal, when the application program is switched between two different displays, the display interface of the application program can be directly switched and displayed, the display interface of the application program can not be changed due to the change of the displays before and after the switching, the seamless switching between the two different displays is realized, the data loss caused by the switching is avoided, and the switching display efficiency is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a control method for an application according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another control method for an application according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a display interface provided by an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of another display interface provided by embodiments of the present disclosure;
fig. 5 is a schematic structural diagram of a control device of an application according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
With the improvement of the performance of the intelligent terminal, for example, the mobile phone hardware includes a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a memory, and the like, the performance is continuously improved, and the mobile phone can improve the display effect through an external display.
At present, the process is usually adopted to distinguish the local display from the external display, and when the application program is switched between the local display and the external display, the process needs to be killed and restarted. However, when the application programs of the intelligent terminal are displayed on the external display, the data structures are all on the external display, that is, the data structures are strongly related to the external display, and when the external display is removed, the data structures corresponding to the application programs lose carriers and cannot exist independently; if the process is not killed, the application program has an interface display problem because the application program can cache some data in the external display, such as a currently displayed screen and the like, and when the display is switched, the information of the previous screen can be mistaken when the application program reuses the display. For example, when the application program plays a video on the external display, after switching to the local display, the process of the application program needs to be closed and the application program displayed on the local display needs to be restarted, and at this time, the video cannot be played continuously. Therefore, when the application program is switched between the two displays, the speed is slow and data is lost, which causes the change of the display interface. In order to solve the above problem, embodiments of the present disclosure provide a method for controlling an application program, and the method is described below with reference to specific embodiments.
Fig. 1 is a flowchart illustrating a method for controlling an application according to an embodiment of the present disclosure, where the method may be performed by a control apparatus of the application, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method includes:
step 101, starting the target application program, storing display data in a display interface of the target application program in a local area, and displaying the display interface of the target application program in a first display.
The target application may be any one of application programs included in the terminal device, and the type and the number of the target application programs are not limited in the embodiment of the present disclosure, for example, the target application program may be a video program, a reading program, an instant messaging program, and the like. The first display may be a display connected to the terminal device, in this embodiment of the present disclosure, the terminal device may configure a local display and connect to an external display, and the first display may be the local display or the external display.
In the embodiment of the disclosure, the terminal device may start the target application program based on a trigger operation of a user, store display data of the target application program locally, and display the display data in a display interface of the target application program in a local display or an external display, where a specific display may be selected by the user. The display data refers to related display content that the target application includes and needs to be displayed, and the specific data type is not limited, for example, the display data may include video, audio, and/or text, and for example, when the target application is a video program, the display data may be one piece of video data. And the display data in the embodiment of the disclosure is stored in the local of the terminal device, and is sent to the corresponding display for displaying when the display is needed.
Optionally, when the first display is an external display, displaying a display interface of the target application program in the first display, including: and based on display parameters of the local display and the external display, displaying the display interface of the target application program in the external display after zooming adjustment, wherein the display parameters comprise pixel size, resolution and aspect ratio.
The display parameters in the embodiment of the present disclosure may include pixel size, resolution, aspect ratio, and the like, where the resolution refers to the number of pixels in a unit distance or area, and the pixel size refers to the number of pixels that can be displayed most in width and height of the display. Local display parameters refer to parameters for a local display. Specifically, when the first display is an external display, after a target application program is started, display parameters of a local display and the external display can be acquired, the display parameters of a display interface of the target application program are the same as those of the local display, and the display parameters of the display interface of the target application program are displayed in the external display after the pixel size of the display interface of the target application program is scaled in an equal proportion according to the display parameters of the external display. The resolution and the aspect ratio of the display interface of the target application program after zooming are the same as the display parameters of the local display, but the pixel size is different, and the pixel size of the display interface of the target application program is smaller than that of the external display, so that the display interface of the target application program can be displayed in the external display.
At present, because the resolution of an external display of a terminal device is usually different from that of a local display, and the design of a user interface of an application program is generally based on the display design of the terminal device itself, for example, the external display is designed based on a mobile phone, and the display of the application program in the external display is usually horizontal screen display, but horizontal screen application at the present stage is very few, and a third-party application program is displayed on the external display, because the adaptability and compatibility are not high, display problems may be caused, for example, stretching deformation of the display interface, inconsistent layout, no opening of the display interface, and the like, and problems of resource loading errors, incapability of running of the application program, and the like are serious.
In the scheme, for the local display and the external display, the display interface of the application program is displayed according to the resolution ratio and the aspect ratio of the local display, and only the size is zoomed, so that the display effect on the external display is completely consistent with that of the local display, the compatibility effect is greatly improved, the display problem is avoided, and the display effect is improved.
And 102, receiving a display switching request, and switching a display interface from the first display to the second display for displaying.
The second display is another display different from the first display, the first display is a local display, and the second display is an external display; or the first display is an external display, and the second display is a local display; or the first display and the second display are two different external displays, which is not limited specifically. The display switching request is a request for switching the display of the display content.
In the embodiment of the present disclosure, receiving a display switching request may include: and receiving a display switching request based on the starting triggering operation of the target application program on the second display by the user. The start triggering operation refers to a triggering operation for starting the target application program, and the specific operation type is not limited, for example, the start triggering operation may be a click operation. Specifically, after the terminal device displays the display interface of the target application program on the first display, when it is detected that the user starts the trigger operation on the target application program on the second display, it may be determined that the display switching request is received. And then, closing the display interface of the target application program on the first display, sending the display data to the second display, and displaying the display interface of the target application program on the second display, wherein the display interface comprises the display data.
Because the display data is weakly associated with the specific display, the problem of data loss is not caused when the display is switched, and the efficiency and the display effect of the switching display are improved.
In the embodiment of the present disclosure, the method for controlling an application program may further include: adjusting the display identification associated with the target application from the identification of the first display to the identification of the second display; and displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
The display identifier associated with the target application program is used for representing a display which is required to be displayed by a display interface of the target application program, and after the display interface of the target application program is displayed in the first display, the identifier of the first display can be associated with the target application program for subsequent event response, data display and the like; after the display interface of the target application program is switched from the first display to the second display, the display identifier associated with the target application program may be adjusted to be the identifier of the second display, and after the subsequent terminal device receives the trigger operation of the user on the target application program on the second display, the data to be displayed may be sent to the second display based on the identifier of the second display, and the data to be displayed may be displayed on the display interface of the target application program in the second display. The data to be displayed refers to the relevant data of the target application program which needs to be displayed on the second display based on the triggering of the user.
In the scheme, the display is associated with the application program to distinguish the application program, so that the terminal equipment performs data processing and display based on the display associated with the application program, and the display effect of the application program on different displays is ensured.
According to the control scheme of the application program, the target application program is started, the display data in the display interface of the target application program is stored locally, and the display interface of the target application program is displayed in the first display; and receiving a display switching request, and switching the display interface from the first display to the second display for displaying. By adopting the technical scheme, the display data of the application program is stored in the local terminal, when the application program is switched between two different displays, the display interface of the application program can be directly switched and displayed, the display interface of the application program can not be changed due to the change of the displays before and after the switching, the seamless switching between the two different displays is realized, the data loss caused by the switching is avoided, and the switching display efficiency is improved.
In some embodiments, the control method of the application program may further include: when the first display or the second display is an external display, a control cover layer is arranged on the uppermost layer of the external display through a control program; and receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request. Optionally, the external display displays a display interface of one or more applications, the control mask layer is invisible, and the control mask layer is disposed outside the display interface of the one or more applications.
The control program is an application program newly added in the terminal device and used for controlling the display effect on the external display. The control mask layer is an operation layer added on the external display by the control program and used for specifically realizing control operation, and the control mask layer is invisible, namely the transparency of the control mask layer can be set to be completely transparent to realize invisible effect.
Specifically, to external display, that is when first display or second display are external display, terminal equipment can set up a control covering layer through control program in the superiors of external display, can show the display interface of one or more application on the external display, this control covering layer can regard as the container canvas, put the display interface of one or more application, that is control covering layer can set up outside application's interface, do not shelter from application's interface, avoid disturbing the control to application inside. And then, the interface control request of the user can be received through the control covering layer, and the corresponding interface control operation is executed.
Optionally, the executing the interface control operation corresponding to the interface control request may include: and determining the display interface of the selected application program corresponding to the interface control request through the control cover layer, and executing interface control operation on the display interface of the selected application program. The selected application program is an application program corresponding to an interface control request in the application programs displayed in the external display, namely the application program corresponding to the user triggering operation. The interface control operation refers to a control operation implemented on a display effect of a display interface of an application program, and may specifically include multiple types of operations.
After receiving the interface control request, the control layer of the terminal device based on the control program may determine the display interface of the corresponding selected application program, and perform interface control operation on the display interface of the selected application program. Illustratively, when the video program is displayed in the external display, the user performs an operation of adjusting the position of the display interface on the video program.
Optionally, the control layer may further include a plurality of control components, and the control components are configured to perform interface control operations. The type of the control component may include various types, for example, the control component may include a closing component, a minimizing component, a maximizing component, and the like, and is not particularly limited. Through the operation of the control component, the control of the display interface of the application program below the control cover layer can be realized, and the operation type and the number of the aimed display interfaces are not limited.
In the above scheme, the display effect of the display interface of all the application programs displayed in the external display is controlled by setting the independent application program, so that the complex business logic can be stripped from the system of the terminal, the stability of the system is obviously improved, the control of the display effect of the application programs is facilitated, the display effects of various animations, interface switching logics and the like are facilitated, and the diversity of the display effect is improved.
Fig. 2 is a schematic flow chart of another control method for an application program according to an embodiment of the present disclosure, and the present embodiment further optimizes the control method for the application program on the basis of the foregoing embodiment. As shown in fig. 2, the method includes:
step 201, starting the target application program, storing the display data in the display interface of the target application program locally, and displaying the display interface of the target application program in the first display.
In an embodiment of the present disclosure, when the first display is an external display, displaying a display interface of the target application program in the first display may include: and based on display parameters of the local display and the external display, displaying the display interface of the target application program in the external display after zooming adjustment, wherein the display parameters comprise pixel size, resolution and aspect ratio.
Exemplarily, fig. 3 is a schematic diagram of a display interface provided by an embodiment of the present disclosure, fig. 4 is a schematic diagram of another display interface provided by an embodiment of the present disclosure, fig. 3 shows an external display 11 and a display interface 12 of an application before zooming, and fig. 4 shows the external display 11 and the display interface 13 of the application after zooming. As shown in fig. 3 and 4, the pixel size of the display interface of the application is 1080x2340, the pixel size of the external display is 1920x1080, and the height of the application before zooming exceeds that of the external display. The height 2340 of the display interface of the application can be scaled 780 by a scaling factor 780/2340-0.3333, and the width 1080 of the display interface of the corresponding application can be scaled 340, see fig. 4, and the pixel size of the display interface of the application after scaling is 340 × 780, which can be fully displayed in the external display, but the resolution and aspect ratio is the same as in the local display. The above scaling factors are only examples, and may be specifically adjusted according to actual situations.
Through zooming on the pixel size on the display interface of the application program, the display effect on the external display is completely consistent with that of the local display, the compatibility effect is greatly improved, the display problem is avoided, and the display effect is improved.
Step 201 may be followed by steps 202-203, and/or steps 206-207.
Step 202, receiving a display switching request based on a start triggering operation of the target application program on the second display by the user.
And step 203, switching the display interface from the first display to the second display for displaying.
The first display is a local display, and the second display is an external display; or the first display is an external display, and the second display is a local display; or the first display and the second display are two different external displays.
After step 203, steps 204-205, and/or steps 206-207 may be performed.
Step 204, adjusting the display identification associated with the target application program from the identification of the first display to the identification of the second display.
And step 205, displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
After step 205, step 206 may be performed.
And step 206, when the first display or the second display is an external display, arranging a control cover layer on the uppermost layer of the external display through a control program.
Optionally, the external display displays a display interface of one or more applications, the control mask layer is invisible, and the control mask layer is disposed outside the display interface of the one or more applications.
Step 206 may be performed before step 201, or may be performed after step 201, step 203, or step 205, which is not limited in particular.
And step 207, receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request.
Optionally, the control layer includes a plurality of control components, the control components are configured to perform interface control operations, and the interface control operations include at least one of switching an application focus, adjusting a position of the display interface, adjusting a size of the display interface, and closing the display interface.
According to the scheme, the display data of all the application programs are stored in the terminal equipment, the display interfaces of the application programs are all started according to the resolution ratio and the aspect ratio of the terminal equipment, the display interfaces of the application programs are correspondingly zoomed on the external display, and the application program special marks and the identifications need to be displayed on the external display. The display effect and the operation effect of the application program on the local display and the external display of the terminal are completely consistent, and the compatibility is greatly improved; and when the application program can be switched between the local display and the external display, the process does not need to be closed, seamless switching is realized, and data loss is avoided.
In addition, a control program can be added in the scheme for controlling the display of the display interface on the external display, and the system of the terminal equipment transfers the control right of all the display interfaces on the external display to the control program. The control program can add a full-screen invisible mask layer on the external display, intercept all operations aiming at the interface on the external display by the mask layer, and distribute the operations to other application programs of a lower layer according to specific demand scenes, such as application focus switching, application position dragging and the like. The cover layer can be used as a container canvas for placing display interfaces of one or more application programs, various control components can be added on the cover layer, such as title bars containing buttons of closing, minimizing, maximizing and the like, the control of the display interfaces of the application programs below the cover layer can be realized through the operation of the control components, the control type and the number of program windows of the operation are not limited, and the element components inside the application programs are not interfered. The display effect of the display interfaces of all the application programs in the external display is controlled by setting the independent application program, so that the complex business logic can be stripped from the system of the terminal, the stability of the system is obviously improved, and the processing of the display effect is facilitated, such as fillet adding, heating area increasing, various animations realization and the like.
According to the control scheme of the application program, the target application program is started, the display data in the display interface of the target application program is stored locally, and the display interface of the target application program is displayed in the first display; and receiving a display switching request, and switching the display interface from the first display to the second display for displaying. By adopting the technical scheme, the display data of the application program is stored in the local terminal, when the application program is switched between two different displays, the display interface of the application program can be directly switched and displayed, the display interface of the application program can not be changed due to the change of the displays before and after the switching, the seamless switching between the two different displays is realized, the data loss caused by the switching is avoided, and the switching display efficiency is improved.
Fig. 5 is a schematic structural diagram of a control device for an application program according to an embodiment of the present disclosure, where the control device may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 5, the apparatus includes:
the first display module 301 is configured to start a target application program, store display data in a display interface of the target application program locally, and display the display interface of the target application program in a first display;
the second display module 302 is configured to receive a display switching request, and switch the display interface from the first display to a second display for displaying.
Optionally, the apparatus further includes an identification module, configured to:
adjusting a display identification associated with the target application from an identification of the first display to an identification of the second display;
and displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
Optionally, the second display module 302 is specifically configured to:
and receiving the display switching request based on the starting triggering operation of the target application program on the second display by the user.
Optionally, when the first display is an external display, the first display module 301 is specifically configured to:
and displaying the display interface of the target application program in the external display after zooming adjustment is carried out on the display interface of the target application program based on display parameters of a local display and the external display, wherein the display parameters comprise pixel size, resolution and aspect ratio.
Optionally, the apparatus further includes a cover module configured to:
when the first display or the second display is an external display, a control cover layer is arranged on the uppermost layer of the external display through a control program;
and receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request.
Optionally, a display interface of one or more applications is displayed on the external display, the control mask layer is invisible, and the control mask layer is disposed outside the display interface of the one or more applications.
Optionally, the control cover layer includes a plurality of control components, the control components are configured to perform the interface control operation, and the interface control operation includes at least one of switching an application focus, adjusting a position of the display interface, adjusting a size of the display interface, and closing the display interface.
The control device of the application program provided by the embodiment of the disclosure can execute the control method of the application program provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and the computer program/instruction, when executed by a processor, implements the control method of the application program provided in any embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring specifically to fig. 6, a schematic diagram of an electronic device 400 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 400 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and fixed terminals such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 6 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the control method of the application program of the embodiment of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display; and receiving a display switching request, and switching the display interface from the first display to a second display for displaying.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of an application program, including:
starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and receiving a display switching request, and switching the display interface from the first display to a second display for displaying.
According to one or more embodiments of the present disclosure, the method for controlling an application program provided by the present disclosure further includes:
adjusting a display identification associated with the target application from an identification of the first display to an identification of the second display;
and displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
According to one or more embodiments of the present disclosure, in a control method of an application program provided by the present disclosure, receiving a display switching request includes:
and receiving the display switching request based on the starting triggering operation of the target application program on the second display by the user.
According to one or more embodiments of the present disclosure, in the control method of an application program provided by the present disclosure, when the first display is an external display, the displaying a display interface of a target application program in the first display includes:
and displaying the display interface of the target application program in the external display after zooming adjustment is carried out on the display interface of the target application program based on display parameters of a local display and the external display, wherein the display parameters comprise pixel size, resolution and aspect ratio.
According to one or more embodiments of the present disclosure, the method for controlling an application program provided by the present disclosure further includes:
when the first display or the second display is an external display, a control cover layer is arranged on the uppermost layer of the external display through a control program;
and receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request.
According to one or more embodiments of the present disclosure, in the application control method provided by the present disclosure, a display interface of one or more applications is displayed on the external display, the control mask layer is not visible, and the control mask layer is disposed outside the display interface of the one or more applications.
According to one or more embodiments of the present disclosure, in the control method of the application program provided by the present disclosure, the control mask layer includes a plurality of control components, the control components are configured to perform the interface control operation, and the interface control operation includes at least one of switching an application focus, adjusting a position of a display interface, adjusting a size of the display interface, and closing the display interface.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of an application program, including:
the first display module is used for starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and the second display module is used for receiving a display switching request and switching the display interface from the first display to the second display for displaying.
According to one or more embodiments of the present disclosure, in the control device of an application program provided in the present disclosure, the device further includes an identification module configured to:
adjusting a display identification associated with the target application from an identification of the first display to an identification of the second display;
and displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
According to one or more embodiments of the present disclosure, in the control device of an application program provided by the present disclosure, the second display module is specifically configured to:
and receiving the display switching request based on the starting triggering operation of the target application program on the second display by the user.
According to one or more embodiments of the present disclosure, in the control device of an application program provided by the present disclosure, when the first display is an external display, the first display module 301 is specifically configured to:
and displaying the display interface of the target application program in the external display after zooming adjustment is carried out on the display interface of the target application program based on display parameters of a local display and the external display, wherein the display parameters comprise pixel size, resolution and aspect ratio.
According to one or more embodiments of the present disclosure, in the control device of an application program provided by the present disclosure, the device further includes a covering module, configured to:
when the first display or the second display is an external display, a control cover layer is arranged on the uppermost layer of the external display through a control program;
and receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request.
According to one or more embodiments of the present disclosure, the present disclosure provides an application control apparatus, wherein a display interface of one or more applications is displayed on the external display, the control mask layer is not visible, and the control mask layer is disposed outside the display interface of the one or more applications.
According to one or more embodiments of the present disclosure, in the control device of the application program, the control mask layer includes a plurality of control components, the control components are configured to perform the interface control operation, and the interface control operation includes at least one of switching an application focus, adjusting a position of a display interface, adjusting a size of the display interface, and closing the display interface.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the control method of the application program according to any one of the methods provided by the disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the control method of an application program according to any one of the embodiments provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for controlling an application program, comprising:
starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and receiving a display switching request, and switching the display interface from the first display to a second display for displaying.
2. The method of claim 1, further comprising:
adjusting a display identification associated with the target application from an identification of the first display to an identification of the second display;
and displaying the data to be displayed of the target application program on a display interface of the target application program in the second display based on the identifier of the second display.
3. The method of claim 1, wherein receiving a display switch request comprises:
and receiving the display switching request based on the starting triggering operation of the target application program on the second display by the user.
4. The method of claim 1, wherein when the first display is an external display, the displaying the display interface of the target application in the first display comprises:
and displaying the display interface of the target application program in the external display after zooming adjustment is carried out on the display interface of the target application program based on display parameters of a local display and the external display, wherein the display parameters comprise pixel size, resolution and aspect ratio.
5. The method of claim 1, further comprising:
when the first display or the second display is an external display, a control cover layer is arranged on the uppermost layer of the external display through a control program;
and receiving an interface control request of a user through the control cover layer, and executing interface control operation corresponding to the interface control request.
6. The method of claim 5, wherein the external display displays a display interface of one or more applications, wherein the control mask is not visible, and wherein the control mask is disposed outside the display interface of the one or more applications.
7. The method of claim 5 or 6, wherein the control mask layer comprises a plurality of control components, and the control components are used for executing the interface control operation, and the interface control operation comprises at least one of switching application focuses, adjusting the position of a display interface, adjusting the size of the display interface, and closing the display interface.
8. An apparatus for controlling an application program, comprising:
the first display module is used for starting a target application program, storing display data in a display interface of the target application program locally, and displaying the display interface of the target application program in a first display;
and the second display module is used for receiving a display switching request and switching the display interface from the first display to the second display for displaying.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is used for reading the executable instructions from the memory and executing the instructions to realize the control method of the application program of any one of the claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the control method of the application program of any one of claims 1 to 7.
CN202110534883.4A 2021-05-17 2021-05-17 Application program control method, device, equipment and medium Pending CN113127101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110534883.4A CN113127101A (en) 2021-05-17 2021-05-17 Application program control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110534883.4A CN113127101A (en) 2021-05-17 2021-05-17 Application program control method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN113127101A true CN113127101A (en) 2021-07-16

Family

ID=76782057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110534883.4A Pending CN113127101A (en) 2021-05-17 2021-05-17 Application program control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113127101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI806677B (en) * 2022-06-23 2023-06-21 瑞昱半導體股份有限公司 Electronic system and display method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666056A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN112162666A (en) * 2020-09-24 2021-01-01 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN112256371A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Method and device for displaying information and electronic equipment
CN112256172A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Application display method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111666056A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN112162666A (en) * 2020-09-24 2021-01-01 北京字节跳动网络技术有限公司 Terminal control method and device, terminal and storage medium
CN112256371A (en) * 2020-10-20 2021-01-22 北京字跳网络技术有限公司 Method and device for displaying information and electronic equipment
CN112256172A (en) * 2020-10-20 2021-01-22 北京字节跳动网络技术有限公司 Application display method, device, terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI806677B (en) * 2022-06-23 2023-06-21 瑞昱半導體股份有限公司 Electronic system and display method

Similar Documents

Publication Publication Date Title
CN112261226B (en) Horizontal screen interaction method and device, electronic equipment and storage medium
CN111399956B (en) Content display method and device applied to display equipment and electronic equipment
CN114629882B (en) Information display method, apparatus, electronic device, storage medium, and program product
CN110784754A (en) Video display method and device and electronic equipment
CN111339418B (en) Page display method, page display device, electronic equipment and computer readable medium
CN111790148B (en) Information interaction method and device in game scene and computer readable medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
AU2021378007A9 (en) Trending display method and apparatus for electronic device, and storage medium
CN111309415B (en) User Interface (UI) information processing method and device of application program and electronic equipment
CN113721807B (en) Information display method and device, electronic equipment and storage medium
EP4435629A1 (en) Card display method and apparatus, electronic device, storage medium, and program product
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN113521728A (en) Cloud application implementation method and device, electronic equipment and storage medium
CN114422482B (en) Message sending method and device, electronic equipment and storage medium
CN114676358A (en) Control display method and device, electronic equipment, storage medium and program product
CN113766303B (en) Multi-screen interaction method, device, equipment and storage medium
EP4113446A1 (en) Sticker processing method and apparatus
CN113766293B (en) Information display method, device, terminal and storage medium
CN113127101A (en) Application program control method, device, equipment and medium
CN115515014B (en) Media content sharing method and device, electronic equipment and storage medium
CN113010300A (en) Image effect refreshing method and device, electronic equipment and computer readable storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN114419201B (en) Animation display method and device, electronic equipment and medium
CN115237530A (en) Information display method and device, electronic equipment and storage medium
CN116088738A (en) Interaction method, device, electronic equipment and 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