[go: up one dir, main page]

CN105824491B - A kind of split screen treating method and apparatus in a mobile device - Google Patents

A kind of split screen treating method and apparatus in a mobile device Download PDF

Info

Publication number
CN105824491B
CN105824491B CN201510553328.0A CN201510553328A CN105824491B CN 105824491 B CN105824491 B CN 105824491B CN 201510553328 A CN201510553328 A CN 201510553328A CN 105824491 B CN105824491 B CN 105824491B
Authority
CN
China
Prior art keywords
rotation
window
application program
mobile device
rotation process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510553328.0A
Other languages
Chinese (zh)
Other versions
CN105824491A (en
Inventor
黄毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510553328.0A priority Critical patent/CN105824491B/en
Publication of CN105824491A publication Critical patent/CN105824491A/en
Application granted granted Critical
Publication of CN105824491B publication Critical patent/CN105824491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a kind of split screen treating method and apparatus in a mobile device, there is the first application program and the second application program in a mobile device, first application program has first window, second application program has the second window, and current screen shows the first window;This method comprises: obtaining the first direction of rotation of first rotation process when detecting the first rotation process for the mobile device;The first window is reduced according to preset diminution ratio, according to first direction of rotation;In the region reduced after the first window, the second window of part is moved by screen according to the direction of rotation.Split screen display available of the embodiment of the present invention allows user while guaranteeing current application operation, realizes to the operation of another application, reduces and toggle the frequency between multiple application programs, substantially increase the simplicity of operation.

Description

A kind of split screen treating method and apparatus in a mobile device
Technical field
The present invention relates to the technical fields of mobile device, more particularly to a kind of split screen processing method in a mobile device With a kind of split screen processing unit in a mobile device.
Background technique
With the development of science and technology, the mobile devices such as various electronic equipments, especially mobile phone, tablet computer, in people The various aspects such as work, study, daily exchange utilization rate it is also higher and higher.
In order to meet the needs of various aspects such as people's work, study, daily exchange, people often install in a mobile device Multiple applications, for example, player, immediate communication tool, browser, mailbox client etc..
If user receives the message of other application operating when some application, such as received in player plays video The message of immediate communication tool, then user needs to exit current application, and click message enters other application and handled, and works as processing When completion, then by returning to operation starting current application.
This mode of operation, the message for dealing than more frequently message, especially immediate communication tool, needs more It is toggled between a application program, it is not only cumbersome, but also be easy to ignore the operation of current application.
Summary of the invention
In view of the above problems, the embodiment of the invention provides a kind of split screen processing methods in a mobile device and corresponding A kind of split screen processing unit in a mobile device to improve the simplicity of operation, and guarantees the operation of current application.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of split screen processing method in a mobile device, In There is the first application program and the second application program in mobile device, first application program has a first window, and described the Two application programs have the second window, and current screen shows the first window;
The described method includes:
When detecting the first rotation process for the mobile device, the first rotation of first rotation process is obtained Turn direction;
The first window is reduced according to preset diminution ratio, according to first direction of rotation;
In the region reduced after the first window, the second window of part is moved by screen according to the direction of rotation.
The embodiment of the invention also discloses a kind of split screen processing methods in a mobile device, have the in a mobile device One application program and the second application program, first application program have first window, and second application program has the Two windows, the second window of first window and part that current screen display is reduced;
The described method includes:
When detecting the first rotation process for the mobile device, the first rotation of first rotation process is obtained Turn direction;
Second window of part is removed into screen according to first direction of rotation;
In the region removed after second window, amplify the first window formerly reduced according to first direction of rotation Mouth is until cover screen.
The embodiment of the invention also discloses a kind of split screen processing methods in a mobile device, have the in a mobile device One application program and the second application program, first application program have first window, and second application program has the Two windows, current screen show the first window;
The described method includes:
When detecting the first rotation process for the mobile device, the first rotation of first rotation process is obtained Turn direction;
The first window is reduced according to preset diminution ratio, according to first direction of rotation;
In the region reduced after the first window, the second window of part is moved into according to first direction of rotation and is shielded Curtain;
When detecting the second rotation process for the mobile device, the second rotation of second rotation process is obtained Turn direction, and first direction of rotation is opposite with second direction of rotation;
Second window of part is removed into screen according to second direction of rotation;
In the region removed after second window, amplify the first window formerly reduced according to second direction of rotation Mouth is until cover screen.
The embodiment of the invention also discloses a kind of split screen processing units in a mobile device, have the in a mobile device One application program and the second application program, first application program have first window, and second application program has the Two windows, current screen show the first window;
Described device includes:
First direction of rotation obtains module, for obtaining when detecting the first rotation process for the mobile device Take the first direction of rotation of first rotation process;
First reduces module, for reducing described first according to preset diminution ratio, according to first direction of rotation Window;
First moves into module, in the region reduced after the first window, according to the direction of rotation by part Second window moves into screen.
The embodiment of the invention also discloses a kind of split screen processing units in a mobile device, have the in a mobile device One application program and the second application program, first application program have first window, and second application program has the Two windows, the second window of first window and part that current screen display is reduced;
Described device includes:
First direction of rotation obtains module, for obtaining when detecting the first rotation process for the mobile device Take the first direction of rotation of first rotation process;
First removes module, for second window of part to be removed screen according to first direction of rotation;
First amplification module, for being put according to first direction of rotation in the region removed after second window The first window of the big diminution is until cover screen.
The embodiment of the invention also discloses a kind of split screen processing units in a mobile device, have the in a mobile device One application program and the second application program, first application program have first window, and second application program has the Two windows, current screen show the first window;
Described device includes:
First direction of rotation obtains module, for obtaining when detecting the first rotation process for the mobile device Take the first direction of rotation of first rotation process;
First reduces module, for reducing described first according to preset diminution ratio, according to first direction of rotation Window;
First moves into module, for being incited somebody to action in the region reduced after the first window according to first direction of rotation The second window of part moves into screen;
Second direction of rotation obtains module, for obtaining when detecting the second rotation process for the mobile device The second direction of rotation of second rotation process is taken, and first direction of rotation is opposite with second direction of rotation;
First removes module, for second window of part to be removed screen according to second direction of rotation;
First amplification module, for being put according to second direction of rotation in the region removed after second window The first window formerly reduced greatly is until cover screen.
The embodiment of the present invention includes following advantages:
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
The embodiment of the present invention is amplified the first window of the first application program by rotation process, removes the second application program Second window realizes the split screen display available of the second window of the first window and the second application program of closing the first application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of split screen processing method embodiment 1 in a mobile device of the invention;
Fig. 2 is a kind of rotation process exemplary diagram of mobile device of the embodiment of the present invention;
Fig. 3 A- Fig. 3 D is a kind of display example figure of window of the embodiment of the present invention;
Fig. 4 is a kind of step flow chart of split screen processing method embodiment 2 in a mobile device of the invention;
Fig. 5 is a kind of step flow chart of split screen processing method embodiment 3 in a mobile device of the invention;
Fig. 6 is a kind of step flow chart of split screen processing method embodiment 4 in a mobile device of the invention;
Fig. 7 is a kind of step flow chart of split screen processing method embodiment 5 in a mobile device of the invention;
Fig. 8 is a kind of step flow chart of split screen processing method embodiment 6 in a mobile device of the invention;
Fig. 9 is a kind of structural block diagram of split screen processing device embodiment 1 in a mobile device of the invention;
Figure 10 is a kind of structural block diagram of split screen processing device embodiment 2 in a mobile device of the invention;
Figure 11 is a kind of structural block diagram of split screen processing device embodiment 3 in a mobile device of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step process of split screen processing method embodiment 1 in a mobile device of the invention is shown Figure.
It should be noted that the embodiment of the present invention can be applied in various mobile devices, for example, mobile phone, tablet computer, Personal digital assistant, wearable device (such as glasses, wrist-watch) etc., the embodiments of the present invention are not limited thereto.
The operating system of the mobile device may include Android (Android), IOS, Windows Phone, Windows etc. Deng the operation of various application programs can usually being supported, for example, player, immediate communication tool, browser, mailbox client Etc..
Most of applications are made of several or tens even more controls, other than main window, also There are various pop-up windows and the child window of customized pattern etc..
And in embodiments of the present invention, there is the first application program and the second application program in a mobile device.
Wherein, the first application program has first window, and the second application program has the second window, and current screen is shown The first window.
This method can specifically include following steps:
Step 101, when detecting the first rotation process for the mobile device, first rotation process is obtained The first direction of rotation;
In practical applications, when receiving the message of the second application program, adding in available second application program Carry the second window of the message.
By taking android system as an example, many information that can be applied by PUSH message, including an application program Default first interface of starting, i.e. MianActivity, that is, clicks the interface of some application program launching in desktop.
In embodiments of the present invention, the first window for currently showing the first application program, if receiving the second application program Message, then user can pass through moving in rotation equipment start split screen, access the second application program the second window, to the message It is handled.
For example, if receiving immediate communication tool (the second application when player (the first application program) played in full screen video Program) message, then user can start split screen with moving in rotation equipment, while show the window and immediate communication tool of player Window, while see video, side handles the message of immediate communication tool.
Android, IOS, Windows Phone, Windows etc. are the operating system of multitask, are to locate simultaneously Multiple application programs are managed, are the window for being displayed in full screen an application program, others application mostly in these operating systems Program is hung up on backstage.
And the basis based on multiple task operating system improves, and can show the window of multiple application programs simultaneously, and Multiple application programs are run simultaneously.
As shown in Fig. 2, the space where mobile device can be established to coordinate system, the reference axis of coordinate system be respectively X-axis, Y-axis and Z axis, the solid space that these three axis are constituted can detect the various rotation process occurred in mobile device.
In practical applications, in a mobile device, gyroscope or direction inductor device (such as triaxial accelerometer) can be passed through First rotation process of sensor senses user.
When sensor detects that the displacement of mobile device changes, a corresponding Sensor Events can be generated, and Sensor Events are an objects, can get this by sensor manager in the framework layer of mobile device Object, then send this object to the relevant application program of calling, at this moment which can obtain from the object Carve the amount of change in displacement caused by mobile device.
Furthermore, in order to avoid maloperation, it can be determined that whether the rotation angle of the first rotation process is more than default First angle threshold value;If so, indicating that user needs to start split screen, the first direction of rotation of the first rotation process is obtained;It is no Then, it indicates maloperation, does not need the first direction of rotation for obtaining the first rotation process.
Step 102, the first window is reduced according to preset diminution ratio, according to first direction of rotation;
In practical applications, being associated with for the direction of rotation of rotation process and the diminution direction of first window can be preset Relationship, then can search the diminution direction of first window according to the incidence relation, reduce first window along the diminution direction.
Direction of rotation can also be calculated in the component in screen vertical direction, reduce the second window along the direction of the component.
It is, of course, also possible to reduce first window using other modes, the embodiments of the present invention are not limited thereto.
As shown in Figure 3A, if current screen shows the first window 301 of the first application program, the second application program is obtained The second window 302.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3B, 301 equal proportion of first window of the first application program in Fig. 3 A can be contracted along the upper left corner It is small.
In a further mode of operation, mobile device enters in the left side in the user visual field.
It allows mobile device to rotate clockwise according to the Z axis plane of Fig. 2, or according to the Y-axis plane of Fig. 2, revolves clockwise Turn.
Then as shown in Figure 3 C, 301 equal proportion of first window of the first application program in Fig. 3 A can be contracted along the lower right corner It is small.
In addition, the first window of the first application program when being contracted to preset diminution ratio (such as 1/2), stops reducing.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService The diminution of (window management service) realization first window.
Step 103, in the region reduced after the first window, according to first direction of rotation by the second window of part Mouth moves into screen.
In practical applications, the direction of rotation and the second window that can preset rotation process move into the immigration side of screen To incidence relation, then can according to the incidence relation search the second window move into screen immigration direction, along the immigration direction Move into the second window.
Direction of rotation can also be calculated in the component in screen vertical direction, move into the second window along the direction of the component.
It is, of course, also possible to move into the second window using other modes, the embodiments of the present invention are not limited thereto.
As shown in Figure 3A, if current screen shows the first window 301 of the first application program, the second application program is obtained The second window 302.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3B, the second window 302 of the second application program can from the bottom of mobile device, be moved up into.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device to rotate clockwise according to the Z axis plane of Fig. 2, or according to the Y-axis plane of Fig. 2, revolves clockwise Turn.
Then as shown in Figure 3 C, the second window 302 of the second application program can from the top of mobile device, be moved downwardly into.
In addition, the second window of the second application program when moving into preset display scale (such as 1/2), stops moving into.
It should be noted that the display scale of the second window and the diminution ratio match of first window, the area of the two are rigid It is good that (certain side length of such as screen is certain side length of first window and the sum of certain side length of the second window) is matched with screen.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService (window management service) realizes the immigration of the second window.
Certainly, above-mentioned rotation mode is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other rotation modes are set, the embodiments of the present invention are not limited thereto.In addition, other than above-mentioned rotation mode, art technology Personnel can also use other rotation modes according to actual needs, and the embodiment of the present invention is also without restriction to this.
It should be noted that reducing the speed of first window by corresponding rotation angle (the i.e. rotation of the first rotation process Angle) it determines, the speed for moving into the second window is determined by corresponding rotation angle (i.e. the rotation angle of the first rotation process);
Specifically, rotation angle is bigger, the speed for reducing first window is bigger, and the speed for moving into the second window is bigger; Rotation angle is smaller, and the speed for reducing first window is smaller, and the speed for moving into the second window is smaller.
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
Furthermore, after moving into the second window, user can be operated the message of the second application program.
When detecting the touch event for the second window, touch event is sent to the second application program, by second Application program is responded.
For example, the player (the first application program) of diminution continues to play video after split screen, instant messaging has been moved into The window of tool (the second application program), then user can input information in the window, be replied.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
In addition, switching application program process of the embodiment of the present invention is a kind of continuous process, and not tomography, more to accord with The mode for sharing family thinking logic and behavioural habits goes to open span mode, i.e., by moving in rotation equipment, " " goes out split screen mould The window of another application program in formula, further promotes user experience.
Referring to Fig. 4, a kind of step process of split screen processing method embodiment 2 in a mobile device of the invention is shown Figure, can specifically include following steps:
Step 401, when detecting the second rotation process for the mobile device, second rotation process is obtained The second direction of rotation;
In embodiments of the present invention, if the second window of part of the second application program of display, is not easy to be operated, user It moving in rotation equipment can be continued through temporarily is displayed in full screen the second window of the second application program and be handled.
When i.e. the first direction of rotation is identical as the second direction of rotation, the first window of the first application program is continued to zoom out, and, Continue the second window of the second application program of immigration.
For example, if receiving immediate communication tool (the second application when player (the first application program) played in full screen video Program) message, then user can with moving in rotation equipment start split screen.
But since the message of immediate communication tool is longer, split screen display available is not easy to operate, then user can continue to rotate Mobile device is temporarily displayed in full screen the window of immediate communication tool.
It should be noted that the second window of the second application program of full screen display is normally display due to being temporary The first window of first application program, therefore, temporarily full frame may be considered special split screen state.
Furthermore, in order to avoid maloperation, it can be determined that whether the rotation angle of the second rotation process is more than default Second angle threshold value;If so, indicating that user needs to be displayed in full screen, the second direction of rotation of the second rotation process is obtained;It is no Then, it indicates maloperation, does not need the second direction of rotation for obtaining the second rotation process.
Step 402, first window is continued to zoom out according to second direction of rotation until exiting screen;
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3D, 301 equal proportion of first window of the first application program in Fig. 3 B can be contracted along the upper left corner It is small, until exiting screen.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device to rotate clockwise according to the Z axis plane of Fig. 2, or according to the Y-axis plane of Fig. 2, revolves clockwise Turn.
Then as shown in Figure 3D, 301 equal proportion of first window of the first application program in Fig. 3 C can be reduced along the lower right corner.
When being contracted to the ratio of a very little, the first window 301 of the first application program exits screen.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService The diminution of (window management service) realization first window.
Step 403, in the region reduced after the first window, continue to move into described the along second direction of rotation Two windows are until cover screen.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3D, immigration can be continued up for the second window 302 of the second application program shown in Fig. 3 B, Until cover screen.
In a further mode of operation, mobile device enters in the left side in the user visual field.
It allows mobile device to rotate clockwise according to the Z axis plane of Fig. 2, or according to the Y-axis plane of Fig. 2, revolves clockwise Turn.
Then as shown in Figure 3D, can continue to be moved downwardly into for the second window 302 of the second application program shown in Fig. 3 C, Until cover screen.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService (window management service) realizes the immigration of the second window.
Certainly, above-mentioned rotation mode is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other rotation modes are set, the embodiments of the present invention are not limited thereto.In addition, other than above-mentioned rotation mode, art technology Personnel can also use other rotation modes according to actual needs, and the embodiment of the present invention is also without restriction to this.
It should be noted that reducing the speed of first window by corresponding rotation angle (the i.e. rotation of the second rotation process Angle) it determines, the speed for moving into the second window is determined by corresponding rotation angle (i.e. the rotation angle of the second rotation process);
Specifically, rotation angle is bigger, the speed for reducing first window is bigger, and the speed for moving into the second window is bigger; Rotation angle is smaller, and the speed for reducing first window is smaller, and the speed for moving into the second window is smaller.
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
Furthermore, after moving into the second window, user can be operated the message of the second application program.
When detecting the touch event for the second window, the touch event is sent to the second application program, by Second application program is responded.
For example, (first applies journey to player after the window of full screen display immediate communication tool (the second application program) Sequence) it hangs up or moves into backstage, user can input information in the window, be replied.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Referring to Fig. 5, a kind of step process of split screen processing method embodiment 3 in a mobile device of the invention is shown Figure.
It should be noted that the embodiment of the present invention can be applied in various mobile devices, for example, mobile phone, tablet computer, Personal digital assistant, wearable device (such as glasses, wrist-watch) etc., the embodiments of the present invention are not limited thereto.
The operating system of the mobile device may include Android (Android), IOS, Windows Phone, Windows etc. Deng the operation of various application programs can usually being supported, for example, player, immediate communication tool, browser, mailbox client Etc..
Most of applications are made of several or tens even more controls, other than main window, also There are various pop-up windows and the child window of customized pattern etc..
And in embodiments of the present invention, there is the first application program and the second application program in a mobile device.
Wherein, the first application program has first window, and the second application program has the second window, and current screen is shown The second window of first window and part of diminution.
Step 501, when detecting the first rotation process for the mobile device, first rotation process is obtained The first direction of rotation;
In embodiments of the present invention, the of the first window of current the first application program of split screen display available and the second application program Two windows can close split screen by moving in rotation equipment if user has handled the message for completing the second application program.
For example, if mobile device split screen display available player (the first application program) and immediate communication tool (second applies journey Sequence), user sees on side video, and side handles the message of immediate communication tool, when the message for handling immediate communication tool is completed, then may be used Split screen is closed with moving in rotation equipment, is displayed in full screen player.
Android, IOS, Windows Phone, Windows etc. are the operating system of multitask, are to locate simultaneously Multiple application programs are managed, are the window for being displayed in full screen an application program, others application mostly in these operating systems Program is hung up on backstage.
And the basis based on multiple task operating system improves, and can show the window of multiple application programs simultaneously, and Multiple application programs are run simultaneously.
As shown in Fig. 2, coordinate system can be established in the space where mobile color equipment, the reference axis of coordinate system is respectively X Axis, Y-axis and Z axis, the solid space that these three axis are constituted can detect the various rotation process occurred in mobile device.
In practical applications, in a mobile device, gyroscope or direction inductor device (such as triaxial accelerometer) can be passed through First rotation process of sensor senses user.
When sensor detects that the displacement of mobile device changes, a corresponding Sensor Events can be generated, and Sensor Events are an objects, can get this by sensor manager in the framework layer of mobile device Object, then send this object to the relevant application program of calling, at this moment which can obtain from the object Carve the amount of change in displacement caused by mobile device.
In the concrete realization, the embodiment of the invention provides the maloperations that following manner avoids user.
One, judge the time of origin of the first rotation process, if after first window and the second window split screen display available In first time period;If so, refusing to respond the first rotation process.
In embodiments of the present invention, split screen display available can refer to, contract according to preset diminution ratio, according to third direction of rotation Small first window;
In the region reduced after first window, the second window of part is moved by screen according to third direction of rotation.
Wherein, the first direction of rotation can be opposite with third direction of rotation.
Refusing to respond the first rotation process can refer to that refusal closes split screen, be displayed in full screen the first window of the first application program Mouthful.
After a moving in rotation equipment carries out split screen before user, the mistake for returning to normal angled viewing is generally had Journey, this process may be considered rotation process, can be to avoid generation by refusing to respond the rotation process in first time period Mistakenly close split screen.
Two, judge the time of origin of the first rotation process, if carrying out touch control operation for the second window in split screen In second time period later;If so, refusing to respond the first rotation process.
In embodiments of the present invention, split screen display available can refer to, contract according to preset diminution ratio, according to third direction of rotation Small first window;
In the region reduced after first window, the second window of part is moved by screen according to third direction of rotation.
Wherein, the first direction of rotation can be opposite with third direction of rotation.
Refusing to respond the first rotation process can refer to that refusal closes split screen, be displayed in full screen the first window of the first application program Mouthful.
After a moving in rotation equipment carries out split screen before user, is operated in the second window, can indicate that user can It can need to stop in a second window, it, can be to avoid generation mistakenly by refusing to respond the rotation process in second time period Close split screen.
Three, whether the rotation angle for judging the first rotation process is more than preset first angle threshold value;If so, indicating to use Family needs to close split screen, obtains the first direction of rotation of the first rotation process;Otherwise, it indicates maloperation, does not need acquisition first First direction of rotation of rotation process.
Step 502, second window of part is removed by screen according to second direction of rotation;
In practical applications, the direction of rotation and the second window that can preset rotation process remove the removal side of screen To incidence relation, then can according to the incidence relation search the second window remove screen removal direction, along the immigration direction Remove the second window.
Direction of rotation can also be calculated in the component in screen vertical direction, remove the second window along the direction of the component.
It is, of course, also possible to remove the second window using other modes, the embodiments of the present invention are not limited thereto.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
Mobile device is allowed to rotate clockwise according to the Z axis plane of Fig. 2, alternatively, revolving clockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3A, the second window 302 of the second application program in Fig. 3 B can be moved to the bottom of mobile device Out.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3A, the second window 302 of the second application program in Fig. 3 C can be moved to the top of mobile device Out.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService (window management service) realizes the removal of the second window.
Step 503, in the region removed after second window, amplified according to second direction of rotation and formerly reduced First window until cover screen.
In practical applications, being associated with for the direction of rotation of rotation process and the amplification direction of first window can be preset Relationship, then can search the amplification direction of first window according to the incidence relation, amplify first window along the amplification direction.
Direction of rotation can also be calculated in the component in screen vertical direction, amplify the second window along the direction of the component.
It is, of course, also possible to amplify first window using other modes, the embodiments of the present invention are not limited thereto.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
Mobile device is allowed to rotate clockwise according to the Z axis plane of Fig. 2, alternatively, revolving clockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3A, 301 equal proportion of first window of the first application program in Fig. 3 B can be put along the lower right corner Greatly.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3A, 301 equal proportion of first window of the first application program in Fig. 3 C can be put along the upper left corner Greatly.
In addition, the first window of the first application program when being amplified to life size (being adapted to the size of screen), stops Amplification.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService The amplification of (window management service) realization first window.
Certainly, above-mentioned rotation mode is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other rotation modes are set, the embodiments of the present invention are not limited thereto.In addition, other than above-mentioned rotation mode, art technology Personnel can also use other rotation modes according to actual needs, and the embodiment of the present invention is also without restriction to this.
It should be noted that the speed of amplification first window is by corresponding rotation angle (the i.e. rotation of the first rotation process Angle) it determines, the speed for removing the second window is determined by corresponding rotation angle (i.e. the rotation angle of the first rotation process);
Specifically, rotation angle is bigger, the speed for amplifying first window is bigger, and the speed for removing the second window is bigger; Rotation angle is smaller, and the speed for amplifying first window is smaller, and the speed for removing the second window is smaller.
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
The embodiment of the present invention is amplified the first window of the first application program by rotation process, removes the second application program Second window realizes the split screen display available of the second window of the first window and the second application program of closing the first application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Referring to Fig. 6, a kind of step process of split screen processing method embodiment 4 in a mobile device of the invention is shown Figure, can specifically include following steps:
Step 601, when detecting the second rotation process for the mobile device, second rotation process is obtained The second direction of rotation;
Wherein, the first direction of rotation is identical as the second direction of rotation;
In embodiments of the present invention, if being temporarily displayed in full screen the second window of the second application program, when user handles completion, Temporary full frame, the first window of the first application program of split screen display available and the second application can be closed by moving in rotation equipment Second window of program.
For example, if split screen display available player (the first application program) and immediate communication tool (the second application program), due to The message of immediate communication tool is longer, and split screen display available is not easy to operate, then user can be displayed in full screen instant with moving in rotation equipment The window of communication tool.
If the message that user handles immediate communication tool is completed, temporarily complete can be closed with opposite direction moving in rotation equipment Screen, split screen display available player and immediate communication tool.
In the concrete realization, the embodiment of the invention provides the maloperations that following manner avoids user.
One, judge the time of origin of the second rotation process, if after first window and the second window split screen display available In first time period;If so, refusing to respond the second rotation process.
In embodiments of the present invention, split screen display available can refer to, according to the 4th direction of rotation continue to zoom out first window until Exit screen;In the region reduced after first window, continue to move into the second window according to the 4th direction of rotation until covering is shielded Curtain.
Wherein, the second direction of rotation is opposite with the 4th direction of rotation.
Refuse to respond the first rotation process can refer to refusal close it is temporary full frame, the of the first application program of split screen display available Second window of one window and the second application program.
After moving in rotation equipment carries out temporary full frame before user, generally has a returns normal angled and watch Process, this process may be considered rotation process, can be to avoid hair by refusing to respond the rotation process of second time period It is raw mistakenly close it is temporary full frame.
Two, judge the time of origin of the second rotation process, if carrying out touch control operation for the second window in split screen In second time period later;If so, refusing to respond the second rotation process.
In embodiments of the present invention, split screen display available can refer to, according to the 4th direction of rotation continue to zoom out first window until Exit screen;In the region reduced after first window, continue to move into the second window according to the 4th direction of rotation until covering is shielded Curtain.
Wherein, the second direction of rotation is opposite with the 4th direction of rotation.
Refuse to respond the second rotation process can refer to refusal close it is temporary full frame, the of the first application program of split screen display available Second window of one window and the second application program.
After a moving in rotation equipment is temporarily full frame before user, is operated in the second window, can indicate that user can It can need to stop in a second window, by refusing to respond the rotation process of second time period, can mistakenly be closed to avoid generation Close split screen.
Three, whether the rotation angle for judging the second rotation process is more than preset second angle threshold value;If so, then indicating User needs to close temporary full frame, the second direction of rotation of the second rotation process of acquisition;Otherwise, it indicates maloperation, does not need Obtain the second direction of rotation of the second rotation process.
Step 602, the second window of part of cover screen is removed by screen according to second direction of rotation;
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
Mobile device is allowed to rotate clockwise according to the Z axis plane of Fig. 2, alternatively, revolving clockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3B, the second window 302 of the second application program in Fig. 3 D can be moved to the bottom of mobile device Out.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3 C, the second window 302 of the second application program in Fig. 3 D can be moved to the top of mobile device Out.
In addition, the second window of the second application program when being moved to preset display scale (such as 1/2), stops moving into.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService (window management service) realizes the removal of the second window.
Step 603, in the region removed after second window, according to second direction of rotation amplification described first Window.
In a kind of rotation mode, mobile device enters on the right side in the user visual field.
Mobile device is allowed to rotate clockwise according to the Z axis plane of Fig. 2, alternatively, revolving clockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3B, the first window 301 of the first application program can enter screen with the ratio of a very little The upper left corner, then equal proportion is amplified along the lower right corner.
In another rotation mode, mobile device enters in the left side in the user visual field.
It allows mobile device according to the Z axis plane of Fig. 2, rotates counterclockwise, alternatively, being revolved counterclockwise according to the Y-axis plane of Fig. 2 Turn.
Then as shown in Figure 3 C, the first window 301 of the first application program can enter screen with the ratio of a very little The lower right corner, then equal proportion is amplified along the upper left corner.
In addition, the first window of the first application program when being amplified to preset diminution ratio (such as 1/2), stops amplification.
In practical applications, by taking android system as an example, mobile device can pass through WindowManagerService The amplification of (window management service) realization first window.
Certainly, above-mentioned rotation mode is intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation Other rotation modes are set, the embodiments of the present invention are not limited thereto.In addition, other than above-mentioned rotation mode, art technology Personnel can also use other rotation modes according to actual needs, and the embodiment of the present invention is also without restriction to this.
It should be noted that the speed of amplification first window is by corresponding rotation angle (the i.e. rotation of the second rotation process Angle) it determines, the speed for removing the second window is determined by corresponding rotation angle (i.e. the rotation angle of the second rotation process);
Specifically, rotation angle is bigger, the speed for amplifying first window is bigger, and the speed for removing the second window is bigger; Rotation angle is smaller, and the speed for amplifying first window is smaller, and the speed for removing the second window is smaller.
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
The embodiment of the present invention is amplified the first window of the first application program by rotation process, removes the second application program Second window realizes the split screen display available of the second window of the first window and the second application program of closing the first application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Referring to Fig. 7, a kind of step process of split screen processing method embodiment 5 in a mobile device of the invention is shown Figure.
There is the first application program and the second application program in a mobile device, the first application program has first window, Second application program has the second window, and current screen shows first window;
This method can specifically include following steps:
Step 701, when detecting the first rotation process for the mobile device, first rotation process is obtained The first direction of rotation;
In practical applications, when receiving the message of the second application program, adding in available second application program Carry the second window of the message.
In addition, to avoid maloperation, it can be determined that whether the rotation angle of the first rotation process is more than preset first jiao Spend threshold value;If so, obtaining the first direction of rotation of the first rotation process.
Step 702, the first window is reduced according to preset diminution ratio, according to first direction of rotation;
Step 703, in the region reduced after the first window, according to first direction of rotation by the second window of part Mouth moves into screen;
In the concrete realization, when detecting the touch event for the second window, touch event can be sent to the Two application programs.
It should be noted that reducing the speed of first window by corresponding rotation angle (the i.e. rotation of the first rotation process Angle) it determines, the speed for moving into the second window is determined by corresponding rotation angle (i.e. the rotation angle of the first rotation process);
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
Step 704, when detecting the second rotation process for the mobile device, second rotation process is obtained The second direction of rotation;
Wherein, the first direction of rotation is opposite with the second direction of rotation;
In the concrete realization, the embodiment of the invention provides the maloperations that following manner avoids user.
One, judge the time of origin of the second rotation process, if aobvious in the first window and the second window split screen In first time period after showing;If so, refusing to respond the second rotation process.
Two, judge the time of origin of the second rotation process, if carrying out touch control operation for the second window in split screen In second time period later;If so, refusing to respond the second rotation process.
Three, whether the rotation angle for judging the second rotation process is more than preset second angle threshold value;If so, obtaining the Second direction of rotation of two rotation process.
Step 705, second window of part is removed by screen according to second direction of rotation;
Step 706, in the region removed after second window, amplified according to second direction of rotation and formerly reduced First window until cover screen.
It should be noted that the speed of amplification first window is by corresponding rotation angle (the i.e. rotation of the second rotation process Angle) it determines, the speed for removing the second window is determined by corresponding rotation angle (i.e. the rotation angle of the second rotation process);
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
In embodiments of the present invention, due to substantially similar to the application of embodiment of the method 1,3, so the comparison of description is simple Single, related place illustrates that the embodiment of the present invention is not described in detail herein referring to the part of embodiment of the method 1,3.
In addition, embodiment in order to enable those skilled in the art to better understand the present invention, for specific example Split screen method in the bright embodiment of the present invention.
For example, if receiving immediate communication tool (the second application when player (the first application program) played in full screen video Program) message, then user can with moving in rotation equipment start split screen, reduce the window of player and move into immediate communication tool Window so that show the window of player and the window of immediate communication tool simultaneously, user can see video with side, and side processing is When communication tool message.
After user has handled the message of immediate communication tool, contrarotation movement equipment closes split screen, by instant messaging The window of tool removes screen, and amplifies the window of player to cover screen, and normal full-screen shows the window of player, user Video can normally be watched.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, It crosses rotation process to amplify the first window of the first application program, remove the second window of the second application program, realizes closing the The split screen display available of the first window of one application program and the second window of the second application program, split screen display available allow user to exist While guaranteeing current application operation, realizes to the operation of another application, reduce and carry out switchback between multiple application programs The frequency is changed, the simplicity of operation is substantially increased.
Referring to Fig. 8, a kind of step process of split screen processing method embodiment 6 in a mobile device of the invention is shown Figure;
There is the first application program and the second application program in a mobile device, the first application program has first window, Second application program has the second window, and current screen shows first window;
This method can specifically include following steps:
Step 801, when detecting the first rotation process for the mobile device, the of the rotation process is obtained One direction of rotation;
Step 802, the first window is reduced according to preset diminution ratio, according to first direction of rotation;
Step 803, in the region reduced after the first window, according to first direction of rotation by the second window of part Mouth moves into screen;
Step 804, when detecting the third rotation process for the mobile device, the third rotation process is obtained Third direction of rotation;
Wherein, the first direction of rotation is identical as third direction of rotation;
To avoid maloperation, it can be determined that whether the rotation angle of the third rotation process is more than preset third angle Threshold value;If so, obtaining the third direction of rotation of third rotation process.
Step 805, first window is continued to zoom out according to the third direction of rotation until exiting screen;
Step 806, in the region reduced after the first window, continued described in immigration according to the third direction of rotation Second window is until cover screen;
In the concrete realization, when detecting the touch event for the second window, touch event can be sent to the Two application programs.
It should be noted that reducing the speed of first window by corresponding rotation angle (the i.e. rotation of third rotation process Angle) it determines, the speed for moving into the second window is determined by corresponding rotation angle (i.e. the rotation angle of third rotation process);
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
Step 807, when detecting four rotation process for the mobile device, the 4th rotation process is obtained The 4th direction of rotation;
In the concrete realization, the embodiment of the invention provides the maloperations that following manner avoids user.
One, judge the time of origin of the 4th rotation process, if aobvious in the first window and the second window split screen In first time period after showing;If so, refusing to respond the 4th rotation process.
Two, judge the time of origin of the 4th rotation process, if carrying out touch control operation for the second window in split screen In second time period later;If so, refusing to respond the 4th rotation process.
Three, whether the rotation angle for judging the 4th rotation process is more than preset fourth angle threshold value;If so, obtaining the 4th direction of rotation of four rotation process.
Step 808, the second window of part of cover screen is removed by screen according to the 4th direction of rotation;
Step 809, in the region removed after second window, according to the 4th direction of rotation amplification described first Window.
It should be noted that the speed of amplification first window is by corresponding rotation angle (the i.e. rotation of the 4th rotation process Angle) it determines, the speed for removing the second window is determined by corresponding rotation angle (i.e. the rotation angle of the 4th rotation process);
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
Step 810, when detecting the second rotation process for the mobile device, second rotation process is obtained The second direction of rotation;
Wherein, the first direction of rotation and the second direction of rotation are on the contrary, the second direction of rotation is identical as the 4th direction of rotation;
Step 811, second window of part is removed by screen according to second direction of rotation;
Step 812, in the region removed after second window, amplified according to second direction of rotation and formerly reduced First window until cover screen.
In embodiments of the present invention, due to substantially similar to the application of embodiment of the method 1,3, so the comparison of description is simple Single, related place illustrates that the embodiment of the present invention is not described in detail herein referring to the part of embodiment of the method 1,3.
In addition, embodiment in order to enable those skilled in the art to better understand the present invention, for specific example Split screen method in the bright embodiment of the present invention.
For example, if receiving immediate communication tool (the second application when player (the first application program) played in full screen video Program) message, then user can with moving in rotation equipment start split screen, i.e., diminution player window and move into instant messaging work The window of tool, so that showing the window of player and the window of immediate communication tool simultaneously.
Since the message of immediate communication tool is too long, user can continue to open according to former direction moving in rotation equipment user Dynamic temporary is full frame, i.e. the window of diminution player is to exiting screen and move into the window of immediate communication tool to cover screen.
After user has handled message in the window of immediate communication tool, contrarotation movement equipment closes interim point Screen removes the window of part immediate communication tool, amplifies the window of player, so that showing the window and i.e. of player simultaneously When communication tool window.
User continues contrarotation movement equipment and closes split screen, the window of immediate communication tool is removed screen, and amplify The window of player to cover screen, normal full-screen shows the window of player, and user can normally watch video.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, It crosses rotation process to amplify the first window of the first application program, remove the second window of the second application program, realizes closing the The split screen display available of the first window of one application program and the second window of the second application program, split screen display available allow user to exist While guaranteeing current application operation, realizes to the operation of another application, reduce and carry out switchback between multiple application programs The frequency is changed, the simplicity of operation is substantially increased.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 9, a kind of structural frames of split screen processing device embodiment 1 in a mobile device of the invention are shown Figure;
There is the first application program and the second application program in a mobile device, first application program has the first window Mouthful, second application program has the second window, and current screen shows the first window;
The device can specifically include following module:
First direction of rotation obtains module 901, for when detecting the first rotation process for the mobile device, Obtain the first direction of rotation of first rotation process;
First reduces module 902, for reducing described the according to preset diminution ratio, according to first direction of rotation One window;
First moves into module 903, in the region reduced after the first window, according to the direction of rotation by portion The second window is divided to move into screen.
In one embodiment of the invention, which can also include following module:
Window obtains module, for when receiving the message of the second application program, obtaining adding in the second application program Carry the second window of the message.
In one embodiment of the invention, which can also include following module:
Second direction of rotation obtains module, for obtaining when detecting the second rotation process for the mobile device The second direction of rotation of second rotation process is taken, and first direction of rotation is identical as second direction of rotation;
Second reduces module, for continuing to zoom out the first window according to second direction of rotation until exiting screen Curtain;
Second moves into module, in the region reduced after the first window, according to second direction of rotation after It is continuous to move into second window until cover screen.
In one embodiment of the invention, which can also include following module:
Touch event sending module, for when detecting the touch event for second window, by the touch Event is sent to second application program.
In one embodiment of the invention, which can also include following module:
First angle judgment module, for judging whether the rotation angle of first rotation process is more than preset first Angle threshold;If so, the first direction of rotation is called to obtain module 901.
In one embodiment of the invention, which can also include following module:
Second angle judgment module, for judging whether the rotation angle of second rotation process is more than preset second Angle threshold;If so, the second direction of rotation is called to obtain module.
In practical applications, the speed for reducing first window is determined by corresponding rotation angle, moves into the speed of the second window Degree is determined by corresponding rotation angle;
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Referring to Fig.1 0, show a kind of structural frames of split screen processing device embodiment 2 in a mobile device of the invention Figure;
There is the first application program and the second application program in a mobile device, first application program has the first window Mouthful, second application program has the second window, the second window of first window and part that current screen display is reduced;
The device can specifically include following module:
First direction of rotation obtains module 1001, for detecting the first rotation process for the mobile device When, obtain the first direction of rotation of first rotation process;
First removes module 1002, for second window of part to be removed screen according to first direction of rotation;
First amplification module 1003, in the region removed after second window, according to the first rotation side To the first window for amplifying the diminution until cover screen.
In one embodiment of the invention, which can also include following module:
Second direction of rotation obtains module, for obtaining when detecting the second rotation process for the mobile device Take the second direction of rotation of second rotation process;
And first direction of rotation is identical as second direction of rotation;
Second removes module, for the second window of part of cover screen to be removed screen according to second direction of rotation Curtain;
Second amplification module, for being put according to second direction of rotation in the region removed after second window The big first window.
In one embodiment of the invention, which can also include following module:
First time judgment module, for judging the time of origin of the first rotation process or the second rotation process, if In first time period after the first window and the second window split screen display available;If so, calling the first refusal module;
First refusal module, for refusing to respond the first rotation process or the second rotation process.
In one embodiment of the invention, which can also include following module:
Second time judgment module, for judging the time of origin of the first rotation process or the second rotation process, if For in the second time period after the second window progress touch control operation in split screen;If so, calling the second refusal module;
Second refusal module, for refusing to respond the first rotation process or the second rotation process.
In one embodiment of the invention, which can also include following module:
First angle judgment module, for judging whether the rotation angle of first rotation process is more than preset first Angle threshold;If so, the first direction of rotation is called to obtain module 1001.
In one embodiment of the invention, which can also include following module:
Second angle judgment module, for judging whether the rotation angle of second rotation process is more than preset second Angle threshold;If so, the second direction of rotation is called to obtain module.
In the concrete realization, the speed for amplifying first window is determined by corresponding rotation angle, removes the speed of the second window Degree is determined by corresponding rotation angle;
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
The embodiment of the present invention is amplified the first window of the first application program by rotation process, removes the second application program Second window realizes the split screen display available of the second window of the first window and the second application program of closing the first application program, Split screen display available allows user while guaranteeing current application operation, realizes to the operation of another application, reduces The frequency is toggled between multiple application programs, substantially increases the simplicity of operation.
Referring to Fig.1 1, show a kind of structural frames of split screen processing device embodiment 3 in a mobile device of the invention Figure;
There is the first application program and the second application program in a mobile device, first application program has the first window Mouthful, second application program has the second window, and current screen shows the first window;
The device can specifically include following module:
First direction of rotation obtains module 1101, for detecting the first rotation process for the mobile device When, obtain the first direction of rotation of first rotation process;
First reduces module 1102, is used for according to preset diminution ratio, according to the diminution of first direction of rotation First window;
First moves into module 1103, in the region reduced after the first window, according to the first rotation side Screen is moved by the second window of part;
Second direction of rotation obtains module 1104, for detecting the second rotation process for the mobile device When, obtain the second direction of rotation of second rotation process;
And first direction of rotation is opposite with second direction of rotation;
First removes module 1105, for second window of part to be removed screen according to second direction of rotation;
First amplification module 1106, in the region removed after second window, according to the second rotation side The first window formerly reduced to amplification is until cover screen.
In one embodiment of the invention, which can also include following module:
Third direction of rotation obtains module, for obtaining when detecting the third rotation process for the mobile device Take the third direction of rotation of the third rotation process;
And first direction of rotation is identical as the third direction of rotation;
Second reduces module, for continuing to zoom out first window according to the third direction of rotation until exiting screen;
Second moves into module, in the region reduced after the first window, according to the third direction of rotation after It is continuous to move into second window until cover screen;
4th direction of rotation obtains module, for obtaining when detecting four rotation process for the mobile device Take the 4th direction of rotation of the 4th rotation process;
And second direction of rotation is identical as the 4th direction of rotation;
Second removes module, for the second window of part of cover screen to be removed screen according to the 4th direction of rotation Curtain;
Second amplification module, for being put according to the 4th direction of rotation in the region removed after second window The big first window.
In one embodiment of the invention, which can also include following module:
Window obtains module, for when receiving the message of the second application program, obtaining adding in the second application program Carry the second window of the message.
In one embodiment of the invention, which can also include following module:
Touch event sending module, for when detecting the touch event for second window, by the touch Event is sent to second application program.
In one embodiment of the invention, which can also include following module:
First angle judgment module, for judging whether the rotation angle of first rotation process is more than preset first Angle threshold;If so, the first direction of rotation is called to obtain module 1101.
In one embodiment of the invention, which can also include following module:
Second angle judgment module, for judging whether the rotation angle of second rotation process is more than preset second Angle threshold;If so, the second direction of rotation is called to obtain module 1104.
Third angle judgment module, for judging whether the rotation angle of the third rotation process is more than preset third Angle threshold;If so, third direction of rotation is called to obtain module.
In one embodiment of the invention, which can also include following module:
Fourth angle judgment module, for judging whether the rotation angle of the 4th rotation process is more than the preset 4th Angle threshold;If so, the 4th direction of rotation is called to obtain module.
In one embodiment of the invention, which can also include following module:
First time judgment module, for judging the time of origin of the second rotation process or the 4th rotation process, if In first time period after the first window and the second window split screen display available;If so, calling the first refusal module;
First refusal module, for refusing to respond the second rotation process or the 4th rotation process.
In one embodiment of the invention, which can also include following module:
Second time judgment module, for judging the time of origin of the second rotation process or the 4th rotation process, if For in the second time period after the second window progress touch control operation in split screen;If so, calling the second refusal module;
Second refusal module, for refusing to respond the second rotation process or the 4th rotation process.
In practical applications, the speed for reducing first window is determined by corresponding rotation angle, moves into the speed of the second window Degree is determined by corresponding rotation angle;
Meanwhile the speed of first window is reduced, with the speeds match of the second window of immigration, so that nothing between two windows Seam connection.
In the concrete realization, the speed for amplifying first window is determined by corresponding rotation angle, removes the speed of the second window Degree is determined by corresponding rotation angle;
Meanwhile amplifying the speed of first window, with the speeds match of the second window of removal, so that nothing between two windows Seam connection.
The embodiment of the present invention is reduced the first window of the first application program by rotation process, moves into the second application program Second window realizes the split screen display available of the first window of the first application program of starting and the second window of the second application program, It crosses rotation process to amplify the first window of the first application program, remove the second window of the second application program, realizes closing the The split screen display available of the first window of one application program and the second window of the second application program, split screen display available allow user to exist While guaranteeing current application operation, realizes to the operation of another application, reduce and carry out switchback between multiple application programs The frequency is changed, the simplicity of operation is substantially increased.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of split screen processing method in a mobile device provided by the present invention and it is a kind of in a mobile device Split screen processing unit, be described in detail, specific case used herein to the principle of the present invention and embodiment into Elaboration is gone, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for this The those skilled in the art in field, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, In conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (14)

1. a kind of split screen processing method in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently Screen shows the first window;
The described method includes:
When receiving the message of second application program, the of the load message in second application program is obtained Two windows;
When detecting the first rotation process for the mobile device, the first rotation side of first rotation process is obtained To;
The first window is reduced according to preset diminution ratio, according to first direction of rotation;
In the region reduced after the first window, the second window of part is moved by screen according to the direction of rotation;
When detecting the second rotation process for the mobile device, the second rotation side of second rotation process is obtained To, and first direction of rotation is identical as second direction of rotation;
The first window is continued to zoom out according to second direction of rotation until exiting screen;
In the region reduced after the first window, continue to move into second window according to second direction of rotation until Cover screen.
2. the method according to claim 1, wherein further include:
When detecting the touch event for second window, the touch event is sent to described second using journey Sequence.
3. method according to claim 1, which is characterized in that further include:
Whether the rotation angle for judging first rotation process is more than preset first angle threshold value;If so, described in executing The step of obtaining the first direction of rotation of first rotation process.
4. the method according to claim 1, wherein further include:
Whether the rotation angle for judging second rotation process is more than preset second angle threshold value;If so, described in executing The step of obtaining the second direction of rotation of second rotation process.
5. a kind of split screen processing method in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently The second window of first window and part that screen display is reduced;
The described method includes:
When detecting the first rotation process for the mobile device, the first rotation side of first rotation process is obtained To;
Second window of part is removed into screen according to first direction of rotation;
In the region removed after second window, the first window formerly reduced according to first direction of rotation amplification is straight To cover screen;
Wherein, first rotation process is obtained when detecting the first rotation process for the mobile device described The first direction of rotation the step of before, the method also includes:
When detecting the second rotation process for the mobile device, the second rotation side of second rotation process is obtained To, and first direction of rotation is identical as second direction of rotation;
The second window of part of cover screen is removed into screen according to second direction of rotation;
In the region removed after second window, the first window is amplified according to second direction of rotation.
6. method according to claim 5, which is characterized in that further include:
Judge the time of origin of the first rotation process or the second rotation process, if in the first window and second window In first time period after split screen display available;
If so, refusing to respond the first rotation process or the second rotation process.
7. method according to claim 5, which is characterized in that further include:
Judge the time of origin of the first rotation process or the second rotation process, if touched for the second window in split screen In second time period after control operation;
If so, refusing to respond the first rotation process or the second rotation process.
8. method according to claim 5, which is characterized in that further include:
Whether the rotation angle for judging first rotation process is more than preset first angle threshold value;If so, described in executing The step of obtaining the first direction of rotation of first rotation process.
9. method according to claim 5, which is characterized in that further include:
Whether the rotation angle for judging second rotation process is more than preset second angle threshold value;If so, described in executing The step of obtaining the second direction of rotation of second rotation process.
10. a kind of split screen processing method in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently Screen shows the first window;
The described method includes:
When receiving the message of second application program, the of the load message in second application program is obtained Two windows;
When detecting the first rotation process for the mobile device, the first rotation side of first rotation process is obtained To;
The first window is reduced according to preset diminution ratio, according to first direction of rotation;
In the region reduced after the first window, the second window of part is moved by screen according to first direction of rotation;
When detecting the second rotation process for the mobile device, the second rotation side of second rotation process is obtained To, and first direction of rotation is opposite with second direction of rotation;
Second window of part is removed into screen according to second direction of rotation;
In the region removed after second window, the first window formerly reduced according to second direction of rotation amplification is straight To cover screen.
11. method according to claim 10, which is characterized in that further include:
When detecting the third rotation process for the mobile device, the third rotation side of the third rotation process is obtained To, and first direction of rotation is identical as the third direction of rotation;
First window is continued to zoom out according to the third direction of rotation until exiting screen;
In the region reduced after the first window, continue to move into second window according to the third direction of rotation until Cover screen;
When detecting four rotation process for the mobile device, the 4th rotation side of the 4th rotation process is obtained To, and second direction of rotation is identical as the 4th direction of rotation;
The second window of part of cover screen is removed into screen according to the 4th direction of rotation;
In the region removed after second window, the first window is amplified according to the 4th direction of rotation.
12. a kind of split screen processing unit in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently Screen shows the first window;
Described device includes:
Window obtains module, for obtaining in second application program when receiving the message of second application program The load message the second window;
First direction of rotation obtains module, for obtaining institute when detecting the first rotation process for the mobile device State the first direction of rotation of the first rotation process;
First reduces module, for reducing the first window according to preset diminution ratio, according to first direction of rotation;
First moves into module, in the region reduced after the first window, according to the direction of rotation by part second Window moves into screen;
Second direction of rotation obtains module, for obtaining institute when detecting the second rotation process for the mobile device The second direction of rotation of the second rotation process is stated, and first direction of rotation is identical as second direction of rotation;
Second reduces module, for continuing to zoom out the first window according to second direction of rotation until exiting screen;
Second moves into module, for continuing to move according to second direction of rotation in the region reduced after the first window Enter second window until cover screen.
13. a kind of split screen processing unit in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently The second window of first window and part that screen display is reduced;
Described device includes:
First direction of rotation obtains module, for obtaining institute when detecting the first rotation process for the mobile device State the first direction of rotation of the first rotation process;
First removes module, for second window of part to be removed screen according to first direction of rotation;
First amplification module, for amplifying institute according to first direction of rotation in the region removed after second window The first window of diminution is stated until cover screen;
Second direction of rotation obtains module, for obtaining institute when detecting the second rotation process for the mobile device State the second direction of rotation of the second rotation process;And first direction of rotation is identical as second direction of rotation;
Second removes module, for the second window of part of cover screen to be removed screen according to second direction of rotation;
Second amplification module, for amplifying institute according to second direction of rotation in the region removed after second window State first window.
14. a kind of split screen processing unit in a mobile device, which is characterized in that have the first application program in a mobile device With the second application program, first application program has first window, and second application program has the second window, currently Screen shows the first window;
Described device includes:
Window obtains module, for obtaining in second application program when receiving the message of second application program The load message the second window;
First direction of rotation obtains module, for obtaining institute when detecting the first rotation process for the mobile device State the first direction of rotation of the first rotation process;
First reduces module, for reducing the first window according to preset diminution ratio, according to first direction of rotation;
First moves into module, in the region reduced after the first window, according to first direction of rotation by part Second window moves into screen;
Second direction of rotation obtains module, for obtaining institute when detecting the second rotation process for the mobile device The second direction of rotation of the second rotation process is stated, and first direction of rotation is opposite with second direction of rotation;
First removes module, for second window of part to be removed screen according to second direction of rotation;
First amplification module, for being existed in the region removed after second window according to second direction of rotation amplification The first window first reduced is until cover screen.
CN201510553328.0A 2015-08-31 2015-08-31 A kind of split screen treating method and apparatus in a mobile device Active CN105824491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510553328.0A CN105824491B (en) 2015-08-31 2015-08-31 A kind of split screen treating method and apparatus in a mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510553328.0A CN105824491B (en) 2015-08-31 2015-08-31 A kind of split screen treating method and apparatus in a mobile device

Publications (2)

Publication Number Publication Date
CN105824491A CN105824491A (en) 2016-08-03
CN105824491B true CN105824491B (en) 2019-11-15

Family

ID=56514466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510553328.0A Active CN105824491B (en) 2015-08-31 2015-08-31 A kind of split screen treating method and apparatus in a mobile device

Country Status (1)

Country Link
CN (1) CN105824491B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445286B (en) * 2016-09-13 2020-05-19 北京奇虎科技有限公司 Method and device for determining focus of terminal screen based on split screen and terminal equipment
CN106658115A (en) * 2016-12-16 2017-05-10 深圳市金立通信设备有限公司 Video playing method and mobile terminal
CN107465953A (en) * 2017-07-14 2017-12-12 腾讯音乐娱乐(深圳)有限公司 The interface alternation method and device of intelligent terminal
CN109499061B (en) * 2018-11-19 2022-08-09 网易(杭州)网络有限公司 Game scene picture adjusting method and device, mobile terminal and storage medium
CN109857495A (en) * 2018-12-25 2019-06-07 维沃移动通信有限公司 A kind of display control method and terminal device
CN110012156B (en) * 2019-02-28 2021-09-14 努比亚技术有限公司 Information display method, mobile terminal and non-transitory computer readable storage medium
CN111638847B (en) * 2020-05-27 2022-01-28 维沃移动通信有限公司 Split screen display method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870114A (en) * 2014-02-18 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104571796A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN104615336A (en) * 2015-02-15 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102208989A (en) * 2010-03-30 2011-10-05 国际商业机器公司 Network visualization processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571796A (en) * 2013-10-28 2015-04-29 联想(北京)有限公司 Information processing method and electronic equipment
CN103870114A (en) * 2014-02-18 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104615336A (en) * 2015-02-15 2015-05-13 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105824491A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105824491B (en) A kind of split screen treating method and apparatus in a mobile device
AU2024202699A1 (en) Device, method, and graphical user interface for navigating media content
CN107786730A (en) A kind of task management method and terminal
EP2940578A1 (en) Electronic device and method for protecting applications thereof
WO2015103993A1 (en) Chat window presentation control method and system
CN105094520B (en) A kind of display methods and terminal
WO2017032078A1 (en) Interface control method and mobile terminal
US20160378272A1 (en) Systems and methods for providing multi-focus to applications for collaboration
KR20150017177A (en) Method for displaying and an electronic device thereof
CN107340964A (en) The animation effect implementation method and device of a kind of view
CN110049368A (en) A kind of display methods and relevant device
CN109656639B (en) Interface rolling method, device, equipment and medium
CN110611847A (en) Video preview method and device, storage medium and electronic equipment
WO2024037563A1 (en) Content display method and apparatus, and device and storage medium
CN102880382B (en) Interface display system, method and equipment
CN110688190A (en) Control method and device of intelligent interactive panel
CN105824590B (en) A kind of split screen treating method and apparatus in a mobile device
US20150185823A1 (en) Information processing method and first electronic device
CN118042205A (en) Interface interaction method, device, medium, electronic equipment and program product
CN104850340A (en) Method and device for displaying file on touch display screen
CN106657653A (en) Information processing method and device
US10019087B2 (en) Touch input method and apparatus
CN104049867A (en) Information processing method and electronic device
CN105183326B (en) list display method and device
JP2015102742A (en) Image processing apparatus and image processing method

Legal Events

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