CN116540913A - Window cross-screen device and method based on android system and storage medium - Google Patents

Window cross-screen device and method based on android system and storage medium Download PDF

Info

Publication number
CN116540913A
CN116540913A CN202310402995.3A CN202310402995A CN116540913A CN 116540913 A CN116540913 A CN 116540913A CN 202310402995 A CN202310402995 A CN 202310402995A CN 116540913 A CN116540913 A CN 116540913A
Authority
CN
China
Prior art keywords
screen
dragging
display screen
cross
target
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
CN202310402995.3A
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.)
Nanjing Desai Xiwei Automobile Electronics Co ltd
Original Assignee
Nanjing Desai Xiwei Automobile Electronics 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 Nanjing Desai Xiwei Automobile Electronics Co ltd filed Critical Nanjing Desai Xiwei Automobile Electronics Co ltd
Priority to CN202310402995.3A priority Critical patent/CN116540913A/en
Publication of CN116540913A publication Critical patent/CN116540913A/en
Pending legal-status Critical Current

Links

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/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/0486Drag-and-drop
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention relates to the technical field of display screen application programs, in particular to a window screen-crossing device and method based on an android system and a storage medium. The display screen comprises at least two display screens, each display screen comprises a processor and a cross-screen control, and the cross-screen control comprises: the system comprises an encapsulation module, a dragging detection module, a target selection module and a dragging control module, wherein after an application program on a current display screen is encapsulated through a cross-screen control, a processor displays the application program on the current display screen on the target display screen in a cross-screen mode according to dragging input of a user in a cross-screen direction of the target display screen. According to the invention, the application program in the vehicle-mounted display screen based on the android system is subjected to interface encapsulation through the original cross-screen control, so that the function of dragging one interface from one screen to another screen on the android system is realized, the requirements of UI cross-screen sliding and display are met, and the problem that the current vehicle-mounted display screen based on the android system cannot perform cross-screen display is solved.

Description

Window cross-screen device and method based on android system and storage medium
Technical Field
The invention relates to the technical field of display screen application programs, in particular to a window screen-crossing device and method based on an android system and a storage medium.
Background
The current vehicle cabin entertainment system mainly uses an Android (Android system, a class of operating systems) system, and the Android system is designed for a mobile phone, for example, only one hardware display device is generally supported, only one system supports single-user operation, and the like. With the development of cockpit technology, the Android vehicle-mounted system needs to be deeply customized according to the requirements of users, such as customizing wide screen display, multi-screen display, cross-screen display, supporting multi-user operation and the like.
Because the Android native system cannot support the cross-screen display of a single window, when a personal computer is used, the Android native system can support an extended display screen, and a user can freely drag one window to another screen or the window can be displayed in a cross-screen manner; with the development of intelligent cabins, more and more display screens are provided on the vehicle, and dragging of windows is supported, but an Android system cannot support dragging of one window to another window, so that user experience is greatly affected.
Disclosure of Invention
The invention provides a window cross-screen device, a method and a storage medium based on an Android system, which are used for solving the technical problem that a current vehicle-mounted entertainment system based on the Android system cannot carry out cross-screen dragging among multiple screens.
In order to solve the technical problems, the technical scheme of the invention is as follows:
the utility model provides a window cross-screen device based on android system, includes two at least display screens, the display screen all includes treater and cross-screen control, cross-screen control includes:
the packaging module is used for packaging the interface layout of the application program on the display screen;
the dragging detection module is used for identifying external dragging input and judging whether the packaged application program enters a state capable of dragging across screens according to the dragging input;
the target selection module is used for associating the target display screen with the current display screen and determining the dragging direction; and
the dragging control module is used for realizing interface drawing, moving animation and cross-screen state callback of a screen when the screen is crossed according to the dragging state of the packaged application program;
and the processor is used for calling the drag detection module, the target selection module and the drag control module to perform the cross-screen display operation on the application program on the current display screen to the target display screen according to the drag input of the user after the application program on the current display screen is packaged through the cross-screen control.
Further, the cross-screen control further comprises a screenshot control module, wherein the screenshot control module is used for obtaining a screenshot of the current application program interface, and the screenshot is used for being displayed on a target display screen in the cross-screen dragging process.
Furthermore, the target selection module can realize the association between the current display screen and a plurality of target display screens, and realize the cross-screen display of different target display screens through different dragging directions.
Further, the dragging direction includes one or more dragging directions of up, down, left, and right directions of the current display screen.
Further, the cross-screen control further comprises a coordinate conversion module, wherein the coordinate conversion module is used for monitoring the touch position change of the current user, converting the current touch coordinate into an offset to the initial touch position and outputting the offset to the packaging module and the dragging control module.
The invention also provides a window screen-crossing method based on the android system, which is applied to the window screen-crossing device based on the android system, and comprises the following steps:
packaging the interface layout of the application program in the display screen through a packaging module;
acquiring and monitoring the triggering condition of the interface cross-screen dragging input of the application program;
after triggering a cross-screen dragging condition, determining a target display screen according to a dragging direction;
during the screen crossing period, a screenshot exceeding the current display screen interface is created through the dragging control module and displayed on the target screen, and after the dragging is completed, data callback is carried out, and the interface of the application program is redrawn on the target screen.
Further, the determining the target display screen according to the dragging direction includes:
defining a target display screen corresponding to each dragging direction of the current display screen through a dragging control module;
and a cross-screen dragging process for determining the target display screen in a dragging direction.
Further, the creating, by the drag control module, the screenshot exceeding the current display screen interface to be displayed on the target screen includes:
acquiring information of a target screen, and drawing a screenshot of a display picture exceeding the current display screen interface in the dragging process in real time through a dragging control module;
the screenshot is displayed on the target screen.
Further, the cross-screen dragging comprises two picture display modes of manual dragging and automatic moving, wherein the manual dragging is used for adjusting the movement of a picture of an application program interface between a current display screen and a target display screen in real time according to user dragging input; and the automatic moving display mode switches the action of the picture of the application program interface between the current display screen and the target display screen by moving the animation.
Further, the redrawing the interface forming the application program on the target screen includes:
when the application program is completely invisible on the current display screen, ending the cross-screen operation;
sending a program callback to the application program, and hiding an application program picture of the current display screen;
drawing a new application program interface on the target display screen, hiding the screenshot on the target display screen and displaying the new application program interface.
The invention also provides a storage medium, wherein the storage medium is stored with a computer program, and the computer program realizes the window screen-crossing method based on the android system when being executed by a processor.
According to the invention, the application programs in the vehicle-mounted display screen based on the android system are subjected to interface encapsulation through the original cross-screen control, and the cross-screen sliding of the vehicle-mounted entertainment system of a plurality of physical/virtual screens can be realized through the cross-screen control, so that the function of dragging one interface from one screen to another screen on the android system is realized, the requirements of UI cross-screen sliding and display are met, and the problem that the current vehicle-mounted display screen based on the android system cannot perform cross-screen display is solved.
Drawings
Fig. 1 is a structural block diagram of a window cross-screen device based on an android system in an embodiment of the invention.
Fig. 2 is a structural flow chart of a window cross-screen method based on an android system in an embodiment of the invention.
FIG. 3 is a diagram illustrating a cross-screen motion display screen interface change according to an embodiment of the present invention.
FIG. 4 is a flow chart showing the detailed structure of the first sub-step in the embodiment of the present invention.
FIG. 5 is a flow chart showing the construction of a second sub-step in an embodiment of the present invention.
FIG. 6 is a flow chart showing the construction of a second sub-step in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The same or similar reference numerals in the drawings of the embodiments of the present application correspond to the same or similar components; in the description of the present application, it should be understood that, if there is an orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "top", "bottom", "inner", "outer", etc., based on the orientation or positional relationship shown in the drawings, this is merely for convenience of describing the present application and simplifying the description, and does not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in the specific orientation, so that the words describing the positional relationship in the drawings are merely for illustration and are not to be construed as limiting the present patent.
Furthermore, the terms "first," "second," and the like, if any, are used for descriptive purposes only and are primarily for distinguishing between different devices, elements, or components (the particular categories and configurations may be the same or different) and are not intended to indicate or imply relative importance or quantity of the devices, elements, or components indicated, but are not to be construed as indicating or implying relative importance.
Example 1
Fig. 1 shows a block diagram of a window cross-screen device based on an android system in an embodiment of the invention.
Referring to fig. 1, the present embodiment provides a window cross-screen device based on an android system, which is used for implementing a cross-screen operation in a vehicle-mounted entertainment system, where window cross-screen refers to moving an application program of one display screen 110 of the vehicle-mounted entertainment system onto a display window of another display screen 110 by dragging the display window of the display screen 110. The window cross-screen device is based on an installation system and specifically comprises at least two display screens 110, and in view of the fact that more display screens 110 are available in the current vehicle-mounted entertainment system, the window cross-screen device in the embodiment can move and display application programs on different target display screens from the interfaces of the current display screens 110, so that the display screens 110 in the embodiment are not limited to two, the number of the display screens 110 can be adjusted according to automobile requirements, and the application programs can be defined to be moved to the corresponding target display screens in a matching relation mode.
In a specific arrangement, the display screen 110 in this embodiment includes a processor 120 and a cross-screen control 130, where the processor 120 is configured to complete data processing during a cross-screen period of the window cross-screen device, and receive an input instruction of a user, for example, drag an application program on a current display screen by a touch manner, and after receiving the touch information, the processor 120 determines whether a cross-screen condition is met, so as to control the cross-screen control 130 to perform a corresponding operation.
The cross-screen control 130 includes at least an encapsulation module 131, a drag detection module 132, a target selection module 133, and a drag control module 134. In terms of functions, the packaging module 131 is mainly used for packaging the interface layout of the application program on the display screen 110, in the packaging process, the application program in the display screen 110 only needs to use the packaging module 131 in the cross-screen control 130 to perform interface layout, after packaging is completed, all operations are packaged by the subsequent cross-screen control 130, other requirements on the interface of the application program are avoided, and the application program can be normally used as a common packaging layout control and does not need to perform operations in other aspects.
The drag detection module 132 is mainly configured to identify external drag input, determine whether to make the packaged application enter a state capable of dragging across screens according to the drag input, for example, the processor 120 identifies the drag input through the drag detection module 132, and if the drag input operation determines that the drag input operation meets the condition of across screens, then enter a subsequent operation across screens. In particular, the drag detection module 132 determines whether the drag state is currently required to be entered, and the drag state is realized as "long-press" by default, and of course, the determination condition may be adjusted accordingly according to the user setting, for example, a specific gesture is defined, and gesture determination is performed by the gesture detection monitor, so as to realize other gesture state detection, such as double-click, sliding, and the like. When the cross-screen control 130 is set in an initial state or a default state, the application program is not draggable, and the user must enter a draggable state to move the sub-interface along with the dragging action of the user.
During the cross-screen operation, the processor 120 primarily utilizes the target selection module 133 to associate the target display screen with the current display screen and determine the drag direction. For example, if there are four display screens 110, the positions of the target display screens are defined in the up, down, left and right directions, the target screen is determined according to the dragging direction of the user, and the cross-screen operation of the application program interface is performed on the target screen. Since the screen installation positions will be different in different projects, the embodiment is not limited to specific settings, and can define the target display screens respectively represented by the top, bottom, left and right of the current screen and the information of the display screen 110 according to the requirements, so as to determine the target screen with the dragging direction and the moving direction and the position of the application program interface in the process of performing the cross-screen operation.
During the screen crossing period, the processor 120 controls the screen crossing action through the drag control module 134, specifically, after determining that the target display screen is good, the drag control module 134 determines, according to the drag information of the user, the interface drawing, the moving animation and the screen crossing state callback of the screen during the screen crossing. Specifically, during the screen crossing period, the normal interface drawing flow is adopted for drawing on the original screen, the screen capturing of the hidden part on the current display screen is obtained by drawing on the target screen through the dragging control module 134, a display window is created after the feedback information of the target screen is obtained, and then the screen capturing content is displayed on the target screen.
Preferably, the cross-screen control 130 further includes a screenshot control module, where the generation of the screenshot content can be obtained by the screenshot control module, and when the user starts dragging, the screenshot control module updates the position of the application program interface according to the position of the finger of the user, and when the interface has exceeded the current display screen, the exceeding part needs to be displayed on the target screen. For example, if the user drags to the right, the exceeding part is displayed on the corresponding target screen on the right side, and the exceeding part on the right side is intercepted by the screenshot control module and then displayed on the target screen.
To ensure that the target screen display and the display effect of the original screen appear as a seamless whole, the display position of the updated screen capture window on the target screen needs to be calculated according to the x, y coordinates of the encapsulation module 131 on the source screen. For this purpose, the cross-screen control 130 preferably further includes a coordinate conversion module for monitoring a touch position change of the current user, converting the current touch coordinate into an offset to the start touch position, and outputting the offset to the encapsulation module 131 and the drag control module 134.
In this embodiment, in a complete cross-screen operation process, after the window cross-screen device encapsulates the application program on the current display screen through the cross-screen control 130, the processor 120 displays the application program on the current display screen on the target display screen in a cross-screen manner according to the drag input of the user in the cross-screen direction of the target display screen.
The method has the advantages that the application programs in the vehicle-mounted display screen based on the android system are subjected to interface encapsulation through the original cross-screen control 130, and the cross-screen sliding of the vehicle-mounted entertainment system with a plurality of physical/virtual screens can be realized through the cross-screen control 130, so that the function of dragging one interface from one screen to another screen on the android system is realized, the requirements of UI cross-screen sliding and display are met, and the problem that the current vehicle-mounted display screen based on the android system cannot be subjected to cross-screen display is solved.
Preferably, the object selection module 133 is capable of associating a current display screen with a plurality of object display screens and implementing cross-screen display of different object display screens through different dragging directions. The drag directions include one or more of up, down, left, and right directions of the current display screen.
Example two
Referring to fig. 2, the present embodiment further provides a window screen-crossing method based on an android system, where the window screen-crossing method is based on the window screen-crossing device in the first embodiment, and is used to implement a window screen-crossing operation of application program interfaces on two vehicle-mounted display screens in a vehicle-mounted entertainment system, and specifically the method includes:
201. and packaging the interface layout of the application program in the display screen through a packaging module.
As the basis of the cross-screen operation, the display screen in the vehicle-mounted entertainment system encapsulates the internal application program through the encapsulation module, the encapsulation process is the same as the normal encapsulation process, and when the interface of the application program is encapsulated through the encapsulation module of the cross-screen control, the processor can perform the operations of creating, dragging, screenshot, hiding and the like on the encapsulated application program interface through the cross-screen control in the subsequent cross-screen process.
202. And acquiring and monitoring the triggering condition of the interface cross-screen dragging input of the application program.
In the use process of the display screen, the processor acquires the input of a user, wherein the input comprises but is not limited to touch input, voice input and action gesture input, the cross-screen control identifies whether the input confirms the dragging cross-screen action, in the identification, the cross-screen operation is in a settable state, if the current cross-screen operation is in a closed state, the identification action is not performed, if the cross-screen operation is in an open state, the input is judged, and whether the user performs the dragging cross-screen action is confirmed.
203. And after triggering the cross-screen dragging condition, determining a target display screen according to the dragging direction.
After confirming the initiation of the cross-screen action, the processor confirms a target display screen with the input information, wherein the target display screen is the equipment to be displayed after the application program crosses the screen. In this embodiment, the determination is determined according to a dragging direction of the user to the application program, for example, if the user drags the sub-interface from left to right to move and submerge in the edge of the current display screen, and in definition, the action corresponds to the direction as the display screen of the first target, then in the process of the cross-screen operation, the application program interface of the current display screen is moved to the display screen of the first target.
204. During the screen crossing period, a screenshot exceeding the current display screen interface is created through the dragging control module and displayed on the target screen, and after the dragging is completed, data callback is carried out, and the interface of the application program is redrawn on the target screen.
In the process of the cross-screen operation, the processor acquires a screenshot of the application program interface dragged by the current display screen, wherein the screenshot is specifically a part of the sub-interface at the hidden part of the current display screen, which is immersed in the edge of the display screen. During the cross-screen period, the screenshot is displayed on the corresponding position of the target display screen in real time. Referring to fig. 3, fig. 3 shows a schematic diagram of a screen-crossing operation between an active screen and a target screen, including an interface state of an application program before, during and after the screen-crossing, before the screen-crossing, a processor acquires a drag input, during the screen-crossing, a screen-crossing control is used to capture a screen and display the screen on the target display screen, after the screen-crossing is completed, the application program on the current display screen is hidden, and an interface of the application program is created on the target display screen, so as to realize a multi-screen-crossing action of the application program interface.
Referring to fig. 4, in this embodiment, the step of determining the target display screen according to the dragging direction specifically includes:
301. and defining a target display screen corresponding to each dragging direction of the current display screen through a dragging control module.
302. And a cross-screen dragging process for determining the target display screen in a dragging direction.
If a plurality of display screens exist in the vehicle-mounted entertainment system, defining a target display screen in each direction of the current display screen in a defined mode, and determining the target display screen according to the dragging direction.
Referring to fig. 5, in this embodiment, the step of creating, by the drag control module, a screenshot exceeding the current display screen interface to be displayed on the target screen includes:
401. and acquiring information of the target screen, and drawing a screenshot of a display picture exceeding the current display screen interface in the dragging process in real time through a dragging control module.
402. The screenshot is displayed on the target screen.
Preferably, the screenshot action principle is that a bitmap is created, then the screenshot content of the sub-interface is filled in the bitmap object to return, and then the bitmap object is copied into the target display screen.
Preferably, the cross-screen dragging comprises two screen display modes of manual dragging and automatic moving, wherein the manual dragging is used for adjusting the movement of a screen of an application program interface between a current display screen and a target display screen in real time according to user dragging input; the automatic moving display mode switches the action of the picture of the application program interface between the current display screen and the target display screen through moving the animation. The manual dragging judges the position deviation delta x1 between the current position and the position of the user when the touch starts by monitoring the touch position information of the user on the display screen, and then invokes a program and sets the offset on the interface to realize the effect that the application program moves along with the movement of the finger touch position. In the automatic screen-crossing process, if the user does not drag slowly but moves the application from the original screen to the target screen quickly, a screen-crossing animation needs to be automatically played, and an animation display function needs to be adopted to realize animation display of the interface of the target and the original two display screens.
Referring to fig. 6, redrawing an interface forming the application on a target screen includes:
501. when the application program is completely invisible on the current display screen, ending the cross-screen operation;
502. sending a program callback to the application program, and hiding an application program picture of the current display screen;
503. drawing a new application program interface on the target display screen, hiding the screenshot on the target display screen and displaying the new application program interface.
When the user continues dragging, the application program interface is completely invisible on the source display screen, the cross-screen operation is finished, and the screenshot of the window on the target screen is completely displayed on the target screen at the moment, and the cross-screen operation is finished. At this time, the processor informs the application program of the state of the end of the cross-screen through the callback function, and after receiving the callback of the end of the cross-screen, the processor can perform corresponding processing.
Example III
The present embodiment discloses a storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a window cross-screen method based on the android system described in embodiment 2.
It is to be understood that the above examples of the present invention are provided by way of illustration only and are not intended to limit the scope of the invention. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are desired to be protected by the following claims.

Claims (11)

1. The utility model provides a window cross screen device based on android system which characterized in that includes at least two display screens, the display screen all includes treater and cross screen control, cross screen control includes:
the packaging module is used for packaging the interface layout of the application program on the display screen;
the dragging detection module is used for identifying external dragging input and judging whether the packaged application program enters a state capable of dragging across screens according to the dragging input;
the target selection module is used for associating the target display screen with the current display screen and determining the dragging direction; and
the dragging control module is used for realizing interface drawing, moving animation and cross-screen state callback of a screen when the screen is crossed according to the dragging state of the packaged application program;
and the processor is used for calling the drag detection module, the target selection module and the drag control module to perform the cross-screen display operation on the application program on the current display screen to the target display screen according to the drag input of the user after the application program on the current display screen is packaged through the cross-screen control.
2. The android system-based window cross-screen apparatus of claim 1, wherein the cross-screen control further comprises a screenshot control module, the screenshot control module being configured to obtain a screenshot of a current application interface, the screenshot being configured to be displayed on a target display screen during a cross-screen dragging process.
3. The android system-based window screen-crossing device of claim 1, wherein the target selection module is capable of achieving association between a current display screen and a plurality of target display screens and achieving screen-crossing display of different target display screens through different dragging directions.
4. The android system-based window cross-screen apparatus of claim 3, wherein said dragging directions comprise one or more of up, down, left, right directions of a current display screen.
5. The android system-based window screen-crossing device according to claim 3, wherein the screen-crossing control further comprises a coordinate conversion module, wherein the coordinate conversion module is used for monitoring the touch position change of a current user, converting the current touch coordinate into an offset to a starting touch position and outputting the offset to the packaging module and the dragging control module.
6. The window screen-crossing method based on the android system is characterized by being applied to a window screen-crossing device based on the android system, and comprises the following steps:
packaging the interface layout of the application program in the display screen through a packaging module;
acquiring and monitoring the triggering condition of the interface cross-screen dragging input of the application program;
after triggering a cross-screen dragging condition, determining a target display screen according to a dragging direction;
during the screen crossing period, a screenshot exceeding the current display screen interface is created through the dragging control module and displayed on the target screen, and after the dragging is completed, data callback is carried out, and the interface of the application program is redrawn on the target screen.
7. The android system-based window screen-crossing method of claim 6, wherein said determining a target display screen according to a dragging direction comprises:
defining a target display screen corresponding to each dragging direction of the current display screen through a dragging control module;
and a cross-screen dragging process for determining the target display screen in a dragging direction.
8. The android system-based window cross-screen method of claim 6, wherein said creating, by the drag control module, a screenshot display beyond a current display screen interface onto a target screen comprises:
acquiring information of a target screen, and drawing a screenshot of a display picture exceeding the current display screen interface in the dragging process in real time through a dragging control module;
the screenshot is displayed on the target screen.
9. The android system-based window screen-crossing method of claim 6, wherein the screen-crossing dragging comprises two screen display modes of manual dragging and automatic moving, wherein the manual dragging is used for adjusting the movement of a screen of an application program interface between a current display screen and a target display screen in real time according to user dragging input; and the automatic moving display mode switches the action of the picture of the application program interface between the current display screen and the target display screen by moving the animation.
10. The android system-based window screen-crossing method of claim 6, wherein redrawing an interface forming the application program on the target screen comprises:
when the application program is completely invisible on the current display screen, ending the cross-screen operation;
sending a program callback to the application program, and hiding an application program picture of the current display screen;
drawing a new application program interface on the target display screen, hiding the screenshot on the target display screen and displaying the new application program interface.
11. A storage medium having stored thereon a computer program which, when executed by a processor, implements the android system-based window cross-screen method of any of claims 6-10.
CN202310402995.3A 2023-04-14 2023-04-14 Window cross-screen device and method based on android system and storage medium Pending CN116540913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310402995.3A CN116540913A (en) 2023-04-14 2023-04-14 Window cross-screen device and method based on android system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310402995.3A CN116540913A (en) 2023-04-14 2023-04-14 Window cross-screen device and method based on android system and storage medium

