CN106873898B - Application program working mode switching method and device and electronic equipment - Google Patents

Application program working mode switching method and device and electronic equipment Download PDF

Info

Publication number
CN106873898B
CN106873898B CN201710167936.7A CN201710167936A CN106873898B CN 106873898 B CN106873898 B CN 106873898B CN 201710167936 A CN201710167936 A CN 201710167936A CN 106873898 B CN106873898 B CN 106873898B
Authority
CN
China
Prior art keywords
working mode
application program
screen
terminal
brightness value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710167936.7A
Other languages
Chinese (zh)
Other versions
CN106873898A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710167936.7A priority Critical patent/CN106873898B/en
Publication of CN106873898A publication Critical patent/CN106873898A/en
Application granted granted Critical
Publication of CN106873898B publication Critical patent/CN106873898B/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]
    • 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
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for switching working modes of an application program and electronic equipment, and relates to the field of computer internet, wherein the method comprises the following steps: the method comprises the steps that an application program runs in a terminal foreground, and an operable prompt area is displayed in a screen of the terminal when the application program is determined to run in a first working mode; receiving a first touch instruction input by a user, wherein the first touch instruction is touch operation of the user on an operable prompt area; according to the first touch instruction, switching from the first working mode to a second working mode so that the application program keeps a running state in the second working mode; the first working mode is a working mode that the screen has a higher brightness value than the first screen; the second working mode is that the uppermost layer of the screen displays a black picture, and the brightness of the screen is below the brightness value of the second screen. The invention realizes the mode switching of the terminal, and the application program keeps the running state in the mode switching process.

Description

