CN111901482B - Function control method and device, electronic equipment and readable storage medium - Google Patents
Function control method and device, electronic equipment and readable storage medium Download PDFInfo
- Publication number
- CN111901482B CN111901482B CN202010739743.6A CN202010739743A CN111901482B CN 111901482 B CN111901482 B CN 111901482B CN 202010739743 A CN202010739743 A CN 202010739743A CN 111901482 B CN111901482 B CN 111901482B
- Authority
- CN
- China
- Prior art keywords
- instruction information
- mobile phone
- preset instruction
- electronic equipment
- preset
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000006870 function Effects 0.000 claims description 54
- 238000010586 diagram Methods 0.000 description 10
- 238000004140 cleaning Methods 0.000 description 5
- 238000003825 pressing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a function control method and device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps of acquiring first preset instruction information and executing the first preset instruction information under the condition that the electronic equipment wears a mobile phone cover, wherein the first preset instruction information is stored in the mobile phone cover. Under the condition that the electronic equipment wears the mobile phone cover, the electronic equipment can automatically acquire the first preset instruction information stored in the mobile phone cover and execute the first preset instruction information, so that the function corresponding to the first preset instruction information is realized, the function which the user expects the electronic equipment to have when the user expects the electronic equipment to be in a certain scene can be automatically executed without manually modifying the system parameters of the electronic equipment by the user, and the efficiency of triggering the function of the electronic equipment is improved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a function control method and device, an electronic device and a readable storage medium.
Background
Electronic equipment is an indispensable product in daily life of people and becomes a necessity of life. When a user uses an electronic device, system parameters of the electronic device may be set differently. The user can set different system parameters in different occasions according to personal needs, and completely and individually customize the operating system of the user.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: on the same electronic device, a user needs to manually set different system parameters or manually trigger the functions of the electronic device in different scenes. For example, when a user is in one scene (e.g., a game scene) and sets system parameters to parameters suitable for the game scene to trigger the electronic device to clear cache and applications unrelated to the game, and when the user is in another scene (e.g., a conference scene), the user needs to reset the system parameters, for example, manually set the ring tone to mute or vibrate, i.e., set the system parameters to parameters suitable for the conference scene, so that the function of the electronic device can be changed by manually modifying the system parameters in different scenes, which causes a problem of complicated operation for the user.
Disclosure of Invention
An object of the embodiments of the present application is to provide a function control method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem that a user changes the function of the electronic device by manually modifying system parameters in different scenarios, which causes complicated user operation.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a function control method, which is applied to an electronic device, and the method includes:
acquiring first preset instruction information under the condition that the electronic equipment wears a mobile phone cover;
executing the first preset instruction information;
and the first preset instruction information is stored in the mobile phone cover.
In a second aspect, an embodiment of the present application provides a function control apparatus, which is disposed in an electronic device, and includes:
the acquisition module is used for acquiring first preset instruction information under the condition that the electronic equipment wears the mobile phone cover;
the execution module is used for executing the first preset instruction information;
and the first preset instruction information is stored in the mobile phone cover.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the first preset instruction information is acquired and executed under the condition that the electronic equipment wears the mobile phone case, wherein the first preset instruction information is stored in the mobile phone case. Under the condition that the electronic equipment wears the mobile phone cover, the electronic equipment can automatically acquire the first preset instruction information stored in the mobile phone cover and execute the first preset instruction information, so that the function corresponding to the first preset instruction information is realized, the function which the user expects the electronic equipment to have when the user expects the electronic equipment to be in a certain scene can be automatically executed without manually modifying the system parameters of the electronic equipment by the user, and the efficiency of triggering the function of the electronic equipment is improved.
Drawings
FIG. 1 is a flow chart of steps of a method of controlling functionality provided in an embodiment of the present application;
FIG. 2 is a flow chart of steps of another method of controlling functionality provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a function control device provided in an embodiment of the present application;
FIG. 4 is a schematic structural diagram of another function control device provided in the embodiment of the present application;
FIG. 5 is a schematic structural diagram of another function control device provided in the embodiment of the present application;
fig. 6 is a hardware structure diagram of an electronic device implementing an embodiment of the present application;
fig. 7 is a hardware configuration diagram of another electronic device implementing the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The function control method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flow chart illustrating steps of a function control method provided in an embodiment of the present application, where the method may include the following steps:
The electronic device is, for example, a mobile phone, a tablet computer, a desktop computer, or the like. At least one preset scene and first preset instruction information corresponding to the preset scene can be preset in the mobile phone cover. The method comprises the steps that under the condition that first preset instruction information corresponding to a preset scene is preset in a mobile phone cover, the mobile phone cover is a special mobile phone cover of the preset scene. For example, if a preset scene (for example, a game scene) is preset in the mobile phone cover, when the electronic device is worn on the mobile phone cover, the mobile phone and the mobile phone cover may establish a Near Field Communication (NFC) connection, and after the NFC connection is established, the electronic device may obtain first preset instruction information corresponding to the game scene from the mobile phone cover, where the first preset instruction information includes, for example, an instruction to clean a program that a background is not related to the game, an instruction to release a redundant memory, an instruction to clean a cache, an instruction to end a redundant thread, an instruction to control a network speed at which the background downloads an application program, and the like.
It should be noted that, under the condition that a preset scene is preset in the mobile phone case, the obtained first preset instruction information is the first preset instruction information corresponding to the preset scene. For example, when only the first preset instruction information corresponding to the game scene is preset in the mobile phone cover, the mobile phone can acquire the first preset instruction information corresponding to the game scene as long as the mobile phone wears the mobile phone cover.
And 102, executing first preset instruction information, wherein the first preset instruction information is stored in the mobile phone case.
The first preset instruction information is stored in the mobile phone case, the mobile phone case is provided with an NFC label module, the first preset instruction information is stored in the NFC label module, and the first preset instruction stored in the mobile phone case is acquired through NFC connection under the condition that the mobile phone case is worn by the mobile phone.
The user can wear the mobile phone cover corresponding to the special scene for the electronic equipment according to the requirement of the user, so that the electronic equipment can acquire the first preset instruction information in the mobile phone cover, namely the first preset instruction information corresponding to the special scene.
For example, if the user desires that the electronic device is in a game scene, the electronic device should have functions including cleaning background programs unrelated to the game, releasing redundant memory, cleaning cache, ending redundant threads, and controlling the network speed of background downloading application programs, the user may wear a dedicated mobile phone cover corresponding to the game scene, when the first preset instruction information, for example, includes an instruction for cleaning background programs irrelevant to games, an instruction for releasing redundant memory, an instruction for cleaning cache, an instruction for ending redundant threads, and an instruction for controlling the network speed of background downloading application programs, after the electronic device acquires the first preset instruction information, automatically executing a program which is irrelevant to the game in the background, releasing the redundant memory, cleaning the cache, ending the redundant thread, and controlling the network speed of downloading the application program in the background. Therefore, when the electronic equipment is in a game scene, the electronic equipment automatically executes the function expected by the user, and can execute the program which is irrelevant to the game in the background, release the redundant memory, clear the cache, end the redundant thread and control the network speed of the background downloading application program without manually setting the system parameters of the electronic equipment by the user. And the performance of the electronic equipment can be supplied to the played game to the maximum extent, and the fluency of the user in the game is improved.
In the function control method provided by this embodiment, under the condition that the mobile phone case is worn by the electronic device, the first preset instruction information is acquired, and the first preset instruction information is executed, where the first preset instruction information is stored in the mobile phone case. Under the condition that the electronic equipment wears the mobile phone cover, the electronic equipment can automatically acquire the first preset instruction information stored in the mobile phone cover and execute the first preset instruction information, so that the function corresponding to the first preset instruction information is realized, the function which the user expects the electronic equipment to have when the user expects the electronic equipment to be in a certain scene can be automatically executed without manually modifying the system parameters of the electronic equipment by the user, and the efficiency of triggering the function of the electronic equipment is improved.
Referring to fig. 2, fig. 2 is a flowchart of steps of another function control method provided in an embodiment of the present application, and in this embodiment, a plurality of preset scenes are preset in a mobile phone case, and a preset operation information corresponding to each preset scene in the plurality of preset scenes is described as an example. The method comprises the following steps:
The target scene is a scene where the user desires the electronic device to be located, for example, when the user is in a meeting, the target scene where the user desires the electronic device to be located is a meeting scene, and when the user plays a game, the target scene where the user desires the electronic device to be located is a game scene.
Optionally, the electronic device may identify a target scene where the electronic device is located according to the received indication information sent by the mobile phone cover. For example, different inputs are input to the mobile phone case, and correspond to different application scenarios, such as gesture input, touch input, and the like.
Optionally, the mobile phone cover is preset with corresponding relations between different pieces of scene information and different pieces of instruction information, the electronic device can identify the scene where the electronic device is located and send the scene information to the mobile phone cover, and the mobile phone cover sends a first preset instruction matched with the scene information to the electronic device according to the corresponding relations between the different pieces of scene information and the different pieces of instruction information.
Optionally, the mobile phone cover is preset with corresponding relationships between different pieces of scene information and different pieces of instruction information, the electronic device can identify a scene where the electronic device is located, the electronic device obtains the corresponding relationships between the different pieces of scene information and the different pieces of instruction information, and directly obtains a first preset instruction corresponding to the scene information according to the corresponding relationships.
For example, when a user presses a button on the mobile phone cover, and presses buttons of different times, such as a first button, a second button, and a third button, the indication information sent by the mobile phone cover to the electronic device is different. For example, pressing a button once indicates a corresponding preset scene 1, pressing a button twice continuously indicates a corresponding preset scene 2, and pressing a button three times continuously indicates a corresponding preset scene 3 (for example, when a user presses a button once, the mobile phone cover sends indication information 1 to the electronic device, the indication information 1 is used for indicating that a scene where the electronic device is located is the preset scene 1, when the user presses a button twice continuously, the mobile phone cover sends indication information 2 to the electronic device, the indication information 2 is used for indicating that a scene where the electronic device is located is the preset scene 2, when the user presses a button three times continuously, the mobile phone cover sends indication information 3 to the electronic device, and the indication information 3 is used for indicating that a scene where the electronic device is located is the preset scene 3), where the preset scene 1 is, for example, the preset scene 2 is, for example, a meeting scene, and the preset scene 3 is, for example, a scene where the user takes advantage of the airplane. If the user presses the button once, the target scene is the preset scene 1. If the user presses the button twice in succession, the target scene is the preset scene 2. Also, if the user presses the button three times in succession, the target scene is the preset scene 3.
With the above example, when the target scene is the preset scene 1, the first preset instruction information corresponding to the game scene in the mobile phone case is obtained. And under the condition that the target scene is a preset scene 2, acquiring first preset instruction information corresponding to the conference scene in the mobile phone case. The remaining object scenes are not illustrated one by one.
The first preset instruction information corresponding to the meeting scene is, for example, an instruction for setting incoming call ringtone silence or vibration, after a mobile phone used by a user is installed with a mobile phone case, the user continuously presses a button on the mobile phone case twice, and the mobile phone can use the preset scene 2 as a target scene, so that when the user is in the meeting scene, if the mobile phone used by the user receives an incoming call, the mobile phone automatically sets the incoming ringtone to silence or vibration, and the user does not need to adjust the incoming ringtone of the mobile phone to silence or vibration in advance before the user is in the meeting scene, thereby simplifying the user operation.
And step 203, executing first preset instruction information corresponding to the target scene.
In the function control method provided by this embodiment, by identifying the target scene where the electronic device is located, under the condition that the electronic device is worn on the mobile phone cover, first preset instruction information corresponding to the target scene in the mobile phone cover is obtained, the first preset instruction information corresponding to the target scene is executed, and the mobile phone cover does not need to be frequently replaced by a user. For example, when the mobile phone cover includes the three preset scenes, the user can switch to any one of the three preset scenes by pressing the button on the mobile phone cover for different times, and execute the function corresponding to the switched preset scene.
Optionally, the method further includes:
receiving a first input of a user;
and responding to the first input, and adjusting first preset instruction information corresponding to the target scene.
For example, taking a target scene as a game scene as an example, before adjusting first preset instruction information corresponding to the game scene, the first preset instruction information corresponding to the game scene in the mobile phone case includes 3 pieces of first preset instruction information, namely, first preset instruction information 1, first preset instruction information 2, and first preset instruction information 3, so that the user can close part of the first preset instruction information to reduce the first preset instruction information corresponding to the game scene, for example, after the user closes the first preset instruction information 1, the electronic device takes the first preset instruction information 2 and the first preset instruction information 3 as the first preset instruction information corresponding to the game scene, that is, after adjusting the first preset instruction information corresponding to the game scene, the first preset instruction information corresponding to the game scene includes first preset instruction information 2 and first preset instruction information 3. Or,
in this case, the first input is an operation of adding the first preset instruction information corresponding to the game scene for the user, and the user may select the first preset instruction information 1 to the first preset instruction information 3, the instruction 4, and the instruction 5, so that after the first preset instruction information corresponding to the game scene is adjusted, the first preset instruction information corresponding to the game scene includes the first preset instruction information 1 to the first preset instruction information 3, the instruction 4, and the instruction 5, and the first preset instruction information corresponding to the adjusted game scene is stored in the mobile phone case. Under the condition that the electronic equipment is in the game scene again next time, the first preset instruction information corresponding to the game scene, which is acquired by the electronic equipment from the mobile phone case, comprises first preset instruction information 1 to first preset instruction information 3, an instruction 4 and an instruction 5, wherein the instruction 4 and the instruction 5 are instruction information newly added in the first preset instruction information corresponding to the game scene.
And 204, controlling the mobile phone cover to store second preset instruction information under the condition that the mobile phone cover is far away from the electronic equipment.
The second preset instruction information is instruction information executed by the electronic equipment before the mobile phone cover is far away from the electronic equipment.
For example, if step 203 is executed, only the first preset instruction information corresponding to one target scene (e.g., a game scene) is stored in the mobile phone case. The user needs to enable the electronic device to be in a meeting scene, and second preset instruction information corresponding to the meeting scene is not stored in the mobile phone case at the moment, in this case, the user can manually set the second preset instruction information corresponding to the meeting scene through the electronic device, the electronic device executes the second preset instruction information, after the electronic device executes the second preset instruction information, the user unloads the mobile phone case worn on the electronic device, in this case, namely, under the condition that the mobile phone case is far away from the electronic device, the mobile phone case is controlled to store the second preset instruction information, namely, the second preset instruction information corresponding to the meeting scene is stored, and therefore the second preset instruction information corresponding to other application scenes can be newly added in the mobile phone case.
Optionally, in the case that the mobile phone case is far away from the electronic device in step 204, after controlling the mobile phone case to store the second preset instruction information, the method may further include the following steps:
and deleting the first preset instruction information under the condition that the first preset instruction information and the second preset instruction information correspond to the same scene.
If the first preset instruction information corresponding to the executed target scene is the first preset instruction information corresponding to the conference scene in step 203, after the first preset instruction information corresponding to the conference scene is executed for the first time, the user adjusts the first preset instruction information corresponding to the conference scene through the electronic device and executes the adjusted first preset instruction information corresponding to the conference scene, and when the conference is finished and the mobile phone cover worn by the electronic device is removed (i.e. when the mobile phone cover is far away from the electronic device), the electronic device controls the mobile phone cover to store the adjusted first preset instruction information corresponding to the conference scene (the adjusted first preset instruction information is the second preset instruction information), because the stored second preset instruction information corresponds to the same scene as the first preset instruction information executed in step 203, i.e. the second preset instruction information corresponds to the conference scene with the first preset instruction information, and deleting the first preset instruction information, namely only keeping the latest executed preset instruction information corresponding to a scene for the scene.
Optionally, the first preset instruction information is search instruction information for a target keyword, and after the first preset instruction information is executed, the method may further include the following steps:
displaying a user interface of the application corresponding to the target keyword or playing a target audio corresponding to the target keyword.
The method includes the steps that keywords related to the movie and television dramas of all video application programs at present can be collected in a search engine in advance, the search engine is preset in a mobile phone case, under the condition that the electronic equipment is worn on the mobile phone case, the electronic equipment can obtain the search engine from the mobile phone case and display a search interface corresponding to the search engine, a user can input keywords interested by the user in the search interface (the keywords interested by the user are target keywords) to search, and correspondingly, the electronic equipment receives search instruction information aiming at the target keywords, executes the search instruction information and displays a user interface displaying the application programs corresponding to the target keywords or plays target audio corresponding to the target keywords.
It should be noted that, since the keywords in the search engine include a keyword corresponding to each of a plurality of video Applications (APPs), the plurality of video APPs may be all current video APPs. Therefore, the user is not required to search for the programs interested in the user in different video APPs. Since a certain video APP may currently have an exclusive right to play a certain program, if the user does not know this, the program is not searched in other video APPs. In this embodiment, the keywords corresponding to the multiple video APPs are preset in one search engine, and the search engine is preset in the mobile phone case, so that after the electronic device (e.g., a mobile phone) wears the mobile phone case, the electronic device acquires the search engine in the mobile phone case and provides a search interface for a user, the user can search programs interested in the user conveniently, and the user does not need to try to search through each video APP.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a function control apparatus provided in an embodiment of the present application, where the function control apparatus 300 is disposed in an electronic device, and the function control apparatus 300 includes:
the obtaining module 310 is configured to obtain first preset instruction information when the electronic device is worn by a mobile phone cover;
the executing module 320 is configured to execute the first preset instruction information.
And the first preset instruction information is stored in the mobile phone cover.
The function control apparatus provided in this embodiment acquires first preset instruction information and executes the first preset instruction information under the condition that the electronic device is worn on the mobile phone case, where the first preset instruction information is stored in the mobile phone case. Under the condition that the electronic equipment wears the mobile phone cover, the electronic equipment can automatically acquire the first preset instruction information stored in the mobile phone cover and execute the first preset instruction information, so that the function corresponding to the first preset instruction information is realized, the function which the user expects the electronic equipment to have when the user expects the electronic equipment to be in a certain scene can be automatically executed without manually modifying the system parameters of the electronic equipment by the user, and the efficiency of triggering the function of the electronic equipment is improved.
Alternatively, referring to fig. 4, fig. 4 is a schematic structural diagram of another function control apparatus provided in an embodiment of the present application, where the function control apparatus 400 includes:
the identification module 410 is used for identifying a target scene where the electronic equipment is located;
the obtaining module 310 is specifically configured to obtain first preset instruction information corresponding to the target scene in the mobile phone case when the electronic device wears the mobile phone case.
Optionally, the method further includes:
the control module 420 is configured to control the mobile phone cover to store second preset instruction information when the mobile phone cover is far away from the electronic device;
the second preset instruction information is instruction information executed by the electronic equipment before the mobile phone cover is far away from the electronic equipment.
Optionally, the method further includes:
a deleting module 430, configured to delete the first preset instruction information when the first preset instruction information and the second preset instruction information correspond to the same scene.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another function control apparatus provided in an embodiment of the present application, where the function control apparatus 500 includes:
the display module 510 is configured to display a user interface of an application corresponding to the target keyword or play a target audio corresponding to the target keyword.
The function control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in an electronic apparatus. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The function control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The function control device provided in the embodiment of the present application can implement each process implemented by the function control device in the method embodiments of fig. 1 and fig. 2, and is not described here again to avoid repetition.
Optionally, an electronic device is further provided in an embodiment of the present application, as shown in fig. 6, fig. 6 is a schematic diagram of a hardware structure of the electronic device provided in the embodiment of the present application. The electronic device 600 includes a processor 601, and a memory 602 is stored in the memory 602 and can be used as a program or an instruction running on the processor 601, and when the program or the instruction is executed by the processor 601, the process of the information processing method embodiment is implemented, and the same technical effect can be achieved, and is not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a hardware configuration diagram of another electronic device implementing the embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to acquire first preset instruction information when the electronic device is worn by a mobile phone cover;
executing the first preset instruction information;
and the first preset instruction information is stored in the mobile phone cover.
The method comprises the steps of acquiring first preset instruction information and executing the first preset instruction information under the condition that the electronic equipment wears a mobile phone cover, wherein the first preset instruction information is stored in the mobile phone cover. Under the condition that the electronic equipment wears the mobile phone cover, the electronic equipment can automatically acquire the first preset instruction information stored in the mobile phone cover and execute the first preset instruction information, so that the function corresponding to the first preset instruction information is realized, the function which the user expects the electronic equipment to have when the user expects the electronic equipment to be in a certain scene can be automatically executed without manually modifying the system parameters of the electronic equipment by the user, and the efficiency of triggering the function of the electronic equipment is improved.
The processor 710 is further configured to identify a target scene in which the electronic device is located;
correspondingly, the processor 710 is further configured to obtain first preset instruction information corresponding to the target scene in the mobile phone cover when the electronic device wears the mobile phone cover.
The processor 710 is further configured to control the mobile phone cover to store second preset instruction information when the mobile phone cover is far away from the electronic device;
the second preset instruction information is instruction information executed by the electronic equipment before the mobile phone cover is far away from the electronic equipment.
The processor 710 is further configured to delete the first preset instruction information when the first preset instruction information and the second preset instruction information correspond to the same scene.
The processor 710 is also configured to display a user interface of an application corresponding to the target keyword or play target audio corresponding to the target keyword.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the function control method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-only Memory (ROM), random-access Memory (RAM), magnetic or optical disks, etc.
It should be understood that in the embodiment of the present application, the input unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processing unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned embodiment of the function control method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "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 like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A function control method applied to an electronic device, the method comprising:
identifying a target scene where the electronic equipment is located;
acquiring first preset instruction information corresponding to the target scene in the mobile phone case under the condition that the electronic equipment wears the mobile phone case;
executing the first preset instruction information;
the first preset instruction information is stored in the mobile phone cover;
after the executing the first preset instruction information, further comprising:
under the condition that the mobile phone cover is far away from the electronic equipment, controlling the mobile phone cover to store second preset instruction information;
the second preset instruction information is instruction information executed by the electronic equipment before the mobile phone cover is far away from the electronic equipment.
2. The method according to claim 1, wherein after controlling the mobile phone case to store the second preset instruction information when the mobile phone case is far away from the electronic device, the method further includes:
and deleting the first preset instruction information under the condition that the first preset instruction information and the second preset instruction information correspond to the same scene.
3. The method according to claim 1, wherein the first preset instruction information is search instruction information for a target keyword, and after the executing the first preset instruction information, the method further comprises:
displaying a user interface of the application corresponding to the target keyword or playing a target audio corresponding to the target keyword.
4. A function control apparatus provided in an electronic device, the apparatus comprising:
the identification module is used for identifying a target scene where the electronic equipment is located;
the acquisition module is used for acquiring first preset instruction information corresponding to the target scene in the mobile phone case under the condition that the electronic equipment wears the mobile phone case;
the execution module is used for executing the first preset instruction information;
the first preset instruction information is stored in the mobile phone cover;
the control module is used for controlling the mobile phone cover to store second preset instruction information under the condition that the mobile phone cover is far away from the electronic equipment;
the second preset instruction information is instruction information executed by the electronic equipment before the mobile phone cover is far away from the electronic equipment.
5. The apparatus of claim 4, further comprising:
and the deleting module is used for deleting the first preset instruction information under the condition that the first preset instruction information and the second preset instruction information correspond to the same scene.
6. The apparatus according to claim 4, wherein the first preset instruction information is search instruction information for a target keyword, further comprising:
and the display module is used for displaying the user interface of the application program corresponding to the target keyword or playing the target audio corresponding to the target keyword.
7. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the function control method according to any one of claims 1-3.
8. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the function control method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010739743.6A CN111901482B (en) | 2020-07-28 | 2020-07-28 | Function control method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010739743.6A CN111901482B (en) | 2020-07-28 | 2020-07-28 | Function control method and device, electronic equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111901482A CN111901482A (en) | 2020-11-06 |
CN111901482B true CN111901482B (en) | 2022-01-28 |
Family
ID=73182403
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010739743.6A Active CN111901482B (en) | 2020-07-28 | 2020-07-28 | Function control method and device, electronic equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111901482B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112367429B (en) * | 2020-11-06 | 2021-11-09 | 维沃移动通信有限公司 | Parameter adjusting method and device, electronic equipment and readable storage medium |
CN114415929B (en) * | 2022-01-24 | 2024-10-11 | 维沃移动通信有限公司 | Control method and device of electronic equipment, electronic equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595874A (en) * | 2013-11-29 | 2014-02-19 | 惠州Tcl移动通信有限公司 | Control method for mobile-phone applications, mobile phone protective cover and mobile-phone protective cover set |
CN103763415A (en) * | 2014-01-09 | 2014-04-30 | 惠州Tcl移动通信有限公司 | Method for controlling mobile phone application program, mobile phone protecting cover and mobile phone protecting cover sleeve piece |
CN103970575A (en) * | 2014-05-22 | 2014-08-06 | 广东欧珀移动通信有限公司 | Method and device for quickly starting application program in mobile terminal |
CN104468975A (en) * | 2014-11-04 | 2015-03-25 | 重庆蓝岸通讯技术有限公司 | Novel detection method for mobile phone leather sheath |
CN104902048A (en) * | 2015-06-30 | 2015-09-09 | 佛山市云端容灾信息技术有限公司 | Control system and control method based on mobile phone intelligent protection shell |
CN206100160U (en) * | 2016-11-02 | 2017-04-12 | 北京智膜科技有限公司 | Take cell -phone shell of memory function |
US10014568B2 (en) * | 2014-12-18 | 2018-07-03 | Sony Corporation | Mobile communication device |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104902043A (en) * | 2015-06-20 | 2015-09-09 | 刘一 | Mobile phone shell capable of controlling mobile phone |
CN106331223A (en) * | 2015-06-24 | 2017-01-11 | 西安中兴新软件有限责任公司 | Incoming call processing method, terminal and protection sleeve |
CN105516496A (en) * | 2015-12-11 | 2016-04-20 | 小米科技有限责任公司 | Mobile phone cover and mobile phone cover based mobile phone control method and apparatus |
CN106453922A (en) * | 2016-11-01 | 2017-02-22 | 乐视控股(北京)有限公司 | Scene mode setting method and device, and terminal |
CN106357930A (en) * | 2016-11-11 | 2017-01-25 | 广东小天才科技有限公司 | Mobile terminal theme switching control method and device and mobile terminal |
CN107465808A (en) * | 2017-07-03 | 2017-12-12 | 珠海格力电器股份有限公司 | Method and device for customizing shell |
CN109428954A (en) * | 2017-08-31 | 2019-03-05 | 珠海格力电器股份有限公司 | Shell color control method and device of intelligent terminal and intelligent terminal |
CN208445628U (en) * | 2018-07-17 | 2019-01-29 | 上海晶赞融宣科技有限公司 | Smart phone shell |
CN210780943U (en) * | 2019-09-20 | 2020-06-16 | 广州小鸡快跑网络科技有限公司 | Mobile phone shell with control function |
-
2020
- 2020-07-28 CN CN202010739743.6A patent/CN111901482B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103595874A (en) * | 2013-11-29 | 2014-02-19 | 惠州Tcl移动通信有限公司 | Control method for mobile-phone applications, mobile phone protective cover and mobile-phone protective cover set |
CN103763415A (en) * | 2014-01-09 | 2014-04-30 | 惠州Tcl移动通信有限公司 | Method for controlling mobile phone application program, mobile phone protecting cover and mobile phone protecting cover sleeve piece |
CN103970575A (en) * | 2014-05-22 | 2014-08-06 | 广东欧珀移动通信有限公司 | Method and device for quickly starting application program in mobile terminal |
CN104468975A (en) * | 2014-11-04 | 2015-03-25 | 重庆蓝岸通讯技术有限公司 | Novel detection method for mobile phone leather sheath |
US10014568B2 (en) * | 2014-12-18 | 2018-07-03 | Sony Corporation | Mobile communication device |
CN104902048A (en) * | 2015-06-30 | 2015-09-09 | 佛山市云端容灾信息技术有限公司 | Control system and control method based on mobile phone intelligent protection shell |
CN206100160U (en) * | 2016-11-02 | 2017-04-12 | 北京智膜科技有限公司 | Take cell -phone shell of memory function |
Also Published As
Publication number | Publication date |
---|---|
CN111901482A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106686396B (en) | Method and system for switching live broadcast room | |
CN111131884B (en) | Video clipping method, related device, equipment and storage medium | |
CN110933511B (en) | Video sharing method, electronic device and medium | |
CN112669831B (en) | Voice recognition control method and device, electronic equipment and readable storage medium | |
US20170373994A1 (en) | Method and terminal for displaying instant messaging message | |
CN110662090B (en) | Video processing method and system | |
CN113411680B (en) | Multimedia resource playing method, device, terminal and storage medium | |
CN111147779B (en) | Video production method, electronic device, and medium | |
CN112383817B (en) | Volume adjusting method and device | |
CN111901482B (en) | Function control method and device, electronic equipment and readable storage medium | |
CN110597974B (en) | Instant messaging method and device, computer equipment and terminal equipment | |
CN104394481A (en) | Video playing method and device | |
CN112532885B (en) | Anti-shake method and device and electronic equipment | |
CN112825013A (en) | Control method and device of terminal equipment | |
CN112269505B (en) | Audio and video control method and device and electronic equipment | |
CN111935516B (en) | Audio file playing method, device, terminal, server and storage medium | |
CN112083854A (en) | Application program running method and device | |
CN112099702A (en) | Application running method and device and electronic equipment | |
WO2022252610A1 (en) | Bullet screen comment issuing method and bullet screen comment receiving method | |
US20240184434A1 (en) | Display method and apparatus | |
CN107770449B (en) | Continuous shooting method, electronic device and storage medium | |
CN112399238B (en) | Video playing method and device and electronic equipment | |
CN112269509B (en) | Information processing method and device and electronic equipment | |
US20230328181A1 (en) | Video call method and apparatus | |
CN113986083B (en) | File processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |