CN102541491A - Method for switching interfaces of mobile terminal and system - Google Patents
Method for switching interfaces of mobile terminal and system Download PDFInfo
- Publication number
- CN102541491A CN102541491A CN2010106025292A CN201010602529A CN102541491A CN 102541491 A CN102541491 A CN 102541491A CN 2010106025292 A CN2010106025292 A CN 2010106025292A CN 201010602529 A CN201010602529 A CN 201010602529A CN 102541491 A CN102541491 A CN 102541491A
- Authority
- CN
- China
- Prior art keywords
- screen
- content
- memory space
- mobile terminal
- storing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 239000011159 matrix material Substances 0.000 claims abstract description 29
- 230000000694 effects Effects 0.000 claims description 13
- 230000009466 transformation Effects 0.000 claims description 10
- 238000013519 translation Methods 0.000 claims description 8
- 230000006870 function Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a method for switching interfaces of a mobile terminal. The method includes S1, applying for three internal memory spaces, storing current screen content A in a first internal memory space, and storing next screen content B to be displayed in a second internal memory space; S2, generating interlude scenes C1, C2, ..., Cn by means of operation of two-axis matrix according to the screen content A stored in the first internal memory space and the screen content B stored in the second internal memory space, simultaneously, storing content of the C1, C2, ..., Cn into a third internal memory space and displaying the content of the C1, C2, ..., Cn on a screen of the terminal; and S3, outputting the screen content B stored in the second internal memory space on the screen of the terminal, wherein n is a preset number of the interlude scenes. The invention further discloses an interface switching system of the mobile terminal. The method and the system can be universally used in different platforms, and accordingly, interfaces are switched more smoothly.
Description
Technical Field
The invention relates to the technical field of interface switching processing of mobile terminals, in particular to a method and a system for switching interfaces of a mobile terminal.
Background
The interface switching special effect of the mobile terminal refers to a special visual effect of a mobile terminal user in the interface switching process during operation, and a series of field crossing effects are generated by specific combination and superposition of two interfaces before and after switching. In the prior art, the field-crossing effect is generated by directly performing simple operations such as translation and the like on front and back scenes, and the switching effect is not smooth, visual and single.
The interface special effect support provided by the current non-intelligent platform for developing the mobile terminal, such as an Arena platform, is relatively limited, the platform generally uses a third-party UI module to realize interface switching, secondary development of the interface special effect is relatively difficult, and the platform cannot be generally used under different platforms.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: how to make interface switching independent of the terminal platform and generate smooth interface transition.
(II) technical scheme
In order to solve the technical problem, the invention provides a mobile terminal interface switching method, which comprises the following steps:
s1: applying for three memory spaces, storing the content A of the current screen in a first memory space, and storing the content B of the next screen to be displayed in a second memory space;
s2: sequentially generating a field scene C by operating through a two-dimensional matrix according to the stored content A of the screen in the first memory space and the stored content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnStoring the content in a third memory space and displaying the content on a terminal screen, wherein n is the number of preset field-crossing scenes;
s3: and outputting the content B of the screen stored in the second memory space to the terminal screen.
Wherein the operation is generated by a two-dimensional matrixThe scene of passing a scene C1,......,CnThe specific mode is as follows:
generating a two-dimensional MATRIX MATRIX with translation, scaling, rotation or distortion transformation effects by the perspective tool of the cross-platform image processing program GIMP each time a scene of a cut-through is generatediSo that A.times.MATRIXiObtaining the next interface C after translation, zoom, rotation or distortion conversioniWherein i 1, 2.... n;
wherein the two-dimensional matrix MATRIXi is a matrix of three rows and three columns.
Wherein, the method further comprises the following steps between the steps S1 and S2: and locking the screen output of the mobile terminal, prohibiting other applications in the mobile terminal from outputting pictures to the screen, and unlocking the screen output of the mobile terminal after the step S3.
The method for applying for the memory in step S1 is as follows: and applying according to the memory application functions of different platforms.
The invention also provides a system for switching the interfaces of the mobile terminal, which comprises the following components:
the memory application module is used for applying for three memory spaces, storing the content A of the current screen in a first memory space and storing the content B of the next screen to be displayed in a second memory space;
a scene generation module for generating scene C by two-dimensional matrix operation according to the stored content A of the screen in the first memory space and the content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnStoring the content in a third memory space and displaying the content on a terminal screen, wherein n is the number of preset field-crossing scenes;
and the final display module is used for outputting the content B of the screen stored in the second memory space to the terminal screen.
Wherein, this system still includes:
the screen locking module is used for locking the screen output of the mobile terminal and forbidding other applications in the mobile terminal to output pictures to the screen;
and the screen unlocking module is used for outputting unlocking to the screen of the mobile terminal after final display.
(III) advantageous effects
The method enables the method to be universal among different platforms by calling different memory allocation functions under different platforms; and calculating a field passing scene between the current screen and the next screen to be displayed through the special effect two-dimensional matrix, so that interface switching is smoother.
Drawings
Fig. 1 is a flowchart of a method for switching interfaces of a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the method of FIG. 1 during the screen switching in step S103;
fig. 3 is a schematic structural diagram of a mobile terminal interface switching system according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The core logic of the method is independent and independent of a platform, the method can adapt to different platforms only by transplanting according to interfaces provided by different platforms in the process of saving a screen and presenting a picture, and the screen switching is realized by calculating a field crossing scene between the current screen and the next screen to be displayed through a special effect (translation, scaling, rotation, distortion and the like) two-dimensional matrix, and the specific steps are as shown in figure 1 and comprise:
step S101, apply for three memory spaces, store the content A of the current screen in the first memory space, and store the content B of the next screen to be displayed in the second memory space. Under different platforms, different memory application interface functions are called to carry out memory application so as to adapt to different platforms.
And step S102, in order to ensure that the screen switching is not interfered, the screen output of the mobile terminal is locked before the switching, and other applications in the mobile terminal are forbidden to output pictures to the screen.
Step S103, sequentially generating a field scene C by performing operation through a two-dimensional matrix according to the stored content A of the screen in the first memory space and the stored content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnThe content of (2) is stored in a third memory space and is presented on a terminal screen, n (more than or equal to 1) is a preset field-crossing scene number, wherein the larger the value of n is, the smoother the screen switching is, and meanwhile, the requirement on the system performance is higher.
Generating a two-dimensional MATRIX MATRIX with translation, scaling, rotation or distortion transformation effects by the perspective tool of the cross-platform image processing program GIMP each time a scene of a cut-through is generatediSo that A.times.MATRIXiObtaining the next interface C after translation, zoom, rotation or distortion conversioniWherein i is 1, 2. As shown in fig. 2, it is a schematic diagram of switching between pictures a and B, where picture B replaces picture a from bottom to top. Where n is 2, comprising two-dimensional matrices MATRIX for the transformationi. It can be seen that the larger the value of n, the larger the number of scenes passing the field, and the closer to the picture B to be finally displayed. Two-dimensional MATRIX MATRIXiA matrix of three rows and three columns. The matrix of FIG. 2 has the general formula:
wherein,controls the transformation of zooming, rotation, symmetry and miscut,control the projection transformation of picture, [ c f ]]Control the picture shift transformation, [ i ]]And carrying out scaling transformation on the whole picture. At the time of transformation, [ x y z ]]=[x1 y1 z1]X T, wherein, [ x ]1 y1z1]For the coordinates before transformation, [ x y z ]]Are transformed coordinates.
It can be seen that different scaling, rotation or warping transformation effects can be achieved according to the matrix.
And step S104, outputting the content B of the screen stored in the second memory space to the terminal screen, and completing the screen switching.
Step S105, and unlocking is output to the screen of the mobile terminal after step S104.
The present invention also provides a system for switching interfaces of a mobile terminal, as shown in fig. 3, including: the memory application module is used for applying for three memory spaces, storing the content A of the current screen in a first memory space and storing the content B of the next screen to be displayed in a second memory space; a scene generation module for generating scene C by two-dimensional matrix operation according to the stored content A of the screen in the first memory space and the content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnStoring the content in a third memory space and displaying the content on a terminal screen, wherein n is the number of preset field-crossing scenes; and the final display module is used for outputting the content B of the screen stored in the second memory space to the terminal screen.
Wherein, this system still includes: the screen locking module is used for locking the screen output of the mobile terminal and forbidding other applications in the mobile terminal to output pictures to the screen; and the screen unlocking module is used for outputting unlocking to the screen of the mobile terminal after final display.
The above embodiments are only for illustrating the invention and are not to be construed as limiting the invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, therefore, all equivalent technical solutions also belong to the scope of the invention, and the scope of the invention is defined by the claims.
Claims (7)
1. A mobile terminal interface switching method is characterized by comprising the following steps:
s1: applying for three memory spaces, storing the content A of the current screen in a first memory space, and storing the content B of the next screen to be displayed in a second memory space;
s2: sequentially generating a field scene C by operating through a two-dimensional matrix according to the stored content A of the screen in the first memory space and the stored content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnStoring the content in a third memory space and displaying the content on a terminal screen, wherein n is the number of preset field-crossing scenes;
s3: and outputting the content B of the screen stored in the second memory space to the terminal screen.
2. The method of claim 1, wherein the cut scene C is generated by performing an operation using a two-dimensional matrix1,......,CnThe specific mode is as follows:
generating a two-dimensional MATRIX MATRIX with translation, scaling, rotation or distortion transformation effects by the perspective tool of the cross-platform image processing program GIMP each time a scene of a cut-through is generatediSo that A.times.MATRIXiObtaining the next interface C after translation, zoom, rotation or distortion conversioniWherein i is 1, 2.
3. The mobile terminal interface switching method of claim 2, wherein the two-dimensional MATRIXiA matrix of three rows and three columns.
4. The mobile terminal interface switching method of claim 1, further comprising, between steps S1 and S2, the steps of: and locking the screen output of the mobile terminal, prohibiting other applications in the mobile terminal from outputting pictures to the screen, and unlocking the screen output of the mobile terminal after the step S3.
5. The method for switching interfaces of a mobile terminal according to any one of claims 1 to 4, wherein the memory application manner in step S1 is as follows: and applying according to the memory application functions of different platforms.
6. A mobile terminal interface switching system, comprising:
the memory application module is used for applying for three memory spaces, storing the content A of the current screen in a first memory space and storing the content B of the next screen to be displayed in a second memory space;
a scene generation module for generating scene C by two-dimensional matrix operation according to the stored content A of the screen in the first memory space and the content B of the screen in the second memory space1,C2,...,CnWhile simultaneously adding C1,C2,...,CnStoring the content in a third memory space and displaying the content on a terminal screen, wherein n is the number of preset field-crossing scenes;
and the final display module is used for outputting the content B of the screen stored in the second memory space to the terminal screen.
7. The mobile terminal interface switching system of claim 6, further comprising:
the screen locking module is used for locking the screen output of the mobile terminal and forbidding other applications in the mobile terminal to output pictures to the screen;
and the screen unlocking module is used for outputting unlocking to the screen of the mobile terminal after final display.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106025292A CN102541491A (en) | 2010-12-14 | 2010-12-14 | Method for switching interfaces of mobile terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106025292A CN102541491A (en) | 2010-12-14 | 2010-12-14 | Method for switching interfaces of mobile terminal and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102541491A true CN102541491A (en) | 2012-07-04 |
Family
ID=46348473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106025292A Pending CN102541491A (en) | 2010-12-14 | 2010-12-14 | Method for switching interfaces of mobile terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102541491A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945116A (en) * | 2012-10-19 | 2013-02-27 | 广东欧珀移动通信有限公司 | Interface switching display method and device, and mobile terminal |
CN104571824A (en) * | 2015-01-20 | 2015-04-29 | 联想(北京)有限公司 | Electronic device and control device and method of electronic device |
CN104639725A (en) * | 2013-11-08 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Interface switching method and device |
CN106371826A (en) * | 2016-08-23 | 2017-02-01 | 百富计算机技术(深圳)有限公司 | Application cross-system running method and apparatus |
CN107678824A (en) * | 2017-10-11 | 2018-02-09 | 青岛海信移动通信技术股份有限公司 | Screen picture switching method and device based on system switching |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227680A (en) * | 2008-02-01 | 2008-07-23 | 嘉兴闻泰通讯科技有限公司 | Mobile phone with dynamic switch interface and method of mobile phone interface dynamic switch |
CN101714088A (en) * | 2010-01-04 | 2010-05-26 | 中兴通讯股份有限公司 | Implementation method for enhancing visual effect of user interfaces of mobile terminal and device thereof |
-
2010
- 2010-12-14 CN CN2010106025292A patent/CN102541491A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227680A (en) * | 2008-02-01 | 2008-07-23 | 嘉兴闻泰通讯科技有限公司 | Mobile phone with dynamic switch interface and method of mobile phone interface dynamic switch |
CN101714088A (en) * | 2010-01-04 | 2010-05-26 | 中兴通讯股份有限公司 | Implementation method for enhancing visual effect of user interfaces of mobile terminal and device thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945116A (en) * | 2012-10-19 | 2013-02-27 | 广东欧珀移动通信有限公司 | Interface switching display method and device, and mobile terminal |
CN104639725A (en) * | 2013-11-08 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Interface switching method and device |
CN104639725B (en) * | 2013-11-08 | 2017-12-15 | 腾讯科技(深圳)有限公司 | interface switching method and device |
CN104571824A (en) * | 2015-01-20 | 2015-04-29 | 联想(北京)有限公司 | Electronic device and control device and method of electronic device |
CN106371826A (en) * | 2016-08-23 | 2017-02-01 | 百富计算机技术(深圳)有限公司 | Application cross-system running method and apparatus |
CN106371826B (en) * | 2016-08-23 | 2019-11-29 | 百富计算机技术(深圳)有限公司 | The method and apparatus of application program cross-system operation |
CN107678824A (en) * | 2017-10-11 | 2018-02-09 | 青岛海信移动通信技术股份有限公司 | Screen picture switching method and device based on system switching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103259989B (en) | The display methods and device of screen content | |
CN102541491A (en) | Method for switching interfaces of mobile terminal and system | |
US20180295326A1 (en) | Multi-Image Adjusting Method and Device, and Multipoint Controller Unit | |
CN105739934A (en) | Multi-screen splicing display processing method and device | |
CN104361556A (en) | Image synthesis method, image chip and image equipment | |
CN106649541A (en) | Animation playing and generating method and device | |
US12106444B2 (en) | Hierarchical grid interpolation systems and methods | |
CN111034166A (en) | Multi-camera post-capture image processing | |
CN105227873A (en) | A kind of method of testing of on-chip study data and device | |
US20110012914A1 (en) | Image processing device and image processing method | |
WO2022271425A1 (en) | Point-of-view image warp systems and methods | |
CN102523387A (en) | Method and device for realizing special flame effect in video | |
CN105653222B (en) | A kind of method and apparatus for realizing the operation of multisystem split screen | |
CN105100862A (en) | Grid movement display processing method and grid movement display processing system | |
CN102572219A (en) | Mobile terminal and image processing method thereof | |
US20120256911A1 (en) | Image processing apparatus, image processing method, and program | |
CN112329386B (en) | Method, device, equipment and storage medium for realizing character gradient effect | |
CN110910485B (en) | Immersion type cave image manufacturing method | |
JP2007310669A (en) | Image processing device and image processing method | |
CN110930478A (en) | Ghost effect implementation method and device, terminal equipment and storage medium | |
CN109743635A (en) | Comment on answering method, device, equipment and storage medium | |
US20200258279A1 (en) | Image display method and apparatus, and storage medium | |
CN112329384A (en) | Method, device and equipment for realizing character shadow effect and storage medium | |
CA2752344A1 (en) | System and methods for managing composition of surfaces | |
CN113923379B (en) | Multi-picture synthesis method and processing terminal for self-adaptive window |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120704 |