Application program working mode switching method and device and electronic equipment
Technical Field
The invention relates to the field of computer internet, in particular to an application program working mode method, an application program working mode device and electronic equipment.
Background
Currently, a plurality of game application programs can be loaded in the terminal, and the terminal receives a game application icon clicked by a user and opens the corresponding game program.
When the game program runs, the user operates the game program through the terminal, and the terminal is kept in a highlight working mode; if the user does not need to operate the game program, the terminal switches the highlight working mode to the black screen working mode by receiving gesture operation (for example, combination of a plurality of gesture operations) of the user, and therefore the electric quantity of the terminal is saved.
However, the terminal can only switch the working mode by combining a plurality of gesture operations of a receiving user, and the existing gesture operations of the user are complex, so that the switching is complicated and not convenient enough; in addition, many games need to be kept in a running state when a user does not operate the games, but the problem that the application program cannot be continuously run in the black screen working mode also occurs after the terminal switches the working modes in the prior art.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and an electronic device for maintaining continuous operation of an application program, which can solve the problems in the prior art that when a user does not operate the application program, mode switching of a terminal is complicated, not convenient and fast enough, and after the terminal performs the mode switching, the application program cannot be continuously operated.
In a first aspect, an embodiment of the present invention provides an application program operating mode switching method, which is applied to a terminal, and the method includes:
the method comprises the steps that an application program runs in a terminal foreground, and an operable prompt area is displayed in a screen of the terminal when the application program is determined to run in a first working mode;
receiving a first touch instruction input by a user, wherein the first touch instruction is touch operation of the user on the operable prompt area;
according to the first touch instruction, switching from the first working mode to a second working mode so that the application program keeps a running state in the second working mode;
the first working mode is a working mode that the screen has a higher brightness value than a first screen;
and the second working mode is that the uppermost layer of the screen displays a black picture, and the brightness of the screen is below a second screen brightness value.
With reference to the first aspect, in a first implementation manner of the first aspect, when the application program keeps running in the second operating mode, the method further includes:
and stopping the execution operation corresponding to the signal after receiving the signal triggering the terminal physical key.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, when the application program keeps a running state in the second operating mode, the method further includes:
and after receiving a signal for triggering the sound effect mode of the application program, stopping the execution operation corresponding to the signal.
With reference to the first implementation manner of the first aspect, in a third implementation manner of the first aspect, when the application program keeps a running state in the second operating mode, the method further includes:
and after receiving a second touch instruction input by the user, switching from the second working mode to the first working mode.
With reference to the first implementation manner of the first aspect, in a fourth implementation manner of the first aspect, when the application program keeps a running state in the second operating mode, the method further includes:
after a third touch instruction input by the user is received, adjusting the screen brightness value in the second working mode to the screen brightness value in the first working mode;
after the second touch instruction is received again within the preset time,
and adjusting the screen brightness value in the first working mode to the screen brightness value in the second working mode and keeping the screen brightness value in the second working mode.
In a second aspect, an embodiment of the present invention provides an apparatus for switching an operating mode of an application, where the apparatus is applied to a terminal, and the apparatus includes:
the display unit is used for displaying an operable prompt area in a screen of the terminal when the application program runs in the foreground of the terminal and is determined to run in a first working mode;
the receiving unit is used for receiving a first touch instruction input by a user, wherein the first touch instruction is touch operation of the user on the operable prompt area;
the adjusting unit is used for switching from the first working mode to a second working mode according to the first touch instruction so as to enable the application program to keep a running state in the second working mode;
the first working mode is a working mode that the screen has a higher brightness value than a first screen;
and the second working mode is that the uppermost layer of the screen displays a black picture, and the brightness of the screen is below a second screen brightness value.
With reference to the second aspect, in a first implementation manner of the second aspect, while the application program remains running in the second operation mode, the apparatus further includes: and the stopping unit is used for stopping the execution operation corresponding to the signal after the receiving unit receives the signal for triggering the terminal physical key.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, when the application program keeps a running state in the second operating mode, the stopping unit is further configured to stop the execution operation corresponding to the signal after the receiving unit receives the signal triggering the application program sound effect mode.
With reference to the first implementation manner of the second aspect, in a third implementation manner of the second aspect, when the application program keeps a running state in the second operation mode, the adjusting unit is further configured to switch from the second operation mode to the first operation mode after the receiving unit receives a second touch instruction input by the user.
With reference to the first embodiment of the second aspect, in a fourth embodiment of the second aspect
When the application program keeps the running state in the second working mode, the adjusting unit is further configured to adjust the screen brightness value in the second working mode to the screen brightness value in the first working mode after the receiving unit receives a third touch instruction input by the user;
after the receiving unit receives the second touch instruction again within a preset time, the screen brightness value in the first working mode is adjusted to the screen brightness value in the second working mode, and the device is kept in the second working mode.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, and is used for executing any one of the methods for keeping the application program continuously running.
According to the method and the device for switching the working modes of the application program and the electronic equipment, the application program runs in a terminal foreground, and an operable prompt area is displayed in a screen after the application program is determined to run in a first working mode; and the terminal is switched from the first working mode to the second working mode according to the received first touch instruction of the user to the operable prompt area, so that the application program keeps a running state in the second working mode. The first working mode is a working mode that the screen has a higher brightness value than the first screen, the second working mode is a mode that the uppermost layer of the screen displays a black picture, and the brightness value of the screen is below the second screen brightness value. The method and the device can solve the problems that in the prior art, when a user does not operate the application program, the mode switching of the terminal is complex, the terminal is not convenient enough, and the application program cannot run continuously after the terminal switches the mode. The terminal can rapidly switch modes, and the application program can keep the running state in the mode switching process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an application operating mode switching method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a terminal displaying an operable prompt area according to an embodiment of the present invention;
fig. 3 is a schematic diagram of the terminal in a second operating mode according to the embodiment of the present invention;
fig. 4 is a flowchart of another method for switching operating modes of an application according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a terminal according to an embodiment of the present invention performing a working mode conversion;
fig. 6 is a flowchart of another method for switching operating modes of an application according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an application operating mode switching apparatus according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes a scheme provided in an embodiment of the present invention in detail with reference to fig. 1, where fig. 1 is a flowchart of an application operating mode switching method provided in an embodiment of the present invention, and an implementation subject in the embodiment of the present invention is a terminal. As shown in fig. 1, the method provided in the embodiment of the present invention specifically includes the following steps:
and 110, the application program runs in a terminal foreground, and an operable prompt area is displayed in a screen of the terminal when the application program is determined to run in a first working mode.
In the embodiment of the invention, the terminal starts an application program detection and control mode. The application program detection and control mode monitors and processes the current foreground and background application programs by calling a system interface of the terminal.
The user clicks on an application icon (e.g., a game application) on the terminal, the terminal launches the application, and the application runs in the terminal foreground.
In the application program detection and control mode, the terminal determines that a certain application program runs in the first working mode (for example, the game application program runs in the foreground), and the terminal displays an operable prompt area in the current screen, as shown in fig. 2.
In fig. 2, the operable prompt region may be implemented in the form of a prompt key, and may be disposed at any position in the screen.
It should be noted that, in the embodiment of the present invention, the first operation mode, that is, the operation mode in which the screen of the terminal has a brightness value higher than that of the first screen, and the user can directly operate the terminal.
The terminal related to the embodiment of the invention is specifically equipment such as a smart phone and a tablet personal computer.
And step 120, receiving a first touch instruction input by a user, wherein the first touch instruction is a touch operation of the user on the operable prompt area.
In the embodiment of the invention, after the terminal displays the operable prompt area, the user operates the operable prompt area. For example, the user touches the operable display area. The terminal receives a first touch instruction input by a user. The first touch instruction is a touch operation of the user on the operable prompt area, such as a single-click operation or a double-click operation, as shown in fig. 2.
Step 130, according to the first touch instruction, switching from the first working mode to a second working mode, so that the application program keeps a running state in the second working mode.
In the embodiment of the invention, after the terminal receives the first touch instruction, the terminal adjusts the working mode of the terminal according to the first touch instruction, so that the application program still keeps the running state when the working mode is switched.
Further, the specifically switching the terminal from the first operating mode to the second operating mode is: and the terminal adjusts the screen brightness value in the first working mode. That is, the terminal adjusts the screen brightness value in the first operating mode to the screen brightness value in the second operating mode, for example, the screen brightness value in the second operating mode is 0%. And the terminal calls a black picture from the self picture library and displays the black picture. The black picture is the same as the terminal screen in size. The black picture is displayed through the terminal, so that the user can be prevented from mistakenly touching the screen in the terminal black screen state and quitting the application program.
After receiving the signal for triggering the physical key of the terminal, the terminal stops the execution operation corresponding to the signal, for example, the signal is used for stopping the function of the physical key included in the terminal, so that the electric quantity of the terminal is saved. The physical keys can be embodied as a 'home' key, a volume adjusting key, a switch key and the like.
And after receiving the signal triggering the sound effect mode of the application program, the terminal stops executing operation corresponding to the signal. For example, after the terminal receives a signal for triggering the sound effect mode of the application program, the terminal judges whether the sound effect mode of the application program is started or not, and if the sound effect mode of the application program is started, the terminal stops the sound effect mode of the application program, so that the electric quantity of the terminal is saved.
The second working mode of the embodiment of the invention is that the uppermost layer of the screen displays a black picture, and the brightness of the screen is below the brightness value of the second screen.
When the terminal adjusts the screen brightness value in the second working mode to 0%, calls and displays the black picture, stops the function of the physical key and stops the sound effect mode, the screen of the terminal is always displayed as a black screen, as shown in fig. 3, but the application program still keeps the running state under the black screen.
It should be noted that the terminal adjusts the screen brightness value through the setting modification technology. The setting modification technology is a program configured in a terminal operating system before the terminal leaves a factory.
In the embodiment of the invention, an application program runs in a terminal foreground, and an operable prompt area is displayed in a screen after the application program is determined to run in a first working mode; and the terminal is switched from the first working mode to the second working mode according to the received first touch instruction of the user to the operable prompt area, so that the application program keeps a running state in the second working mode. The first working mode is a working mode that the screen has a higher brightness value than the first screen, the second working mode is a mode that the uppermost layer of the screen displays a black picture, and the brightness value of the screen is below the second screen brightness value. The method and the device can solve the problems that in the prior art, when a user does not operate the application program, the mode switching of the terminal is complex, the terminal is not convenient enough, and the application program cannot run continuously after the terminal switches the mode. The terminal can rapidly switch modes, and the application program can keep the running state in the mode switching process.
Fig. 4 is a flowchart of another method for switching operating modes of an application program according to an embodiment of the present invention, where an implementation subject is a terminal according to an embodiment of the present invention. As shown in fig. 4, the method provided in the embodiment of the present invention specifically includes the following steps:
step 410, the application program runs in the foreground of the terminal, and when the application program is determined to run in the first working mode, an operable prompt area is displayed in the screen of the terminal.
In the embodiment of the present invention, a process of displaying an operable prompt area in a screen when an application runs in a foreground of a terminal and the application is determined to run in a first working mode is similar to step 110 in the foregoing method embodiment, and details are not described here again.
Step 420, receiving a first touch instruction input by a user, where the first touch instruction is a touch operation of the user on the operable prompt area.
In the embodiment of the present invention, a process of the terminal receiving the first touch instruction input by the user is similar to step 120 of the above method embodiment, and details are not repeated here.
Step 430, according to the first touch instruction, the terminal is switched from the first working mode to a second working mode, so that the application program keeps a running state in the second working mode.
In the embodiment of the present invention, a process of switching the terminal from the first working mode to the second working mode according to the first touch instruction is similar to step 130 of the foregoing method embodiment, and details are not repeated here.
Step 440, after receiving a second touch instruction input by the user, switching from the second operating mode to the first operating mode.
In the embodiment of the present invention, after the terminal performs the foregoing step 410-step 430, the luminance value of the terminal screen is 0%, the black picture is displayed, and the terminal stops the function of the physical key, and when the sound effect mode is started by the application program, the terminal stops the sound effect mode, but the application program still keeps the running state. At this time, the user may continue to operate the terminal, and further, the operation mode of the terminal may be switched again.
The user inputs a second touch instruction, which is a touch operation (e.g., a double-click touch operation) of a continuous multi-click screen input by the user. And the terminal receives a second touch instruction.
And the terminal switches the working mode again according to the second touch instruction. I.e. from the second operating mode to the first operating mode.
Further, the specifically step of switching the terminal from the second operating mode to the first operating mode is: and when the terminal receives a touch operation that a second touch instruction input by the user is multi-click, the terminal stops displaying the black picture. And the terminal adjusts the screen brightness value again, and restores the screen brightness value in the second working mode to the screen brightness value in the first working mode, namely, the screen brightness value is adjusted to be bright. The terminal resumes the function of starting the physical key and the sound effect mode of the application as shown in fig. 5.
In the embodiment of the invention, the terminal can be recovered from the second working mode to the first working mode by receiving the effective operation input by the user, and the problems that in the prior art, when the user does not operate the application program, the mode switching of the terminal is complicated, the terminal is not convenient and fast enough, and the application program cannot be continuously operated after the mode switching of the terminal are solved. The terminal can rapidly switch modes, and the application program can keep the running state in the mode switching process.
Fig. 6 is a flowchart of another method for switching operating modes of an application program according to an embodiment of the present invention, where an implementation subject is a terminal according to an embodiment of the present invention. As shown in fig. 6, the method provided in the embodiment of the present invention specifically includes the following steps:
step 610, the application program runs in the foreground of the terminal, and when the application program is determined to run in the first working mode, an operable prompt area is displayed in the screen of the terminal.
In the embodiment of the present invention, a process of displaying an operable prompt area in a screen when an application runs in a foreground of a terminal and the application is determined to run in a first working mode is similar to step 110 in the foregoing method embodiment, and details are not described here again.
Step 620, receiving a first touch instruction input by a user, where the first touch instruction is a touch operation of the user on the operable prompt area.
In the embodiment of the present invention, a process of the terminal receiving the first touch instruction input by the user is similar to step 120 of the above method embodiment, and details are not repeated here.
Step 630, according to the first touch instruction, the terminal is switched from the first working mode to a second working mode, so that the application program keeps a running state in the second working mode.
In the embodiment of the present invention, a process of switching the terminal from the first working mode to the second working mode according to the first touch instruction is similar to step 130 of the foregoing method embodiment, and details are not repeated here.
And step 640, after receiving a third touch instruction input by the user, adjusting the screen brightness value in the second working mode to the screen brightness value in the first working mode.
In the embodiment of the present invention, after the terminal finishes the foregoing steps 610 to 630, the terminal displays the black picture with the luminance value of the terminal screen of 0%, and the terminal stops the function of the physical key, and when the sound effect mode is started by the application program, the terminal stops the sound effect mode, but the application program still keeps the running state. At this time, the user may continue to operate the terminal, and further, the operation mode of the terminal may be switched again.
And the user inputs a third touch instruction, wherein the third touch instruction is the touch operation of clicking the screen by the user. And the terminal receives a third touch instruction.
And after the terminal receives the third touch instruction, the terminal adjusts the screen brightness value again, and the terminal adjusts the screen brightness value in the second mode to the screen brightness value in the first working mode. I.e. restoring the screen brightness value.
Step 650, after the second touch instruction is received again within a preset time, adjusting the screen brightness value in the first working mode to the screen brightness value in the second working mode, and keeping the screen brightness value in the second working mode.
In the embodiment of the invention, the terminal judges whether the second touch instruction input by the user is received again within a preset time (for example, 5 s). If the terminal does not receive the second touch instruction within the preset time, the terminal performs step 660.
Step 660, if the second touch instruction is not received again within a preset time, adjusting the screen brightness value in the first working mode to the screen brightness value in the second working mode.
In the embodiment of the invention, if the second touch instruction input by the user is not received again within the preset time, the terminal adjusts the screen brightness value again, and the screen brightness value in the first working mode is adjusted to the screen brightness value in the second working mode. That is, the terminal adjusts the brightness value of the screen to 0% again.
Because the terminal does not receive the effective unlocking operation input by the user, the terminal still stops the functions of the physical keys of the terminal and the sound effect mode of the application program at the moment, and the electric quantity of the terminal is saved.
And step 670, keeping in the second working mode.
In the embodiment of the present invention, by performing the foregoing steps 640 to 660, the terminal remains in the second operating mode, but the application program remains in the running state.
In the embodiment of the invention, the terminal does not receive the effective operation input by the user, so that the terminal can still be kept in a certain working mode. The terminal can rapidly switch modes, and the application program can keep the running state in the mode switching process.
Fig. 7 is a schematic structural diagram of an application operating mode switching apparatus according to an embodiment of the present invention, and as shown in fig. 7, the apparatus according to the embodiment may include: a display unit 710, a receiving unit 720, and an adjusting unit 730.
The display unit 710 is configured to display an operable prompt area in a screen of the terminal when an application runs in a foreground of the terminal and it is determined that the application runs in a first working mode;
a receiving unit 720, configured to receive a first touch instruction input by a user, where the first touch instruction is a touch operation performed by the user on the operable prompt area;
the adjusting unit 730, configured to switch from the first operating mode to a second operating mode according to the first touch instruction, so that the application program keeps an operating state in the second operating mode;
the first working mode is a working mode that the screen has a higher brightness value than a first screen;
and the second working mode is that the uppermost layer of the screen displays a black picture, and the brightness of the screen is below a second screen brightness value.
Further, when the application program keeps running in the second working mode, the apparatus further includes:
a stopping unit 740, configured to stop, after the receiving unit 720 receives the signal for triggering the terminal physical key, an execution operation corresponding to the signal.
Further, when the application program keeps running in the second operating mode, the stopping unit 740 is further configured to stop the execution operation corresponding to the signal after the receiving unit 720 receives the signal triggering the sound effect mode of the application program.
Further, when the application program keeps running in the second working mode, the adjusting unit 730 is further configured to switch from the second working mode to the first working mode after the receiving unit 720 receives the second touch instruction input by the user.
Further, when the application program keeps running in the second working mode, the adjusting unit 730 is further configured to, after the receiving unit 720 receives a third touch instruction input by the user, adjust the screen brightness value in the second working mode to the screen brightness value in the first working mode;
after the receiving unit 720 receives the second touch command again within a preset time, the screen brightness value in the first operating mode is adjusted to the screen brightness value in the second operating mode, and the device is kept in the second operating mode.
The apparatus of this embodiment may be used to implement the technical solutions of the method embodiments shown in fig. 1, fig. 4, and fig. 6, and the implementation principles and technical effects are similar, which are not described herein again.
Correspondingly, the device for switching the working mode of the application program provided by the embodiment of the invention can also be realized by another structure. Fig. 8 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention, which may implement the flows in the embodiments shown in fig. 1, fig. 4, and fig. 6 of the present invention, and as shown in fig. 8, the electronic device may include: a housing 81, a processor 82, a memory 83, a circuit board 84 and a power circuit 85, wherein the circuit board 84 is arranged inside a space enclosed by the housing 81, and the processor 82 and the memory 83 are arranged on the circuit board 84; a power supply circuit 85 for supplying power to each circuit or device of the above-described apparatus; the memory 83 is used for storing executable program codes; the processor 82 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 83 for executing the method described in the foregoing embodiment.
For the specific execution process of the above steps by the processor 82 and the steps further executed by the processor 82 by running the executable program code, reference may be made to the description of the embodiments shown in fig. 1, fig. 4 and fig. 6 of the present invention, and details are not repeated herein.
The device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such apparatus includes: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such apparatus includes: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. Such apparatus includes: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And other electronic equipment with data interaction function.
It should be noted that, in this document, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof.
In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.

Claims (3)

1. A method for switching working modes of an application program is applied to a terminal, and is characterized by comprising the following steps:
the method comprises the steps that an application program runs in a terminal foreground, when the application program is determined to run in a first working mode, an operable prompt area is displayed in a screen of the terminal, wherein the application program is a game application program;
receiving a first touch instruction input by a user, wherein the first touch instruction is touch operation of the user on the operable prompt area;
according to the first touch instruction, switching from the first working mode to a second working mode so that the application program keeps a running state in the second working mode;
the first working mode is a working mode that the screen has a higher brightness value than a first screen;
the second working mode is that the uppermost layer of the screen displays a black picture, the brightness of the screen is at a second screen brightness value, and the second screen brightness value is 0%;
wherein, when the application program keeps the running state in the second working mode, the method further comprises:
after receiving a signal triggering the terminal physical key, stopping the execution operation corresponding to the signal;
wherein, when the application program keeps the running state in the second working mode, the method further comprises:
after receiving a signal for triggering the sound effect mode of the application program, stopping the execution operation corresponding to the signal;
wherein, when the application program keeps the running state in the second working mode, the method further comprises:
after receiving a second touch instruction input by the user, switching from the second working mode to the first working mode, wherein the second touch instruction is touch operation of continuously clicking a screen for multiple times and input by the user;
wherein, when the application program keeps the running state in the second working mode, the method further comprises:
after a third touch instruction input by the user is received, adjusting the screen brightness value to be the screen brightness value in the first working mode, wherein the third touch instruction is touch operation of clicking a screen by the user;
and after the second touch instruction is received again within the preset time, adjusting the screen brightness value to the screen brightness value in the second working mode, and keeping the screen brightness value in the second working mode.
2. An application program working mode switching device applied to a terminal, the device comprising:
the display unit is used for displaying an operable prompt area in a screen of the terminal when an application program runs in a foreground of the terminal and is determined to run in a first working mode, wherein the application program is a game application program;
the receiving unit is used for receiving a first touch instruction input by a user, wherein the first touch instruction is touch operation of the user on the operable prompt area;
the adjusting unit is used for switching from the first working mode to a second working mode according to the first touch instruction so as to enable the application program to keep a running state in the second working mode;
the first working mode is a working mode that the screen has a higher brightness value than a first screen;
the second working mode is that the uppermost layer of the screen displays a black picture, the brightness of the screen is at a second screen brightness value, and the second screen brightness value is 0%;
when the application program keeps the running state in the second working mode, the device further comprises:
the stopping unit is used for stopping the execution operation corresponding to the signal after the receiving unit receives the signal triggering the terminal physical key;
when the application program keeps the running state in the second working mode, the stopping unit is also used for stopping the execution operation corresponding to the signal after the receiving unit receives the signal triggering the sound effect mode of the application program;
when the application program keeps the running state in the second working mode, the adjusting unit is further configured to switch from the second working mode to the first working mode after the receiving unit receives a second touch instruction input by the user, where the second touch instruction is a touch operation of continuously clicking a screen multiple times and input by the user;
when the application program keeps a running state in the second working mode, the adjusting unit is further configured to adjust the screen brightness value to the screen brightness value in the first working mode after the receiving unit receives a third touch instruction input by the user, where the third touch instruction is a touch operation of clicking a screen by the user; and after the receiving unit receives the second touch instruction again within a preset time, adjusting the screen brightness value to the screen brightness value in the second working mode, and keeping the device in the second working mode.
3. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of claim 1.
CN201710167936.7A 2017-03-20 2017-03-20 Application program working mode switching method and device and electronic equipment Active CN106873898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710167936.7A CN106873898B (en) 2017-03-20 2017-03-20 Application program working mode switching method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710167936.7A CN106873898B (en) 2017-03-20 2017-03-20 Application program working mode switching method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106873898A CN106873898A (en) 2017-06-20
CN106873898B true CN106873898B (en) 2021-03-23