Publications (1)

Publication Number Publication Date
CN116540913A true CN116540913A (en) 2023-08-04

Family

ID=87451478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310402995.3A Pending CN116540913A (en) 2023-04-14 2023-04-14 Window cross-screen device and method based on android system and storage medium

Country Status (1)

Country Link
CN (1) CN116540913A (en)

Similar Documents

Publication Publication Date Title
CN109164964B (en) Content sharing method and device, terminal and storage medium
CN110678834B (en) Apparatus, method and graphical user interface for accessing notifications
EP3842905B1 (en) Icon display method and apparatus, terminal and storage medium
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US20230021260A1 (en) Gesture instruction execution method and apparatus, system, and storage medium
CN111954862A (en) Apparatus, method and graphical user interface for system level behavior of 3D models
US11507261B2 (en) Suspend button display method and terminal device
US10572017B2 (en) Systems and methods for providing dynamic haptic playback for an augmented or virtual reality environments
JP2022031339A (en) Display method and device
CN110658971B (en) Screen capturing method and terminal equipment
CN111078076A (en) Application program switching method and electronic equipment
CN109857289B (en) Display control method and terminal equipment
CN110851053A (en) Apparatus, method and graphical user interface for system level behavior of 3D models
CN108920069B (en) Touch operation method and device, mobile terminal and storage medium
CN110825295B (en) Application program control method and electronic equipment
CN109491562A (en) A kind of interface display method and terminal device of voice assistant application program
CN109800045A (en) A kind of display methods and terminal
CN111026480A (en) Content display method and electronic equipment
CN111459350B (en) Icon sorting method and device and electronic equipment
CN105549829B (en) A kind of setting project processing method and its device
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
CN114115673B (en) Control method of vehicle-mounted screen
CN115129214A (en) Display device and color filling method
TW202144984A (en) Equipment control method and device, storage medium and electronic equipment
CN109857292B (en) Object display method and terminal equipment

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