CN112667327A - Screen-turning picture display method and device, computer equipment and storage medium - Google Patents

Screen-turning picture display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112667327A
CN112667327A CN201910978531.0A CN201910978531A CN112667327A CN 112667327 A CN112667327 A CN 112667327A CN 201910978531 A CN201910978531 A CN 201910978531A CN 112667327 A CN112667327 A CN 112667327A
Authority
CN
China
Prior art keywords
screen
trigger
type
switching
screen turning
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.)
Granted
Application number
CN201910978531.0A
Other languages
Chinese (zh)
Other versions
CN112667327B (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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN201910978531.0A priority Critical patent/CN112667327B/en
Priority claimed from CN201910978531.0A external-priority patent/CN112667327B/en
Priority to PCT/CN2020/121004 priority patent/WO2021073549A1/en
Publication of CN112667327A publication Critical patent/CN112667327A/en
Application granted granted Critical
Publication of CN112667327B publication Critical patent/CN112667327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Landscapes

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

Abstract

The application relates to a screen-turning picture display method and device, computer equipment and a storage medium. The method comprises the following steps: when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event; determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event; determining a preset screen turning picture corresponding to the trigger type; and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event. By adopting the method, the characteristics of the screen turning scene can be effectively reflected, and the flexibility of screen turning processing is improved.

Description

Screen-turning picture display method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic device control technologies, and in particular, to a method and an apparatus for displaying a screen transition image, a computer device, and a storage medium.
Background
With the development of internet technology, intelligent electronic devices such as smart phones and tablet computers are widely applied, people can realize online social entertainment, online shopping and the like through application programs installed on the intelligent electronic devices, such as social application programs, shopping platform application programs and the like, and great convenience is brought to work, life and entertainment of people. Different applications have different display requirements on the electronic equipment, such as a game application needing horizontal screen display, a social application needing vertical screen display and the like, and in addition, the electronic equipment can automatically switch the horizontal screen and the vertical screen according to actual conditions, such as the horizontal placement or the vertical placement of the electronic equipment, so that the display picture of the screen of the electronic equipment can be kept upright, and a user can watch the electronic equipment conveniently.
At present, when electronic equipment is used for screen turning, namely horizontal and vertical screen switching, switching can be realized by displaying default screen turning animation. However, the screen-turning scenes which need to be switched between the horizontal screen and the vertical screen are numerous, display switching is performed through default screen-turning animation, the switching characteristics of each scene cannot be effectively reflected, and the flexibility of screen-turning processing is poor.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a computer device, and a storage medium for displaying a screen transition screen, which can improve flexibility of screen transition processing.
A screen-turning picture display method comprises the following steps:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
In one embodiment, determining the trigger type to which the screen turning trigger operation for triggering the screen turning event corresponds includes:
inquiring a switching flow corresponding to screen turning triggering operation for triggering a screen turning event;
determining a switching type function from a switching process;
and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
In one embodiment, determining the trigger type corresponding to the screen turn trigger operation according to the switching type function and the instruction corresponding to the screen turn trigger operation includes:
inquiring a preset trigger type table, wherein the trigger type table records the corresponding relation between each switching type function and the corresponding instruction of each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation;
and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
In one embodiment, determining the trigger type corresponding to the screen turn trigger operation according to the switching type function, the instruction corresponding to the screen turn trigger operation, and the trigger type table includes:
querying a preset type to determine priority;
determining the order of the priority from high to low according to the type, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result;
and determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
In one embodiment, the method further comprises the following steps:
when a configuration event aiming at the trigger type table is detected, displaying a type table configuration interface corresponding to the trigger type table;
after triggering type table configuration operation aiming at a type table configuration interface, acquiring type table configuration data generated by the type table configuration operation;
and updating and configuring the trigger type table according to the type table configuration data.
In one embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop starting application switching, returning desktop switching and inter-application switching; determining the trigger type corresponding to the screen transfer trigger operation according to the switching type function, the instruction corresponding to the screen transfer trigger operation and the trigger type table comprises:
when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen turning trigger operation is screen locking interface switching;
when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching;
when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation belongs to switching between multi-task and application;
when the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching;
when the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching;
and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In one embodiment, the method further comprises the following steps:
and when the function value of the switching type function is determined to be not matched with the trigger type recorded by the trigger type table, determining that the trigger type corresponding to the screen turning trigger operation is native screen turning.
In one embodiment, determining that the trigger type corresponds to the preset screen turning picture includes:
inquiring a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture;
performing picture matching in a screen-turning picture library according to the trigger type to obtain a picture matching result;
and determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
In one embodiment, the method further comprises the following steps:
when a configuration event aiming at the screen turning picture library is detected, displaying a picture library configuration interface corresponding to the screen turning picture library;
after the picture library configuration operation aiming at the picture library configuration interface is triggered, obtaining picture library configuration data generated by the picture library configuration operation;
and performing screen turning on the screen library according to the configuration data of the screen library.
A screen-rotating picture display apparatus, the apparatus comprising:
the trigger operation determining module is used for determining the screen turning trigger operation for triggering the screen turning event when the screen turning event is detected;
the trigger type determining module is used for determining the trigger type corresponding to the screen turning trigger operation for triggering the screen turning event;
the screen turning picture determining module is used for determining a preset screen turning picture corresponding to the trigger type;
and the screen turning picture display module is used for displaying the screen turning pictures corresponding to the trigger types when the horizontal and vertical screen switching processing is carried out according to the screen turning events.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
According to the screen turning picture display method, the screen turning picture display device, the computer equipment and the storage medium, the preset screen turning picture is determined according to the trigger type corresponding to the screen turning trigger operation triggering the screen turning event, the screen turning picture is displayed when horizontal and vertical screen switching processing is carried out according to the screen turning event, the screen turning pictures corresponding to different trigger types are displayed for switching, the characteristics of the screen turning scenes can be effectively reflected, and the flexibility of screen turning processing is improved.
Drawings
FIG. 1 is a diagram of an exemplary application environment for a method for displaying a screenshot;
FIG. 2 is a flowchart illustrating a method for displaying a rotated screen in one embodiment;
FIG. 3 is a flow diagram that illustrates a configuration trigger type table in one embodiment;
FIG. 4 is a schematic diagram of a type table configuration interface in another embodiment;
FIG. 5 is a block diagram of an embodiment of a turn-to-screen display apparatus;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The screen turning picture display method provided by the application can be applied to the application environment shown in fig. 1. When the terminal 102 needs to perform screen turning, for example, when a terminal user horizontally puts a vertical terminal 102, the terminal 102 determines a preset screen turning picture according to a trigger type corresponding to a screen turning trigger operation triggering a screen turning event, and displays the screen turning picture when performing horizontal and vertical screen switching processing according to the screen turning event, thereby realizing the horizontal and vertical screen switching of the screen of the terminal 102. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In one embodiment, as shown in fig. 2, a method for displaying a screen transition picture is provided, which is described by taking the method as an example for being applied to the terminal in fig. 1, and includes the following steps:
step S202, when the screen turning event is detected, screen turning triggering operation for triggering the screen turning event is determined.
The event may be a behavior of the system itself, such as a behavior of the system triggering automatic reporting of the positioning data, or a user behavior, such as an operation event generated by a user touching a terminal screen. The screen turning event refers to an event for performing screen turning processing, and is generally horizontal-vertical screen switching, that is, a terminal screen is switched from a horizontal screen state to a vertical screen state, or from the vertical screen state to the horizontal screen state. As in the android operating system, the screenout event is onConfigurationChanged. The screen turning triggering operation is an operation for triggering a screen turning event, and specifically may be a user behavior, such as triggering the screen turning event after the user clicks and starts an application program displayed on the landscape screen, or triggering the screen turning event when the user lays the terminal landscape.
In this embodiment, an event that occurs is detected, when a screen rotation event is detected, it indicates that screen rotation processing has been triggered, a screen rotation trigger operation that triggers the screen rotation event is further determined, if the screen rotation event can be analyzed and tracked, a screen rotation trigger operation that triggers the screen rotation event is determined, and a screen rotation scene that is correspondingly triggered can be determined according to the screen rotation trigger operation, for example, a horizontal and vertical screen switching scene between applications, a horizontal screen multitask return desktop switching scene, a desktop startup horizontal screen application or a horizontal screen application return desktop switching scene, a horizontal and vertical screen switching scene between multitask interfaces and applications, a screen lock interface entering the horizontal screen application switching scene, or a horizontal and vertical screen switching scene between a floating window and applications, and the like can be used.
And step S204, determining the trigger type corresponding to the screen turning trigger operation for triggering the screen turning event.
The trigger types are obtained by classifying screen turning trigger operations, for example, the trigger types can be classified according to scenes corresponding to the screen turning trigger operations, and the trigger types corresponding to the screen turning trigger operations are determined. The trigger type can be flexibly set according to actual requirements, for example, each screen turning trigger operation is classified based on preset dividing conditions, so that the flexible setting of the trigger type is realized.
Step S206, determining that the trigger type corresponds to a preset screen turning picture.
The screen turning picture is displayed on a terminal screen during screen turning processing, particularly during horizontal and vertical screen switching. The screen turning picture can be animation, image and other types of display content. In this embodiment, corresponding screen transition pictures are preset in different trigger types, and the corresponding screen transition pictures can reflect the screen transition scene characteristics of the trigger type according to the ground, so that the flexibility of screen transition processing is improved, and the use experience of a terminal user is improved.
In this embodiment, after determining that the screen turning trigger operation triggering the screen turning event corresponds to the corresponding trigger type, further determining that the trigger type corresponds to the preset screen turning picture. In specific implementation, the screen conversion picture corresponding to the trigger type can be determined from a preset screen conversion picture library.
And S208, displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
After the trigger type is determined to correspond to the preset screen turning picture, when horizontal and vertical screen switching processing is carried out according to the screen turning event, if an android operating system is subjected to the horizontal and vertical screen switching processing, redrawing of the terminal screen picture can be carried out, the screen turning picture corresponding to the trigger type is displayed at the moment, and therefore switching of pictures before and after screen turning of the terminal screen is achieved.
According to the screen turning picture display method, the preset screen turning picture is determined according to the trigger type corresponding to the screen turning trigger operation triggering the screen turning event, the screen turning picture is displayed when horizontal and vertical screen switching processing is carried out according to the screen turning event, the corresponding screen turning picture is displayed and switched according to the screen turning scenes of different trigger types, the characteristics of the screen turning scenes can be effectively reflected, and the flexibility of screen turning processing is improved.
In one embodiment, determining that the screen turning trigger operation for triggering the screen turning event corresponds to the corresponding trigger type comprises: inquiring a switching flow corresponding to screen turning triggering operation for triggering a screen turning event; determining a switching type function from a switching process; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
In this embodiment, the trigger type corresponding to the screen turn trigger operation is determined according to the switching type function determined in the switching flow corresponding to the screen turn trigger operation and the instruction corresponding to the screen turn trigger operation. Specifically, when the screen turning triggering operation triggering the screen turning event is determined to correspond to the trigger type, a switching flow corresponding to the screen turning triggering operation triggering the screen turning event is inquired. The switching process may be a process of executing screen transition processing after triggering a screen transition event, and the switching process is implemented by a plurality of functions. For example, in an android operating system, a switching flow corresponding to a screen transition triggering operation is AppTransition, which implements screen transition processing through a plurality of functions. And determining a switching type function in the switching process, wherein the switching type function is a function marked with a switching type, and the corresponding trigger type can be preliminarily determined according to the function value of the switching type function, and if the switching type function in the android system is AppTransitionType, the trigger type can be preliminarily determined according to the function value of the AppTransitionType.
Further, in addition to preliminarily determining the trigger type according to the switching type function, considering that some screen turn trigger operations of different trigger types may have the same function value corresponding to the switching type function, and at this time, the specific trigger type cannot be determined directly according to the function value of the switching type function, the trigger type to which the screen turn trigger operation corresponds is further determined according to the instruction corresponding to the screen turn trigger operation, for example, according to the label in the instruction corresponding to the screen turn trigger operation in combination with the switching type function, so that the trigger type to which the screen turn trigger operation triggering the screen turn event corresponds is accurately determined.
In one embodiment, determining the trigger type corresponding to the screen turn trigger operation according to the switching type function and the instruction corresponding to the screen turn trigger operation includes: inquiring a preset trigger type table, wherein the trigger type table records the corresponding relation between each switching type function and the corresponding instruction of each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
In this embodiment, the preset trigger type table is combined with the switching type function and the instruction corresponding to the screen turning trigger operation to determine the trigger type corresponding to the screen turning trigger operation. Specifically, when determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation, querying a preset trigger type table, where the trigger type table records the corresponding relationship between each switching type function and the instruction corresponding to each screen turning trigger operation and the trigger type corresponding to each screen turning trigger operation. The trigger type table records various screen turning trigger operations corresponding to the trigger types, and the trigger type table can be flexibly configured by a user. And after the trigger type table is obtained, determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
IN a specific implementation, such as IN an android operating system, the various trigger types recorded IN the trigger type table may include transfer _ TASK _ OPEN (create TASK and create window), transfer _ TASK _ OPEN _ beat (create TASK is running IN the background), transfer _ TASK _ TO _ FRONT (move TASK TO the top), transfer _ ACTIVITY _ OPEN (OPEN a window at the top IN the same TASK), transfer _ ACTIVITY _ replay (reopen a window at the top IN the same TASK), transfer _ TASK _ CLOSE (CLOSE the current active window and go BACK TO the last TASK), transfer _ TASK _ TO _ BACK (move the current TASK TO the top), transfer _ TASK _ IN _ play _ plop (draw IN the field), transfer _ ACTIVITY _ CLOSE (CLOSE the current active window and go BACK TO the last active window and go BACK TO the same active window and a transfer _ TASK _ answer (OPEN) and so on. Different screen turning pictures are correspondingly set according to different trigger types.
In one embodiment, determining the trigger type corresponding to the screen turn trigger operation according to the switching type function, the instruction corresponding to the screen turn trigger operation, and the trigger type table includes: querying a preset type to determine priority; determining the order of the priority from high to low according to the type, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result; and determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
In this embodiment, the switching type function, the instruction corresponding to the screen turn trigger operation, and the trigger type table are subjected to type matching according to the order of priority, so as to determine the trigger type to which the screen turn trigger operation corresponds. Specifically, when the screen turning trigger operation is determined to correspond to the trigger type, a preset type is inquired to determine the priority, the type determination priority is flexibly set according to actual requirements, and if the trigger type with higher frequency can be set to be higher priority to perform matching preferentially. The type determination priority can be set by the user based on personal habits, and can also be analyzed based on the user data of the user and dynamically adjusted according to the trigger frequency of each trigger type. And determining the order of the priority from high to low according to the types, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result. According to the type, determining the priority from high priority to low priority, sequentially matching the switching type function, the instruction corresponding to the screen transfer trigger operation and the trigger type table, and specifically matching the function value of the switching type function and/or the label in the instruction corresponding to the screen transfer trigger operation with the trigger type table to obtain a type matching result. And determining the trigger type corresponding to the screen turning trigger operation according to the type matching result, for example, the trigger type corresponding to the screen turning trigger operation successfully matched in the type matching result can be used as the trigger type corresponding to the screen turning trigger operation.
In an embodiment, as shown in fig. 3, the method further includes a step of configuring a trigger type table, which specifically includes:
step S302, when a configuration event aiming at the trigger type table is detected, a type table configuration interface corresponding to the trigger type table is displayed.
In this embodiment, the trigger type table is configured according to the configuration event for the trigger type table, so as to implement flexible setting of the trigger type table. Specifically, if a configuration event for the trigger type table is detected, that is, it indicates that the trigger type table needs to be configured, and if a terminal user touches and clicks a configuration control for the trigger type table in the interface, so as to trigger a corresponding configuration event, a type table configuration interface corresponding to the trigger type table is displayed. The type table configuration interface may show the trigger type and the corresponding activation status included in the trigger type table, i.e., whether to take effect. Fig. 4 is a schematic diagram of a type table configuration interface in an embodiment, showing types of trigger types and whether various trigger types are activated or not. In addition, the type table configuration interface can be flexibly set according to actual requirements, for example, after various trigger types are clicked, the configuration sub-interface of the trigger type can be entered, so that specific configuration processing can be further performed in the configuration sub-interface.
Step S304, after triggering the type table configuration operation for the type table configuration interface, acquiring the type table configuration data generated by the type table configuration operation.
And after the type table configuration interface corresponding to the trigger type table is displayed, the terminal user operates the type table configuration interface. After triggering type table configuration operation aiming at the type table configuration interface, obtaining type table configuration data generated by the type table configuration operation. The type table configuration data comprises configuration operation data triggered by a user in a type table configuration interface, such as addition, deletion, activation state switching and the like of trigger types.
And step S306, updating and configuring the trigger type table according to the type table configuration data.
After the type table configuration data is obtained, the trigger type table is updated and configured based on the type table configuration data, namely, the trigger type table is updated and configured according to the configuration operation of the terminal user on the trigger type table, so that the trigger type table can be flexibly set by the terminal user.
In one embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop starting application switching, returning desktop switching and inter-application switching; determining the trigger type corresponding to the screen transfer trigger operation according to the switching type function, the instruction corresponding to the screen transfer trigger operation and the trigger type table comprises: when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen turning trigger operation is screen locking interface switching; when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching; when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation belongs to switching between multi-task and application; when the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; when the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching; and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In this embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, switching between multitask and application, desktop startup application switching, returning to desktop switching, and switching between applications, and the trigger type corresponding to the screen turn trigger operation is determined according to a switching type function and an instruction corresponding to the screen turn trigger operation. The method comprises the steps that screen turning is needed when screen locking is triggered by screen locking interface switching representation, screen turning events are triggered when an application program is started through a notification bar by notification bar switching representation, screen turning events are triggered when switching is conducted between multiple tasks and the application program by means of switching representation between multiple tasks and the application program, screen turning events are triggered when the application program is started from a terminal desktop by desktop starting application switching representation, and screen turning events are triggered when other interfaces return to the desktop by desktop switching representation; the inter-application switching representation triggers a screen turn event when switching among a plurality of applications.
Specifically, when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen turning trigger operation is screen locking interface switching; when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching; when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation belongs to switching between multi-task and application; when the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; when the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching; and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In specific application, if the function value of the AppTransitionType function is KEYGUARD (specifically, transfer _ KEYGUARD _ gain _ aware) when the function value is implemented in an android operating system, it is determined that the trigger type corresponding to the screen transfer trigger operation is screen lock interface switching; if the instruction corresponding to the screen turning triggering operation comprises CATEGORY _ LAUNCHER, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; if the instruction corresponding to the screen turning triggering operation comprises the HomeType, determining that the triggering type corresponding to the screen turning triggering operation belongs to returning to the desktop for switching; if the function value of the switching type function includes Activity (specifically, transfer _ Activity _ OPEN, transfer _ Activity _ relax, transfer _ Activity _ CLOSE) or Task (specifically, transfer _ Task _ OPEN _ hold, transfer _ Task _ TO _ FRONT, transfer _ Task _ CLOSE, transfer _ Task _ TO _ BACK _ shift _ IN _ plane), it is determined that the trigger type corresponding TO the screen transition trigger operation is the inter-application switching.
In specific implementation, the type matching can be performed according to the sequence of screen locking interface switching, notification bar switching, switching between multitask and application, desktop starting application switching, returning to desktop switching and switching between applications, and the type matching can also be performed according to other flexibly set sequences.
In one embodiment, further comprising: and when the function value of the switching type function is determined to be not matched with the trigger type recorded by the trigger type table, determining that the trigger type corresponding to the screen turning trigger operation is native screen turning.
In this embodiment, for a trigger type that does not belong to the trigger type table record, it is determined that the trigger type is native screen rotation, that is, the horizontal and vertical screen switching display can be performed according to the native screen rotation picture. Specifically, if it is determined that the function value of the switching type function is not matched with the trigger type recorded by the trigger type table, that is, the screen turning trigger operation does not belong to the trigger type recorded by the trigger type table, it is determined that the trigger type to which the screen turning trigger operation corresponds is native screen turning, and the horizontal and vertical screen switching is displayed according to a native screen turning picture. In a specific application, for example, for an android operating system, a native screen transition picture corresponding to a trigger type of a native screen transition may be a set of animations of screenrotanation.
In a specific application, according to the sequence of screen locking interface switching, notification bar switching, multi-task and application switching, desktop start application switching, and returning to desktop switching and application switching, a preliminary judgment may be performed based on a switching type function to determine whether a trigger type corresponding to a screen turn trigger operation is in a trigger type table, and if the trigger type corresponding to the screen turn trigger operation cannot be determined only according to a function value of the switching type function, the trigger type corresponding to the screen turn trigger operation may be further determined according to an instruction corresponding to the screen turn trigger operation. On the other hand, if the function value of the switching type function is not in the trigger type table, the trigger type corresponding to the screen turning trigger operation is determined to be the native screen turning.
Specifically, when a screen turning event is detected, determining a switching type function from a switching flow corresponding to a screen turning triggering operation for triggering the screen turning event, judging whether a function value of the determined switching type function is in a preset triggering type table, and if not, determining that the triggering type corresponding to the screen turning triggering operation is a native screen turning. If so, and the function value of the switching type function comprises a screen locking label, determining that the screen switching trigger operation corresponds to the corresponding trigger type as screen locking interface switching; if the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching; if the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation is switching between multi-task and application; if the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; if the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching; and if the function value of the switching type function comprises an application component task label, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In a specific application, for example, in an android operating system, after onConfigurationChanged is triggered, whether a trigger type corresponding to a screen transfer trigger operation is in a trigger type table is determined according to a switching type function, namely AppTransitionType, determined in a switching flow corresponding to the screen transfer trigger operation. If the app transitionatype of the landscape screen is TRANSIT _ TASK _ OPEN when the application returns to the desktop and a screen transition event occurs, the corresponding trigger type cannot be determined at this time, so that the trigger type is determined to be the return desktop switching by further combining launchers in the instruction corresponding to the screen trigger operation, namely, HomeType. If the application is switched from the notification bar and a screen transition event occurs, the function value of the AppTransitionType is in the trigger type table, and when the instruction corresponding to the screen transition trigger operation is further detected to include a notification bar label, the trigger type corresponding to the screen transition trigger operation is determined to be notification bar switching. For another example, when the screen is locked and unlocked, if the started application has a screen transition event, and its AppTransitionType is that the function value includes transfer _ keyuard _ GOING _ AWAY, and in the trigger type table and the corresponding trigger type can already be determined, it is determined that its trigger type is a switching type function.
In one embodiment, determining that the trigger type corresponds to the preset screen turning picture includes: inquiring a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture; performing picture matching in a screen-turning picture library according to the trigger type to obtain a picture matching result; and determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
In this embodiment, the screen transition picture corresponding to the trigger type is matched from a preset screen transition picture library. Specifically, after determining that the screen turning trigger operation triggering the screen turning event corresponds to the corresponding trigger type, querying a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture. The screen turning picture library can also be flexibly set according to actual requirements, for example, a user configures the screen turning picture library through a picture library configuration interface. And carrying out picture matching on the determined trigger type and each trigger type recorded in the screen-turning picture library to obtain a picture matching result. And determining a preset screen turning picture corresponding to the trigger type according to the picture matching result, and specifically taking the screen turning picture corresponding to the trigger type in the successfully matched screen turning picture library as the preset screen turning picture corresponding to the trigger type.
In a specific application, the trigger types recorded by the trigger type table comprise screen locking interface switching, notification bar switching, multi-task and application switching, desktop starting application switching, returning to desktop switching and application switching, and the screen transfer picture library is correspondingly constructed according to the trigger types recorded by the trigger type table and comprises a screen locking interface switching screen transfer picture, a notification bar switching screen transfer picture, a multi-task and application switching screen transfer picture, a desktop starting application switching screen transfer picture, a returning desktop switching screen transfer picture and an application switching screen transfer picture.
Wherein, to lock screen interface switching and change the screen picture, can be after the unblock when the applied direction of cross screen is lantscape (terminal rotation 90 degrees, the mouth that charges is right side this moment), then lock screen interface switching and change the screen picture can be that the applied picture of cross screen jumps into and shows in the terminal screen from the right side of terminal screen, if the applied direction of cross screen is reverse-lantscape (terminal rotation 270 degrees this moment, the mouth that charges is towards the left this moment) after the unblock this moment, then lock screen interface switching and change the screen picture and can be that the applied picture of cross screen jumps into and shows in the terminal screen from the left side of terminal screen. For the notification bar switching and screen-turning picture, when the notification bar is pulled down and then the notification is clicked, the (horizontal screen/vertical screen) application is started, and then the notification bar switching and screen-turning picture jumps in from the right side of the (horizontal screen/vertical screen) picture after the notification bar is folded. For the screen conversion picture switched between the multitask and the application, when the picture is a horizontal screen and enters a multitask interface, and a Home key of the terminal is clicked to return to a desktop, the screen conversion picture switched between the multitask and the application is the horizontal screen, the multitask amplification and the transparency fade out, and finally the desktop of the terminal appears. For the desktop startup application switching screen-turning picture, when the horizontal screen application is started from the desktop, the desktop startup application switching screen-turning picture is enlarged from a small size to the full screen of the terminal from the position close to the application program icon to be started. For the returned desktop switching and screen rotating picture, when the current desktop switching and screen rotating picture is in a horizontal screen picture and a Home key is clicked to return to the desktop, the returned desktop switching and screen rotating picture starts from the full screen of the terminal, is reduced towards the center of the screen, and gradually disappears in transparency; when the Back button is clicked to return to the desktop, the screen is switched to be turned from the horizontal screen to the lower side of the screen, and the transparency gradually disappears. For the inter-application switching screen transition, when another (landscape/portrait) application is started by clicking a link or other operation, the inter-application switching screen transition is displayed on the terminal screen by jumping to the right of the screen of the other (landscape/portrait) application.
In one embodiment, further comprising: when a configuration event aiming at the screen turning picture library is detected, displaying a picture library configuration interface corresponding to the screen turning picture library; after the picture library configuration operation aiming at the picture library configuration interface is triggered, obtaining picture library configuration data generated by the picture library configuration operation; and updating and configuring the screen turning picture library according to the picture library configuration data.
In this embodiment, the terminal may perform personalized configuration on the screen library. Specifically, when a configuration event for the screen transfer screen library is detected, if a terminal user touches and clicks a configuration control for the screen transfer screen library in the interface, so as to trigger a corresponding configuration event, which indicates that the terminal user needs to configure the screen transfer screen library, the screen library configuration interface corresponding to the screen transfer screen library is displayed. The screen library configuration interface can display the content which can be personalized by the user to the screen-turning screen library so as to be operated by the terminal user on the screen library configuration interface. After the picture library configuration operation aiming at the picture library configuration interface is triggered, picture library configuration data generated by the picture library configuration operation are obtained, wherein the picture library configuration data comprise configuration operation data aiming at a screen turning picture library triggered in the picture library configuration interface by a user, such as replacement, addition, deletion and the like of a screen turning picture. And updating and configuring the screen-turning picture library according to the picture library configuration data, thereby realizing the flexible setting of the screen-turning picture library by a terminal user.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a screen-rotation picture display device including: a trigger operation determination module 502, a trigger type determination module 504, a screen transition screen determination module 506, and a screen transition screen presentation module 508, wherein:
a trigger operation determining module 502, configured to determine, when a screen turning event is detected, a screen turning trigger operation that triggers the screen turning event;
a trigger type determining module 504, configured to determine a trigger type to which a screen turning trigger operation that triggers a screen turning event corresponds;
a screen turning picture determining module 506, configured to determine that the trigger type corresponds to a preset screen turning picture;
and a screen turning picture display module 508, configured to display a screen turning picture corresponding to the trigger type when performing horizontal and vertical screen switching processing according to the screen turning event.
In one embodiment, the trigger operation determination module 502 includes a handover procedure query unit, a type function determination unit, and a trigger type determination unit; wherein: the switching process query unit is used for querying a switching process corresponding to the screen turning triggering operation for triggering the screen turning event; a type function determining unit, configured to determine a handover type function from a handover procedure; and the trigger type determining unit is used for determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
In one embodiment, the trigger type determination unit includes a type table look-up unit and a type table processing unit; wherein: the type table query unit is used for querying a preset trigger type table, and the trigger type table records the corresponding relation between each switching type function and the corresponding instruction of each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation; and the type table processing unit is used for determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
In one embodiment, the type table processing unit includes a priority querying unit, a type matching unit, and a matching result processing unit; wherein: the priority inquiry unit is used for inquiring a preset type to determine the priority; the type matching unit is used for determining the sequence of the priority from high to low according to the type, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result; and the matching result processing unit is used for determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
In one embodiment, the system further comprises a type table configuration interface display module, a type table configuration data acquisition module and a type table updating configuration module; wherein: the type table configuration interface display module is used for displaying a type table configuration interface corresponding to the trigger type table when a configuration event aiming at the trigger type table is detected; the type table configuration data acquisition module is used for acquiring type table configuration data generated by type table configuration operation after triggering the type table configuration operation aiming at the type table configuration interface; and the type table updating and configuring module is used for updating and configuring the trigger type table according to the type table configuration data.
In one embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop starting application switching, returning desktop switching and inter-application switching; the type table processing unit comprises a screen locking label unit, a notification bar label unit, a multi-task reference switching label unit, a desktop starting label unit, a return desktop label unit and an application component task label unit; wherein: the screen locking tag unit is used for determining that the screen turning trigger operation corresponds to the corresponding trigger type to be screen locking interface switching when the function value of the switching type function comprises a screen locking tag; the notification bar label unit is used for determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching when the instruction corresponding to the screen turning trigger operation comprises a notification bar label; the multi-task reference switching label unit is used for determining that the trigger type corresponding to the screen turning trigger operation is switching between multi-task and application when the instruction corresponding to the screen turning trigger operation comprises a multi-task reference switching label; the desktop starting label unit is used for determining that the trigger type corresponding to the screen turning trigger operation is desktop starting application switching when the instruction corresponding to the screen turning trigger operation comprises a desktop starting label; the return desktop label unit is used for determining that the trigger type corresponding to the screen turning trigger operation is return desktop switching when the instruction corresponding to the screen turning trigger operation comprises a return desktop label; and the application component task tag unit is used for determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching when the function value of the switching type function comprises the application component task tag.
In an embodiment, the method further includes a native screen turning unit, configured to determine that a trigger type corresponding to the screen turning trigger operation is a native screen turning when it is determined that the function value of the switching type function does not match the trigger type recorded in the trigger type table.
In one embodiment, the screen-turning picture determination module 506 includes a picture library query unit, a picture matching unit, and a screen-turning picture determination unit; wherein: the screen library query unit is used for querying a preset screen-turning screen library, and the screen-turning screen library records the corresponding relation between each trigger type and each screen-turning picture; the picture matching unit is used for carrying out picture matching in the screen-turning picture library according to the trigger type to obtain a picture matching result; and the screen turning picture determining unit is used for determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
In one embodiment, the system further comprises a picture library configuration interface display module, a picture library configuration data acquisition module and a picture library updating configuration module; wherein: the screen library configuration interface display module is used for displaying a screen library configuration interface corresponding to the screen conversion screen library when a configuration event aiming at the screen conversion screen library is detected; the picture library configuration data acquisition module is used for acquiring picture library configuration data generated by picture library configuration operation after the picture library configuration operation aiming at the picture library configuration interface is triggered; and the picture library updating configuration module is used for performing screen turning on the picture library according to the picture library configuration data.
For specific limitations of the screen transition image display device, reference may be made to the above limitations of the screen transition image display method, which are not described herein again. All or part of the modules in the screen turning picture display device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of rotating a screen display. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
In one embodiment, the processor, when executing the computer program, further performs the steps of: inquiring a switching flow corresponding to screen turning triggering operation for triggering a screen turning event; determining a switching type function from a switching process; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: inquiring a preset trigger type table, wherein the trigger type table records the corresponding relation between each switching type function and the corresponding instruction of each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
In one embodiment, the processor, when executing the computer program, further performs the steps of: querying a preset type to determine priority; determining the order of the priority from high to low according to the type, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result; and determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when a configuration event aiming at the trigger type table is detected, displaying a type table configuration interface corresponding to the trigger type table; after triggering type table configuration operation aiming at a type table configuration interface, acquiring type table configuration data generated by the type table configuration operation; and updating and configuring the trigger type table according to the type table configuration data.
In one embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop starting application switching, returning desktop switching and inter-application switching; the processor, when executing the computer program, further performs the steps of: when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen turning trigger operation is screen locking interface switching; when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching; when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation belongs to switching between multi-task and application; when the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; when the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching; and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the function value of the switching type function is determined to be not matched with the trigger type recorded by the trigger type table, determining that the trigger type corresponding to the screen turning trigger operation is native screen turning.
In one embodiment, the processor, when executing the computer program, further performs the steps of: inquiring a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture; performing picture matching in a screen-turning picture library according to the trigger type to obtain a picture matching result; and determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when a configuration event aiming at the screen turning picture library is detected, displaying a picture library configuration interface corresponding to the screen turning picture library; after the picture library configuration operation aiming at the picture library configuration interface is triggered, obtaining picture library configuration data generated by the picture library configuration operation; and performing screen turning on the screen library according to the configuration data of the screen library.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to a screen turning trigger operation for triggering a screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
In one embodiment, the computer program when executed by the processor further performs the steps of: inquiring a switching flow corresponding to screen turning triggering operation for triggering a screen turning event; determining a switching type function from a switching process; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
In one embodiment, the computer program when executed by the processor further performs the steps of: inquiring a preset trigger type table, wherein the trigger type table records the corresponding relation between each switching type function and the corresponding instruction of each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation; and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
In one embodiment, the computer program when executed by the processor further performs the steps of: querying a preset type to determine priority; determining the order of the priority from high to low according to the type, and performing type matching on the switching type function, the instruction corresponding to the screen turning triggering operation and the triggering type table to obtain a type matching result; and determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
In one embodiment, the computer program when executed by the processor further performs the steps of: when a configuration event aiming at the trigger type table is detected, displaying a type table configuration interface corresponding to the trigger type table; after triggering type table configuration operation aiming at a type table configuration interface, acquiring type table configuration data generated by the type table configuration operation; and updating and configuring the trigger type table according to the type table configuration data.
In one embodiment, the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop starting application switching, returning desktop switching and inter-application switching; the computer program when executed by the processor further realizes the steps of: when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen turning trigger operation is screen locking interface switching; when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching; when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation belongs to switching between multi-task and application; when the instruction corresponding to the screen turning triggering operation comprises a desktop starting label, determining that the triggering type corresponding to the screen turning triggering operation is desktop starting application switching; when the instruction corresponding to the screen turning triggering operation comprises a return desktop label, determining that the triggering type corresponding to the screen turning triggering operation is return desktop switching; and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is the inter-application switching.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the function value of the switching type function is determined to be not matched with the trigger type recorded by the trigger type table, determining that the trigger type corresponding to the screen turning trigger operation is native screen turning.
In one embodiment, the computer program when executed by the processor further performs the steps of: inquiring a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture; performing picture matching in a screen-turning picture library according to the trigger type to obtain a picture matching result; and determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
In one embodiment, the computer program when executed by the processor further performs the steps of: when a configuration event aiming at the screen turning picture library is detected, displaying a picture library configuration interface corresponding to the screen turning picture library; after the picture library configuration operation aiming at the picture library configuration interface is triggered, obtaining picture library configuration data generated by the picture library configuration operation; and performing screen turning on the screen library according to the configuration data of the screen library.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A screen-turning picture display method comprises the following steps:
when a screen turning event is detected, determining screen turning triggering operation for triggering the screen turning event;
determining a trigger type corresponding to the screen turning trigger operation for triggering the screen turning event;
determining a preset screen turning picture corresponding to the trigger type;
and displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
2. The method according to claim 1, wherein the determining that the screen turn trigger operation for triggering the screen turn event corresponds to the trigger type comprises:
inquiring a switching flow corresponding to screen turning triggering operation for triggering the screen turning event;
determining a handover type function from the handover procedure;
and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function and the instruction corresponding to the screen turning trigger operation.
3. The method of claim 2, wherein determining the trigger type corresponding to the screen turn trigger operation according to the switching type function and the instruction corresponding to the screen turn trigger operation comprises:
inquiring a preset trigger type table, wherein the trigger type table records the corresponding relation between each switching type function and each instruction corresponding to each screen turning trigger operation and the corresponding trigger type of each screen turning trigger operation;
and determining the trigger type corresponding to the screen turning trigger operation according to the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table.
4. The method according to claim 3, wherein the determining, according to the switching type function, the instruction corresponding to the screen turn trigger operation, and the trigger type table, the trigger type to which the screen turn trigger operation corresponds includes:
querying a preset type to determine priority;
determining the order of the priority from high to low according to the types, and performing type matching on the switching type function, the instruction corresponding to the screen turning trigger operation and the trigger type table to obtain a type matching result;
and determining the trigger type corresponding to the screen turning trigger operation according to the type matching result.
5. The method of claim 3, further comprising:
when a configuration event aiming at the trigger type table is detected, displaying a type table configuration interface corresponding to the trigger type table;
after triggering type table configuration operation aiming at the type table configuration interface, acquiring type table configuration data generated by the type table configuration operation;
and updating and configuring the trigger type table according to the type table configuration data.
6. The method according to claim 3, wherein the trigger types recorded by the trigger type table include screen locking interface switching, notification bar switching, multitask and inter-application switching, desktop startup application switching, return desktop switching, and inter-application switching; the determining, according to the switching type function, the instruction corresponding to the screen turn triggering operation, and the triggering type table, the triggering type to which the screen turn triggering operation corresponds includes:
when the function value of the switching type function comprises a screen locking label, determining that the corresponding trigger type of the screen switching trigger operation is screen locking interface switching;
when the instruction corresponding to the screen turning trigger operation comprises a notification bar label, determining that the trigger type corresponding to the screen turning trigger operation is notification bar switching;
when the instruction corresponding to the screen turning triggering operation comprises a multi-task reference switching label, determining that the triggering type corresponding to the screen turning triggering operation is switching between multi-task and application;
when the instruction corresponding to the screen turning trigger operation comprises a desktop starting label, determining that the trigger type corresponding to the screen turning trigger operation is desktop starting application switching;
when the instruction corresponding to the screen turning trigger operation comprises a return desktop label, determining that the trigger type corresponding to the screen turning trigger operation is return desktop switching;
and when the function value of the switching type function comprises an application component task tag, determining that the trigger type corresponding to the screen turning trigger operation is switching between applications.
7. The method of claim 6, further comprising:
and when the function value of the switching type function is determined to be not matched with the trigger type recorded by the trigger type table, determining that the trigger type corresponding to the screen turning trigger operation is native screen turning.
8. The method according to any one of claims 1 to 7, wherein the determining that the trigger type corresponds to a preset screen turning picture comprises:
inquiring a preset screen turning picture library, wherein the screen turning picture library records the corresponding relation between each trigger type and each screen turning picture;
performing picture matching in the screen-turning picture library according to the trigger type to obtain a picture matching result;
and determining a preset screen turning picture corresponding to the trigger type according to the picture matching result.
9. The method of claim 8, further comprising:
when a configuration event aiming at the screen turning picture library is detected, displaying a picture library configuration interface corresponding to the screen turning picture library;
after the picture library configuration operation aiming at the picture library configuration interface is triggered, obtaining picture library configuration data generated by the picture library configuration operation;
and updating and configuring the screen turning picture library according to the picture library configuration data.
10. A screen-rotation picture display device, comprising:
the trigger operation determining module is used for determining to trigger the screen turning trigger operation of the screen turning event when the screen turning event is detected;
the trigger type determining module is used for determining a trigger type corresponding to the screen turning trigger operation for triggering the screen turning event;
the screen turning picture determining module is used for determining a preset screen turning picture corresponding to the trigger type;
and the screen turning picture display module is used for displaying the screen turning picture corresponding to the trigger type when the horizontal and vertical screen switching processing is carried out according to the screen turning event.
11. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN201910978531.0A 2019-10-15 2019-10-15 Method and device for displaying screen turning picture, computer equipment and storage medium Active CN112667327B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910978531.0A CN112667327B (en) 2019-10-15 Method and device for displaying screen turning picture, computer equipment and storage medium
PCT/CN2020/121004 WO2021073549A1 (en) 2019-10-15 2020-10-15 Screen rotation picture display method and apparatus, computer device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910978531.0A CN112667327B (en) 2019-10-15 Method and device for displaying screen turning picture, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112667327A true CN112667327A (en) 2021-04-16
CN112667327B CN112667327B (en) 2024-05-28

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455249A (en) * 2012-05-30 2013-12-18 腾讯科技(深圳)有限公司 Split screen switch method and device
CN104978115A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Content display method and device
CN107102801A (en) * 2017-03-28 2017-08-29 北京小米移动软件有限公司 Terminal screen spinning solution and device
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal
CN108334349A (en) * 2017-08-29 2018-07-27 广东欧珀移动通信有限公司 Mobile terminal and its display picture changeover method, computer readable storage medium
JP2019061717A (en) * 2014-03-12 2019-04-18 華為終端有限公司 Screen locking method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455249A (en) * 2012-05-30 2013-12-18 腾讯科技(深圳)有限公司 Split screen switch method and device
JP2019061717A (en) * 2014-03-12 2019-04-18 華為終端有限公司 Screen locking method and mobile terminal
CN104978115A (en) * 2014-04-02 2015-10-14 腾讯科技(深圳)有限公司 Content display method and device
CN107102801A (en) * 2017-03-28 2017-08-29 北京小米移动软件有限公司 Terminal screen spinning solution and device
CN108334349A (en) * 2017-08-29 2018-07-27 广东欧珀移动通信有限公司 Mobile terminal and its display picture changeover method, computer readable storage medium
CN108234763A (en) * 2017-12-29 2018-06-29 广州优视网络科技有限公司 Horizontal/vertical screen switching method, device and terminal

Also Published As

Publication number Publication date
WO2021073549A1 (en) 2021-04-22

Similar Documents

Publication Publication Date Title
US20140237402A1 (en) Method for managing application and electronic device thereof
CN112148163A (en) Screen recording method and device and electronic equipment
CN107391165A (en) Control display methods, client and storage medium
WO2013152724A1 (en) Data processing method and device
CN111694490A (en) Setting method and device and electronic equipment
CN114518822A (en) Application icon management method and device and electronic equipment
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN112783388B (en) Display method, display device and electronic equipment
WO2023093661A1 (en) Interface control method and apparatus, and electronic device and storage medium
CN115576463A (en) Background application management method and device, electronic equipment and medium
CN112667327A (en) Screen-turning picture display method and device, computer equipment and storage medium
CN114416269A (en) Interface display method and display device
CN114827737A (en) Image generation method and device and electronic equipment
CN112667327B (en) Method and device for displaying screen turning picture, computer equipment and storage medium
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN115167721A (en) Display method and device of functional interface
CN114995713A (en) Display control method and device, electronic equipment and readable storage medium
CN113325986A (en) Program control method, program control device, electronic device and readable storage medium
CN117076265A (en) Process indication method and device
CN117354594A (en) Method and device for generating media content, electronic equipment and readable storage medium
CN115328355A (en) Application function starting method and device
CN116774872A (en) Control method, control device, electronic equipment and storage medium
CN116700866A (en) Window drawing method and device and electronic equipment
CN113821293A (en) Interface switching method and device
CN117406880A (en) Information display method, device, electronic equipment and medium

Legal Events

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