Family

ID=59171861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710167936.7A Active CN106873898B (en) 2017-03-20 2017-03-20 Application program working mode switching method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106873898B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215616B (en) * 2018-10-11 2021-02-05 合肥联宝信息技术有限公司 Control method and electronic equipment
CN109819502A (en) * 2019-01-04 2019-05-28 维沃移动通信有限公司 A kind of game on-hook method and apparatus
CN109947631B (en) * 2019-03-27 2020-12-18 联想(北京)有限公司 Data processing method and electronic equipment
CN112198953B (en) * 2020-09-27 2024-01-26 西安墨科通讯科技有限公司 Control method, control device and control equipment of terminal equipment
CN114222355B (en) * 2021-10-20 2024-04-19 维沃移动通信有限公司 Terminal power-saving display method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660903A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Shooting method and shooting device
CN105867972A (en) * 2016-03-28 2016-08-17 北京建新宏业科技有限公司 Method and device for turning off and awakening intelligent mirror screen through touch operation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9483628B2 (en) * 2013-08-29 2016-11-01 Paypal, Inc. Methods and systems for altering settings or performing an action by a user device based on detecting or authenticating a user of the user device
CN103677214B (en) * 2013-12-31 2016-06-01 北京金山网络科技有限公司 For the power consumption control method of mobile terminal, device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660903A (en) * 2015-02-28 2015-05-27 深圳市中兴移动通信有限公司 Shooting method and shooting device
CN105867972A (en) * 2016-03-28 2016-08-17 北京建新宏业科技有限公司 Method and device for turning off and awakening intelligent mirror screen through touch operation

Also Published As

Publication number Publication date
CN106873898A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106873898B (en) Application program working mode switching method and device and electronic equipment
CN107783830B (en) Multitask management method and terminal equipment
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN104572322A (en) Method for operating terminal screen
CN104156171A (en) Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
CN104142779B (en) user interface control method, device and terminal
CN105812941A (en) Video playing method and device and electronic equipment
US20140285455A1 (en) Sliding control method and terminal device thereof
US20170168628A1 (en) Method and electronic device for split-screen display
CN104572071A (en) Terminal
CN106873869A (en) Music playing control method and device
CN106250182B (en) File processing method and device and electronic equipment
AU2019203256B2 (en) Fingerprint event processing method, apparatus, and terminal
CN111708471B (en) Control processing method and related device
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN112672794A (en) Game page display method and related product
CN112148178A (en) Application switching method and device, electronic equipment and readable storage medium
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
CN105893568B (en) operation method and device for function bar at top of folder and electronic equipment
CN105957541B (en) Music operation control method and device and mobile device
CN107728875A (en) Functional mode switching method and device and intelligent terminal
CN106527916A (en) Operating method and device based on virtual reality equipment, and operating equipment
CN112764862A (en) Application program control method and device and electronic equipment
CN108759855A (en) A kind of interface display method and car-mounted terminal of car-mounted terminal
US20170168704A1 (en) Apparatus and method for desktop presentation logic control of a handheld device

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
GR01 Patent grant